Adjust indentation in bash scripts

This commit is contained in:
Kiana Sheibani 2024-02-17 13:18:46 -05:00
parent c3247b08ad
commit 23c57d4d53
3 changed files with 6 additions and 6 deletions

View file

@ -5,5 +5,5 @@ swaybg -o '*' -i "$1" -m fill &
waybar & waybar &
swayidle timeout 120 'swaylock -f --grace=180' \ swayidle timeout 120 'swaylock -f --grace=180' \
timeout 600 'systemctl suspend' \ timeout 600 'systemctl suspend' \
before-sleep 'swaylock -f' & before-sleep 'swaylock -f' &

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash #!/usr/bin/env bash
pkill -0 swaynag || \ pkill -0 swaynag || \
swaynag -t exit -m "Do you really want to exit?" \ swaynag -t exit -m "Do you really want to exit?" \
-B "Reboot" "reboot" -B "Shutdown" "poweroff" -b "Exit" "hyprctl dispatch exit" -B "Reboot" "reboot" -B "Shutdown" "poweroff" -b "Exit" "hyprctl dispatch exit"

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash #!/usr/bin/env bash
notify-send "$1" -c multimedia -a "$2" \ notify-send "$1" -c multimedia -a "$2" \
$(makoctl list | jaq -r 'first(.data[][]|select(.category.data=="multimedia")|.id.data|["-r",.])[]') \ $(makoctl list | jaq -r 'first(.data[][]|select(.category.data=="multimedia")|.id.data|["-r",.])[]') \
-h "INT:value:$3" -h "INT:value:$3"