Hyprland dotfiles
feat: proton does minimize toggle
3 files changed, +6 -2
+2-1UserConfigs/UserKeybinds.conf
| @@ -103,5 +103,6 @@ bind = $mainMod SHIFT, C, exec, gnome-calendar | ||
| 103 | 103 | # to unbind |
| 104 | 104 | #bind = $mainMod ALT, P, submap, reset |
| 105 | 105 | #submap = reset |
| 106 | -bind = $mainMod, h, exec, $UserScripts/ToggleMinimize.sh hubstaff # Move hubstaff to minimized window or current window | |
| 106 | +bind = $mainMod, h, exec, $UserScripts/ToggleMinimize.sh hubstaff /home/huncho/Hubstaff/HubstaffClient.bin.x86_64 # Move hubstaff to minimized window or current window | |
| 107 | 107 | bind = $mainMod shift, h, exec, foot -a floating-term sh -c 'hyprctl clients | nvim' # Show the current hyprland clients |
| 108 | +bind = $mainMod shift, p, exec, $UserScripts/ToggleMinimize.sh proton protonvpn-app # Move proton to minimized window or current window |
+3-0UserConfigs/WindowRules.conf
| @@ -30,3 +30,6 @@ windowrule = float on, center on, match:class Netsoft-com.netsoft.hubstaff | ||
| 30 | 30 | |
| 31 | 31 | # Floating terminal |
| 32 | 32 | windowrule = float on, center on, size monitor_w*0.8 monitor_h*0.8, match:class floating-term |
| 33 | + | |
| 34 | +# Proton | |
| 35 | +windowrule = float on, center on, size monitor_w*0.8 monitor_h*0.8, match:class protonvpn-app |
+1-1UserScripts/ToggleMinimize.sh
| @@ -5,7 +5,7 @@ class=$(echo "$details" | grep -oP '(?<=class: ).*') | ||
| 5 | 5 | |
| 6 | 6 | # Launch hubstaff and exit if not open |
| 7 | 7 | if [ -z "$details" ]; then |
| 8 | - /home/huncho/Hubstaff/HubstaffClient.bin.x86_64 &>/dev/null & | |
| 8 | + $2 &>/dev/null & | |
| 9 | 9 | exit 0 |
| 10 | 10 | fi |
| 11 | 11 |