diff --git a/.config/hypr/keybinds/binds.conf b/.config/hypr/keybinds/binds.conf index 3e0936a2..f69e5d45 100644 --- a/.config/hypr/keybinds/binds.conf +++ b/.config/hypr/keybinds/binds.conf @@ -58,6 +58,9 @@ bind=SUPER, space, exec, wleave # Color picker bind=SUPER,Insert,exec,hyprpicker -a && notify-send -t 4000 "$(wl-paste)" +# Wallpaper +bind=SUPERSHIFT,w,exec, ~/.config/hypr/scripts/rofi/wallpaper_selection + # Keybindings Cheatsheet bind=SUPER,i,exec, ~/.config/hypr/scripts/keybindings diff --git a/.config/hypr/scripts/autostart b/.config/hypr/scripts/autostart index d5c05dd2..3de7103e 100755 --- a/.config/hypr/scripts/autostart +++ b/.config/hypr/scripts/autostart @@ -23,7 +23,7 @@ udiskie & devify & # Wallpaper -$scripts/wallpaper & +$scripts/random_wallpaper & # Idle daemon to screen lock /home/matt/.config/sway/idle.sh & diff --git a/.config/hypr/scripts/random_wallpaper b/.config/hypr/scripts/random_wallpaper new file mode 100755 index 00000000..86f9c216 --- /dev/null +++ b/.config/hypr/scripts/random_wallpaper @@ -0,0 +1,10 @@ +#!/usr/bin/bash + +function load_wp() { + IMAGE=$(fd -e png -e jpg --base-directory "$HOME/.config/hypr/themes/luna/walls/" --type f . | shuf -n 1) + swww img --transition-type wipe --transition-pos top-right --transition-duration 3.8 --transition-step 255 $HOME/.config/hypr/themes/luna/walls/"$IMAGE" +} + +swww init + +load_wp diff --git a/.config/hypr/scripts/rofi/wallpaper_selection b/.config/hypr/scripts/rofi/wallpaper_selection new file mode 100755 index 00000000..358d993b --- /dev/null +++ b/.config/hypr/scripts/rofi/wallpaper_selection @@ -0,0 +1,11 @@ +#!/usr/bin/bash + +function load_wp() { + # IMAGE=$(fd -e png -e jpg --base-directory "$HOME/.config/hypr/themes/luna/walls/" --type f . | shuf -n 1) + IMAGE=$(rofi -show file-browser-extended -theme ~/.config/rofi/style.rasi -file-browser-stdout -file-browser-dir $HOME/.config/hypr/themes/luna/walls/) + swww img --transition-type wipe --transition-pos top-right --transition-duration 3.8 --transition-step 255 "$IMAGE" +} + +swww init + +load_wp diff --git a/.config/hypr/scripts/wallpaper b/.config/hypr/scripts/wallpaper deleted file mode 100755 index 0ecc7350..00000000 --- a/.config/hypr/scripts/wallpaper +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -# Change the path of the image to yours -function load_wp(){ - swww img --transition-type wipe --transition-pos top-right --transition-duration 3.8 --transition-step 255 ~/.config/wallpaper.png -} - -swww init - -load_wp diff --git a/.config/hypr/themes/luna/walls/abstract.png b/.config/hypr/themes/luna/walls/abstract.png new file mode 100644 index 00000000..1906901b Binary files /dev/null and b/.config/hypr/themes/luna/walls/abstract.png differ diff --git a/.config/hypr/themes/luna/walls/archwaifu.png b/.config/hypr/themes/luna/walls/archwaifu.png new file mode 100644 index 00000000..36303a80 Binary files /dev/null and b/.config/hypr/themes/luna/walls/archwaifu.png differ diff --git a/.config/hypr/themes/luna/walls/astronaut.png b/.config/hypr/themes/luna/walls/astronaut.png new file mode 100644 index 00000000..61017186 Binary files /dev/null and b/.config/hypr/themes/luna/walls/astronaut.png differ diff --git a/.config/hypr/themes/luna/walls/crystals.png b/.config/hypr/themes/luna/walls/crystals.png new file mode 100644 index 00000000..bc7f3d93 Binary files /dev/null and b/.config/hypr/themes/luna/walls/crystals.png differ diff --git a/.config/hypr/themes/luna/walls/fireskull.png b/.config/hypr/themes/luna/walls/fireskull.png new file mode 100644 index 00000000..269abc94 Binary files /dev/null and b/.config/hypr/themes/luna/walls/fireskull.png differ diff --git a/.config/wallpaper.png b/.config/hypr/themes/luna/walls/fuji.png similarity index 100% rename from .config/wallpaper.png rename to .config/hypr/themes/luna/walls/fuji.png diff --git a/.config/hypr/themes/luna/walls/maze.png b/.config/hypr/themes/luna/walls/maze.png new file mode 100644 index 00000000..56beccc5 Binary files /dev/null and b/.config/hypr/themes/luna/walls/maze.png differ diff --git a/.config/hypr/themes/luna/walls/megumin.png b/.config/hypr/themes/luna/walls/megumin.png new file mode 100644 index 00000000..60f80d10 Binary files /dev/null and b/.config/hypr/themes/luna/walls/megumin.png differ diff --git a/.config/hypr/themes/luna/walls/montains.png b/.config/hypr/themes/luna/walls/montains.png new file mode 100644 index 00000000..b24666f6 Binary files /dev/null and b/.config/hypr/themes/luna/walls/montains.png differ diff --git a/.config/hypr/themes/luna/walls/nord_car.png b/.config/hypr/themes/luna/walls/nord_car.png new file mode 100644 index 00000000..4cc53b80 Binary files /dev/null and b/.config/hypr/themes/luna/walls/nord_car.png differ diff --git a/.config/hypr/themes/luna/walls/nord_car_live.gif b/.config/hypr/themes/luna/walls/nord_car_live.gif new file mode 100644 index 00000000..b38c6982 Binary files /dev/null and b/.config/hypr/themes/luna/walls/nord_car_live.gif differ diff --git a/.config/hypr/themes/luna/walls/pixelanimal.png b/.config/hypr/themes/luna/walls/pixelanimal.png new file mode 100644 index 00000000..219fd9ce Binary files /dev/null and b/.config/hypr/themes/luna/walls/pixelanimal.png differ diff --git a/.config/hypr/themes/luna/walls/souls.png b/.config/hypr/themes/luna/walls/souls.png new file mode 100644 index 00000000..0d494864 Binary files /dev/null and b/.config/hypr/themes/luna/walls/souls.png differ diff --git a/.config/hypr/themes/luna/walls/sparkles.png b/.config/hypr/themes/luna/walls/sparkles.png new file mode 100644 index 00000000..6bd1c86c Binary files /dev/null and b/.config/hypr/themes/luna/walls/sparkles.png differ diff --git a/.config/hypr/themes/luna/walls/switch.png b/.config/hypr/themes/luna/walls/switch.png new file mode 100644 index 00000000..b98ddcf2 Binary files /dev/null and b/.config/hypr/themes/luna/walls/switch.png differ diff --git a/.config/hypr/themes/luna/walls/tokyo.png b/.config/hypr/themes/luna/walls/tokyo.png new file mode 100644 index 00000000..ca71ed5c Binary files /dev/null and b/.config/hypr/themes/luna/walls/tokyo.png differ diff --git a/.config/keyb/bindings/hyprland.yml b/.config/keyb/bindings/hyprland.yml index 16a769bb..36425088 100644 --- a/.config/keyb/bindings/hyprland.yml +++ b/.config/keyb/bindings/hyprland.yml @@ -24,6 +24,8 @@ key: Alt + Insert - name: Color Picker key: Win + Insert + - name: Wallpaper Picker + key: Win + Shift + W - name: Zoom key: Win + Z - name: Logout Menu diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi index b0690058..4378d0a5 100644 --- a/.config/rofi/config.rasi +++ b/.config/rofi/config.rasi @@ -1,6 +1,6 @@ configuration { /*---------- General setting ----------*/ - modi: "drun,run,filebrowser,window"; + modi: "drun,run,file-browser-extended,window"; case-sensitive: false; cycle: true; filter: ""; diff --git a/.config/rofi/style.rasi b/.config/rofi/style.rasi index 93d19822..5489f939 100644 --- a/.config/rofi/style.rasi +++ b/.config/rofi/style.rasi @@ -1,6 +1,6 @@ /*****----- Configuration -----*****/ configuration { - modi: "drun,filebrowser,window"; + modi: "drun,file-browser-extended,window"; show-icons: true; display-drun: "Apps"; display-run: "Run"; @@ -24,8 +24,8 @@ window { anchor: center; fullscreen: false; border: 2px; - border-radius: 15px; - border-color: #B7BDF87F; + border-radius: 10px; + border-color: #B7BDF869; width: 500px; x-offset: 0px; y-offset: 0px; @@ -34,7 +34,7 @@ window { enabled: true; margin: 0px; padding: 0px; - border-radius: 20px; + border-radius: 10px; cursor: "default"; background-color: #24273A; } @@ -110,7 +110,7 @@ element { margin: 0px; padding: 10px; border: 0px solid; - border-radius: 15px; + border-radius: 10px; background-color: transparent; text-color: #CAD3F5; cursor: pointer; @@ -120,7 +120,7 @@ element normal.active { text-color: #CAD3F5; } element selected.normal { - border-radius: 15px; + border-radius: 10px; background-image: linear-gradient(to right, #363A4F, #B7BDF89F); text-color: #CAD3F5; } @@ -151,7 +151,7 @@ mode-switcher{ button { font: "JetBrains Mono Nerd Font 10"; padding: 10px; - border-radius: 100%; + border-radius: 10px; background-image: linear-gradient(#939ab7); text-color: #24273A; cursor: pointer; @@ -169,7 +169,7 @@ error-message { } textbox { padding: 0px; - border-radius: 0px; + border-radius: 10px; text-color: #CAD3F5; vertical-align: 0.5; horizontal-align: 0.0;