Add swaybar kbd layout, audiomixer and screenshot and switch back to default layout

This commit is contained in:
Alex D. 2024-12-04 14:18:06 +00:00
parent 71205ea7c4
commit d7838ed45e
Signed by: caskd
GPG Key ID: F92BA85F61F4C173

14
config
View File

@ -8,6 +8,8 @@ set {
$right l
$term foot
$audiomixer $term pulsemixer
$screenshot wayshot -s "`slurp`" --file /tmp/out.png
$lock 'swaylock -f -c 000000'
$menu bemenu-run \
-p spawn \
@ -26,13 +28,17 @@ set {
# Keybinds
bindsym {
# Software actions
$mod+Space exec $menu
$mod+Ctrl+Shift+l exec $lock
$mod+Shift+v exec $audiomixer
Print exec $screenshot
#
# General window management
#
$mod+c exec $term
$mod+Shift+c kill
$mod+Space exec $menu
$mod+Ctrl+Shift+l exec $lock
$mod+Shift+q reload
#
@ -132,8 +138,7 @@ exec swayidle -w \
#
bar {
position top
strip_workspace_numbers yes
status_command while echo "`uname -r` / `cat /proc/loadavg | cut -d' ' -f1-3` / `date +'%a %d/%m %T'`"; do sleep 1; done
status_command while echo "`uname -r` / `cat /proc/loadavg | cut -d' ' -f1-3` / `swaymsg -t get_inputs | jq -r '.[0].xkb_active_layout_name'` / `date +'%a %d/%m %T'`"; do sleep 1; done
# Who the fuck uses trays what the fuck dude
tray_output none
@ -161,5 +166,6 @@ client.unfocused #404040 #000000 #404040 #404040 #404040
# Defaults
default_border pixel 2
workspace_layout default
floating_modifier $mod normal