bin: remove sway_exit, this is now done via desktop files
This commit is contained in:
parent
de752e591c
commit
63bc63c91e
2 changed files with 0 additions and 31 deletions
|
|
@ -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
|
|
||||||
|
|
||||||
2
config
2
config
|
|
@ -32,7 +32,6 @@ set $notify_cmd dunstify -r 123
|
||||||
# Your preferred application launcher
|
# Your preferred application launcher
|
||||||
set $run_cmd $HOME/.config/sway/bin/sway_run
|
set $run_cmd $HOME/.config/sway/bin/sway_run
|
||||||
set $search_cmd $HOME/.config/sway/bin/sway_search
|
set $search_cmd $HOME/.config/sway/bin/sway_search
|
||||||
set $exit_cmd $HOME/.config/sway/bin/sway_exit
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Host Specific
|
# Host Specific
|
||||||
|
|
@ -88,7 +87,6 @@ bindsym --release button3 kill
|
||||||
# Start your launcher
|
# Start your launcher
|
||||||
bindsym $alt+r exec $run_cmd
|
bindsym $alt+r exec $run_cmd
|
||||||
bindsym $alt+Shift+r exec $search_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.
|
# Drag floating windows by holding down $alt and left mouse button.
|
||||||
# Resize them with right mouse button + $alt.
|
# Resize them with right mouse button + $alt.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue