i3: Open monitor-setup in a floating terminal

Open monitor-setup in a floating terminal in the upper left corner
instead of a full size window.
This commit is contained in:
2022-02-22 13:19:27 +01:00
parent 322cdb28f2
commit 1be73d5e5a

View File

@@ -218,6 +218,11 @@ bindsym --release Print exec cd ~/pics/screens/ && scrot -sf
# Zoom links in private browser
bindsym $mod+z exec ~/.local/bin/zoom-links
# Monitor selection with fzf
bindsym $mod+m exec $TERMINAl -e ~/.local/bin/monitor-setup &
for_window [class="^$TERMINAL-256color$" title="^fzf-monitor-setup$"] \
floating enable, \
border pixel 3, \
resize set 378 300, \
move position 1 32
bindsym $mod+m exec pkill -f fzf-monitor-setup -O 1 || $TERMINAL -t fzf-monitor-setup -e ~/.local/bin/monitor-setup
# vim: ft=i3