flake/flakes/home-manager/guanranwang/common/dotfiles/bin/hyprland-autostart
2023-09-19 08:17:43 +08:00

14 lines
372 B
Bash
Executable file

#!/bin/sh
#
# Script for Hyprland
# ~/.local/share/bin/hyprland-cleanup
#
hyprctl keyword windowrule "workspace 1 silent, alacritty"
hyprctl keyword windowrule "workspace 2 silent, firefox"
/usr/bin/alacritty &
/usr/bin/flatpak run com.google.Chrome &
sleep 5
hyprctl keyword windowrule "workspace unset, alacritty"
hyprctl keyword windowrule "workspace unset, firefox"