diff options
| author | JaKooLit <ejhay.games@gmail.com> | 2025-05-21 00:07:39 +0900 |
|---|---|---|
| committer | JaKooLit <ejhay.games@gmail.com> | 2025-05-21 00:07:59 +0900 |
| commit | c14722aa5ecce0783b82945646ffde87413caceb (patch) | |
| tree | 47111a0672c627a458695627acc47ab876cd6935 | |
| parent | adb8b7db7599e6f7786f23472a383d52356f9149 (diff) | |
some minor fixes on the user defaults
| -rw-r--r-- | config/hypr/UserConfigs/UserKeybinds.conf | 6 | ||||
| -rwxr-xr-x | config/hypr/scripts/WaybarScripts.sh | 5 | ||||
| -rw-r--r-- | config/waybar/ModulesCustom | 2 |
3 files changed, 9 insertions, 4 deletions
diff --git a/config/hypr/UserConfigs/UserKeybinds.conf b/config/hypr/UserConfigs/UserKeybinds.conf index 3358e07a..871f2ffb 100644 --- a/config/hypr/UserConfigs/UserKeybinds.conf +++ b/config/hypr/UserConfigs/UserKeybinds.conf @@ -7,10 +7,12 @@ # /* ---- ✴️ Variables ✴️ ---- */ # $mainMod = SUPER -$files = thunar -$term = kitty $scriptsDir = $HOME/.config/hypr/scripts $UserScripts = $HOME/.config/hypr/UserScripts +$UserConfigs = $HOME/.config/hypr/UserConfigs + +# settings for User defaults apps - set your default terminal and file manager on this file +source= $UserConfigs/01-UserDefaults.conf # common shortcuts #bindr = $mainMod, $mainMod_L, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window # Super Key to Launch rofi menu diff --git a/config/hypr/scripts/WaybarScripts.sh b/config/hypr/scripts/WaybarScripts.sh index 32b43f02..7b3aaba2 100755 --- a/config/hypr/scripts/WaybarScripts.sh +++ b/config/hypr/scripts/WaybarScripts.sh @@ -32,10 +32,13 @@ elif [[ "$1" == "--nmtui" ]]; then $term nmtui elif [[ "$1" == "--term" ]]; then $term & +elif [[ "$1" == "--files" ]]; then + $files & else echo "Usage: $0 [--btop | --nvtop | --nmtui | --term]" echo "--btop : Open btop in a new term" echo "--nvtop : Open nvtop in a new term" echo "--nmtui : Open nmtui in a new term" echo "--term : Launch a term window" -fi + echo "--files : Launch a file manager" +fi
\ No newline at end of file diff --git a/config/waybar/ModulesCustom b/config/waybar/ModulesCustom index bde9bbc2..088cea1c 100644 --- a/config/waybar/ModulesCustom +++ b/config/waybar/ModulesCustom @@ -19,7 +19,7 @@ "custom/file_manager": { "format": " ", - "on-click": "xdg-open . &", + "on-click": "$HOME/.config/hypr/scripts/WaybarScripts.sh --files", "tooltip": true, "tooltip-format": "File Manager", }, |
