sway: prefix scripts with sway_
This commit is contained in:
parent
9a4b96932a
commit
f895cb3ee9
6 changed files with 16 additions and 9 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
source $HOME/.config/sway/bin/helpers
|
||||
source $HOME/.config/sway/bin/sway_helpers
|
||||
DEVICE=sysfs/backlight/intel_backlight
|
||||
APP=light
|
||||
|
|
@ -30,9 +30,16 @@ function _set_inhibit() {
|
|||
rm -f $file
|
||||
_log _set_inhibit: INFO inhibit disabled
|
||||
;;
|
||||
*)
|
||||
1|on)
|
||||
touch $file
|
||||
_log _set_inhibit: INFO inhibit enabled
|
||||
;;
|
||||
*)
|
||||
status=0
|
||||
if [ -f $file ]; then
|
||||
status=1
|
||||
fi
|
||||
_log _set_inhibit: INFO inhibit status: $status
|
||||
;;
|
||||
esac
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
source $HOME/.config/sway/bin/helpers
|
||||
source $HOME/.config/sway/bin/sway_helpers
|
||||
IMAGE=$HOME/.lockscreen.jpg
|
||||
SCROT_APP=grim
|
||||
SCROT_ARGS=" -t jpeg"
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
source $HOME/.config/sway/bin/helpers
|
||||
source $HOME/.config/sway/bin/sway_helpers
|
||||
BAT_PATH=/sys/class/power_supply
|
||||
BAT=BAT0
|
||||
MODE=suspend-then-hibernate
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
source $HOME/.config/sway/bin/helpers
|
||||
source $HOME/.config/sway/bin/sway_helpers
|
||||
SINK=$(pacmd list-sinks | grep "* index" | grep -oE '[0-9]*')
|
||||
APP="pavucontrol"
|
||||
|
8
config
8
config
|
@ -16,10 +16,10 @@ set $right l
|
|||
# Your preferred terminal emulator
|
||||
set $term termite
|
||||
set $background $HOME/Cloud/xkonni/Pictures/wallpaper/5k_bavarian_forest_bw.jpg
|
||||
set $lock_cmd $HOME/.config/sway/bin/lock
|
||||
set $brightness_cmd "$HOME/.config/sway/bin/brightness
|
||||
set $suspend_cmd "$HOME/.config/sway/bin/suspend
|
||||
set $volume_cmd "$HOME/.config/sway/bin/volume
|
||||
set $lock_cmd $HOME/.config/sway/bin/sway_lock
|
||||
set $brightness_cmd "$HOME/.config/sway/bin/sway_brightness
|
||||
set $suspend_cmd "$HOME/.config/sway/bin/sway_suspend
|
||||
set $volume_cmd "$HOME/.config/sway/bin/sway_volume
|
||||
set $font Cascadia Code PL Regular 10
|
||||
|
||||
# Your preferred application launcher
|
||||
|
|
Loading…
Reference in a new issue