Added black energy-saving screen
This commit is contained in:
parent
f56d9d6847
commit
bace8803da
13
config
13
config
@ -275,6 +275,19 @@ mode "$mode_system" {
|
|||||||
}
|
}
|
||||||
bindsym $mod+Pause mode "$mode_system"
|
bindsym $mod+Pause mode "$mode_system"
|
||||||
|
|
||||||
|
# Manual display on and off
|
||||||
|
# Disables the black screen that appears to save the monitor's power
|
||||||
|
# when you do not touch the computer in a few minutes.
|
||||||
|
set $mode_display_on_off Black energy-saving screen: (y) enable, (n) disable
|
||||||
|
mode "$mode_display_on_off" {
|
||||||
|
bindsym y exec --no-startup-id xset s on && xset s blank && xset +dpms, mode "default"
|
||||||
|
bindsym n exec --no-startup-id xset s off && xset s noblank && xset -dpms, mode "default"
|
||||||
|
# back to normal: Enter or Escape
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
bindsym $mod+p mode "$mode_display_on_off"
|
||||||
|
|
||||||
#players global horkeys
|
#players global horkeys
|
||||||
bindsym XF86AudioPrev exec playerctl previous
|
bindsym XF86AudioPrev exec playerctl previous
|
||||||
bindsym XF86AudioNext exec playerctl next
|
bindsym XF86AudioNext exec playerctl next
|
||||||
|
Loading…
x
Reference in New Issue
Block a user