aboutsummaryrefslogtreecommitdiff
path: root/home-manager/homeModules/hyprland.nix
diff options
context:
space:
mode:
authorspl3g <spleefer6@yandex.ru>2024-09-22 01:51:16 +0300
committerspl3g <spleefer6@yandex.ru>2025-05-01 14:58:56 +0300
commit4afad01affa01f6715ddfc11a97248bb2a5c6485 (patch)
treea208cc6a6c6eee2f6dd92b9748ecb195a13f33c2 /home-manager/homeModules/hyprland.nix
parent413db615c9b28adc0b28bec89d15e0f23e35fff4 (diff)
feat(hyprland): add a script to switch sinks
Diffstat (limited to 'home-manager/homeModules/hyprland.nix')
-rw-r--r--home-manager/homeModules/hyprland.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/home-manager/homeModules/hyprland.nix b/home-manager/homeModules/hyprland.nix
index 3bab526..5fb7d5a 100644
--- a/home-manager/homeModules/hyprland.nix
+++ b/home-manager/homeModules/hyprland.nix
@@ -24,6 +24,7 @@
polkit_gnome
xwaylandvideobridge
wl-clipboard
+ libnotify
];
xdg.portal = {
@@ -105,9 +106,12 @@
"noborder, title:^(Firefox — Sharing Indicator)$"
"rounding 0, title:^(Firefox — Sharing Indicator)$"
"float, class:^(firefox)$, title:^(Picture-in-Picture)$"
- "pin, title:^(firefox)$, title:^(Picture-in-Picture)$"
+ "pin, class:^(firefox)$, title:^(Picture-in-Picture)$"
+ "move 100%-w-20 100%-w-20, class:^(firefox)$, title:^(Picture-in-Picture)$"
+ "float, class:^(firefox)&, title:^Extension:.*\bBitwarden\b"
"float, title:^(Save File)$"
"pin, title:^(Save File)$"
+ "pin, class:^(dragon)$"
"float, title:^(Torrent Options)$"
"pin, title:^(Torrent Options)$"
"opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$"
@@ -150,6 +154,7 @@
",0x1008FF13,exec,wpctl set-volume @DEFAULT_SINK@ 5%+"
",0x1008FF12,exec,wpctl set-mute @DEFAULT_SINK@ toggle"
",XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_SOURCE@ toggle"
+ ",XF86Go, exec, python3 $scripts/switch_sink.py"
# Brightness
",XF86MonBrightnessUp,exec,brightnessctl s +5%"