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"; user = "greeter";
}; };
}; };
logind.settings.Login.HandleLidSwitch = "suspend-then-hibernate";
pipewire = { pipewire = {
enable = true; enable = true;
pulse.enable = true; pulse.enable = true;

18
flake.lock generated
View file

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

View file

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