Switch audio keys to use swayosd
This commit is contained in:
parent
0537485007
commit
2a7d1e0126
|
@ -131,14 +131,21 @@ in ''
|
||||||
# Misc useful binds
|
# Misc useful binds
|
||||||
bind=,Print,exec,${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp)"
|
bind=,Print,exec,${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp)"
|
||||||
bind=,XF86Calculator,exec,pkill anyrun || anyrun
|
bind=,XF86Calculator,exec,pkill anyrun || anyrun
|
||||||
|
|
||||||
# Sound
|
# Sound
|
||||||
bindl=,XF86AudioMute,exec,${pkgs.pamixer}/bin/pamixer -t
|
bindl=,XF86AudioMute,exec,${pkgs.swayosd}/bin/swayosd --output-volume=mute-toggle
|
||||||
bindl=,XF86AudioMicMute,exec,${pkgs.pamixer}/bin/pamixer --default-source -t
|
bindl=,XF86AudioMicMute,exec,${pkgs.swayosd}/bin/swayosd --input-volume=mute-toggle
|
||||||
bindle=,XF86AudioRaiseVolume,exec,${pkgs.pamixer}/bin/pamixer -i 5
|
bindle=,XF86AudioRaiseVolume,exec,${pkgs.swayosd}/bin/swayosd --output-volume=+5
|
||||||
bindle=,XF86AudioLowerVolume,exec,${pkgs.pamixer}/bin/pamixer -d 5
|
bindle=,XF86AudioLowerVolume,exec,${pkgs.swayosd}/bin/swayosd --output-volume=-5
|
||||||
|
|
||||||
# Brightness
|
# Brightness
|
||||||
bindle=,XF86MonBrightnessUp,exec,${pkgs.brightnessctl}/bin/brightnessctl s +5%
|
bindle=,XF86MonBrightnessUp,exec,${pkgs.brightnessctl}/bin/brightnessctl s +5%
|
||||||
bindle=,XF86MonBrightnessDown,exec,${pkgs.brightnessctl}/bin/brightnessctl s 5%-
|
bindle=,XF86MonBrightnessDown,exec,${pkgs.brightnessctl}/bin/brightnessctl s 5%-
|
||||||
|
|
||||||
|
# # Brightness
|
||||||
|
# bindle=,XF86MonBrightnessUp,exec,${pkgs.swayosd}/bin/swayosd --brightness=+5
|
||||||
|
# bindle=,XF86MonBrightnessDown,exec,${pkgs.swayosd}/bin/swayosd --brightness=-5
|
||||||
|
|
||||||
# Playback
|
# Playback
|
||||||
bindl=,XF86AudioPlay,exec,${pkgs.playerctl}/bin/playerctl play-pause
|
bindl=,XF86AudioPlay,exec,${pkgs.playerctl}/bin/playerctl play-pause
|
||||||
bindl=,XF86AudioStop,exec,${pkgs.playerctl}/bin/playerctl play-pause
|
bindl=,XF86AudioStop,exec,${pkgs.playerctl}/bin/playerctl play-pause
|
||||||
|
@ -155,6 +162,7 @@ in ''
|
||||||
bind = SUPER SHIFT, J, movewindow, d
|
bind = SUPER SHIFT, J, movewindow, d
|
||||||
|
|
||||||
# Window rules
|
# Window rules
|
||||||
|
windowrule = xray 1,(alacritty)
|
||||||
windowrule = float,(org.kde.polkit-kde-authentication-agent-1)
|
windowrule = float,(org.kde.polkit-kde-authentication-agent-1)
|
||||||
windowrule = center,(org.kde.polkit-kde-authentication-agent-1)
|
windowrule = center,(org.kde.polkit-kde-authentication-agent-1)
|
||||||
windowrule = pin,(org.kde.polkit-kde-authentication-agent-1)
|
windowrule = pin,(org.kde.polkit-kde-authentication-agent-1)
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
disable_splash_rendering = true
|
disable_splash_rendering = true
|
||||||
}
|
}
|
||||||
|
|
||||||
monitor=eDP-1,preferred,0x190,1.5
|
monitor=eDP-1,preferred,0x190,1.00
|
||||||
monitor=desc:Iiyama North America PLB2403WS 0574281251316,preferred,1280x190,1
|
monitor=desc:Iiyama North America PLB2403WS 0574281251316,preferred,1920x190,1
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue