clone of my dotfiles.ssp.sh
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

use default terminal and use GPU for Obsidian

sspaeti b86b9044 d2600980

+11 -6
+11 -6
hypr/.config/hypr/sspaeti/autostart-apps.sh
··· 5 5 hyprctl dispatch workspace 2 6 6 hyprctl dispatch workspace 3 7 7 8 - # Launch Kitty with tmux → workspace 1 9 - uwsm app -- kitty -e tmux & 10 - while [ -z "$kitty_addr" ]; do 8 + # Determine default terminal class for window detection 9 + TERM_CLASS=$(grep -v '^#' ~/.config/xdg-terminals.list 2>/dev/null | grep -v '^$' | head -1 | sed 's/\.desktop$//') 10 + TERM_CLASS=${TERM_CLASS:-foot} 11 + 12 + # Launch default terminal with tmux → workspace 1 13 + uwsm app -- xdg-terminal-exec tmux & 14 + while [ -z "$term_addr" ]; do 11 15 sleep 0.2 12 - kitty_addr=$(hyprctl clients -j | jq -r '.[] | select(.class == "kitty") | .address') 16 + term_addr=$(hyprctl clients -j | jq -r ".[] | select(.class == \"$TERM_CLASS\") | .address") 13 17 done 14 - hyprctl dispatch movetoworkspace "1,address:$kitty_addr" 18 + hyprctl dispatch movetoworkspace "1,address:$term_addr" 15 19 16 20 # Launch Brave → workspace 2 17 21 # Wait for gnome-keyring-daemon to be ready (fixes keyring race condition and multiple keyring files at ~/.local/share/keyrings) ··· 31 35 hyprctl dispatch movetoworkspace "2,address:$brave_addr" 32 36 33 37 # Launch Obsidian → workspace 3 34 - obsidian --disable-gpu & 38 + obsidian & 39 + # obsidian --disable-gpu & 35 40 while [ -z "$obsidian_addr" ]; do 36 41 sleep 0.5 37 42 obsidian_addr=$(hyprctl clients -j | jq -r '.[] | select(.class == "obsidian") | .address')