Compare commits
20 commits
Author | SHA1 | Date | |
---|---|---|---|
finga | 6bd4251fdb | ||
finga | a4e7c0d67f | ||
finga | 65f328d09f | ||
finga | ddbc36926d | ||
finga | c4a7b9bc40 | ||
finga | c3bf62e3ed | ||
finga | 7ccc66aabd | ||
finga | 871ebf00dc | ||
finga | c9f0e2200a | ||
finga | 7adb7a638b | ||
finga | 878ed3a0d2 | ||
finga | 2801e7f5bd | ||
finga | 1d700f2484 | ||
finga | cabe73601d | ||
finga | ae4ef3463c | ||
finga | 6594a5bd91 | ||
finga | 914e5da29e | ||
finga | e68f01d1a7 | ||
finga | 5eb19a39ea | ||
finga | 63d1d56ee6 |
20
.config/dunst/dunstrc
Normal file
20
.config/dunst/dunstrc
Normal file
|
@ -0,0 +1,20 @@
|
|||
[global]
|
||||
follow = keyboard
|
||||
scale = 2
|
||||
idle_threshold = 3
|
||||
font = Monospace 12
|
||||
history_length = 100
|
||||
corner_radius = 5
|
||||
ignore_dbusclose = true
|
||||
timeout = 0
|
||||
background = "#333333"
|
||||
frame_color = "#009900"
|
||||
|
||||
[urgency_low]
|
||||
foreground = "#009900"
|
||||
|
||||
[urgency_normal]
|
||||
foreground = "#ffee33"
|
||||
|
||||
[urgency_critical]
|
||||
foreground = "#aa3333"
|
|
@ -41,7 +41,7 @@ bindsym $mod+Shift+Return exec i3-sensible-editor
|
|||
bindsym $mod+Print exec scrot ~/tmp/screenshots/'%Y-%m-%d_%H:%M:%S_$wx$h.png'
|
||||
|
||||
# lock screen
|
||||
bindsym $mod+l exec fuzzy-i3lock
|
||||
bindsym $mod+Shift+l exec fuzzy-i3lock 37c3
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
|
@ -102,6 +102,7 @@ bindsym $mod+q focus child
|
|||
|
||||
# Define names for default workspaces for which we configure key bindings later on.
|
||||
# We use variables to avoid repeating the names in multiple places.
|
||||
set $ws0 "0"
|
||||
set $ws1 "1"
|
||||
set $ws2 "2"
|
||||
set $ws3 "3"
|
||||
|
@ -112,8 +113,11 @@ set $ws7 "7"
|
|||
set $ws8 "8"
|
||||
set $ws9 "9"
|
||||
set $ws10 "10"
|
||||
set $ws11 "11"
|
||||
set $ws12 "12"
|
||||
|
||||
# switch to workspace
|
||||
bindsym $mod+grave workspace $ws0
|
||||
bindsym $mod+1 workspace $ws1
|
||||
bindsym $mod+2 workspace $ws2
|
||||
bindsym $mod+3 workspace $ws3
|
||||
|
@ -124,8 +128,11 @@ bindsym $mod+7 workspace $ws7
|
|||
bindsym $mod+8 workspace $ws8
|
||||
bindsym $mod+9 workspace $ws9
|
||||
bindsym $mod+0 workspace $ws10
|
||||
bindsym $mod+minus workspace $ws11
|
||||
bindsym $mod+equal workspace $ws12
|
||||
|
||||
# move focused container to workspace
|
||||
bindsym $mod+Shift+grave move container to workspace $ws0
|
||||
bindsym $mod+Shift+1 move container to workspace $ws1
|
||||
bindsym $mod+Shift+2 move container to workspace $ws2
|
||||
bindsym $mod+Shift+3 move container to workspace $ws3
|
||||
|
@ -136,6 +143,8 @@ bindsym $mod+Shift+7 move container to workspace $ws7
|
|||
bindsym $mod+Shift+8 move container to workspace $ws8
|
||||
bindsym $mod+Shift+9 move container to workspace $ws9
|
||||
bindsym $mod+Shift+0 move container to workspace $ws10
|
||||
bindsym $mod+Shift+underscore move container to workspace $ws11
|
||||
bindsym $mod+Shift+plus move container to workspace $ws12
|
||||
|
||||
# reload the configuration file
|
||||
bindsym $mod+Shift+c reload
|
||||
|
@ -165,6 +174,11 @@ bindsym XF86AudioPlay exec --no-startup-id mpc toggle
|
|||
bindsym XF86AudioPrev exec --no-startup-id mpc prev
|
||||
bindsym XF86AudioStop exec --no-startup-id mpc stop
|
||||
|
||||
# dunst control
|
||||
bindsym $mod+comma exec dunstctl close
|
||||
bindsym $mod+Shift+comma exec dunstctl close-all
|
||||
bindsym $mod+period exec dunstctl history-pop
|
||||
|
||||
# open login screen on another vt (virtual terminal)
|
||||
bindsym $mod+Shift+XF86HomePage exec "dm-tool switch-to-greeter"
|
||||
|
||||
|
@ -200,14 +214,15 @@ 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)
|
||||
bar {
|
||||
status_command i3status-rs
|
||||
font pango:DejaVu Sans Mono, forkawesome 8
|
||||
font pango:NotoSansMono-Regular, forkawesome 9
|
||||
position top
|
||||
tray_output primary
|
||||
workspace_buttons yes
|
||||
|
@ -222,9 +237,10 @@ bar {
|
|||
#client.orientation #ff0000
|
||||
}
|
||||
}
|
||||
|
||||
bar {
|
||||
status_command i3status-rs ~/.config/i3status-rust/secondary.toml
|
||||
font pango:DejaVu Sans Mono, forkawesome 8
|
||||
status_command i3status-rs
|
||||
font pango:NotoSansMono-Regular, forkawesome 8
|
||||
position top
|
||||
tray_output primary
|
||||
workspace_buttons yes
|
||||
|
@ -240,14 +256,39 @@ 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:NotoSansMono-Regular, 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 $ws0 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 $screen2
|
||||
|
||||
workspace $ws11 output $screen0
|
||||
workspace $ws12 output $screen0
|
||||
|
||||
# start autolock
|
||||
exec_always xautolock -time 5 -locker "fuzzy-i3lock 37c3"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[icons]
|
||||
icons = "awesome"
|
||||
icons = "awesome4"
|
||||
|
||||
[theme]
|
||||
theme = "solarized-dark"
|
||||
|
@ -11,90 +11,131 @@ separator = "|"
|
|||
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]]
|
||||
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 $graph_down $speed_down^icon_net_down $graph_up $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 via $device| x} "
|
||||
|
||||
# [[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 = "/boot"
|
||||
warning = 75.0
|
||||
alert = 85.0
|
||||
info_type = "used"
|
||||
format = " $icon $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 nspawn $percentage "
|
||||
|
||||
[[block]]
|
||||
block = "disk_space"
|
||||
path = "/var/lib/libvirt/images"
|
||||
warning = 80.0
|
||||
alert = 90.0
|
||||
info_type = "used"
|
||||
format = " $icon libvirt $percentage "
|
||||
|
||||
[[block]]
|
||||
block = "disk_space"
|
||||
path = "/share/backup"
|
||||
warning = 80.0
|
||||
alert = 90.0
|
||||
info_type = "used"
|
||||
format = " $icon backup $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 = "battery"
|
||||
format = "$percentage $time"
|
||||
|
||||
[[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"
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
*
|
||||
!/.config/dunst/dunstrc
|
||||
!/.config/i3/config
|
||||
!/.config/i3status-rust/config.toml
|
||||
!/.config/i3status-rust/secondary.toml
|
||||
|
|
|
@ -8,6 +8,13 @@
|
|||
|
||||
screenshot="${TMPDIR:-/tmp}/fuzzy-i3lock.png"
|
||||
|
||||
scrot "$screenshot"
|
||||
mogrify -scale 10% -scale 1000% "$screenshot"
|
||||
scrot -o "$screenshot"
|
||||
|
||||
case $1 in
|
||||
"37c3") mogrify -scale 10% -scale 500% -dither FloydSteinberg -colors 32 -scale 200% "$screenshot"
|
||||
;;
|
||||
*) mogrify -scale 10% -scale 1000% "$screenshot"
|
||||
;;
|
||||
esac
|
||||
|
||||
exec i3lock -i "$screenshot"
|
||||
|
|
Loading…
Reference in a new issue