mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 05:29:09 -07:00
i3 updates.
This commit is contained in:
@@ -163,7 +163,8 @@ bindsym --release $alt+Print exec --no-startup-id \
|
||||
/usr/bin/scrot -s $screendir/$scrotformat
|
||||
|
||||
# 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 (sleep 2; nm-applet) &
|
||||
exec --no-startup-id xset r rate 200 20
|
||||
|
||||
@@ -89,15 +89,29 @@ function battery {
|
||||
status_bat = "↓ BAT"
|
||||
status_unk = "? UNK"
|
||||
status_full = "FULL"
|
||||
format = "%status %percentage (%remaining %consumption)"
|
||||
format = "%status %percentage"
|
||||
path = "/sys/class/power_supply/BAT${bid}/uevent"
|
||||
hide_seconds = true
|
||||
last_full_capacity = true
|
||||
}
|
||||
order += "battery ${bid}"
|
||||
EOF
|
||||
done
|
||||
}
|
||||
|
||||
function audio {
|
||||
cat <<-EOF
|
||||
volume master {
|
||||
format = "♪: %volume"
|
||||
format_muted = "♪: MUTE"
|
||||
device = "default"
|
||||
mixer = "Master"
|
||||
mixer_idx = 0
|
||||
}
|
||||
order += "volume master"
|
||||
EOF
|
||||
}
|
||||
|
||||
general
|
||||
disks
|
||||
wireless
|
||||
@@ -105,6 +119,7 @@ wired
|
||||
ipv6
|
||||
load
|
||||
battery
|
||||
audio
|
||||
now
|
||||
|
||||
# vim:set noexpandtab
|
||||
# vim: noexpandtab
|
||||
|
||||
Reference in New Issue
Block a user