From 63bc63c91e6a1b8da59dfdde50b60e53fe29b000 Mon Sep 17 00:00:00 2001 From: xkonni Date: Fri, 7 Nov 2025 22:52:49 +0100 Subject: [PATCH] bin: remove sway_exit, this is now done via desktop files --- bin/sway_exit | 29 ----------------------------- config | 2 -- 2 files changed, 31 deletions(-) delete mode 100755 bin/sway_exit diff --git a/bin/sway_exit b/bin/sway_exit deleted file mode 100755 index 6af91d3..0000000 --- a/bin/sway_exit +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash -export PATH=$PATH:$HOME/.config/sway/bin -IMG_BASE=$HOME/.local/share/icons/Tela-circle-dark -IMG_LOCK=$IMG_BASE/scalable/apps/preferences-desktop-screensaver.svg -CMD_LOCK="sway_lock lock" -IMG_SCREENSAVER=$IMG_BASE/scalable/apps/preferences-desktop-screensaver.svg -CMD_SCREENSAVER="sway_lock screensaver" -IMG_SUSPEND=$IMG_BASE/scalable/apps/system-suspend.svg -CMD_SUSPEND="sway_power suspend" -IMG_SUSPEND_HIB=$IMG_BASE/scalable/apps/system-suspend.svg -CMD_SUSPEND_HIB="sway_power suspend-hib" -IMG_POWEROFF=$IMG_BASE/scalable/apps/kshutdown.svg -CMD_POWEROFF="sway_power poweroff" -IMG_RELOAD=$IMG_BASE/scalable/apps/system-software-update.svg -CMD_RELOAD="swaymsg reload" -IMG_EXIT=$IMG_BASE/scalable/apps/system-restart.svg -CMD_EXIT="swaymsg exit" - -echo -e "img:$IMG_LOCK:text:$CMD_LOCK -img:$IMG_SCREENSAVER:text:$CMD_SCREENSAVER -img:$IMG_SUSPEND:text:$CMD_SUSPEND -img:$IMG_SUSPEND_HIB:text:$CMD_SUSPEND_HIB -img:$IMG_POWEROFF:text:$CMD_POWEROFF -img:$IMG_RELOAD:text:$CMD_RELOAD -img:$IMG_EXIT:text:$CMD_EXIT" | \ - wofi --dmenu --prompt "exit menu" | while read line; do - bash -c "$line" -done - diff --git a/config b/config index 72f7ae8..c27b2e0 100644 --- a/config +++ b/config @@ -32,7 +32,6 @@ set $notify_cmd dunstify -r 123 # Your preferred application launcher set $run_cmd $HOME/.config/sway/bin/sway_run set $search_cmd $HOME/.config/sway/bin/sway_search -set $exit_cmd $HOME/.config/sway/bin/sway_exit # # Host Specific @@ -88,7 +87,6 @@ bindsym --release button3 kill # Start your launcher bindsym $alt+r exec $run_cmd bindsym $alt+Shift+r exec $search_cmd -bindsym $alt+Backspace exec $exit_cmd # Drag floating windows by holding down $alt and left mouse button. # Resize them with right mouse button + $alt.