Compare commits

..
13 Commits
Author SHA1 Message Date
Armel van Ravels 391c32b286 Add direnv integration to vscode 2026-02-05 14:49:20 +01:00
Armel van Ravels 7d28a5d227 Battery status 2026-02-05 14:49:20 +01:00
Armel van Ravels 46e995053c Add vscode 2026-02-05 14:49:20 +01:00
Armel van Ravels 80e0caa462 Add vscode to programs 2026-02-05 14:49:20 +01:00
Armel van Ravels 8b25820447 Changes for work machine 2026-02-05 14:49:20 +01:00
armel bc9dfc098e Merge pull request 'add git-prune alias' (#32) from feature/zsh-gitprune-alias into master
Reviewed-on: #32
2026-02-05 14:48:19 +01:00
armel fd5e8f39da add git-prune alias 2026-02-05 14:45:41 +01:00
armel 5eba1e82d2 Add speedcrunch 2026-02-03 10:10:38 +01:00
armel 7ca09caddd Show hide waybar 2026-02-02 16:28:54 +01:00
armel 1577f066b2 fastfetch config for zsh init 2026-02-01 21:54:16 +01:00
armel 1a5b256f23 No logo fastfetch 2026-01-31 22:45:25 +01:00
armel 4385000181 Merge pull request 'Add fastfetch as motd of zsh' (#31) from feature/fastfetch-motd into master
Reviewed-on: #31
2026-01-31 22:40:42 +01:00
armel 2cad286227 Add fastfetch as motd of zsh 2026-01-31 22:39:43 +01:00
3 changed files with 32 additions and 0 deletions

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/master/doc/json_schema.json",
"modules": [
"os",
"uptime",
"cpu",
"gpu",
"memory",
"swap",
"disk",
]
}
+14
View File
@@ -1,6 +1,9 @@
{ pkgs, ... }:
{
home.file.".zsh/fastfetch.jsonc".source =
./fastfetch/config.jsonc;
programs.zsh = {
enable = true;
oh-my-zsh = {
@@ -9,8 +12,19 @@
};
initContent = ''
alias git-prune="git fetch -p && git branch -vv | grep ': gone]' | grep -v '*' | awk '{print \$1}' | xargs -r git branch -D"
# Use kitty's ssh helper if running inside kitty
[ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh"
[[ $- != *i* ]] && return
# Run fastfetch
if command -v fastfetch >/dev/null 2>&1; then
fastfetch --logo none --config ~/.zsh/fastfetch.jsonc
fi
'';
};
}
+6
View File
@@ -6,6 +6,7 @@
hyprshot
hyprlock
playerctl
speedcrunch
];
wayland.windowManager.hyprland = {
@@ -81,6 +82,9 @@
"$mod, M, exit"
"$mod, L, exec, hyprlock"
# show/hide waybar
"$mod, W, exec, pkill -SIGUSR1 -f '^waybar$'"
# Focus
"$mod, LEFT, movefocus, l"
"$mod, RIGHT, movefocus, r"
@@ -124,6 +128,8 @@
", XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
", XF86AudioNext, exec, playerctl next"
", XF86AudioPrev, exec, playerctl previous"
", XF86Calculator, exec, speedcrunch"
];
bindm = [