From 1be73d5e5a5ca3ab678ea4dc03bfb36587cb8334 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Tue, 22 Feb 2022 13:19:27 +0100 Subject: [PATCH] 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. --- .config/i3/config | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.config/i3/config b/.config/i3/config index d6b77eb..b6b5c64 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -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