diff --git a/sway/.config/sway/config b/sway/.config/sway/config
index e5aa563660f4404de1594bf7286a417db16fdf97..9b17c5779e6e14d68274be841d5045e2727b3ff4 100644
--- a/sway/.config/sway/config
+++ b/sway/.config/sway/config
@@ -15,6 +15,7 @@ set $term alacritty
set $menu exec $term --class=launcher -e /home/michal/.local/bin/sway-launcher-desktop.sh
for_window [class="Galculator"] floating enable
for_window [app_id="^launcher$"] floating enable, sticky enable, resize set 30 ppt 60 ppt, border pixel 2
+for_window [app_id="screenkey"] floating enable
### Output configuration
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
@@ -23,8 +24,6 @@ #
set $laptop eDP-1
set $external DP-6
-bindswitch --reload --locked lid:on output $laptop disable
-bindswitch --reload --locked lid:off output $laptop enable
output $laptop position 0,0 bg /home/michal/Media/Pictures/wallpaper.jpg fill
output $external pos 1360,0 bg /home/michal/Media/Pictures/wallpaper2.jpg fill
@@ -37,6 +36,8 @@ exec swayidle -w \
timeout 2400 'swaylock -f -c 000000' \
timeout 2400 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -i /home/michal/Media/Pictures/lock.png -s fill -u | playerctl stop'
+bindswitch --reload --locked lid:on output $laptop disable
+bindswitch --reload --locked lid:off output $laptop enable
# This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 300 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep.
@@ -105,7 +106,7 @@ bindsym $mod+Control+l exec "swaylock -i /home/michal/Media/Pictures/lock.png -s fill -u"
bindsym $alt+c exec "dunstctl close-all"
bindsym $alt+h exec "dunstctl history-pop"
bindsym $mod+Home exec "gammastep -PO 2000K"
- bindsym $mod+End exec "gammastep -x"
+ bindsym $mod+End exec "killall -9 gammastep"
bindsym $mod+x exec "killall -SIGUSR1 waybar"
bindsym $mod+Control+s exec "sn"
bindsym $mod+Left move workspace to output $laptop