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"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue