Compare commits
4 commits
ea172a8c6d
...
914e5da29e
Author | SHA1 | Date | |
---|---|---|---|
914e5da29e | |||
e68f01d1a7 | |||
5eb19a39ea | |||
63d1d56ee6 |
4 changed files with 114 additions and 72 deletions
|
@ -200,8 +200,9 @@ client.focused #000000 #009900 #ffffff #ff0000
|
|||
client.unfocused #000000 #005500 #000000 #ff0000
|
||||
|
||||
# use variables for screens
|
||||
set $screen0 "DP-1"
|
||||
set $screen1 "HDMI-2"
|
||||
set $screen0 "eDP-1"
|
||||
set $screen1 "DP-1-8"
|
||||
set $screen2 "DP-1-1"
|
||||
|
||||
# Start i3bar to display a workspace bar (plus the system information
|
||||
# i3status-rust finds out, if available)
|
||||
|
@ -222,8 +223,9 @@ bar {
|
|||
#client.orientation #ff0000
|
||||
}
|
||||
}
|
||||
|
||||
bar {
|
||||
status_command i3status-rs ~/.config/i3status-rust/secondary.toml
|
||||
status_command i3status-rs
|
||||
font pango:DejaVu Sans Mono, forkawesome 8
|
||||
position top
|
||||
tray_output primary
|
||||
|
@ -240,14 +242,35 @@ bar {
|
|||
}
|
||||
}
|
||||
|
||||
workspace $ws1 output $screen0
|
||||
workspace $ws2 output $screen0
|
||||
workspace $ws3 output $screen0
|
||||
workspace $ws4 output $screen0
|
||||
workspace $ws5 output $screen0
|
||||
bar {
|
||||
status_command i3status-rs ~/.config/i3status-rust/secondary.toml
|
||||
font pango:DejaVu Sans Mono, forkawesome 8
|
||||
position top
|
||||
tray_output primary
|
||||
workspace_buttons yes
|
||||
mode dock
|
||||
modifier $mod
|
||||
output $screen2
|
||||
|
||||
workspace $ws10 output $screen1
|
||||
workspace $ws9 output $screen1
|
||||
workspace $ws8 output $screen1
|
||||
workspace $ws7 output $screen1
|
||||
workspace $ws6 output $screen1
|
||||
colors {
|
||||
statusline #00ff00
|
||||
focused_workspace #00cc00 #00ff00 #000000
|
||||
inactive_workspace #00cc00 #008b00 #cccccc
|
||||
#client.orientation #ff0000
|
||||
}
|
||||
}
|
||||
|
||||
workspace $ws1 output $screen1
|
||||
workspace $ws2 output $screen1
|
||||
workspace $ws3 output $screen1
|
||||
workspace $ws4 output $screen1
|
||||
workspace $ws5 output $screen1
|
||||
|
||||
workspace $ws6 output $screen2
|
||||
workspace $ws7 output $screen2
|
||||
workspace $ws8 output $screen2
|
||||
workspace $ws9 output $screen2
|
||||
workspace $ws10 output $screen0
|
||||
|
||||
# start autolock
|
||||
exec_always xautolock -time 5 -locker "fuzzy-i3lock"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[icons]
|
||||
icons = "awesome"
|
||||
icons = "awesome4"
|
||||
|
||||
[theme]
|
||||
theme = "solarized-dark"
|
||||
|
@ -12,89 +12,113 @@ separator_fg = "#00cc00"
|
|||
separator_bg = "#222222"
|
||||
|
||||
[[block]]
|
||||
block = "maildir"
|
||||
interval = 15
|
||||
inboxes = ["/home/finga/mail/onders.org/Inbox", "/home/finga/mail/chaostreff.at/Inbox"]
|
||||
display_type = "new"
|
||||
block = "uptime"
|
||||
|
||||
[[block]]
|
||||
block = "weather"
|
||||
format = "$weather $temp, $humidity, $wind m/s $direction"
|
||||
format = " $icon $weather $temp, $humidity, $wind m/s $direction "
|
||||
service = { name = "openweathermap", api_key = "8271cc3c23dbae82eda2123c55c050be", city_id = "2766824", units = "metric" }
|
||||
|
||||
[[block]]
|
||||
block = "sound"
|
||||
driver = "pulseaudio"
|
||||
|
||||
[[block]]
|
||||
block = "music"
|
||||
format = "$combo.rot-str(30) $play"
|
||||
player = "mpd"
|
||||
block = "net"
|
||||
device = "br0"
|
||||
format = " $icon $ip $graph_down $speed_down^icon_net_down $graph_up $speed_up^icon_net_up "
|
||||
|
||||
[[block]]
|
||||
block = "net"
|
||||
device = "enp0s31f6"
|
||||
format = "$ip $graph_down $speed_down $graph_up $speed_up"
|
||||
format = " $icon $ip $graph_down $speed_down $graph_up $speed_up "
|
||||
|
||||
# [[block]]
|
||||
# block = "disk_space"
|
||||
# path = "/"
|
||||
# info_type = "used"
|
||||
# format = "{path} {percentage}"
|
||||
[[block]]
|
||||
block = "net"
|
||||
device = "tn0"
|
||||
format = " $icon $ip $speed_down^icon_net_down $speed_up^icon_net_up "
|
||||
|
||||
# [[block]]
|
||||
# block = "disk_space"
|
||||
# path = "/home"
|
||||
# info_type = "used"
|
||||
# format = "{path} {percentage}"
|
||||
[[block]]
|
||||
block = "net"
|
||||
format = " $icon {$signal_strength $ssid $frequency| x} via $device "
|
||||
|
||||
# [[block]]
|
||||
# block = "disk_space"
|
||||
# path = "/var"
|
||||
# info_type = "used"
|
||||
# warning = 20.0
|
||||
# format = "{path} {percentage}"
|
||||
[[block]]
|
||||
block = "disk_space"
|
||||
path = "/"
|
||||
warning = 80.0
|
||||
alert = 90.0
|
||||
info_type = "used"
|
||||
format = " $icon $path $percentage "
|
||||
|
||||
# [[block]]
|
||||
# block = "disk_space"
|
||||
# path = "/tmp"
|
||||
# info_type = "used"
|
||||
# format = "{path} {percentage}"
|
||||
[[block]]
|
||||
block = "disk_space"
|
||||
path = "/home"
|
||||
warning = 75.0
|
||||
alert = 80.0
|
||||
info_type = "used"
|
||||
format = " $icon $path $percentage "
|
||||
|
||||
[[block]]
|
||||
block = "disk_space"
|
||||
path = "/tmp"
|
||||
warning = 75.0
|
||||
alert = 80.0
|
||||
info_type = "used"
|
||||
format = " $icon $path $percentage "
|
||||
|
||||
[[block]]
|
||||
block = "disk_space"
|
||||
path = "/var"
|
||||
warning = 80.0
|
||||
alert = 90.0
|
||||
info_type = "used"
|
||||
format = " $icon $path $percentage "
|
||||
|
||||
[[block]]
|
||||
block = "disk_space"
|
||||
path = "/var/lib/machines"
|
||||
warning = 80.0
|
||||
alert = 90.0
|
||||
info_type = "used"
|
||||
format = " $icon $path $percentage "
|
||||
|
||||
[[block]]
|
||||
block = "disk_space"
|
||||
path = "/var/lib/libvirt/images"
|
||||
warning = 80.0
|
||||
alert = 90.0
|
||||
info_type = "used"
|
||||
format = " $icon $path $percentage "
|
||||
|
||||
[[block]]
|
||||
block = "memory"
|
||||
display_type = "memory"
|
||||
format_mem = "$mem_total_used_percents.eng(3)"
|
||||
clickable = false
|
||||
format = " $icon $mem_used_percents.eng(w:3) "
|
||||
|
||||
[[block]]
|
||||
block = "memory"
|
||||
display_type = "swap"
|
||||
format_swap = "$swap_used_percents.eng(3)"
|
||||
clickable = false
|
||||
format = " $icon_swap $swap_used_percents.eng(w:3) "
|
||||
|
||||
[[block]]
|
||||
block = "cpu"
|
||||
interval = 1
|
||||
format = "$barchart $utilization $frequency.eng(4)"
|
||||
format = " $icon $barchart $utilization $frequency.eng(w:4) "
|
||||
|
||||
[[block]]
|
||||
block = "temperature"
|
||||
collapsed = false
|
||||
format = "$min min, $max max, $average avg"
|
||||
chip = "*-isa-*"
|
||||
format = " $icon $min min, $max max, $average avg "
|
||||
|
||||
[[block]]
|
||||
block = "load"
|
||||
format = "$1m.eng(4) $5m.eng(4) $15m.eng(4)"
|
||||
format = " $icon $1m.eng(w:4) $5m.eng(w:4) $15m.eng(w:4) "
|
||||
|
||||
[[block]]
|
||||
block = "time"
|
||||
interval = 1
|
||||
format = "%F (%Z) %T"
|
||||
format = " $icon $timestamp.datetime(f:'%F (%Z) %T') "
|
||||
timezone = "Europe/Vienna"
|
||||
|
||||
[[block]]
|
||||
block = "time"
|
||||
interval = 1
|
||||
format = "(%Z) %T"
|
||||
format = " $icon $timestamp.datetime(f:'(%Z) %T') "
|
||||
timezone = "Etc/UTC"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[icons]
|
||||
icons = "awesome"
|
||||
icons = "awesome4"
|
||||
|
||||
[theme]
|
||||
theme = "solarized-dark"
|
||||
|
@ -13,45 +13,40 @@ separator_bg = "#222222"
|
|||
|
||||
[[block]]
|
||||
block = "sound"
|
||||
driver = "pulseaudio"
|
||||
|
||||
[[block]]
|
||||
block = "uptime"
|
||||
|
||||
[[block]]
|
||||
block = "memory"
|
||||
display_type = "memory"
|
||||
format_mem = "$mem_total_used_percents.eng(3)"
|
||||
clickable = false
|
||||
format = " $icon $mem_used_percents.eng(w:3) "
|
||||
|
||||
[[block]]
|
||||
block = "memory"
|
||||
display_type = "swap"
|
||||
format_swap = "$swap_used_percents.eng(3)"
|
||||
clickable = false
|
||||
format = " $icon_swap $swap_used_percents.eng(w:3) "
|
||||
|
||||
[[block]]
|
||||
block = "cpu"
|
||||
interval = 1
|
||||
format = "$barchart $utilization"
|
||||
format = " $icon $barchart $utilization $frequency.eng(w:4) "
|
||||
|
||||
[[block]]
|
||||
block = "temperature"
|
||||
collapsed = false
|
||||
format = "$min min, $max max, $average avg"
|
||||
chip = "*-isa-*"
|
||||
format = " $icon $min min, $max max, $average avg "
|
||||
|
||||
[[block]]
|
||||
block = "load"
|
||||
format = "$1m.eng(4) $5m.eng(4) $15m.eng(4)"
|
||||
format = " $icon $1m.eng(w:4) $5m.eng(w:4) $15m.eng(w:4) "
|
||||
|
||||
[[block]]
|
||||
block = "time"
|
||||
interval = 1
|
||||
format = "%Y-%m-%d %a (%Z) %H:%M:%S"
|
||||
format = " $icon $timestamp.datetime(f:'%F (%Z) %T') "
|
||||
timezone = "Europe/Vienna"
|
||||
|
||||
[[block]]
|
||||
block = "time"
|
||||
interval = 1
|
||||
format = "(%Z) %H:%M:%S"
|
||||
format = " $icon $timestamp.datetime(f:'(%Z) %T') "
|
||||
timezone = "Etc/UTC"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue