gui adjustments

This commit is contained in:
bogale 2026-10-30 15:35:57 +09:00
commit e9a3594518
3 changed files with 29 additions and 32 deletions

View file

@ -60,6 +60,7 @@
user = "greeter";
};
};
logind.settings.Login.HandleLidSwitch = "suspend-then-hibernate";
pipewire = {
enable = true;
pulse.enable = true;

18
flake.lock generated
View file

@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1792896866,
"narHash": "sha256-/0tELNnhdSnP+bHSdWiEe6KpfSwi6WrTnT9cm/jNkjA=",
"lastModified": 1793193205,
"narHash": "sha256-X6xa6sGA7RnJQuZGbFMC+K+KToWAlBDCCjJXfTwEPsw=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "c216bf5a1f173b0481bd5c8c489ebe5595ecc68c",
"rev": "095fef2f265c3c0da4fe315efba8f8a04495ab34",
"type": "github"
},
"original": {
@ -22,11 +22,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1792773339,
"narHash": "sha256-rZLrzrC6i+jnTAlvPZHogKDulY7WWDEv9hJeHieO7Zw=",
"lastModified": 1793110635,
"narHash": "sha256-dhoW6VgFWlaodSY5jrBn+CF2FLmaUvDVgM7+C7T2+NM=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "3ec636362e1816bc2f0888fa0fa2c69f1bc9e504",
"rev": "31ecbaca1bdefa45dffc409f0250bd8039ea0010",
"type": "github"
},
"original": {
@ -50,11 +50,11 @@
]
},
"locked": {
"lastModified": 1792809984,
"narHash": "sha256-KV+CaZX7QS0hcdKxwGKehDb1jmUgx6lbkTPpaoIW5Nw=",
"lastModified": 1793052255,
"narHash": "sha256-Y/JIHTnMlOabDfyaSBubWGLDIVGihLEUuoMhFvQKaDo=",
"owner": "Mic92",
"repo": "sops-nix",
"rev": "442449fa7b1fe6c692d0103ac9fc8f9e82931cf3",
"rev": "60182817ee048ac94b4c68ea76d5ef2e8aac730d",
"type": "github"
},
"original": {

View file

@ -2,13 +2,13 @@
order = [ "default" ]
[bar.default]
center = [ "workspaces" ]
enabled = true
end = [ "tray", "keyboard_layout", "battery", "notifications" ]
margin_ends = 0
start = [ "date", "clock", "sysmon" ]
widget_spacing = 12
[bar.default.dead_zone.actions]
right = "none"
[control_center]
[[control_center.shortcuts]]
type = "wifi"
[[control_center.shortcuts]]
@ -19,6 +19,8 @@ order = [ "default" ]
type = "notification"
[[control_center.shortcuts]]
type = "power_profile"
[[control_center.shortcuts]]
type = "weather"
[idle]
behavior_order = [ "lock", "screen-off" ]
[idle.behavior.lock]
@ -59,31 +61,25 @@ screen_time_enabled = true
shortcut = "1"
variant = "default"
[[shell.session.actions]]
action = "lock_and_suspend"
countdown_seconds = 0.0
enabled = true
shortcut = "2"
variant = "default"
[[shell.session.actions]]
action = "command"
command = "systemctl hibernate"
command = "systemctl suspend-then-hibernate"
countdown_seconds = 0.0
enabled = true
glyph = "hibernate"
label = "Гибернация"
shortcut = "3"
glyph = "suspend"
label = "Сон"
shortcut = "2"
variant = "default"
[[shell.session.actions]]
action = "reboot"
countdown_seconds = 0.0
enabled = true
shortcut = "4"
shortcut = "3"
variant = "default"
[[shell.session.actions]]
action = "shutdown"
countdown_seconds = 0.0
enabled = true
shortcut = "5"
shortcut = "4"
variant = "default"
[theme]
builtin = "Tokyo-Night"