- gtklock conf
- generic adjusts
This commit is contained in:
2025-10-15 18:42:51 +08:00
parent 974c8c9a4b
commit fdc2131a9c
2 changed files with 7 additions and 3 deletions

View File

@@ -2,4 +2,4 @@
style=/home/agxcoy/.config/gtklock/style.css style=/home/agxcoy/.config/gtklock/style.css
time-format=%H:%M:%S time-format=%H:%M:%S
date-format=%Y-%m-%d, %A date-format=%Y-%m-%d, %A
modules=/usr/lib/gtklock/userinfo-module.so monitor-priority=HDMI-A-1;eDP-1

View File

@@ -204,6 +204,11 @@ window-rule {
block-out-from "screencast" block-out-from "screencast"
} }
window-rule {
match app-id="foot"
default-window-height { proportion 0.5; }
}
window-rule { window-rule {
match title="^(图片查看器|.*记录)$" app-id="QQ" match title="^(图片查看器|.*记录)$" app-id="QQ"
match app-id="pavucontrol-qt" match app-id="pavucontrol-qt"
@@ -225,7 +230,6 @@ window-rule {
match title=r#"Visual Studio Code$"# match title=r#"Visual Studio Code$"#
match app-id=r#"^code"# match app-id=r#"^code"#
match app-id=r#"firefox$"#
open-maximized true open-maximized true
} }
@@ -271,7 +275,7 @@ binds {
Mod+Alt+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; } Mod+Alt+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; }
Mod+Shift+Escape hotkey-overlay-title="Exit niri" { quit; } Mod+Shift+Escape hotkey-overlay-title="Exit niri" { quit; }
Super+Escape hotkey-overlay-title="Lock the Screen (gtklock)" { spawn "gtklock" "-d"; } Super+Escape hotkey-overlay-title="Lock the Screen (gtklock)" { spawn "gtklock" "-d"; }
XF86PowerOff hotkey-overlay-title="Lock screen and Hibernate ..." { spawn-sh "gtklock -d && sleep 3 && systemctl hibernate"; } Mod+Delete hotkey-overlay-title="Lock screen and Hibernate ..." { spawn-sh "systemctl hibernate"; }
XF86AudioRaiseVolume hotkey-overlay-title=null allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.01+"; } XF86AudioRaiseVolume hotkey-overlay-title=null allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.01+"; }
XF86AudioLowerVolume hotkey-overlay-title=null allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.01-"; } XF86AudioLowerVolume hotkey-overlay-title=null allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.01-"; }