mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 10:30:44 +02:00
repaired tomato's windowrule and did some keybinds
This commit is contained in:
@@ -6,9 +6,10 @@ writeShellApplication {
|
||||
hyprland
|
||||
jq
|
||||
];
|
||||
text = ''
|
||||
if [[ $(hyprctl activewindow -j | jq -r ".class") == "Steam" ]]; then
|
||||
hyprctl dispatch minimize
|
||||
text = ''
|
||||
class=$(hyprctl activewindow -j | jq -r ".class")
|
||||
if [[ "$class" == "Steam" || "$class" == "custom-pomodoro" ]]; then
|
||||
hyprctl dispatch movetoworkspacesilent special
|
||||
else
|
||||
hyprctl dispatch killactive ""
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user