Add Kanshi
This commit is contained in:
15
.config/kanshi/config
Normal file
15
.config/kanshi/config
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
profile laptop {
|
||||
output 'Unknown 0x0056 0x00000000' enable
|
||||
}
|
||||
|
||||
profile work {
|
||||
output 'Unknown 0x0056 0x00000000' enable scale 1.2 position 0,0
|
||||
output 'Dell Inc. DELL P2419H 1857ZT2' enable position 1920,0
|
||||
output 'Dell Inc. DELL P2419H HJ47ZT2' enable position 3840,0
|
||||
}
|
||||
|
||||
profile work-no-laptop {
|
||||
output 'Dell Inc. DELL P2419H 1857ZT2' enable position 1920,0
|
||||
output 'Dell Inc. DELL P2419H HJ47ZT2' enable position 3840,0
|
||||
}
|
@@ -81,13 +81,19 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
||||
# Exit sway (logs you out of your Wayland session)
|
||||
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
|
||||
|
||||
### Laptop screen open / close
|
||||
bindswitch --reload lid:on output eDP-1 disabel
|
||||
bindswitch --reload lid:off output eDP-1 enable
|
||||
|
||||
exec kanshi
|
||||
|
||||
bar {
|
||||
swaybar_command waybar
|
||||
}
|
||||
|
||||
#Wait 1s some icons don't appear otherwise
|
||||
exec sleep 1s
|
||||
exec sleep 2s
|
||||
exec nextcloud --background
|
||||
exec blueman-applet
|
||||
exec nm-applet --indicator
|
||||
exec nextcloud --background
|
||||
exec rocketchat-desktop --start-hidden
|
||||
|
Reference in New Issue
Block a user