diff --git a/.config/ansible/roles/arch/packages/tasks/modules/base.yml b/.config/ansible/roles/arch/packages/tasks/modules/base.yml index 750161b6..9b4a777e 100644 --- a/.config/ansible/roles/arch/packages/tasks/modules/base.yml +++ b/.config/ansible/roles/arch/packages/tasks/modules/base.yml @@ -128,7 +128,6 @@ - nwg-look - pyprland - rofi-lboon-wayland - - rofi-file-browser-extended-git # Hooks - check-broken-packages-pacman-hook-git diff --git a/.config/hypr/scripts/rofi/keybindings b/.config/hypr/scripts/rofi/keybindings index ca914666..156943e7 100755 --- a/.config/hypr/scripts/rofi/keybindings +++ b/.config/hypr/scripts/rofi/keybindings @@ -1,5 +1,5 @@ #!/usr/bin/bash -CONFIG=$(rofi -show file-browser-extended -file-browser-stdout -file-browser-dir "$HOME"/.config/keyb/bindings) +CONFIG=$(fd --base-directory "$HOME/.config/keyb/bindings" --type f . | rofi -dmenu) -hyprctl dispatch exec "[float;size 45% 80%;center 1] kitty keyb -k '$CONFIG'" +hyprctl dispatch exec "[float;size 45% 80%;center 1] kitty keyb -k '$HOME/.config/keyb/bindings/$CONFIG'" diff --git a/.config/hypr/scripts/rofi/screenshots_selection b/.config/hypr/scripts/rofi/screenshots_selection index c23d1ed3..5beabd6e 100755 --- a/.config/hypr/scripts/rofi/screenshots_selection +++ b/.config/hypr/scripts/rofi/screenshots_selection @@ -1,7 +1,7 @@ #!/usr/bin/bash -IMAGE_DIR="$HOME/Imagenes/Capturas/PC/" +IMAGE_DIR="$HOME/Imagenes/Capturas/PC" -SELECTION=$(ls -t "$IMAGE_DIR" | rofi -show file-browser-extended -file-browser-stdin -file-browser-stdout -file-browser-dir "$IMAGE_DIR") +SELECTION=$(find "$IMAGE_DIR" -type f -exec ls -t {} + | awk -F/ '{print $NF}' | rofi -dmenu) -swappy -f "$SELECTION" +swappy -f "$IMAGE_DIR/$SELECTION" diff --git a/.config/hypr/scripts/wallpaper b/.config/hypr/scripts/wallpaper index 1bda76c7..ffc740d9 100755 --- a/.config/hypr/scripts/wallpaper +++ b/.config/hypr/scripts/wallpaper @@ -8,22 +8,21 @@ if [ "$mode" = "" ]; then fi if [ "$mode" == "select" ]; then - IMAGE=$(rofi -show file-browser-extended -file-browser-stdout -file-browser-dir "$HOME"/.config/hypr/themes/luna/walls/) + IMAGE=$(fd --base-directory "$HOME/.config/hypr/themes/luna/walls/" --type f . | rofi -dmenu) if [ "$IMAGE" = "" ]; then exit 1 fi elif [ "$mode" == "random" ]; then - RANDOM_IMAGE=$(fd --base-directory "$HOME/.config/hypr/themes/luna/walls/" --type f . | shuf -n 1) - IMAGE="$HOME/.config/hypr/themes/luna/walls/$RANDOM_IMAGE" + IMAGE=$(fd --base-directory "$HOME/.config/hypr/themes/luna/walls/" --type f . | shuf -n 1) else exit 1 fi -swww img "$IMAGE" \ +swww img "$HOME/.config/hypr/themes/luna/walls/$IMAGE" \ --transition-bezier 0.5,1.19,.8,.4 \ --transition-type wipe \ --transition-duration 2 \ --transition-fps 75 -notify-send "Wallpaper Changed" -i "$IMAGE" +notify-send "Wallpaper Changed" -i "$HOME/.config/hypr/themes/luna/walls/$IMAGE" diff --git a/.config/pacman/aur-packages.txt b/.config/pacman/aur-packages.txt index 7aded073..9019a334 100644 --- a/.config/pacman/aur-packages.txt +++ b/.config/pacman/aur-packages.txt @@ -40,7 +40,6 @@ python-spotdl 4.2.4-1 qt5-styleplugins 5.0.0.20170311-35 rar 7.00-1 reflector-pacman-hook-git r87.eec94bd-1 -rofi-file-browser-extended-git 1.3.1.r5.g44e5f0a-1 rofi-lbonn-wayland 1.7.5+wayland3-1 rpcs3-bin 0.0.31-1 ryujinx-bin 1.1.1211-1 diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi index a345ff23..23fb23c2 100644 --- a/.config/rofi/config.rasi +++ b/.config/rofi/config.rasi @@ -1,6 +1,6 @@ configuration { /*---------- General setting ----------*/ - modi: "drun,run,file-browser-extended"; + modi: "drun,run,filebrowser"; case-sensitive: false; cycle: false; filter: ""; diff --git a/.config/rofi/style.rasi b/.config/rofi/style.rasi index b1b1f284..a3413c11 100644 --- a/.config/rofi/style.rasi +++ b/.config/rofi/style.rasi @@ -1,6 +1,6 @@ /*****----- Configuration -----*****/ configuration { - modi: "drun,file-browser-extended"; + modi: "drun,filebrowser"; show-icons: true; display-drun: "Apps"; display-run: "Run";