Disable screen saver

Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
Severin Kaderli 2016-10-19 19:24:01 +02:00
parent 53bb4c8c79
commit 9bec3d26d0
5 changed files with 27 additions and 5 deletions

View file

@ -4,4 +4,5 @@
# Update apt packages, npm modules and composer # Update apt packages, npm modules and composer
alias update="sudo apt-get update; sudo apt-get dist-upgrade -y; sudo npm update -g; composer self-update" alias update="sudo apt-get update; sudo apt-get dist-upgrade -y; sudo npm update -g; composer self-update"
# Shortcut for clear because I often type the DOS command instead
alias cls="clear" alias cls="clear"

View file

@ -173,6 +173,13 @@ bar {
font pango: Roboto-Regular, FontAwesome 10 font pango: Roboto-Regular, FontAwesome 10
status_command i3blocks -c $HOME/.config/i3/i3blocks.conf status_command i3blocks -c $HOME/.config/i3/i3blocks.conf
position top position top
colors {
background #000000
separator #000000
focused_workspace #000000 #000000 #FF5722
inactive_workspace #000000 #424242 #FFFFFF
urgent_workspace #000000 #424242 #FFFFFF
}
} }
# Custom key bindings # Custom key bindings
@ -224,7 +231,5 @@ assign [class="KeePass2"] $workspace8
assign [class="vlc"] $workspace9 assign [class="vlc"] $workspace9
assign [class="Audacious"] $workspace10 assign [class="Audacious"] $workspace10
# i3-gaps specific
# Disable window titlebars # Disable window titlebars
for_window [class="^.*"] border pixel 0 for_window [class="^.*"] border pixel 0

View file

@ -1,3 +1,9 @@
#!/bin/bash #!/bin/bash
echo "$(audtool current-song)" OUTPUT="$(audtool current-song)"
if [ -z "$OUTPUT" ]; then
OUTPUT="Not playing"
fi
echo "$OUTPUT"

View file

@ -6,21 +6,25 @@ full_text=
align=center align=center
separator=false separator=false
separator_block_width=10 separator_block_width=10
color=#FF5722
[Music] [Music]
markup=pango markup=pango
command=~/.config/i3/i3bar/music.sh command=~/.config/i3/i3bar/music.sh
interval=repeat interval=1
color=#FFFFFF
[seperator] [seperator]
[Volume] [Volume]
full_text= full_text=
command=~/.config/i3/i3bar/volume.sh command=~/.config/i3/i3bar/volume.sh
interval=repeat interval=1
color=#FFFFFF
[seperator] [seperator]
[Datetime] [Datetime]
command=~/.config/i3/i3bar/datetime.sh command=~/.config/i3/i3bar/datetime.sh
interval=1 interval=1
color=#FFFFFF

View file

@ -1 +1,7 @@
# Disable screen saver
xset s off
xset -dpms
xset s noblank
# Start i3
exec i3 exec i3