flake/users/guanranwang/home-manager/resources/dotfiles/bin/hyprland-autostart

15 lines
372 B
Text
Raw Normal View History

2023-09-19 00:17:43 +00:00
#!/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"