mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 02:28:37 +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
|
||||
|
||||
@@ -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
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user