breaking changes in i3status-rust
This commit is contained in:
parent
1dccbc8a8f
commit
cae6b5663d
4 changed files with 32 additions and 33 deletions
|
@ -1,17 +1,13 @@
|
||||||
font:
|
font:
|
||||||
size: 9 # whatever this number actually means...
|
size: 10 # whatever this number actually means...
|
||||||
normal:
|
normal:
|
||||||
family: JuliaMono
|
family: Iosevka
|
||||||
style: Regular
|
|
||||||
bold:
|
bold:
|
||||||
family: JuliaMono
|
family: Iosevka
|
||||||
style: Bold
|
|
||||||
italic:
|
italic:
|
||||||
family: JuliaMono
|
family: Iosevka
|
||||||
style: Italic
|
|
||||||
bold_italic:
|
bold_italic:
|
||||||
family: JuliaMono
|
family: Iosevka
|
||||||
style: BoldItalic
|
|
||||||
|
|
||||||
|
|
||||||
#draw_bold_text_with_bright_colors: true
|
#draw_bold_text_with_bright_colors: true
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
[theme]
|
[theme]
|
||||||
name = "moonfly"
|
theme = "moonfly"
|
||||||
|
|
||||||
[icons]
|
[icons]
|
||||||
name = "awesome6"
|
icons = "awesome6"
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "maildir"
|
block = "maildir"
|
||||||
|
@ -10,7 +10,9 @@ interval = 60
|
||||||
inboxes = ["/home/grue/mail/dump@dvb.solutions/INBOX", "/home/grue/mail/grigory@tlm.solutions/INBOX" ]
|
inboxes = ["/home/grue/mail/dump@dvb.solutions/INBOX", "/home/grue/mail/grigory@tlm.solutions/INBOX" ]
|
||||||
threshold_critical = 1
|
threshold_critical = 1
|
||||||
display_type = "new"
|
display_type = "new"
|
||||||
on_click = "alacritty --class floating-foot -o \"window.dimensions.columns=150\" -o \"window.dimensions.rows=50\" -e zsh -c neomutt"
|
[[block.click]]
|
||||||
|
button = "left"
|
||||||
|
cmd = "alacritty --class floating-foot -o \"window.dimensions.columns=150\" -o \"window.dimensions.lines=50\" -e zsh -c neomutt"
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "maildir"
|
block = "maildir"
|
||||||
|
@ -19,7 +21,9 @@ inboxes = ["/home/grue/mail/mail@oxapentane.com/INBOX", "/home/grue/mail/mail@ox
|
||||||
threshold_warning = 1
|
threshold_warning = 1
|
||||||
threshold_critical = 10
|
threshold_critical = 10
|
||||||
display_type = "new"
|
display_type = "new"
|
||||||
on_click = "alacritty --class floating-foot -o \"window.dimensions.columns=150\" -o \"window.dimensions.rows=50\" -e zsh -c neomutt"
|
[[block.click]]
|
||||||
|
button = "left"
|
||||||
|
cmd = "alacritty --class floating-foot -o \"window.dimensions.columns=150\" -o \"window.dimensions.lines=50\" -e zsh -c neomutt"
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "backlight"
|
block = "backlight"
|
||||||
|
@ -30,42 +34,41 @@ cycle = [ 100, 50, 10 ]
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "net"
|
block = "net"
|
||||||
device = "wlan0"
|
device = "wlan0"
|
||||||
format = "{ssid} {signal_strength}"
|
format = " $icon $ssid $signal_strength "
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "net"
|
block = "net"
|
||||||
device = "james"
|
device = "enp1s0f0"
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "memory"
|
block = "memory"
|
||||||
display_type = "memory"
|
format = " $icon $mem_used_percents "
|
||||||
format_mem = "{mem_used_percents}"
|
|
||||||
format_swap = "{swap_used_percents}"
|
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "cpu"
|
block = "cpu"
|
||||||
format = "{frequency} {barchart} {utilization}"
|
format = " $icon $frequency $barchart "# $utilization"
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "load"
|
block = "load"
|
||||||
format = "{1m} {5m} {15m}"
|
format = " $1m $5m $15m "
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "sound"
|
block = "sound"
|
||||||
on_click = "alacritty --class floating-foot -e zsh -c pulsemixer"
|
|
||||||
headphones_indicator = true
|
headphones_indicator = true
|
||||||
|
[[block.click]]
|
||||||
|
button = "left"
|
||||||
|
cmd = "alacritty --class floating-foot -e zsh -c pulsemixer"
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "keyboard_layout"
|
block = "keyboard_layout"
|
||||||
driver = "sway"
|
driver = "sway"
|
||||||
format = "{layout}"
|
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "battery"
|
block = "battery"
|
||||||
driver = "upower"
|
driver = "upower"
|
||||||
format = "{percentage} {time}"
|
format = " $icon $percentage $time "
|
||||||
if_command = "test -e /sys/class/power_supply/BAT0"
|
if_command = "test -e /sys/class/power_supply/BAT0"
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "time"
|
block = "time"
|
||||||
format = "%a %F %R"
|
format = " $icon $timestamp.datetime(f:'%a %F %R', l:nl_NL) "
|
||||||
|
|
|
@ -15,7 +15,7 @@ set $up k
|
||||||
set $right l
|
set $right l
|
||||||
# Your preferred terminal emulator
|
# Your preferred terminal emulator
|
||||||
set $term alacritty
|
set $term alacritty
|
||||||
set $floatterm alacritty --class floating-foot
|
set $floatterm alacritty --class floating-foot -e
|
||||||
set $lock $HOME/.config/sway/lock.sh
|
set $lock $HOME/.config/sway/lock.sh
|
||||||
|
|
||||||
# Your preferred application launcher
|
# Your preferred application launcher
|
||||||
|
@ -61,7 +61,7 @@ exec swayidle -w \
|
||||||
}
|
}
|
||||||
|
|
||||||
input type:keyboard {
|
input type:keyboard {
|
||||||
xkb_layout "65-percent-en-us,ru"
|
xkb_layout "us,ru"
|
||||||
xkb_options "caps:ctrl_modifier,grp:alt_space_toggle"
|
xkb_options "caps:ctrl_modifier,grp:alt_space_toggle"
|
||||||
}
|
}
|
||||||
#
|
#
|
||||||
|
@ -105,8 +105,8 @@ seat * hide_cursor 5000
|
||||||
bindsym --to-code $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
|
bindsym --to-code $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
|
||||||
|
|
||||||
# Brightness
|
# Brightness
|
||||||
bindsym --to-code XF86MonBrightnessDown exec "brightnessctl set 1%-"
|
bindsym --to-code XF86MonBrightnessDown exec "brightnessctl set 5%-"
|
||||||
bindsym --to-code XF86MonBrightnessUp exec "brightnessctl set +1%"
|
bindsym --to-code XF86MonBrightnessUp exec "brightnessctl set +5%"
|
||||||
# Volume
|
# Volume
|
||||||
bindsym --to-code XF86AudioRaiseVolume exec 'pamixer -i 1'
|
bindsym --to-code XF86AudioRaiseVolume exec 'pamixer -i 1'
|
||||||
bindsym --to-code XF86AudioLowerVolume exec 'pamixer -d 1'
|
bindsym --to-code XF86AudioLowerVolume exec 'pamixer -d 1'
|
||||||
|
@ -281,7 +281,7 @@ client.focused $color06 $color06 $color00 $color07 $color06
|
||||||
# Read `man 5 sway-bar` for more information about this section.
|
# Read `man 5 sway-bar` for more information about this section.
|
||||||
bar {
|
bar {
|
||||||
position top
|
position top
|
||||||
font pango:JuliaMono, Font Awesome 6 Free 8
|
font pango:Iosevka Regular 9
|
||||||
icon_theme "Adwaita"
|
icon_theme "Adwaita"
|
||||||
status_command /run/current-system/sw/bin/i3status-rs
|
status_command /run/current-system/sw/bin/i3status-rs
|
||||||
colors {
|
colors {
|
||||||
|
@ -297,7 +297,7 @@ bar {
|
||||||
# default border
|
# default border
|
||||||
default_border pixel 2
|
default_border pixel 2
|
||||||
# Set font
|
# Set font
|
||||||
font pango:JuliaMono 8
|
font pango:Iosevka Regular 9
|
||||||
|
|
||||||
# bindsym --to-code $mod+t input type:touchpad toggle
|
# bindsym --to-code $mod+t input type:touchpad toggle
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,8 @@ img="$HOME/.cache/swaylock.png"
|
||||||
#img="$HOME/.files/sway/.config/sway/lock-fullhd.png"
|
#img="$HOME/.files/sway/.config/sway/lock-fullhd.png"
|
||||||
|
|
||||||
grim $img
|
grim $img
|
||||||
#gm convert $img -scale 5% -scale 2000% $img
|
gm convert $img -scale 5% -scale 2000% $img
|
||||||
gm convert $img -blur 0x10 $img
|
#gm convert $img -blur 0x10 $img
|
||||||
swaylock -eFfk -i $img -s fill
|
swaylock -Ffk -i $img -s fill
|
||||||
|
|
||||||
rm -f $img
|
rm -f $img
|
||||||
|
|
Loading…
Add table
Reference in a new issue