updated desktop shell

This commit is contained in:
Aleksandr Lebedev 2025-09-03 07:48:39 +02:00
parent 35aa6456d5
commit 6220db7aca
3 changed files with 17 additions and 9 deletions

6
flake.lock generated
View file

@ -322,11 +322,11 @@
"quickshell": "quickshell" "quickshell": "quickshell"
}, },
"locked": { "locked": {
"lastModified": 1756754735, "lastModified": 1756878410,
"narHash": "sha256-SaWkbxuEEp8Qe8WDAjHx+i10INdUArJ1dr6WXshuULQ=", "narHash": "sha256-MAgB/odrb8pdPjXxRUJWNKIYilz2Zf6PmN2XbnfMP6Y=",
"owner": "KyleKrein", "owner": "KyleKrein",
"repo": "DesktopShell", "repo": "DesktopShell",
"rev": "229656ac9edef9333090ea07a2f663dceadc0bf4", "rev": "62a483c288a5875c92174d013b14e63cb67e3a4a",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -216,6 +216,7 @@ in
"brightness" "brightness"
"increment" "increment"
"5" "5"
""
]; ];
}; };
"XF86MonBrightnessDown" = { "XF86MonBrightnessDown" = {
@ -229,6 +230,7 @@ in
"brightness" "brightness"
"decrement" "decrement"
"5" "5"
""
]; ];
}; };
@ -257,7 +259,7 @@ in
focus-follows-mouse = { focus-follows-mouse = {
#enable = true; #enable = true;
}; };
warp-mouse-to-focus.enable = true; warp-mouse-to-focus.enable = false;
keyboard = { keyboard = {
xkb.layout = "eu, ru"; xkb.layout = "eu, ru";
xkb.options = "grp:lctrl_toggle, ctrl:nocaps"; xkb.options = "grp:lctrl_toggle, ctrl:nocaps";
@ -376,6 +378,8 @@ in
before_sleep_cmd = "${loginctl} lock-session"; before_sleep_cmd = "${loginctl} lock-session";
#after_sleep_cmd = "#${niri} msg action power-on-monitors"; #after_sleep_cmd = "#${niri} msg action power-on-monitors";
lock_cmd = "${locking-script}"; 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 settings.listener = let
secondary = "${systemctl} suspend"; secondary = "${systemctl} suspend";
@ -400,13 +404,13 @@ in
Description = "Makes sure that you have touchscreen gestures."; Description = "Makes sure that you have touchscreen gestures.";
}; };
Install = { Install = {
WantedBy = ["graphical.target"]; WantedBy = ["graphical-session.target"];
}; };
Service = { Service = {
ExecStart = "${pkgs.writeShellScript "run-lisgd" '' ExecStart = "${pkgs.writeShellScript "run-lisgd" ''
${pkgs.custom.lisgd-kylekrein}/bin/lisgd ${pkgs.custom.lisgd-kylekrein}/bin/lisgd
''}"; ''}";
Restart = "on-failure"; Restart = "always";
RestartSec = 5; RestartSec = 5;
}; };
}; };
@ -415,7 +419,7 @@ in
Description = "Adds auto rotation to Niri."; Description = "Adds auto rotation to Niri.";
}; };
Install = { Install = {
WantedBy = ["graphical.target"]; WantedBy = ["graphical-session.target"];
}; };
Service = { Service = {
ExecStart = "${pkgs.writeShellScript "autorotate" '' ExecStart = "${pkgs.writeShellScript "autorotate" ''

View file

@ -34,6 +34,7 @@
"controlCenterShowAudioIcon": true, "controlCenterShowAudioIcon": true,
"showWorkspaceIndex": false, "showWorkspaceIndex": false,
"showWorkspacePadding": false, "showWorkspacePadding": false,
"showWorkspaceApps": true,
"workspaceNameIcons": {}, "workspaceNameIcons": {},
"clockCompactMode": false, "clockCompactMode": false,
"focusedWindowCompactMode": false, "focusedWindowCompactMode": false,
@ -44,10 +45,13 @@
"mediaSize": 1, "mediaSize": 1,
"topBarLeftWidgets": [ "topBarLeftWidgets": [
"launcherButton", "launcherButton",
"workspaceSwitcher" "advancedWorkspaceSwitcher",
{
"id": "workspaceSwitcher",
"enabled": true
}
], ],
"topBarCenterWidgets": [ "topBarCenterWidgets": [
"music",
"clock", "clock",
"weather" "weather"
], ],