Compare commits

..

2 Commits

Author SHA1 Message Date
e1133cb633 wip 2026-02-11 19:02:15 +01:00
0d256879fe wip 2026-02-11 19:02:12 +01:00
3 changed files with 23 additions and 21 deletions

View File

@@ -1,5 +1,4 @@
input "type:keyboard" { input "type:keyboard" {
xkb_options "fkeys:basic_13-24"
repeat_delay 150 repeat_delay 150
repeat_rate 35 repeat_rate 35
} }

View File

@@ -83,8 +83,7 @@ bindsym $mod+minus scratchpad show
bindsym --locked XF86AudioMute exec pactl set-sink-mute \@DEFAULT_SINK@ toggle bindsym --locked XF86AudioMute exec pactl set-sink-mute \@DEFAULT_SINK@ toggle
bindsym --locked XF86AudioLowerVolume exec pamixer -d 5 && pamixer --get-volume > $wobs bindsym --locked XF86AudioLowerVolume exec pamixer -d 5 && pamixer --get-volume > $wobs
bindsym --locked XF86AudioRaiseVolume exec pamixer -i 5 && pamixer --get-volume > $wobs bindsym --locked XF86AudioRaiseVolume exec pamixer -i 5 && pamixer --get-volume > $wobs
bindsym --locked F16 exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle bindsym --locked XF86AudioMicMute exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle
# xf86-brightnes # xf86-brightnes
bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%- bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-
bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+ bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+

View File

@@ -9,8 +9,7 @@
"sway/workspaces", "sway/mode" "sway/workspaces", "sway/mode"
], ],
"modules-center": [ "modules-center": [
"privacy", "privacy"
"custom/ssh-login"
], ],
"modules-right": [ "modules-right": [
"custom/cider", "custom/cider",
@@ -171,6 +170,18 @@
}, },
"on-click": "pavucontrol", "on-click": "pavucontrol",
}, },
"custom/media": {
"format": "{icon} {text}",
"return-type": "json",
"max-length": 40,
"format-icons": {
"spotify": "",
"default": "🎜",
},
"escape": true,
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null", // Script in resources folder
// "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
},
"custom/power": { "custom/power": {
"format": "⏻ ", "format": "⏻ ",
"tooltip": false, "tooltip": false,
@@ -183,13 +194,6 @@
"hibernate": "systemctl hibernate", "hibernate": "systemctl hibernate",
}, },
}, },
"custom/ssh-login": {
"format": "{}",
"interval": 1,
// "exec-if": "who",
"exec": "who | awk '{ print $2 }'",
"on-click": "pkill -9 -t $(who | awk '{ print $2 }')",
},
}, },
{ {
"layer": "top", "layer": "top",