diff --git a/flake.lock b/flake.lock index 30777ee..676817e 100644 --- a/flake.lock +++ b/flake.lock @@ -322,11 +322,11 @@ "quickshell": "quickshell" }, "locked": { - "lastModified": 1756754735, - "narHash": "sha256-SaWkbxuEEp8Qe8WDAjHx+i10INdUArJ1dr6WXshuULQ=", + "lastModified": 1756878410, + "narHash": "sha256-MAgB/odrb8pdPjXxRUJWNKIYilz2Zf6PmN2XbnfMP6Y=", "owner": "KyleKrein", "repo": "DesktopShell", - "rev": "229656ac9edef9333090ea07a2f663dceadc0bf4", + "rev": "62a483c288a5875c92174d013b14e63cb67e3a4a", "type": "github" }, "original": { diff --git a/homes/x86_64-linux/kylekrein/niri/niri.nix b/homes/x86_64-linux/kylekrein/niri/niri.nix index 6416705..327420d 100644 --- a/homes/x86_64-linux/kylekrein/niri/niri.nix +++ b/homes/x86_64-linux/kylekrein/niri/niri.nix @@ -216,6 +216,7 @@ in "brightness" "increment" "5" + "" ]; }; "XF86MonBrightnessDown" = { @@ -229,6 +230,7 @@ in "brightness" "decrement" "5" + "" ]; }; @@ -257,7 +259,7 @@ in focus-follows-mouse = { #enable = true; }; - warp-mouse-to-focus.enable = true; + warp-mouse-to-focus.enable = false; keyboard = { xkb.layout = "eu, ru"; xkb.options = "grp:lctrl_toggle, ctrl:nocaps"; @@ -376,6 +378,8 @@ in before_sleep_cmd = "${loginctl} lock-session"; #after_sleep_cmd = "#${niri} msg action power-on-monitors"; lock_cmd = "${locking-script}"; + ignore_dbus_inhibit = false; # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam) + ignore_systemd_inhibit = false; # whether to ignore systemd-inhibit --what=idle inhibitors }; settings.listener = let secondary = "${systemctl} suspend"; @@ -400,13 +404,13 @@ in Description = "Makes sure that you have touchscreen gestures."; }; Install = { - WantedBy = ["graphical.target"]; + WantedBy = ["graphical-session.target"]; }; Service = { ExecStart = "${pkgs.writeShellScript "run-lisgd" '' ${pkgs.custom.lisgd-kylekrein}/bin/lisgd ''}"; - Restart = "on-failure"; + Restart = "always"; RestartSec = 5; }; }; @@ -415,7 +419,7 @@ in Description = "Adds auto rotation to Niri."; }; Install = { - WantedBy = ["graphical.target"]; + WantedBy = ["graphical-session.target"]; }; Service = { ExecStart = "${pkgs.writeShellScript "autorotate" '' diff --git a/homes/x86_64-linux/kylekrein/niri/settings.json b/homes/x86_64-linux/kylekrein/niri/settings.json index b40cf35..1389f6b 100644 --- a/homes/x86_64-linux/kylekrein/niri/settings.json +++ b/homes/x86_64-linux/kylekrein/niri/settings.json @@ -34,6 +34,7 @@ "controlCenterShowAudioIcon": true, "showWorkspaceIndex": false, "showWorkspacePadding": false, + "showWorkspaceApps": true, "workspaceNameIcons": {}, "clockCompactMode": false, "focusedWindowCompactMode": false, @@ -44,10 +45,13 @@ "mediaSize": 1, "topBarLeftWidgets": [ "launcherButton", - "workspaceSwitcher" + "advancedWorkspaceSwitcher", + { + "id": "workspaceSwitcher", + "enabled": true + } ], "topBarCenterWidgets": [ - "music", "clock", "weather" ],