[sway] fix indentation
This commit is contained in:
parent
de2e980e62
commit
62d90e6559
3 changed files with 6 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [[ ! $(pgrep -x "swaynag") ]]; then
|
if [[ ! $(pgrep -x "swaynag") ]]; then
|
||||||
swaynag --background 333333 --border 333333 --border-bottom 333333 --button-background 1F1F1F \
|
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 \
|
--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'
|
-t warning -m 'Do you really want to log out?' -B 'You heard me!' 'swaymsg exit'
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
|
|
||||||
# Times the screen off and puts it to background
|
# Times the screen off and puts it to background
|
||||||
swayidle \
|
swayidle \
|
||||||
timeout 10 'swaymsg "output * dpms off"' \
|
timeout 10 'swaymsg "output * dpms off"' \
|
||||||
resume 'swaymsg "output * dpms on"' &
|
resume 'swaymsg "output * dpms on"' &
|
||||||
|
|
||||||
# Locks the screen immediately
|
# Locks the screen immediately
|
||||||
swaylock -c 550000
|
swaylock -c 550000
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
# #
|
# #
|
||||||
# License: Creative Commons Attribution 4.0 International #
|
# License: Creative Commons Attribution 4.0 International #
|
||||||
# Source: https:#www.learnlinux.tv #
|
# Source: https:#www.learnlinux.tv #
|
||||||
# Author: Gregory Trolliet <gregory@trolliet.info #
|
# Author: Gregory Trolliet <gregory@trolliet.info> #
|
||||||
# #
|
# #
|
||||||
# Credit: #
|
# Credit: #
|
||||||
# Battery section adapted from: #
|
# Battery section adapted from: #
|
||||||
|
|
Loading…
Reference in a new issue