From e1a6e2b65654cd3cd13f0054623e108aeaae925c Mon Sep 17 00:00:00 2001 From: caley Date: Sun, 31 May 2026 13:11:17 +0200 Subject: Update cat.nix --- nixos/cat.nix | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/nixos/cat.nix b/nixos/cat.nix index 6394a40..5b04aae 100644 --- a/nixos/cat.nix +++ b/nixos/cat.nix @@ -191,19 +191,19 @@ home.packages = with pkgs; [ (writeShellScriptBin "master" '' - options="config\nsettings\nwallpaper\npower" + options="cg\nss\nwp\npw" choice=$(echo -e "$options" | ${pkgs.rofi}/bin/rofi -dmenu -i -p ">") case "$choice" in - *config*) exec "config" ;; - *settings*) exec "settings" ;; - *wallpaper*) exec "wallpaper" ;; - *power*) exec "power" ;; + *cg*) exec "config" ;; + *ss*) exec "settings" ;; + *wp*) exec "wallpaper" ;; + *pw*) exec "power" ;; esac '') (writeShellScriptBin "config" '' - options="nix\ncat\nhypr\nvim\nrofi\nzed\ncsgo\ncs2" + options="nix\ncat\nhypr\nvim\nrofi\nzed" choice=$(echo -e "$options" | ${pkgs.rofi}/bin/rofi -dmenu -i -p ">") case "$choice" in @@ -213,8 +213,6 @@ home.packages = with pkgs; [ *vim*) ${pkgs.kitty}/bin/kitty -e sudo nvim "/etc/nixos/vim.nix" ;; *rofi*) ${pkgs.zed-editor}/bin/zeditor "$HOME/.config/rofi/" ;; *zed*) ${pkgs.zed-editor}/bin/zeditor "$HOME/.config/zed/settings.json" ;; - *csgo*) ${pkgs.zed-editor}/bin/zeditor "$HOME/.local/share/Steam/steamapps/common/csgo legacy/csgo/cfg/autoexec.cfg" ;; - *cs2*) ${pkgs.zed-editor}/bin/zeditor "$HOME/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/cfg/autoexec.cfg" ;; esac '') -- cgit v1.3.1