hl.curve("quick", { type = "bezier", points = { {0.15, 0}, {0.1, 1} } })
-- Default springs
-hl.curve("easy", { type = "spring", mass = 1, stiffness = 71.2633, dampening = 15.8273644 })
-
--- curve overrides
-hl.curve("border", { type = "bezier", points = { {1, 1} , {1 , 1} } })
-hl.curve("easeOutQuad", { type = "bezier", points = { {0.5, 1} , {0.89, 1} } })
-hl.curve("easeInOutExpo", { type = "bezier", points = { {1, 0} , {1 , 0} } })
-hl.curve("turboOut", { type = "bezier", points = { {0.3, -0.3}, {0 , 1} } })
+hl.curve("easy", { type = "spring", mass = 1, stiffness = 238.1191, dampening = 24.21279333 })
hl.animation({ leaf = "global", enabled = true, speed = 10, bezier = "default" })
hl.animation({ leaf = "border", enabled = true, speed = 5.39, bezier = "easeOutQuint" })
hl.animation({ leaf = "windows", enabled = true, speed = 4.79, spring = "easy" })
-hl.animation({ leaf = "windowsIn", enabled = true, speed = 4.1, spring = "easy", style = "popin 87%" })
-hl.animation({ leaf = "windowsOut", enabled = true, speed = 1.49, bezier = "linear", style = "popin 87%" })
+hl.animation({ leaf = "windowsIn", enabled = true, speed = 4.1, spring = "easy", style = "popin 87%" })
+hl.animation({ leaf = "windowsOut", enabled = true, speed = 1.49, bezier = "linear", style = "popin 87%" })
hl.animation({ leaf = "fadeIn", enabled = true, speed = 1.73, bezier = "almostLinear" })
hl.animation({ leaf = "fadeOut", enabled = true, speed = 1.46, bezier = "almostLinear" })
hl.animation({ leaf = "fade", enabled = true, speed = 3.03, bezier = "quick" })
hl.animation({ leaf = "layers", enabled = true, speed = 3.81, bezier = "easeOutQuint" })
hl.animation({ leaf = "layersIn", enabled = true, speed = 4, bezier = "easeOutQuint", style = "fade" })
-hl.animation({ leaf = "layersOut", enabled = true, speed = 1.5, bezier = "linear", style = "fade" })
+hl.animation({ leaf = "layersOut", enabled = true, speed = 1.5, bezier = "linear", style = "fade" })
hl.animation({ leaf = "fadeLayersIn", enabled = true, speed = 1.79, bezier = "almostLinear" })
hl.animation({ leaf = "fadeLayersOut", enabled = true, speed = 1.39, bezier = "almostLinear" })
hl.animation({ leaf = "workspaces", enabled = true, speed = 1.94, bezier = "almostLinear", style = "fade" })
hl.animation({ leaf = "zoomFactor", enabled = true, speed = 7, bezier = "quick" })
-- animation overrides
-hl.animation({ leaf = "windowsMove" , enabled = true, speed = 3 , bezier = "easeOutQuad" })
-hl.animation({ leaf = "borderangle" , enabled = true, speed = 1 , bezier = "border", style = "loop" })
-hl.animation({ leaf = "workspacesIn" , enabled = true, speed = 2.91, bezier = "easeInOutExpo", style = "slidefade 57%" })
-hl.animation({ leaf = "workspacesOut", enabled = true, speed = 2.21, bezier = "easeInOutExpo", style = "slidefade 57%" })
+hl.animation({ leaf = "windowsMove" , enabled = true, speed = 3 , bezier = "easeOutQuint" })
+-- hl.animation({ leaf = "borderangle" , enabled = true, speed = 75 , bezier = "border", style = "loop" })
+hl.animation({ leaf = "workspacesIn" , enabled = true, speed = 2.91, bezier = "easeInOutCubic", style = "slidefade 57%" })
+hl.animation({ leaf = "workspacesOut", enabled = true, speed = 2.21, bezier = "easeInOutCubic", style = "slidefade 57%" })
-- ~/.config/hypr/fragments/windowrules.lua
-- hide hyprbars on non-floating windows
-hl.window_rule({
- name = "nobar1",
- match = {
- float = false,
- },
- ["hyprbars:no_bar"] = true
-})
+-- hl.window_rule({
+-- name = "nobar1",
+-- match = {
+-- float = false,
+-- },
+-- no_shadow = true,
+-- ["hyprbars:no_bar"] = true
+-- })
-- hide hyprbars on specific windows
-hl.window_rule({
- name = "nobar2",
- match = {
- class = "^((org.kde.*|steam|io.github.ilya_zlobintsev.LACT).*)$",
- },
- ["hyprbars:no_bar"] = true
-})
+-- hl.window_rule({
+-- name = "nobar2",
+-- match = {
+-- class = "^((org.kde.*|steam|io.github.ilya_zlobintsev.LACT).*)$",
+-- },
+-- ["hyprbars:no_bar"] = true
+-- })
hl.window_rule({
name = "floating_enable",
},
})
+hl.window_rule({
+ name = "workspace2",
+ workspace = 2,
+ match = {
+ class = "^(pm|tm|pr|thunderbird|thunderbird-bin)$",
+ },
+})
+
hl.window_rule({
name = "workspace3",
pseudo = true,
name = "workspace4",
workspace = 4,
match = {
- class = "^((deezer|ncmpcpp|spotify|ardour).*)$",
+ class = "^((deezer|ncmpcpp|spotify).*)$",
+ },
+})
+
+hl.window_rule({
+ name = "workspace5",
+ workspace = 5,
+ match = {
},
})
name = "workspace5",
workspace = 5,
match = {
- class = "^(gimp|krita)$",
+ initial_class = "^(steam|heroic).*$",
},
})
name = "workspace6",
workspace = 6,
match = {
- initial_class = "^(steam|heroic)$",
+ initial_class = "^(steam_app).*$",
},
})
name = "workspace7",
workspace = 7,
match = {
- class = "^(pm|tm|pr|thunderbird|thunderbird-bin)$",
+ class = "^(gimp|krita|ardour).*$",
},
})
-- ░█▀█░░█░░█▀▀░█▀▄░█░░░█▀█░█░█░█░█░░░█░░░█░█░█░█░█▀▀░░█░░█░█
-- ░▀░▀░░▀░░▀░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀
-require("fragments.env")
-require("fragments.permissions")
-require("fragments.keybinds")
-require("fragments.workspacerules")
-require("fragments.layerrules")
-require("fragments.animations")
-require("fragments.windowrules")
-
-
------------------
---- MONITORS ----
------------------
mode = "preferred",
position = "auto",
scale = "auto",
+ cm = "auto"
})
hl.config({
general = {
gaps_in = 5,
- gaps_out = 20,
+ gaps_out = { top = 10, left = 5, right = 5, bottom = 10 },
border_size = 2,
shadow = {
enabled = true,
range = 4,
- render_power = 3,
+ render_power = 2,
color = 0xee1a1a1a,
},
vibrancy = 0.1696,
noise = 0.0696,
},
+
+ motion_blur = {
+ enabled = true,
+ samples = 7,
+ },
+
+ -- wobble = {
+ -- enabled = true,
+ -- mesh = 22,
+ -- stiffness =200,
+ -- damping = 12,
+ -- mass = 1,
+ -- intensity = 0.2,
+ -- value_epsilon = 0.25,
+ -- velocity_epsilon = 2
+ -- },
},
})
accel_profile = "flat"
})
+
+--------------------------------
+------- HYPRLAND PLUGINS ------
+--------------------------------
+
+-- hl.config({
+-- plugin = {
+-- hyprbars = {
+-- bar_text_font = "ZedMono NFP",
+-- bar_text_size = 11,
+-- bar_height = 21,
+-- bar_color = "rgb(101010)",
+-- text_color = "rgb(efefef)",
+-- bar_part_of_window = 1,
+-- bar_precedence_over_border = 1,
+-- },
+-- },
+-- })
+
+-- hl.plugin.hyprbars.add_button({
+-- bg_color = "rgb(aa3333)",
+-- fg_color = "rgb(aaaaaa)",
+-- size = 18,
+-- icon = "<U+F05AD>",
+-- action = "hyprctl dispatch killactive",
+-- })
+
+-- hl.plugin.hyprbars.add_button({
+-- bg_color = "rgb(3333aa)",
+-- fg_color = "rgb(aaaaaa)",
+-- size = 18,
+-- icon = "<U+F004C>",
+-- action = "hyprctl dispatch fullscreen 1",
+-- })
+
+-- hl.plugin.hyprbars.add_button({
+-- bg_color = "rgb(333333)",
+-- fg_color = "rgb(aa3333)",
+-- size = 18,
+-- icon = "<U+F05AD>",
+-- action = "hyprctl dispatch killactive",
+-- })
+
+-- add_button = { colors = {primary}}, 18, <U+F004C>, hyprctl dispatch fullscreen 1,
+-- add_button = { colors = {secondary}}, 18, <U+EF3E>, hyprctl dispatch movetoworkspacesilent special:min,
+
+
--------------------------------
---- WINDOWS AND WORKSPACES ----
--------------------------------
float = true,
})
+--------------------
+---- FRAGMENTS ----
+--------------------
+
+require("fragments.env")
+require("fragments.permissions")
+require("fragments.keybinds")
+require("fragments.workspacerules")
+require("fragments.layerrules")
+require("fragments.animations")
+require("fragments.windowrules")
require("noctalia.noctalia-colors")
+