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"
},
"locked": {
"lastModified": 1756754735,
"narHash": "sha256-SaWkbxuEEp8Qe8WDAjHx+i10INdUArJ1dr6WXshuULQ=",
"lastModified": 1756878410,
"narHash": "sha256-MAgB/odrb8pdPjXxRUJWNKIYilz2Zf6PmN2XbnfMP6Y=",
"owner": "KyleKrein",
"repo": "DesktopShell",
"rev": "229656ac9edef9333090ea07a2f663dceadc0bf4",
"rev": "62a483c288a5875c92174d013b14e63cb67e3a4a",
"type": "github"
},
"original": {

View file

@ -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" ''

View file

@ -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"
],