mirror of
https://github.com/artizirk/dotfiles.git
synced 2024-11-25 17:20:58 +02:00
Switch off laptop screen on lid close
This commit is contained in:
parent
494461436f
commit
28b1472005
@ -36,6 +36,10 @@ output * bg ~/Pildid/background.png tile
|
|||||||
output "Dell Inc. DELL U2715H GH85D71K0W5S" pos 2560 0
|
output "Dell Inc. DELL U2715H GH85D71K0W5S" pos 2560 0
|
||||||
output "Dell Inc. DELL U2715H GH85D6CN1YYS" pos 0 0
|
output "Dell Inc. DELL U2715H GH85D6CN1YYS" pos 0 0
|
||||||
|
|
||||||
|
set $laptop "Unknown 0x0791 0x00000000"
|
||||||
|
bindswitch lid:on output $laptop disable
|
||||||
|
bindswitch lid:off output $laptop enable
|
||||||
|
|
||||||
# Notification daemon
|
# Notification daemon
|
||||||
exec mako --default-timeout 10000
|
exec mako --default-timeout 10000
|
||||||
|
|
||||||
@ -89,6 +93,7 @@ for_window [title=".*"] title_format ▪️ %title
|
|||||||
#
|
#
|
||||||
# start a terminal
|
# start a terminal
|
||||||
bindsym $mod+Return exec $term
|
bindsym $mod+Return exec $term
|
||||||
|
#bindsym Print+Return exec $term
|
||||||
|
|
||||||
# kill focused window
|
# kill focused window
|
||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
|
Loading…
Reference in New Issue
Block a user