don't show cats on non-thinkpad hosts

This commit is contained in:
Rouven Seifert 2023-04-28 16:53:51 +02:00
parent 0677beb1c0
commit 4baf1371b7
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
4 changed files with 13 additions and 7 deletions

View file

@ -23,11 +23,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1682535786, "lastModified": 1682663009,
"narHash": "sha256-NH2a8yB8V25cglvcHDrvaTLvohzMgGLLZ4vnXQn4vOw=", "narHash": "sha256-i5ZDuY5kUBDwbWFUludL2cm6PBb6oj245qTFXSpOkdo=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "d82c9af8175878a461a0fdf914e67cc446664570", "rev": "43ba4489bd3f9f69519f5f7ebdb76d0455eccbbe",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -46,11 +46,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1682548480, "lastModified": 1682603803,
"narHash": "sha256-aycGKS+Vv/lQQFaYJNpK054leLKIapfUobgzt8fohFA=", "narHash": "sha256-NY9nVAdB7UyInu2vPx/DIUVNZ83t4RdP16QY9DTIn4s=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "72d2f33b34951b7f5be6cdbc302b1c6a33cbf60f", "rev": "f23455e592bca14e0abd9249de467cc71cd2850e",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -49,7 +49,10 @@
prompt_dir() { prompt_dir() {
prompt_segment blue $CURRENT_FG '%c' prompt_segment blue $CURRENT_FG '%c'
} }
if [[ "$(hostname)" == "thinkpad" ]]
then
cat ${../images/cat.sixel} cat ${../images/cat.sixel}
fi
''; '';
# Hacky way to bind Ctrl+R to fzf. Otherwise it will be overridden # Hacky way to bind Ctrl+R to fzf. Otherwise it will be overridden

View file

@ -60,6 +60,8 @@
gdb gdb
powerline-fonts powerline-fonts
# password
pass
# libs # libs
libyubikey libyubikey

View file

@ -9,6 +9,7 @@
'' ''
set -g default-shell ${pkgs.zsh}/bin/zsh set -g default-shell ${pkgs.zsh}/bin/zsh
bind P display-popup bind P display-popup
set -sg escape-time 10
''; '';
plugins = with pkgs.tmuxPlugins; [ plugins = with pkgs.tmuxPlugins; [
{ {