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 # start emacs
bindsym $mod+Shift+Return exec em 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 # kill focused window
bindsym $mod+Shift+q kill bindsym $mod+Shift+q kill

View file

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

View file

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