aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr
diff options
context:
space:
mode:
authorJa.KooLit <ejhay.games@gmail.com>2023-12-24 14:14:02 +0900
committerJa.KooLit <ejhay.games@gmail.com>2023-12-24 14:14:02 +0900
commitd04d87d5f47f9ba130bbffd7cde4d3a6ac7b840d (patch)
tree6e864293f6c638e1d3b26b555227f339bd2c8016 /config/hypr
parentffd9c409864d7934c24abde08b5f9692f96d9a54 (diff)
updated readme and initial-boot behaviour
Diffstat (limited to 'config/hypr')
-rw-r--r--config/hypr/configs/Execs.conf6
-rwxr-xr-xconfig/hypr/initial-boot.sh16
2 files changed, 11 insertions, 11 deletions
diff --git a/config/hypr/configs/Execs.conf b/config/hypr/configs/Execs.conf
index e9f9dcdc..76ec382b 100644
--- a/config/hypr/configs/Execs.conf
+++ b/config/hypr/configs/Execs.conf
@@ -6,6 +6,9 @@ $lock = $scriptsDir/LockScreen.sh
$SwwwRandom = $scriptsDir/WallpaperRandom.sh
$WallpaperPath = $HOME/Pictures/wallpapers
+# Initial boot script to start Pywal and Set wallpaper. This line and corresponding script can be safely deleted once logged in
+exec-once = $HOME/.config/hypr/initial-boot.sh
+
# wallpaper stuff / More wallpaper options below
exec-once = swww query || swww init
exec-once = $SwwwRandom $WallpaperPath # random wallpaper switcher every 30 minutes
@@ -31,9 +34,6 @@ exec-once = wl-paste --type image --watch cliphist store
# Rainbow borders
exec-once = $scriptsDir/RainbowBorders.sh
-# Initial boot script to start Pywal and Set wallpaper. This line and corresponding script can be safely deleted once logged in
-exec-once = $HOME/.config/hypr/initial-boot.sh
-
# sway-idle with lock only
exec-once = swayidle -w timeout 900 '$lock'
# sway-idle with lock and sleep
diff --git a/config/hypr/initial-boot.sh b/config/hypr/initial-boot.sh
index 32a236e2..cbf13b40 100755
--- a/config/hypr/initial-boot.sh
+++ b/config/hypr/initial-boot.sh
@@ -24,15 +24,8 @@ if [ ! -f ~/.config/hypr/.initial_startup_done ]; then
# Initial symlink for Pywal Dark and Light for Rofi Themes
ln -sf "$HOME/.cache/wal/colors-rofi-dark.rasi" "$HOME/.config/rofi/pywal-color/pywal-theme.rasi"
- # Initial waybar style
- ln -sf "$waybar_style" "$HOME/.config/waybar/style.css"
-
# Initial scripts to load in order to have a proper wallpaper waybar and pywal themes
- swww kill && swww query || swww init && $swww "$wallpaper" $effect
-
- # Refreshing waybar, dunst, rofi etc.
- "$scriptsDir/PywalSwww.sh" > /dev/null 2>&1 &
- "$scriptsDir/Refresh.sh" > /dev/null 2>&1 &
+ swww init && $swww "$wallpaper" $effect
# initiate GTK dark mode and apply icon and cursor theme
gsettings set org.gnome.desktop.interface color-scheme prefer-dark > /dev/null 2>&1 &
@@ -47,6 +40,13 @@ if [ ! -f ~/.config/hypr/.initial_startup_done ]; then
# initiate the kb_layout (for some reason) waybar cant launch it
"$scriptsDir/SwitchKeyboardLayout.sh" > /dev/null 2>&1 &
+ # Initial waybar style
+ ln -sf "$waybar_style" "$HOME/.config/waybar/style.css"
+
+ # Refreshing waybar, dunst, rofi etc.
+ "$scriptsDir/PywalSwww.sh" > /dev/null 2>&1 &
+ "$scriptsDir/Refresh.sh" > /dev/null 2>&1 &
+
# Create a marker file to indicate that the script has been executed.
touch ~/.config/hypr/.initial_startup_done
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage