i3 updates.

This commit is contained in:
David Tomaschik
2017-04-15 19:35:01 -07:00
parent 209778db2f
commit 7efc19fec7
3 changed files with 20 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ URxvt.lineSpace: 0
URxvt.iso14755: false URxvt.iso14755: false
! Fonts ! Fonts
URxvt*font: xft:inconsolata:pixelsize=14 URxvt*font: xft:inconsolata:pixelsize=16
! Fix font space ! Fix font space
URxvt*letterSpace: -1 URxvt*letterSpace: -1

View File

@@ -163,7 +163,8 @@ bindsym --release $alt+Print exec --no-startup-id \
/usr/bin/scrot -s $screendir/$scrotformat /usr/bin/scrot -s $screendir/$scrotformat
# useful utilities # useful utilities
exec --no-startup-id /usr/bin/cinnamon-settings-daemon & exec --no-startup-id \
(which xss-lock >/dev/null || /usr/bin/cinnamon-settings-daemon) &
exec --no-startup-id gnome-keyring-daemon --start --components=pkcs11,secrets exec --no-startup-id gnome-keyring-daemon --start --components=pkcs11,secrets
exec --no-startup-id (sleep 2; nm-applet) & exec --no-startup-id (sleep 2; nm-applet) &
exec --no-startup-id xset r rate 200 20 exec --no-startup-id xset r rate 200 20

View File

@@ -89,15 +89,29 @@ function battery {
status_bat = "↓ BAT" status_bat = "↓ BAT"
status_unk = "? UNK" status_unk = "? UNK"
status_full = "FULL" status_full = "FULL"
format = "%status %percentage (%remaining %consumption)" format = "%status %percentage"
path = "/sys/class/power_supply/BAT${bid}/uevent" path = "/sys/class/power_supply/BAT${bid}/uevent"
hide_seconds = true hide_seconds = true
last_full_capacity = true
} }
order += "battery ${bid}" order += "battery ${bid}"
EOF EOF
done done
} }
function audio {
cat <<-EOF
volume master {
format = "♪: %volume"
format_muted = "♪: MUTE"
device = "default"
mixer = "Master"
mixer_idx = 0
}
order += "volume master"
EOF
}
general general
disks disks
wireless wireless
@@ -105,6 +119,7 @@ wired
ipv6 ipv6
load load
battery battery
audio
now now
# vim:set noexpandtab # vim: noexpandtab