added stuff

This commit is contained in:
fwastring 2025-06-03 21:39:19 +02:00
parent 6bce9f0f69
commit f0f251c814
10 changed files with 72 additions and 73 deletions

View file

@ -1,16 +1,13 @@
{ pkgs, lib, ... }:
let
dmenu = pkgs.dmenu.overrideAttrs (old: {
src = builtins.fetchGit {
url = "https://github.com/FredzyW/dmenu.git";
rev = "7ec109778998462a6762745c65c47a73283b810e";
};
nativeBuildInputs = with pkgs; [
xorg.libX11.dev
xorg.libXft
imlib2
xorg.libXinerama
];
# nativeBuildInputs = with pkgs; [
# xorg.libX11.dev
# xorg.libXft
# imlib2
# xorg.libXinerama
# ];
patches = [ ../config/dmenu-center.diff ];
});
in
{

View file

@ -8,7 +8,7 @@ let
dwm = pkgs.dwm.overrideAttrs (old: {
src = builtins.fetchGit {
url = "https://github.com/FredzyW/dwm-conf.git";
rev = "f70f48bdb01df6bae9c63131a6c84e812141788c";
rev = "e9d94d70c3865a1289c20382df21acc3a138ed88";
};
nativeBuildInputs = with pkgs; [
xorg.libX11.dev
@ -23,7 +23,7 @@ let
url = "https://github.com/FredzyW/dwmblocks.git";
rev = "d60ccc8c1180aa617fb1033bf1e44a2866647764";
};
})
});
in
{
home.packages = [

View file

@ -28,10 +28,6 @@
name = "done";
src = pkgs.fishPlugins.done.src;
}
{
name = "sponge";
src = pkgs.fishPlugins.sponge.src;
}
{
name = "grc";
src = pkgs.fishPlugins.grc.src;
@ -39,6 +35,7 @@
];
shellAbbrs = {
homec = "nvim ~/nix/config/home.nix";
cat = "bat";
n = "eza -l --no-time --no-permissions --no-user";
ls = "eza -l --no-time --no-permissions --no-user";
dev = "nix develop --command fish";

View file

@ -105,7 +105,7 @@
"{{if gt .Code 0}}p:red{{end}}"
"{{if eq .Code 0}}p:green{{end}}"
];
"template"= "";
"template"= ">";
}
];
}
@ -118,7 +118,7 @@
"{{if gt .Code 0}}p:red{{end}}"
"{{if eq .Code 0}}p:green{{end}}"
];
"template"= " ";
"template"= ">";
};
"secondary_prompt"= {
"background"= "transparent";
@ -126,7 +126,7 @@
"{{if gt .Code 0}}p:red{{end}}"
"{{if eq .Code 0}}p:green{{end}}"
];
"template"= " ";
"template"= ">";
};
};
};

View file

@ -4,7 +4,7 @@
(st.overrideAttrs (oldAttrs: rec {
src = builtins.fetchGit {
url = "https://github.com/fwastring/st";
rev = "384ca157dbedaccf5939d75a6a2ea8137df5862d";
rev = "2c6e38d2e735116e902962d03e8d7c88db8094bd";
};
buildInputs = oldAttrs.buildInputs ++ [ xorg.libX11.dev xorg.libXft imlib2 xorg.libXinerama pkg-config];
}))

View file

@ -7,6 +7,8 @@
tmuxPlugins.sensible
tmuxPlugins.pain-control
tmuxPlugins.sessionist
tmuxPlugins.yank
# tmuxPlugins.copycat
{
plugin = tmuxPlugins.continuum;
extraConfig = ''
@ -23,14 +25,17 @@
];
prefix = "C-a";
terminal = "alacritty";
terminal = "st";
keyMode = "vi";
escapeTime = 0;
extraConfig = ''
set -g set-clipboard on
set -g @yank_selection_mouse 'clipboard'
set -g base-index 1
set -g status-keys 'vi'
setw -g pane-base-index 1
set -g default-terminal "xterm-kitty"
set -g terminal-overrides "xterm-kitty"
set -g default-terminal "st-256color"
set -g terminal-overrides "st-256color"
# true colours support
# set -ga terminal-overrides ",*256col*:Tc"
set -ga terminal-overrides ",xterm-256color:Tc"

View file

@ -2,10 +2,6 @@
{
programs.vscode = {
enable = true;
extensions = with pkgs.vscode-extensions; [
vscodevim.vim
jebbs.plantuml
];
};
}