mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-05-20 14:47:17 +02:00
feat: update hyprland's startup script to reduce start duration, update gtk theme configs
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Set GTK Themes, Icons, Cursor and Fonts
|
||||
|
||||
THEME='Arc-Dark'
|
||||
ICONS='Zafiro-Blue'
|
||||
FONT='Noto Sans 9'
|
||||
CURSOR='Qogirr'
|
||||
|
||||
SCHEMA='gsettings set org.gnome.desktop.interface'
|
||||
|
||||
apply_themes () {
|
||||
${SCHEMA} gtk-theme "$THEME"
|
||||
${SCHEMA} icon-theme "$ICONS"
|
||||
${SCHEMA} cursor-theme "$CURSOR"
|
||||
${SCHEMA} font-name "$FONT"
|
||||
}
|
||||
|
||||
apply_themes
|
||||
@@ -3,22 +3,16 @@
|
||||
## Autostart Programs
|
||||
|
||||
# Kill already running process
|
||||
_ps=(waybar mako mpd xfce-polkit)
|
||||
_ps=(waybar mako mpd)
|
||||
for _prs in "${_ps[@]}"; do
|
||||
if [[ $(pidof ${_prs}) ]]; then
|
||||
killall -9 ${_prs}
|
||||
fi
|
||||
done
|
||||
|
||||
# Polkit agent
|
||||
/usr/lib/xfce-polkit/xfce-polkit &
|
||||
|
||||
# Set wallpaper
|
||||
swaybg --output '*' --mode fill --image ~/.config/hypr/wallpapers/wallpaper.png &
|
||||
|
||||
# Apply themes
|
||||
~/.config/hypr/scripts/gtkthemes &
|
||||
|
||||
# Lauch notification daemon (mako)
|
||||
~/.config/hypr/scripts/notifications &
|
||||
|
||||
|
||||
Reference in New Issue
Block a user