From 4de29e95fbfda9411daf6082051b5cf0d26085d7 Mon Sep 17 00:00:00 2001 From: "Matthieu Fortin (CPC/CCP)" Date: Tue, 3 Dec 2024 15:18:01 -0500 Subject: [PATCH] Is there an award for this? --- geany/.config/geany/session.conf | 8 ++++---- hypr/.config/hypr/hypridle_launch.sh | 4 ++-- hypr/.config/hypr/hyprland.conf | 9 +-------- hypr/.config/hypr/pyprland.d/wallpapers.toml | 10 ++++++++++ hypr/.config/hypr/pyprland.toml | 6 ++++++ hypr/.config/hypr/scripts/swww-random.sh | 3 ++- 6 files changed, 25 insertions(+), 15 deletions(-) create mode 100644 hypr/.config/hypr/pyprland.d/wallpapers.toml create mode 100644 hypr/.config/hypr/pyprland.toml diff --git a/geany/.config/geany/session.conf b/geany/.config/geany/session.conf index fdc6aec..2e73ccd 100644 --- a/geany/.config/geany/session.conf +++ b/geany/.config/geany/session.conf @@ -1,8 +1,8 @@ [files] -recent_files=/home/matt/.config/rofi/screen.rasi;/home/matt/.config/waybar/style.css;/home/matt/.config/waybar/config.jsonc;/run/user/1000/kio-fuse-fmmtzE/smb/mfortin@172.31.180.13/CMPFOR/Read Only Files/contact_sheet.bat;/home/matt/.config/hypr/hyprland.conf;/home/matt/.config/swaync/style.css;/home/matt/.config/swaync/config.json;/home/matt/.config/wlogout/style.css;/home/matt/.config/wpaperd/config.toml;/home/matt/.config/hypr/scripts/WallustSwww.sh; +recent_files=/home/matt/Downloads/OPNsense-24.7-checksums-amd64.sha256;/home/matt/.config/rofi/screen.rasi;/home/matt/Downloads/archcraft-2024.10.22-x86_64.iso.sha256sum;/home/matt/.config/waybar/style.css;/home/matt/.config/waybar/config.jsonc;/run/user/1000/kio-fuse-fmmtzE/smb/mfortin@172.31.180.13/CMPFOR/Read Only Files/contact_sheet.bat;/home/matt/.config/hypr/hyprland.conf;/home/matt/.config/swaync/style.css;/home/matt/.config/swaync/config.json;/home/matt/.config/wlogout/style.css; recent_projects= current_page=0 -FILE_NAME_0=0;None;0;EUTF-8;1;1;0;%2Fhome%2Fmatt%2F.config%2Frofi%2Fscreen.rasi;0;4 +FILE_NAME_0=436;None;0;EUTF-8;1;1;0;%2Fhome%2Fmatt%2FDownloads%2FOPNsense-24.7-checksums-amd64.sha256;0;4 [project] session_file= @@ -10,8 +10,8 @@ project_file_path=/home/matt/Projects [geany] treeview_position=0 -msgwindow_position=803 -geometry=0;0;946;1026;1; +msgwindow_position=283 +geometry=0;0;946;506;1; sidebar_page=2 [VTE] diff --git a/hypr/.config/hypr/hypridle_launch.sh b/hypr/.config/hypr/hypridle_launch.sh index 19b62ac..1ddb9ec 100755 --- a/hypr/.config/hypr/hypridle_launch.sh +++ b/hypr/.config/hypr/hypridle_launch.sh @@ -9,6 +9,6 @@ CURRENT_HOSTNAME=$(hostname) # Check if the current hostname is not equal to the expected hostname if [[ "$CURRENT_HOSTNAME" != "$EXPECTED_HOSTNAME" ]]; then hypridle & - notify-send "$EXPECTED_HOSTNAME // $CURRENT_HOSTNAME" - notify-send "hypridle launched!!" +# notify-send "$EXPECTED_HOSTNAME // $CURRENT_HOSTNAME" +# notify-send "hypridle launched!!" fi diff --git a/hypr/.config/hypr/hyprland.conf b/hypr/.config/hypr/hyprland.conf index d3c0a68..0d46d08 100644 --- a/hypr/.config/hypr/hyprland.conf +++ b/hypr/.config/hypr/hyprland.conf @@ -22,11 +22,8 @@ exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRE exec-once=dbus-update-activation-environment --systemd --all & exec-once=blueman-applet exec-once=/usr/lib/polkit-kde-authentication-agent-1 -#exec-once=/usr/lib/xfce-polkit/xfce-polkit -#exec-once = systemctl --user start hyprpolkitagent exec-once=dbus-update-activation-environment --systemd --all & exec-once=swaync -#exec-once=dbus-launch --sh-syntax --exit-with-session dunst -conf ~/.config/dunst/dunstrc exec-once=/usr/lib/kdeconnectd exec-once=kdeconnect-indicator @@ -34,10 +31,6 @@ exec-once=kdeconnect-indicator exec-once=wl-paste --type text --watch cliphist store exec-once=wl-paste --type image --watch cliphist store -# exec-once=hyprpaper -# exec-once=~/.local/bin/hyprpaperchanger -#exec-once=wpaperd -#exec-once=hypridle exec-once=~/.config/hypr/hypridle_launch.sh exec-once=swww-daemon --format xrgb exec-once=hyprshade auto @@ -49,8 +42,8 @@ exec-once=/usr/lib/kdeconnectd exec-once=kdeconnect-indicator exec-once=blueman-applet exec-once=systemctl --user restart sunshine.service -##exec-once=nwg-dock-hyprland -i 32 -w 5 -mb 10 -ml 10 -mr 10 -x -c "tofi-drun --drun-launch=true" -lp start -f -a start exec-once=pypr +exec-once=trayscale --hide-window diff --git a/hypr/.config/hypr/pyprland.d/wallpapers.toml b/hypr/.config/hypr/pyprland.d/wallpapers.toml new file mode 100644 index 0000000..be27754 --- /dev/null +++ b/hypr/.config/hypr/pyprland.d/wallpapers.toml @@ -0,0 +1,10 @@ +pyprland.plugins = ["wallpapers"] + +[wallpapers] +path = "~/Pictures/wallpapers/" +interval = 60 +#unique = true +recurse = true +extensions = ["jpg", "jpeg", "png"] +command = 'swww img --transition-type any "[file]"' +clear_command = "swww clear" diff --git a/hypr/.config/hypr/pyprland.toml b/hypr/.config/hypr/pyprland.toml new file mode 100644 index 0000000..a1d3988 --- /dev/null +++ b/hypr/.config/hypr/pyprland.toml @@ -0,0 +1,6 @@ +[pyprland] +include = ["~/.config/hypr/pyprland.d"] + +plugins = [ +] + diff --git a/hypr/.config/hypr/scripts/swww-random.sh b/hypr/.config/hypr/scripts/swww-random.sh index b002b20..b316f39 100755 --- a/hypr/.config/hypr/scripts/swww-random.sh +++ b/hypr/.config/hypr/scripts/swww-random.sh @@ -4,7 +4,8 @@ DIR=~/Pictures/wallpapers/ PICS=($(find ${DIR} -type f -iname "*.jpg" -o -iname "*.png" -o -iname "*.jpeg")) RANDOMPICS=${PICS[ $RANDOM % ${#PICS[@]}]} -swww img ${DIR}/${RANDOMPICS} --transition-fps 60 --transition-type any --transition-duration 3 +"$HOME/.local/bin/wallpaper" "$RANDOMPICS" +swww img "$HOME/.cache/images/wallpaper.png" --transition-fps 60 --transition-type any --transition-duration 3 notify-send -i ${DIR}/${RANDOMPICS} "Wallpaper Changed" ${RANDOMPICS}