diff --git a/config/hypr/modus.lua b/config/hypr/modus.lua index f2b8f1f..800e429 100644 --- a/config/hypr/modus.lua +++ b/config/hypr/modus.lua @@ -1,4 +1,5 @@ -local modus = "$HOME/.config/Modus" +-- local modus = "$HOME/.config/Modus" +local modus = "$HOME/Projects/dev/Modus" -- Global Menu env is set by Modus's _setup_environment() at runtime via -- hyprctl keyword env, so it doesn't affect Modus's own windows. @@ -7,10 +8,10 @@ local modus = "$HOME/.config/Modus" hl.on("hyprland.start", function() local cmds = { - "uwsm app -- awww-daemon", - "wl-paste --type text --watch cliphist store", - "wl-paste --type image --watch cliphist store", - "pgrep -x hypridle >/dev/null || uwsm app -- hypridle", + -- "uwsm app -- awww-daemon", + -- "wl-paste --type text --watch cliphist store", + -- "wl-paste --type image --watch cliphist store", + -- "pgrep -x hypridle >/dev/null || uwsm app -- hypridle", "cd " .. modus .. " && uwsm app -- uv run start", } for i = 1, #cmds do @@ -29,52 +30,52 @@ hl.layer_rule({ blur_popups = true, }) -hl.curve("easeOutQuint", { type = "bezier", points = { { 0.23, 1 }, { 0.32, 1 } } }) -hl.curve("easeInOutCubic", { type = "bezier", points = { { 0.65, 0.05 }, { 0.36, 1 } } }) -hl.curve("linear", { type = "bezier", points = { { 0, 0 }, { 1, 1 } } }) -hl.curve("almostLinear", { type = "bezier", points = { { 0.5, 0.5 }, { 0.75, 1 } } }) -hl.curve("quick", { type = "bezier", points = { { 0.15, 0 }, { 0.1, 1 } } }) -hl.curve("move", { type = "bezier", points = { { 0.36, 0.13 }, { 0.1, 1.36 } } }) -hl.curve("new", { type = "bezier", points = { { 0.36, 0.13 }, { 0.1, 1.26 } } }) -hl.curve("workspace", { type = "bezier", points = { { 0.42, 0 }, { 0.58, 1 } } }) -hl.curve("resize", { type = "bezier", points = { { 0.46, 0 }, { 0.58, 1.16 } } }) - -hl.curve("easy", { type = "spring", mass = 1, stiffness = 71.2633, dampening = 15.8273644 }) - -hl.animation({ leaf = "global", enabled = true, speed = 1, bezier = "default" }) -hl.animation({ leaf = "border", enabled = true, speed = 5.39, bezier = "easeOutQuint" }) -hl.animation({ leaf = "windows", enabled = true, speed = 3.5, bezier = "new" }) -hl.animation({ leaf = "windowsIn", enabled = true, speed = 3.5, bezier = "move", style = "popin 87%" }) -hl.animation({ leaf = "windowsOut", enabled = true, speed = 3.5, bezier = "move", style = "popin 87%" }) -hl.animation({ leaf = "fadeIn", enabled = true, speed = 3.5, bezier = "default" }) -hl.animation({ leaf = "fadeOut", enabled = true, speed = 3.5, bezier = "default" }) -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 = "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 = 2, bezier = "workspace", style = "" }) -hl.animation({ leaf = "workspacesIn", enabled = true, speed = 2, bezier = "workspace", style = "" }) -hl.animation({ leaf = "workspacesOut", enabled = true, speed = 2, bezier = "workspace", style = "" }) -hl.animation({ leaf = "zoomFactor", enabled = true, speed = 7, bezier = "quick" }) +-- hl.curve("easeOutQuint", { type = "bezier", points = { { 0.23, 1 }, { 0.32, 1 } } }) +-- hl.curve("easeInOutCubic", { type = "bezier", points = { { 0.65, 0.05 }, { 0.36, 1 } } }) +-- hl.curve("linear", { type = "bezier", points = { { 0, 0 }, { 1, 1 } } }) +-- hl.curve("almostLinear", { type = "bezier", points = { { 0.5, 0.5 }, { 0.75, 1 } } }) +-- hl.curve("quick", { type = "bezier", points = { { 0.15, 0 }, { 0.1, 1 } } }) +-- hl.curve("move", { type = "bezier", points = { { 0.36, 0.13 }, { 0.1, 1.36 } } }) +-- hl.curve("new", { type = "bezier", points = { { 0.36, 0.13 }, { 0.1, 1.26 } } }) +-- hl.curve("workspace", { type = "bezier", points = { { 0.42, 0 }, { 0.58, 1 } } }) +-- hl.curve("resize", { type = "bezier", points = { { 0.46, 0 }, { 0.58, 1.16 } } }) +-- +-- hl.curve("easy", { type = "spring", mass = 1, stiffness = 71.2633, dampening = 15.8273644 }) +-- +-- hl.animation({ leaf = "global", enabled = true, speed = 1, bezier = "default" }) +-- hl.animation({ leaf = "border", enabled = true, speed = 5.39, bezier = "easeOutQuint" }) +-- hl.animation({ leaf = "windows", enabled = true, speed = 3.5, bezier = "new" }) +-- hl.animation({ leaf = "windowsIn", enabled = true, speed = 3.5, bezier = "move", style = "popin 87%" }) +-- hl.animation({ leaf = "windowsOut", enabled = true, speed = 3.5, bezier = "move", style = "popin 87%" }) +-- hl.animation({ leaf = "fadeIn", enabled = true, speed = 3.5, bezier = "default" }) +-- hl.animation({ leaf = "fadeOut", enabled = true, speed = 3.5, bezier = "default" }) +-- 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 = "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 = 2, bezier = "workspace", style = "" }) +-- hl.animation({ leaf = "workspacesIn", enabled = true, speed = 2, bezier = "workspace", style = "" }) +-- hl.animation({ leaf = "workspacesOut", enabled = true, speed = 2, bezier = "workspace", style = "" }) +-- hl.animation({ leaf = "zoomFactor", enabled = true, speed = 7, bezier = "quick" }) local fabricSend = "fabric-cli exec modus1" -- Reload Modus -hl.bind("SUPER + ALT + B", hl.dsp.exec_cmd("killall modus; cd " .. modus .. " && uwsm app -- uv run start")) +hl.bind("SUPER + ALT + B", hl.dsp.exec_cmd("killall modus1; cd " .. modus .. " && uwsm app -- uv run start")) -- Fabric Launcher Binds for key, method in pairs({ ["SUPER + SHIFT + Y"] = "app.set_css()", -- Reload CSS ["ALT + TAB"] = "switcher.show_switcher()", -- Application Switcher - ["SUPER + SPACE"] = "launcher.show_launcher()", -- App Launcher - ["SUPER + V"] = "launcher.show_launcher('clip')", -- Clipboard History - ["SUPER + W"] = "launcher.show_launcher('wall')", -- Wallpapers - ["ALT + SHIFT + W"] = "launcher.show_launcher('wall random', external=True)", -- Random Wallpaper - ["SUPER + Period"] = "launcher.show_launcher('em')", -- Emoji Picker - ["SUPER + ESCAPE"] = "launcher.show_launcher('power')", -- Power Menu - ["SUPER + SHIFT + M"] = "launcher.show_launcher('caffeine on', external=True)", -- Toggle Caffeine + -- ["SUPER + SPACE"] = "launcher.show_launcher()", -- App Launcher + -- ["SUPER + V"] = "launcher.show_launcher('clip')", -- Clipboard History + -- ["SUPER + W"] = "launcher.show_launcher('wall')", -- Wallpapers + -- ["ALT + SHIFT + W"] = "launcher.show_launcher('wall random', external=True)", -- Random Wallpaper + -- ["SUPER + Period"] = "launcher.show_launcher('em')", -- Emoji Picker + -- ["SUPER + ESCAPE"] = "launcher.show_launcher('power')", -- Power Menu + -- ["SUPER + SHIFT + M"] = "launcher.show_launcher('caffeine on', external=True)", -- Toggle Caffeine }) do hl.bind(key, hl.dsp.exec_cmd(fabricSend .. " '" .. method .. "'")) end