diff --git a/sway/config b/sway/config index 111ad8b..ce012d8 100644 --- a/sway/config +++ b/sway/config @@ -2,6 +2,7 @@ # # Logo key. Use Mod1 for Alt. set $mod Mod4 +set $ctrl Control # Home row direction keys, like vim set $left h set $down j @@ -21,6 +22,7 @@ set $PIP floating enabled ; sticky enabled ; border pixel 0 for_window [class="mpv"] $PIP for_window [class="pip"] $PIP for_window [window_role="PictureInPicture"] $PIP +for_window [class="feh"] floating enabled ; border pixel 0 # Status Bar: bar { diff --git a/sway/config.d/keybinds b/sway/config.d/keybinds index cfb9207..a1b2837 100644 --- a/sway/config.d/keybinds +++ b/sway/config.d/keybinds @@ -67,11 +67,9 @@ bindsym $mod+Shift+8 move container to workspace 8 bindsym $mod+Shift+9 move container to workspace 9 bindsym $mod+Shift+0 move container to workspace 10 -#bindsym $mod+print exec file=~/Pictures/Screenshots/Screenshot-$(date '+%Y%m%d%H%M%S').mp4 \ -## && wf-recorder -g "$(slurp)" $file \ -## && wl-copy $file \ -## && notify-send -i $file "File copied to clipboard" +# Printscreen functions bindsym print exec $printscreen +bindsym $ctrl+print exec farge ################################################################################ # Layout stuff: