Compare commits
5 Commits
391c32b286
...
b1c55cd56d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b1c55cd56d | ||
|
|
070c65046e | ||
|
|
eb0d613133 | ||
|
|
48e566b79e | ||
|
|
c9e194a36e |
@@ -1,12 +0,0 @@
|
|||||||
{
|
|
||||||
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/master/doc/json_schema.json",
|
|
||||||
"modules": [
|
|
||||||
"os",
|
|
||||||
"uptime",
|
|
||||||
"cpu",
|
|
||||||
"gpu",
|
|
||||||
"memory",
|
|
||||||
"swap",
|
|
||||||
"disk",
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,9 +1,6 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
home.file.".zsh/fastfetch.jsonc".source =
|
|
||||||
./fastfetch/config.jsonc;
|
|
||||||
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
oh-my-zsh = {
|
oh-my-zsh = {
|
||||||
@@ -12,19 +9,8 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
initContent = ''
|
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
|
# Use kitty's ssh helper if running inside kitty
|
||||||
[ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh"
|
[ "$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,7 +6,6 @@
|
|||||||
hyprshot
|
hyprshot
|
||||||
hyprlock
|
hyprlock
|
||||||
playerctl
|
playerctl
|
||||||
speedcrunch
|
|
||||||
];
|
];
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
@@ -82,9 +81,6 @@
|
|||||||
"$mod, M, exit"
|
"$mod, M, exit"
|
||||||
"$mod, L, exec, hyprlock"
|
"$mod, L, exec, hyprlock"
|
||||||
|
|
||||||
# show/hide waybar
|
|
||||||
"$mod, W, exec, pkill -SIGUSR1 -f '^waybar$'"
|
|
||||||
|
|
||||||
# Focus
|
# Focus
|
||||||
"$mod, LEFT, movefocus, l"
|
"$mod, LEFT, movefocus, l"
|
||||||
"$mod, RIGHT, movefocus, r"
|
"$mod, RIGHT, movefocus, r"
|
||||||
@@ -128,8 +124,6 @@
|
|||||||
", XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
|
", XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
|
||||||
", XF86AudioNext, exec, playerctl next"
|
", XF86AudioNext, exec, playerctl next"
|
||||||
", XF86AudioPrev, exec, playerctl previous"
|
", XF86AudioPrev, exec, playerctl previous"
|
||||||
|
|
||||||
", XF86Calculator, exec, speedcrunch"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
bindm = [
|
bindm = [
|
||||||
|
|||||||
Reference in New Issue
Block a user