diff --git a/.dotter/global.toml b/.dotter/global.toml index d1aeecc..929eb19 100644 --- a/.dotter/global.toml +++ b/.dotter/global.toml @@ -31,6 +31,7 @@ depends = [] "configs/wlogout" = "~/.config/wlogout" "configs/wpaperd" = "~/.config/wpaperd" "configs/yazi" = "~/.config/yazi" +"configs/systemd" = "~/.config/systemd" [default.variables] diff --git a/configs/hypr/base/hyprland.conf b/configs/hypr/base/hyprland.conf index 293c3d2..ba57a20 100644 --- a/configs/hypr/base/hyprland.conf +++ b/configs/hypr/base/hyprland.conf @@ -46,7 +46,7 @@ input { kb_options = caps:escape kb_rules = - follow_mouse = 2 + follow_mouse = 1 touchpad { natural_scroll = true @@ -103,6 +103,7 @@ misc { # swallow_exception_regex = "" mouse_move_focuses_monitor = false + animate_manual_resizes = false } # ── Layouts ─────────────────────────────────────────────────────────── diff --git a/configs/nvim/lua/aleidk/keymaps.lua b/configs/nvim/lua/aleidk/keymaps.lua index 5be823b..148c5f6 100644 --- a/configs/nvim/lua/aleidk/keymaps.lua +++ b/configs/nvim/lua/aleidk/keymaps.lua @@ -33,6 +33,7 @@ vim.keymap.set("n", "", "l", { desc = "Move to right window", silent = -- LSP +vim.keymap.set("n", "lr", function() vim.lsp.buf.rename() end, { desc = "Rename symbol", silent = true }) vim.keymap.set("n", "lf", vim.lsp.buf.format, { desc = "Format document with LSP", silent = true }) vim.keymap.set("n", "lj", function() vim.diagnostic.jump({ count = 1 }) end, { desc = "Go to next diagnostic", silent = true }) diff --git a/configs/systemd/graphical-session.target.wants/hypridle.service b/configs/systemd/graphical-session.target.wants/hypridle.service new file mode 120000 index 0000000..55da293 --- /dev/null +++ b/configs/systemd/graphical-session.target.wants/hypridle.service @@ -0,0 +1 @@ +/usr/lib/systemd/user/hypridle.service \ No newline at end of file diff --git a/configs/systemd/waybar.service.d/override.conf b/configs/systemd/waybar.service.d/override.conf new file mode 100644 index 0000000..d46f70a --- /dev/null +++ b/configs/systemd/waybar.service.d/override.conf @@ -0,0 +1,10 @@ +[Unit] +After=graphical-session.target +After=wayland-session@hyprland.desktop.target + +[Servie] +ExecCondition=/lib/systemd/systemd-xdg-autostart-condition "wlroots:sway:Wayfire:labwc:Hyprland" "" + +[Install] +WantedBy=graphical-session.target +WantedBy=wayland-session@hyprland.desktop.target