repaired tomato's windowrule and did some keybinds

This commit is contained in:
Tomas Rivera
2026-03-07 15:17:11 +01:00
parent 5efe5f521f
commit c897f17795
7 changed files with 176 additions and 23 deletions
+4 -3
View File
@@ -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
+1 -3
View File
@@ -1,5 +1,3 @@
# used for the terminal autostart. Needs to get cleared and recall fastfetch so that the bar from oh-my-zsh get resized
{ writeShellApplication, kitty, tomato-c,... }:
writeShellApplication {
@@ -9,6 +7,6 @@ writeShellApplication {
tomato-c
];
text = ''
kitty --name "custom-pomodoro" -e tomato
kitty --class "custom-pomodoro" --name "custom-pomodoro" -e tomato
'';
}