[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
|
||||
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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: #
|
||||
|
|
Loading…
Reference in a new issue