Compare commits

..

No commits in common. "914e5da29e04568bd30a642935f86cb281171372" and "ea172a8c6d3789f098cb2db57629162e0548b523" have entirely different histories.

4 changed files with 72 additions and 114 deletions

View file

@ -200,9 +200,8 @@ client.focused #000000 #009900 #ffffff #ff0000
client.unfocused #000000 #005500 #000000 #ff0000 client.unfocused #000000 #005500 #000000 #ff0000
# use variables for screens # use variables for screens
set $screen0 "eDP-1" set $screen0 "DP-1"
set $screen1 "DP-1-8" set $screen1 "HDMI-2"
set $screen2 "DP-1-1"
# Start i3bar to display a workspace bar (plus the system information # Start i3bar to display a workspace bar (plus the system information
# i3status-rust finds out, if available) # i3status-rust finds out, if available)
@ -223,9 +222,8 @@ bar {
#client.orientation #ff0000 #client.orientation #ff0000
} }
} }
bar { bar {
status_command i3status-rs status_command i3status-rs ~/.config/i3status-rust/secondary.toml
font pango:DejaVu Sans Mono, forkawesome 8 font pango:DejaVu Sans Mono, forkawesome 8
position top position top
tray_output primary tray_output primary
@ -242,35 +240,14 @@ bar {
} }
} }
bar { workspace $ws1 output $screen0
status_command i3status-rs ~/.config/i3status-rust/secondary.toml workspace $ws2 output $screen0
font pango:DejaVu Sans Mono, forkawesome 8 workspace $ws3 output $screen0
position top workspace $ws4 output $screen0
tray_output primary workspace $ws5 output $screen0
workspace_buttons yes
mode dock
modifier $mod
output $screen2
colors { workspace $ws10 output $screen1
statusline #00ff00 workspace $ws9 output $screen1
focused_workspace #00cc00 #00ff00 #000000 workspace $ws8 output $screen1
inactive_workspace #00cc00 #008b00 #cccccc workspace $ws7 output $screen1
#client.orientation #ff0000 workspace $ws6 output $screen1
}
}
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"

View file

@ -1,5 +1,5 @@
[icons] [icons]
icons = "awesome4" icons = "awesome"
[theme] [theme]
theme = "solarized-dark" theme = "solarized-dark"
@ -12,113 +12,89 @@ separator_fg = "#00cc00"
separator_bg = "#222222" separator_bg = "#222222"
[[block]] [[block]]
block = "uptime" block = "maildir"
interval = 15
inboxes = ["/home/finga/mail/onders.org/Inbox", "/home/finga/mail/chaostreff.at/Inbox"]
display_type = "new"
[[block]] [[block]]
block = "weather" block = "weather"
format = " $icon $weather $temp, $humidity, $wind m/s $direction " format = "$weather $temp, $humidity, $wind m/s $direction"
service = { name = "openweathermap", api_key = "8271cc3c23dbae82eda2123c55c050be", city_id = "2766824", units = "metric" } service = { name = "openweathermap", api_key = "8271cc3c23dbae82eda2123c55c050be", city_id = "2766824", units = "metric" }
[[block]] [[block]]
block = "sound" block = "sound"
driver = "pulseaudio"
[[block]] [[block]]
block = "net" block = "music"
device = "br0" format = "$combo.rot-str(30) $play"
format = " $icon $ip $graph_down $speed_down^icon_net_down $graph_up $speed_up^icon_net_up " player = "mpd"
[[block]] [[block]]
block = "net" block = "net"
device = "enp0s31f6" device = "enp0s31f6"
format = " $icon $ip $graph_down $speed_down $graph_up $speed_up " format = "$ip $graph_down $speed_down $graph_up $speed_up"
[[block]] # [[block]]
block = "net" # block = "disk_space"
device = "tn0" # path = "/"
format = " $icon $ip $speed_down^icon_net_down $speed_up^icon_net_up " # info_type = "used"
# format = "{path} {percentage}"
[[block]] # [[block]]
block = "net" # block = "disk_space"
format = " $icon {$signal_strength $ssid $frequency| x} via $device " # path = "/home"
# info_type = "used"
# format = "{path} {percentage}"
[[block]] # [[block]]
block = "disk_space" # block = "disk_space"
path = "/" # path = "/var"
warning = 80.0 # info_type = "used"
alert = 90.0 # warning = 20.0
info_type = "used" # format = "{path} {percentage}"
format = " $icon $path $percentage "
[[block]] # [[block]]
block = "disk_space" # block = "disk_space"
path = "/home" # path = "/tmp"
warning = 75.0 # info_type = "used"
alert = 80.0 # format = "{path} {percentage}"
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]]
block = "memory" block = "memory"
format = " $icon $mem_used_percents.eng(w:3) " display_type = "memory"
format_mem = "$mem_total_used_percents.eng(3)"
clickable = false
[[block]] [[block]]
block = "memory" block = "memory"
format = " $icon_swap $swap_used_percents.eng(w:3) " display_type = "swap"
format_swap = "$swap_used_percents.eng(3)"
clickable = false
[[block]] [[block]]
block = "cpu" block = "cpu"
interval = 1 interval = 1
format = " $icon $barchart $utilization $frequency.eng(w:4) " format = "$barchart $utilization $frequency.eng(4)"
[[block]] [[block]]
block = "temperature" block = "temperature"
format = " $icon $min min, $max max, $average avg " collapsed = false
format = "$min min, $max max, $average avg"
chip = "*-isa-*"
[[block]] [[block]]
block = "load" block = "load"
format = " $icon $1m.eng(w:4) $5m.eng(w:4) $15m.eng(w:4) " format = "$1m.eng(4) $5m.eng(4) $15m.eng(4)"
[[block]] [[block]]
block = "time" block = "time"
interval = 1 interval = 1
format = " $icon $timestamp.datetime(f:'%F (%Z) %T') " format = "%F (%Z) %T"
timezone = "Europe/Vienna" timezone = "Europe/Vienna"
[[block]] [[block]]
block = "time" block = "time"
interval = 1 interval = 1
format = " $icon $timestamp.datetime(f:'(%Z) %T') " format = "(%Z) %T"
timezone = "Etc/UTC" timezone = "Etc/UTC"

View file

@ -1,5 +1,5 @@
[icons] [icons]
icons = "awesome4" icons = "awesome"
[theme] [theme]
theme = "solarized-dark" theme = "solarized-dark"
@ -13,40 +13,45 @@ separator_bg = "#222222"
[[block]] [[block]]
block = "sound" block = "sound"
driver = "pulseaudio"
[[block]] [[block]]
block = "uptime" block = "uptime"
[[block]] [[block]]
block = "memory" block = "memory"
format = " $icon $mem_used_percents.eng(w:3) " display_type = "memory"
format_mem = "$mem_total_used_percents.eng(3)"
clickable = false
[[block]] [[block]]
block = "memory" block = "memory"
format = " $icon_swap $swap_used_percents.eng(w:3) " display_type = "swap"
format_swap = "$swap_used_percents.eng(3)"
clickable = false
[[block]] [[block]]
block = "cpu" block = "cpu"
interval = 1 interval = 1
format = " $icon $barchart $utilization $frequency.eng(w:4) " format = "$barchart $utilization"
[[block]] [[block]]
block = "temperature" block = "temperature"
format = " $icon $min min, $max max, $average avg " collapsed = false
format = "$min min, $max max, $average avg"
chip = "*-isa-*"
[[block]] [[block]]
block = "load" block = "load"
format = " $icon $1m.eng(w:4) $5m.eng(w:4) $15m.eng(w:4) " format = "$1m.eng(4) $5m.eng(4) $15m.eng(4)"
[[block]] [[block]]
block = "time" block = "time"
interval = 1 interval = 1
format = " $icon $timestamp.datetime(f:'%F (%Z) %T') " format = "%Y-%m-%d %a (%Z) %H:%M:%S"
timezone = "Europe/Vienna" timezone = "Europe/Vienna"
[[block]] [[block]]
block = "time" block = "time"
interval = 1 interval = 1
format = " $icon $timestamp.datetime(f:'(%Z) %T') " format = "(%Z) %H:%M:%S"
timezone = "Etc/UTC" timezone = "Etc/UTC"

View file

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