Compare commits

...

3 commits

3 changed files with 25 additions and 9 deletions

View file

@ -37,6 +37,9 @@ bindsym $mod+Return exec i3-sensible-terminal
# start emacs
bindsym $mod+Shift+Return exec em
# take screenshot
bindsym $mod+Print exec scrot ~/tmp/screenshots/'%Y-%m-%d_%H:%M:%S_$wx$h.png'
# kill focused window
bindsym $mod+Shift+q kill

View file

@ -1,7 +1,8 @@
[icons]
icons = "awesome"
[theme]
name = "solarized-dark"
theme = "solarized-dark"
[theme.overrides]
idle_fg = "#00cc00"
@ -13,38 +14,50 @@ separator_bg = "#222222"
[[block]]
block = "sound"
# [[block]]
# block = "net"
# device = "enp0s25"
# format = "{ip} {speed_down} {speed_up}"
[[block]]
block = "net"
device = "enp0s25"
format = "{ip} {speed_down} {speed_up}"
# device = "wlp2s0"
# format = "{ip} {speed_down} {speed_up}"
# format = "{ip} {speed_down} {speed_up} {ssid} {signal_strength}"
format = "{$signal_strength $speed_down.eng() $speed_up.eng() |Wired connection} via $device"
[[block]]
block = "memory"
display_type = "memory"
format_mem = "{Mup}%"
format_mem = "$mem_used_percents.eng()"
clickable = false
[[block]]
block = "memory"
display_type = "swap"
format_swap = "{SUp}%"
format_swap = "$swap_used_percents.eng()"
clickable = false
[[block]]
block = "cpu"
interval = 1
format = "{barchart} {utilization}% {frequency}GHz"
format = "$barchart.str() $utilization.eng() $frequency.eng()"
[[block]]
block = "temperature"
collapsed = false
format = "{min}° - {max}°: {average}°"
format = "$min - $max, ~$average|"
chip = "*-isa-*"
[[block]]
block = "load"
interval = 1
format = "{1m} {5m} {15m}"
format = "$1m.eng() $5m.eng() $15m.eng()"
[[block]]
block = "battery"
format = "$percentage $time"
[[block]]
block = "time"

View file

@ -8,6 +8,6 @@
screenshot="${TMPDIR:-/tmp}/fuzzy-i3lock.png"
scrot "$screenshot"
scrot -o "$screenshot"
mogrify -scale 10% -scale 1000% "$screenshot"
exec i3lock -i "$screenshot"