diff options
| author | caley <u65487754@gmail.com> | 2026-05-28 14:22:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-28 14:22:48 +0200 |
| commit | c8e1837c9bc237ccf6c6497cfe4469473697b895 (patch) | |
| tree | 2cf3be9cc73f298a7162b8fbf269d69558d74454 /.config/scripts | |
| parent | 6316cec6f30c2d51d93d48be49b99325fe7ea3b9 (diff) | |
Delete .config/scripts/config.sh
Diffstat (limited to '.config/scripts')
| -rw-r--r-- | .config/scripts/config.sh | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/.config/scripts/config.sh b/.config/scripts/config.sh deleted file mode 100644 index f4905cb..0000000 --- a/.config/scripts/config.sh +++ /dev/null @@ -1,23 +0,0 @@ -configs=( - "rofi:$HOME/.config/rofi/" - "zed:$HOME/.config/zed/settings.json" - "csgo:$HOME/.local/share/Steam/steamapps/common/csgo legacy/csgo/cfg/autoexec.cfg" - "cs2:$HOME/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/cfg/autoexec.cfg" -) - -choice=$(printf "%s\n" "${configs[@]}" | cut -d':' -f1 | rofi -dmenu -i -p ">") - -[[ -z "$choice" ]] && exit - -for item in "${configs[@]}"; do - if [[ "$item" == "$choice:"* ]]; then - path="${item#*:}" - break - fi -done - -if [ -e "$path" ]; then - zeditor "$path" -else - notify-send "error" "file not found: $path" -fi |
