Update hyprland config

This commit is contained in:
Tobias Reisinger 2023-07-15 15:22:51 +02:00
parent f03e4b12a1
commit 7068f9e564
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 9 additions and 11 deletions

View file

@ -12,7 +12,7 @@ $ws10 = name:[10]
$ws_web = $ws01 $ws_web = $ws01
$ws_focus = $ws07 $ws_focus = $ws07
$ws_media = $ws08 $ws_media = $ws08
$ws_voip = $ws09 $ws_chat = $ws09
$ws_msg = $ws10 $ws_msg = $ws10
$ws_steam = $ws_media $ws_steam = $ws_media

View file

@ -3,7 +3,7 @@
# Config # Config
ws_media="[08]" ws_media="[08]"
ws_voip="[09]" ws_chat="[09]"
ws_media_at="[ 0, 0 ]" ws_media_at="[ 0, 0 ]"
@ -52,7 +52,7 @@ _handler_check_ws_media_empty() {
debug "has_zero_windows: $has_zero_windows" debug "has_zero_windows: $has_zero_windows"
if [ "$has_zero_windows" == "true" ] && [ "$event_on_media" == "true" ]; then if [ "$has_zero_windows" == "true" ] && [ "$event_on_media" == "true" ]; then
hyprctl dispatch workspace "$ws_voip" hyprctl dispatch workspace "$ws_chat"
fi fi
} }

View file

@ -9,9 +9,9 @@ windowrulev2 = workspace $ws_media, class:(Chromium)
windowrulev2 = workspace $ws_media, class:(FreeTube) windowrulev2 = workspace $ws_media, class:(FreeTube)
windowrulev2 = workspace $ws_media, class:(qutebrowser-kiosk) windowrulev2 = workspace $ws_media, class:(qutebrowser-kiosk)
windowrulev2 = workspace $ws_voip silent, class:(discord) windowrulev2 = workspace $ws_chat silent, class:(discord)
windowrulev2 = workspace $ws_voip silent, class:(Element) windowrulev2 = workspace $ws_chat silent, class:(Element)
windowrulev2 = workspace $ws_voip silent, class:(TeamSpeak 3) windowrulev2 = workspace $ws_chat silent, class:(TeamSpeak 3)
windowrulev2 = workspace $ws_msg silent, class:(thunderbird) windowrulev2 = workspace $ws_msg silent, class:(thunderbird)
windowrulev2 = workspace $ws_msg silent, class:(Signal) windowrulev2 = workspace $ws_msg silent, class:(Signal)
@ -19,20 +19,18 @@ windowrulev2 = workspace $ws_msg silent, class:(Signal)
### Specific rules ### Specific rules
#windowrulev2 = workspace $ws_steam silent, class:(steam) # Moves menues too :/
#windowrulev2 = noinitialfocus, class:(steam) # No focus on menues :/
windowrulev2 = move 100%-300 100%-30, class:(steam), title:^(notificationtoasts) windowrulev2 = move 100%-300 100%-30, class:(steam), title:^(notificationtoasts)
windowrulev2 = nofocus, class:(steam), title:^(notificationtoasts) windowrulev2 = nofocus, class:(steam), title:^(notificationtoasts)
windowrulev2 = float, class:(steam), title:^(Friends List) windowrulev2 = float, class:(steam), title:^(Friends List)
windowrulev2 = noinitialfocus, class:(steam), title:^(Friends List) windowrulev2 = noinitialfocus, class:(steam), title:^(Friends List)
windowrulev2 = monitor $mon2, class:(steam), title:^(Friends List)
windowrulev2 = float, class:(xdg-desktop-portal-gtk) windowrulev2 = float, class:(xdg-desktop-portal-gtk)
windowrulev2 = workspace unset, class:(thunderbird), title:^$ #windowrulev2 = monitor $mon2 silent, class:(thunderbird), title:^$ # where monitor silent rule?
windowrulev2 = noinitialfocus, class:(thunderbird), title:^$ windowrulev2 = noinitialfocus, class:(thunderbird), title:^$
windowrulev2 = float, class:(thunderbird), title:^$ windowrulev2 = float, class:(thunderbird), title:^$
windowrulev2 = move 100%-1300,100%-1400, class:(thunderbird), title:^$ windowrulev2 = move 100%-600 5, class:(thunderbird), title:^$
windowrulev2 = float, class:(thunderbird), title:(Reminder)$ windowrulev2 = float, class:(thunderbird), title:(Reminder)$
windowrulev2 = float, class:(org.keepassxc.KeePassXC), title:(KeePassXC - Browser Access Request) windowrulev2 = float, class:(org.keepassxc.KeePassXC), title:(KeePassXC - Browser Access Request)