diff --git a/.config/i3/config b/.config/i3/config index fa1bbc0..01d8938 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -37,9 +37,6 @@ 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 diff --git a/.config/i3/status-rs.toml b/.config/i3/status-rs.toml index 5b84626..44a538b 100644 --- a/.config/i3/status-rs.toml +++ b/.config/i3/status-rs.toml @@ -1,8 +1,7 @@ -[icons] icons = "awesome" [theme] -theme = "solarized-dark" +name = "solarized-dark" [theme.overrides] idle_fg = "#00cc00" @@ -14,50 +13,38 @@ separator_bg = "#222222" [[block]] block = "sound" -# [[block]] -# block = "net" -# device = "enp0s25" -# format = "{ip} {speed_down} {speed_up}" - [[block]] block = "net" -# 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" - +device = "enp0s25" +format = "{ip} {speed_down} {speed_up}" [[block]] block = "memory" display_type = "memory" -format_mem = "$mem_used_percents.eng()" +format_mem = "{Mup}%" clickable = false [[block]] block = "memory" display_type = "swap" -format_swap = "$swap_used_percents.eng()" +format_swap = "{SUp}%" clickable = false [[block]] block = "cpu" interval = 1 -format = "$barchart.str() $utilization.eng() $frequency.eng()" +format = "{barchart} {utilization}% {frequency}GHz" [[block]] block = "temperature" collapsed = false -format = "$min - $max, ~$average|" +format = "{min}° - {max}°: {average}°" chip = "*-isa-*" [[block]] block = "load" interval = 1 -format = "$1m.eng() $5m.eng() $15m.eng()" - -[[block]] -block = "battery" -format = "$percentage $time" +format = "{1m} {5m} {15m}" [[block]] block = "time" diff --git a/.local/bin/fuzzy-i3lock b/.local/bin/fuzzy-i3lock index ef62c6b..ae4b552 100755 --- a/.local/bin/fuzzy-i3lock +++ b/.local/bin/fuzzy-i3lock @@ -8,6 +8,6 @@ screenshot="${TMPDIR:-/tmp}/fuzzy-i3lock.png" -scrot -o "$screenshot" +scrot "$screenshot" mogrify -scale 10% -scale 1000% "$screenshot" exec i3lock -i "$screenshot"