feat: pavucontrol launch shell and freetube workspace rule

This commit is contained in:
hesam-init 2024-03-11 13:19:40 +03:30
parent 85b0d448ef
commit dfd74d6820
3 changed files with 9 additions and 2 deletions

View file

@ -2,7 +2,7 @@
# workspaces rules
# -----------------------------------------------------
windowrulev2 = workspace 1,class:^(chrome|google-chrome|Chrome|Firefox|firefox)$
windowrulev2 = workspace 1,class:^(chrome|google-chrome|Chrome|Firefox|firefox|FreeTube)$
windowrulev2 = workspace 2,class:^(Code|.*jetbrains.*)$
windowrulev2 = workspace 3,class:^(nekoray|Nekoray)$
windowrulev2 = workspace 4,class:^(org.telegram.desktop|telegramdesktop|discord)$

View file

@ -17,10 +17,10 @@ $terminal = alacritty -o "window.opacity=0"
$fileManager = nemo
$bluetooth-manager = blueman-manager
$pkg_manager = octoxbps
$pavucontrol = pavucontrol
$scr_path = ~/.config/hypr/scripts
$screenshot = $scr_path/hyprshot.sh
$pavucontrol = $scr_path/pavucontrol-launch.sh
$nekoray = $scr_path/nekoray-launch.sh
$network_manager = $scr_path/wpa-launch.sh
$random_wallpaper = $scr_path/wallpaper-daemon.sh

View file

@ -0,0 +1,7 @@
#!/usr/bin/env bash
if [[ $(pidof pavucontrol) ]]; then
pkill pavucontrol
fi
exec pavucontrol