This commit is contained in:
Maximilian Wagner 2024-02-23 16:15:24 +01:00
parent a1c2ff601e
commit 6921394018
2 changed files with 4 additions and 24 deletions

View File

@ -136,7 +136,6 @@ misc {
# See https://wiki.hyprland.org/Configuring/Keywords/ for more # See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
# bind = $mainMod, Q, exec, $terminal # bind = $mainMod, Q, exec, $terminal
@ -146,19 +145,21 @@ $mainMod = SUPER
# bind = $mainMod, R, exec, $menu # bind = $mainMod, R, exec, $menu
# bind = $mainMod, P, pseudo, # dwindle # bind = $mainMod, P, pseudo, # dwindle
# Utility Keys $mainMod = SUPER
$volume_down = $(pactl set-sink-volume @DEFAULT_SINK@ -5% && $sink_volume) $volume_down = $(pactl set-sink-volume @DEFAULT_SINK@ -5% && $sink_volume)
$volume_up = $(pactl set-sink-volume @DEFAULT_SINK@ +5% && $sink_volume) $volume_up = $(pactl set-sink-volume @DEFAULT_SINK@ +5% && $sink_volume)
$volume_mute = $(pactl set-sink-mute @DEFAULT_SINK@ toggle && pactl get-sink-mute @DEFAULT_SINK@ | sed -En "/no/ s/.*/$($sink_volume)/p; /yes/ s/.*/0/p") $volume_mute = $(pactl set-sink-mute @DEFAULT_SINK@ toggle && pactl get-sink-mute @DEFAULT_SINK@ | sed -En "/no/ s/.*/$($sink_volume)/p; /yes/ s/.*/0/p")
$brightness_up = brightnessctl -c backlight set +5% $brightness_up = brightnessctl -c backlight set +5%
$brightness_down = brightnessctl -c backlight set 5%- $brightness_down = brightnessctl -c backlight set 5%-
# Utility Keys
bind = , XF86AudioLowerVolume, exec, $volume_down bind = , XF86AudioLowerVolume, exec, $volume_down
bind = , XF86AudioRaiseVolume, exec, $volume_up bind = , XF86AudioRaiseVolume, exec, $volume_up
bind = , XF86AudioMute, exec, $volume_mute bind = , XF86AudioMute, exec, $volume_mute
bind = , XF86MonBrightnessUp, exec, $brightness_up bind = , XF86MonBrightnessUp, exec, $brightness_up
bind = , XF86MonBrightnessDown, exec, $brightness_down bind = , XF86MonBrightnessDown, exec, $brightness_down
bind = , Print, exec, /usr/share/sway/scripts/grimshot --notify save output
bind = Shift, Print, exec, ~/.config/sway/scripts/screenshot.sh
# General Keybinds # General Keybinds

View File

@ -1,21 +0,0 @@
[pyprland]
plugins = [
"scratchpads",
]
[scratchpads.default]
command=""
size = "75% 60%"
[scratchpads.term]
command = "kitty --class kitty-dropterm"
class = "kitty-dropterm"
size = "75% 60%"
[scratchpads.volume]
command = "pavucontrol"
class = "pavucontrol"
lazy = true
size = "40% 90%"
unfocus = "hide"