i3 display bindings

Changed files
+7 -4
home
wm
config.d
i3
sway
-4
home/wm/config.d/bindings
···
bindsym $mod+p exec @displays@
-
# for when latop output is disabled on resume
-
bindsym $mod+Control+p output * enable; output * dpms on
-
bindsym $mod+Shift+p exec @wmmsg@ output "$($SCRIPT_DIR/get_focused_output.sh)" disable
-
focus_on_window_activation smart
+3
home/wm/i3/bindings
···
bindsym $mod+Shift+v exec rofi -i -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}'
bindsym $mod+Control+v exec greenclip print | head -n 1 | xclip -i -selection "clipboard"
bindsym $mod+Shift+Control+v exec xdotool type "$(greenclip print | head -n 1)"
+
+
# for when latop output is disabled on resume
+
bindsym $mod+Shift+p exec xrandr --output "$($SCRIPT_DIR/get_focused_output.sh)" --off
+4
home/wm/sway/bindings
···
bindsym $mod+Delete mode "default"; notify-send "passthrough"
}
bindsym $mod+Delete mode "$mode_passthrough"; notify-send "passthrough"
+
+
# for when latop output is disabled on resume
+
bindsym $mod+Control+p output * enable; output * dpms on
+
bindsym $mod+Shift+p exec @wmmsg@ output "$($SCRIPT_DIR/get_focused_output.sh)" disable