diff options
| author | JaKooLit <jimmielovejay.com> | 2023-12-16 11:59:19 +0900 |
|---|---|---|
| committer | JaKooLit <jimmielovejay.com> | 2023-12-16 11:59:19 +0900 |
| commit | aa9a6ebfbb2f99f1301a1276dae3ea119a338ee9 (patch) | |
| tree | ad01741356dabd4b386619eaf5e3ae3fef0634f8 /config/hypr | |
| parent | f3cdea54863ca67e2533d2f5dc88be3eecf568b8 (diff) | |
Major Rename of waybar configs and styles for easier user to understand
Kitty - pywal color change disabled by default
Execs.conf re-organized
Auto wallpaper changed disabled by default
Diffstat (limited to 'config/hypr')
| -rw-r--r-- | config/hypr/configs/Execs.conf | 35 | ||||
| -rwxr-xr-x | config/hypr/scripts/AppAutoClose.sh | 23 |
2 files changed, 18 insertions, 40 deletions
diff --git a/config/hypr/configs/Execs.conf b/config/hypr/configs/Execs.conf index afcc5a14..03f7f43c 100644 --- a/config/hypr/configs/Execs.conf +++ b/config/hypr/configs/Execs.conf @@ -1,6 +1,6 @@ ## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## +#Commands & Apps to be executed at launch -#Commands to be executed at launch $scriptsDir = $HOME/.config/hypr/scripts $lock = $scriptsDir/LockScreen.sh $SwwwRandom = $scriptsDir/WallpaperRandom.sh @@ -9,10 +9,8 @@ $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 +# wallpaper stuff / More wallpaper options below exec-once = swww query || swww init -exec-once = $SwwwRandom $WallpaperPath # random wallpaper switcher every 30 minutes -#exec-once = swww query || swww init && swww img $HOME/Pictures/wallpapers/mecha-nostalgia.png # persistent wallpaper # Startup exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP @@ -21,16 +19,10 @@ exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESK # Polkit (Polkit Gnome / KDE) exec-once = $scriptsDir/Polkit.sh -#gnome polkit for nixos -#exec-once = $scriptsDir/Polkit-NixOS.sh - -# xdg-desktop-portal-hyprland (should be auto starting. However, you can force to start) -#exec-once = $scriptsDir/PortalHyprland.sh - # starup apps exec-once = waybar & exec-once = dunst & -#exec-once = blueman-applet & +exec-once = blueman-applet & exec-once = nm-applet --indicator & #exec-once = rog-control-center & @@ -41,15 +33,24 @@ exec-once = wl-paste --type image --watch cliphist store # Rainbow borders exec-once = $scriptsDir/RainbowBorders.sh -# wlsunset - for automatic gamma adjustment. Default is 1900 to 0700 (7pm to 7am). Edit Sunset.sh accordingly -# exec-once = $scriptsDir/Sunset.sh - -# auto close of apps (timeout 5 secs) -# exec-once = $scriptsDir/AppAutoClose.sh - # sway-idle with lock only exec-once = swayidle -w timeout 900 '$lock' # sway-idle with lock and sleep #exec-once = swayidle -w timeout 900 '$lock' timeout 1200 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep '$lock' # sway idle without lock #exec-once = swayidle -w timeout 900 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' + + +## Here are list of features available but disabled by default + +#exec-once = $SwwwRandom $WallpaperPath # random wallpaper switcher every 30 minutes +#exec-once = swww query || swww init && swww img $HOME/Pictures/wallpapers/mecha-nostalgia.png # persistent wallpaper + +#gnome polkit for nixos +#exec-once = $scriptsDir/Polkit-NixOS.sh + +# xdg-desktop-portal-hyprland (should be auto starting. However, you can force to start) +#exec-once = $scriptsDir/PortalHyprland.sh + +# wlsunset - for automatic gamma adjustment. Default is 1900 to 0700 (7pm to 7am). Edit Sunset.sh accordingly +# exec-once = $scriptsDir/Sunset.sh
\ No newline at end of file diff --git a/config/hypr/scripts/AppAutoClose.sh b/config/hypr/scripts/AppAutoClose.sh deleted file mode 100755 index 32a6d735..00000000 --- a/config/hypr/scripts/AppAutoClose.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -# Variables: put the process names you want to auto close here. Make sure to add "" and inside the () -processes=("pavucontrol") - -# Loop through each process name -while true; do - active_window=$(hyprctl activewindow | grep class | awk '{print $2}') - - # Loop through each process name in the array - for process in "${processes[@]}"; do - if [ "$active_window" == "$process" ]; then - # If the active window matches the process, mark it as active - process_active=true - else - # If not, mark it as inactive and try to kill the process - process_active=false - pkill "$process" - fi - done - - sleep 5 -done |
