[sway] fix indentation

This commit is contained in:
Gregory Trolliet 2024-11-09 17:10:20 +01:00
parent de2e980e62
commit 62d90e6559
3 changed files with 6 additions and 6 deletions

View file

@ -1,7 +1,7 @@
#!/bin/bash
if [[ ! $(pgrep -x "swaynag") ]]; then
swaynag --background 333333 --border 333333 --border-bottom 333333 --button-background 1F1F1F \
--button-border-size 0 --button-padding 8 --text FFFFFF --button-text FFFFFF --edge bottom \
-t warning -m 'Do you really want to log out?' -B 'You heard me!' 'swaymsg exit'
swaynag --background 333333 --border 333333 --border-bottom 333333 --button-background 1F1F1F \
--button-border-size 0 --button-padding 8 --text FFFFFF --button-text FFFFFF --edge bottom \
-t warning -m 'Do you really want to log out?' -B 'You heard me!' 'swaymsg exit'
fi

View file

@ -6,8 +6,8 @@
# Times the screen off and puts it to background
swayidle \
timeout 10 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' &
timeout 10 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' &
# Locks the screen immediately
swaylock -c 550000

View file

@ -7,7 +7,7 @@
# #
# License: Creative Commons Attribution 4.0 International #
# Source: https:#www.learnlinux.tv #
# Author:Gregory Trolliet <gregory@trolliet.info #
# Author:Gregory Trolliet <gregory@trolliet.info> #
# #
# Credit: #
# Battery section adapted from: #