From 5cd629347294c1156fcc8b95212be54b2cd2398d Mon Sep 17 00:00:00 2001 From: Nydragon Date: Mon, 12 Aug 2024 19:59:31 +0200 Subject: [PATCH] feat: add fish print function fishl --- home/scripts/default.nix | 2 ++ home/scripts/list.nix | 1 + home/scripts/logo.fish | 16 ++++++++++++++++ hosts/brontes/home.nix | 1 + modules/programs/steam.nix | 2 +- 5 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 home/scripts/logo.fish diff --git a/home/scripts/default.nix b/home/scripts/default.nix index 2b2f6f0..db162f2 100644 --- a/home/scripts/default.nix +++ b/home/scripts/default.nix @@ -41,4 +41,6 @@ nixedit = pkgs.writers.writeFishBin "nixedit" "env --chdir ~/.nixconf $EDITOR ."; getext = pkgs.writeScriptBin "ls | grep -E \"\.[a-zA-Z0-9]+$\" --only-matching | sort | uniq"; + + fishl = pkgs.writers.writeFishBin "fishl" ./logo.fish; } diff --git a/home/scripts/list.nix b/home/scripts/list.nix index a67002d..9a96301 100644 --- a/home/scripts/list.nix +++ b/home/scripts/list.nix @@ -4,4 +4,5 @@ with import ./. { inherit pkgs; }; screenshot set-background nixedit + fishl ] diff --git a/home/scripts/logo.fish b/home/scripts/logo.fish new file mode 100644 index 0000000..485ffc1 --- /dev/null +++ b/home/scripts/logo.fish @@ -0,0 +1,16 @@ +# Credit: https://github.com/justinmayer/tackle +echo ' '(set_color F00)'___ + ___======____='(set_color FF7F00)'-'(set_color FF0)'-'(set_color FF7F00)'-='(set_color F00)') +/T \_'(set_color FF0)'--='(set_color FF7F00)'=='(set_color F00)') +[ \ '(set_color FF7F00)'('(set_color FF0)'0'(set_color FF7F00)') '(set_color F00)'\~ \_'(set_color FF0)'-='(set_color FF7F00)'='(set_color F00)') + \ / )J'(set_color FF7F00)'~~ \\'(set_color FF0)'-='(set_color F00)') + \\\\___/ )JJ'(set_color FF7F00)'~'(set_color FF0)'~~ '(set_color F00)'\) + \_____/JJJ'(set_color FF7F00)'~~'(set_color FF0)'~~ '(set_color F00)'\\ + '(set_color FF7F00)'/ '(set_color FF0)'\ '(set_color FF0)', \\'(set_color F00)'J'(set_color FF7F00)'~~~'(set_color FF0)'~~ '(set_color FF7F00)'\\ + (-'(set_color FF0)'\)'(set_color F00)'\='(set_color FF7F00)'|'(set_color FF0)'\\\\\\'(set_color FF7F00)'~~'(set_color FF0)'~~ '(set_color FF7F00)'L_'(set_color FF0)'_ + '(set_color FF7F00)'('(set_color F00)'\\'(set_color FF7F00)'\\) ('(set_color FF0)'\\'(set_color FF7F00)'\\\)'(set_color F00)'_ '(set_color FF0)'\=='(set_color FF7F00)'__ + '(set_color F00)'\V '(set_color FF7F00)'\\\\'(set_color F00)'\) =='(set_color FF7F00)'=_____ '(set_color FF0)'\\\\\\\\'(set_color FF7F00)'\\\\ + '(set_color F00)'\V) \_) '(set_color FF7F00)'\\\\'(set_color FF0)'\\\\JJ\\'(set_color FF7F00)'J\) + '(set_color F00)'/'(set_color FF7F00)'J'(set_color FF0)'\\'(set_color FF7F00)'J'(set_color F00)'T\\'(set_color FF7F00)'JJJ'(set_color F00)'J) + (J'(set_color FF7F00)'JJ'(set_color F00)'| \UUU) + (UU)'(set_color normal) diff --git a/hosts/brontes/home.nix b/hosts/brontes/home.nix index a451008..0b2edac 100644 --- a/hosts/brontes/home.nix +++ b/hosts/brontes/home.nix @@ -73,6 +73,7 @@ custom.scripts.nixedit custom.scripts.set-background + custom.scripts.fishl ]; }; }; diff --git a/modules/programs/steam.nix b/modules/programs/steam.nix index 280c7ff..2500eb3 100644 --- a/modules/programs/steam.nix +++ b/modules/programs/steam.nix @@ -6,7 +6,7 @@ }: lib.mkIf config.programs.steam.enable { programs.steam = { - gamescopeSession.enable = true; + gamescopeSession.enable = true; # Adds a steam entry to the login manager extest.enable = true; localNetworkGameTransfers.openFirewall = true; extraCompatPackages = with pkgs; [ proton-ge-bin ];