update
- gtklock conf - generic adjusts
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
style=/home/agxcoy/.config/gtklock/style.css
|
||||
time-format=%H:%M:%S
|
||||
date-format=%Y-%m-%d, %A
|
||||
modules=/usr/lib/gtklock/userinfo-module.so
|
||||
monitor-priority=HDMI-A-1;eDP-1
|
||||
|
||||
@@ -204,6 +204,11 @@ window-rule {
|
||||
block-out-from "screencast"
|
||||
}
|
||||
|
||||
window-rule {
|
||||
match app-id="foot"
|
||||
default-window-height { proportion 0.5; }
|
||||
}
|
||||
|
||||
window-rule {
|
||||
match title="^(图片查看器|.*记录)$" app-id="QQ"
|
||||
match app-id="pavucontrol-qt"
|
||||
@@ -225,7 +230,6 @@ window-rule {
|
||||
match title=r#"Visual Studio Code$"#
|
||||
match app-id=r#"^code"#
|
||||
|
||||
match app-id=r#"firefox$"#
|
||||
open-maximized true
|
||||
}
|
||||
|
||||
@@ -271,7 +275,7 @@ binds {
|
||||
Mod+Alt+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; }
|
||||
Mod+Shift+Escape hotkey-overlay-title="Exit niri" { quit; }
|
||||
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+"; }
|
||||
XF86AudioLowerVolume hotkey-overlay-title=null allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.01-"; }
|
||||
|
||||
Reference in New Issue
Block a user