1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

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
This commit is contained in:
Joe Groocock 2020-03-22 23:00:17 +00:00
parent 4a646b6573
commit 7017703cab
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -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