From 7017703cab708de3ff9f0ea0da7ee318966bcc53 Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Sun, 22 Mar 2020 23:00:17 +0000 Subject: [PATCH] i3: kill any rofi instances before starting Rofi doesn't allow starting without creating/checking a pidfile, for some strange reason, so we work around it like this --- .config/i3/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/i3/config b/.config/i3/config index 0c6a30c..df8434d 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -138,7 +138,7 @@ bindsym $mod+Ctrl+Return exec systemd-run-i3 i3-sensible-terminal --class bindsym $mod+Shift+Return exec systemd-run-i3 i3-sensible-terminal --working-directory "$(xcwd)" bindsym $mod+Ctrl+Shift+Return exec systemd-run-i3 i3-sensible-terminal --class floating-term --working-directory "$(xcwd)" bindsym $mod+l exec dm-tool switch-to-greeter -bindsym $mod+space exec rofi -show run -sidebar-mode -terminal i3-sensible-terminal -normal-window -run-command 'systemd-run-i3 -n {cmd}' +bindsym $mod+space exec "pkill rofi; rofi -show run -sidebar-mode -terminal i3-sensible-terminal -normal-window -run-command 'systemd-run-i3 -n {cmd}'" bindsym $mod+Shift+p exec rofi-pass --root $(grep path ~/.config/gopass/config.yml | sed -E 's|^.*fs\+file://||g' | tr '\n' ':') | sed 's/:$//g' bindsym $mod+Shift+e exec systemd-run-i3 -n rofi-emoji bindsym $mod+Shift+i exec systemd-run-i3 -n rofi-fontawesome