summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorcaley <u65487754@gmail.com>2026-05-31 13:11:17 +0200
committerGitHub <noreply@github.com>2026-05-31 13:11:17 +0200
commite1a6e2b65654cd3cd13f0054623e108aeaae925c (patch)
tree50d807f2b2415f39e1618484030b4ce6bc75b669 /nixos
parent9910bead9f79a4113eaa21b8f71cf6d2b55e9b64 (diff)
Update cat.nix
Diffstat (limited to 'nixos')
-rw-r--r--nixos/cat.nix14
1 files 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
'')