diff options
| author | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2023-07-16 23:50:44 +0100 |
|---|---|---|
| committer | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2023-07-16 23:50:44 +0100 |
| commit | 659e9d81cbb5fda8d77e8ab2f7b4cc3fcfe74c20 (patch) | |
| tree | 2a8e48a7b22aa10f98927b810b0fde56279bb760 | |
| parent | e106fc0cc2c604101ceb8c0385334c4a31575dd9 (diff) | |
Fix multiple instances of wofi appearing
| -rw-r--r-- | sway/config | 4 | ||||
| -rw-r--r-- | wofi/config | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/sway/config b/sway/config index eb80318..985bf95 100644 --- a/sway/config +++ b/sway/config @@ -8,7 +8,7 @@ set $down j set $up k set $right l set $term alacritty -set $menu wofi | xargs swaymsg exec +set $menu wofi # Colours set $cl_high #434e59 @@ -65,7 +65,7 @@ for_window [app_id="termfloat"] resize set width 900 bindsym $mod+Return exec $term bindsym $mod+Shift+Return exec $term --class="termfloat" -bindsym $mod+d exec $menu +bindsym $mod+d exec pgrep -x wofi >/dev/null 2>&1 && killall wofi || $menu bindsym $mod+Shift+c reload bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit' diff --git a/wofi/config b/wofi/config index 395ab21..3730661 100644 --- a/wofi/config +++ b/wofi/config @@ -6,4 +6,3 @@ no_actions=true location=2 drun-display_generic=true -drun-print_command=true |
