reupload
This commit is contained in:
4
arch-user/bin/sway/brightness-set-and-notify.sh
Executable file
4
arch-user/bin/sway/brightness-set-and-notify.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
brig="$(brightnessctl set "$1" -m | sed -e 's/.*,\([0-9]*\)%.*/\1/')"
|
||||
notify-send -t 2000 -h "int:value:$brig" -a "brightness" "$brig%" \
|
||||
-h string:x-canonical-private-synchronous:brightness
|
||||
6
arch-user/bin/sway/command-mode.sh
Executable file
6
arch-user/bin/sway/command-mode.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
out="$(printf '' | bemenu --prompt ':sway')"
|
||||
eval "executor_args=($out)"
|
||||
#shellcheck disable=SC2154
|
||||
sway "${executor_args[@]}"
|
||||
Reference in New Issue
Block a user