feat: migrate to i3blocks and autotiling-rs
This commit is contained in:
parent
ce241fd98d
commit
487870a473
14 changed files with 512 additions and 7 deletions
|
|
@ -44,7 +44,7 @@ output * bg ~/data/local/wallpaper/anders-jilden-AkUR27wtaxs-unsplash.jpg fill
|
|||
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||
|
||||
# BSP-style window tiling
|
||||
exec_always autotiling
|
||||
exec_always autotiling-rs
|
||||
|
||||
# This will lock your screen after 300 seconds of inactivity, then turn off
|
||||
# your displays after another 300 seconds, and turn your screens back on when
|
||||
|
|
@ -197,11 +197,12 @@ bindsym ctrl+alt+shift+r mode "RESIZE"
|
|||
# Volume control with PipeWire
|
||||
# https://github.com/xkbcommon/libxkbcommon/blob/master/include/xkbcommon/xkbcommon-keysyms.h
|
||||
# Get the device ID with `wpctl status` or use @DEFAULT_AUDIO_SINK@
|
||||
bindsym --locked XF86AudioMute exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
# bindsym --release XF86AudioMute exec pkill -USR1 swaybar
|
||||
# The signal is mapped to a i3block configuration
|
||||
bindsym --locked XF86AudioMute exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle && pkill -SIGRTMIN+1 i3blocks
|
||||
# `-l` sets max volume level
|
||||
bindsym --locked XF86AudioLowerVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.02- -l 1.0
|
||||
bindsym --locked XF86AudioRaiseVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.02+ -l 1.0
|
||||
bindsym --locked XF86AudioLowerVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.02- -l 1.0 && pkill -SIGRTMIN+1 i3blocks
|
||||
bindsym --locked XF86AudioRaiseVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.02+ -l 1.0 && pkill -SIGRTMIN+1 i3blocks
|
||||
|
||||
# FIXME: https://wiki.archlinux.org/title/MPRIS
|
||||
# bindsym --locked XF86AudioPause exec wpctl set-mute 48 toggle
|
||||
|
||||
|
|
@ -212,8 +213,10 @@ bindsym Mod4+Shift+Space exec grimshot --notify save window
|
|||
# man 5 sway-bar
|
||||
bar {
|
||||
position bottom
|
||||
font "BerkeleyMono Nerd Font Mono Normal Bold 11"
|
||||
status_command ~/.config/sway/status.sh
|
||||
# font "BerkeleyMono Nerd Font Mono Normal Bold 10"
|
||||
font "BerkeleyMono Nerd Font Mono Normal Regular 11"
|
||||
# status_command ~/.config/sway/status.sh
|
||||
status_command i3blocks
|
||||
strip_workspace_name no
|
||||
strip_workspace_numbers no
|
||||
colors {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue