From 4ab810a393e1c3c4207694215ada4eeed94329cd Mon Sep 17 00:00:00 2001 From: The_miro Date: Mon, 9 Jun 2025 19:13:42 +0200 Subject: [PATCH] added cmd+F to find files --- desktopenvs/hyprland/hypr-usr/binds.conf | 3 ++- desktopenvs/hyprland/scripts/wofi-file-search.sh | 2 ++ setup/modules/core-packages.sh | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100755 desktopenvs/hyprland/scripts/wofi-file-search.sh diff --git a/desktopenvs/hyprland/hypr-usr/binds.conf b/desktopenvs/hyprland/hypr-usr/binds.conf index 7fe8049..74232c5 100644 --- a/desktopenvs/hyprland/hypr-usr/binds.conf +++ b/desktopenvs/hyprland/hypr-usr/binds.conf @@ -35,7 +35,8 @@ bind = $mainMod, T, exec, $terminal bind = $mainMod, Z, exec, ~/Dotfiles/desktopenvs/hyprland/scripts/togglebar.sh bind = $mainMod, Q, killactive, bind = $mainMod, M, exec, $editor -bind = $mainMod, F, exec, $fileManager +bind = $mainMod, E, exec, $fileManager +bind = $mainMod, F, exec, ~/Dotfiles/desktopenvs/hyprland/scripts/wofi-file-search.sh bind = $mainMod, V, togglefloating, #bind = $mainMod, H, movecurrentworkspacetomonitor bind = $mainMod, C, pseudo, # dwindle diff --git a/desktopenvs/hyprland/scripts/wofi-file-search.sh b/desktopenvs/hyprland/scripts/wofi-file-search.sh new file mode 100755 index 0000000..a40d6f4 --- /dev/null +++ b/desktopenvs/hyprland/scripts/wofi-file-search.sh @@ -0,0 +1,2 @@ +#!/bin/bash +xdg-open $(fd | wofi --show=dmenu) diff --git a/setup/modules/core-packages.sh b/setup/modules/core-packages.sh index 180d975..fea6813 100644 --- a/setup/modules/core-packages.sh +++ b/setup/modules/core-packages.sh @@ -1,2 +1,2 @@ #!/bin/bash -sudo pacman -Syu git 7zip pipewire distrobox htop nano vim firefox flatpak grub inetutils networkmanager neovim openssh base base-devel cockpit cockpit-files cockpit-podman zip unzip ufw fastfetch git wireplumber wpa_supplicant tree traceroute smartmontools ruby-pkg-config rust rustup usbutils pciutils qrencode bind btop gcc glib2 python python-pip atool nvim curl wget fastfetch fail2ban man-db wprs mc yazi atftp base base-devel btrfs-progs bluez ffmpeg gcc git grub htop inetutils iwd jq ldns libpulse linux linux-firmware openssh smartmontools traceroute ufw unzip zip vim wireless_tools wpa_supplicant zram-generator podman vnstat inetutils symlinks arch-install-scripts greetd-tuigreet +sudo pacman -Syu git 7zip pipewire distrobox htop nano vim firefox flatpak grub inetutils networkmanager neovim openssh base base-devel cockpit cockpit-files cockpit-podman zip unzip ufw fastfetch git wireplumber wpa_supplicant tree traceroute smartmontools ruby-pkg-config rust rustup usbutils pciutils qrencode bind btop gcc glib2 python python-pip atool nvim curl wget fastfetch fail2ban man-db wprs mc yazi atftp base base-devel btrfs-progs bluez ffmpeg gcc git grub htop inetutils iwd jq ldns libpulse linux linux-firmware openssh smartmontools traceroute ufw unzip zip vim wireless_tools wpa_supplicant zram-generator podman vnstat inetutils symlinks arch-install-scripts greetd-tuigreet fd