add scripts
This commit is contained in:
parent
e8be34d9c2
commit
e871ce10c7
3 changed files with 58 additions and 9 deletions
55
home.nix
55
home.nix
|
|
@ -9,13 +9,37 @@
|
|||
home.homeDirectory = "/home/tristan";
|
||||
|
||||
xdg.userDirs.enable = true;
|
||||
xdg.mimeApps = {
|
||||
enable = true;
|
||||
associations.added = {
|
||||
"inode/directory" = "lf.desktop;vscodium.desktop;pcmanfm.desktop";
|
||||
};
|
||||
defaultApplications = {
|
||||
"inode/directory" = "lf.desktop";
|
||||
"text/html" = "brave-browser.desktop";
|
||||
"x-scheme-handler/http" = "brave-browser.desktop";
|
||||
"x-scheme-handler/https" = "brave-browser.desktop";
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
exa
|
||||
# script requirements
|
||||
libnotify
|
||||
du-dust
|
||||
playerctl
|
||||
grim
|
||||
wl-clipboard
|
||||
slurp
|
||||
chafa
|
||||
wofi
|
||||
|
||||
# utils
|
||||
exa
|
||||
du-dust
|
||||
htop
|
||||
imv
|
||||
libsixel
|
||||
|
||||
# apps
|
||||
gimp
|
||||
logseq
|
||||
quickemu
|
||||
|
|
@ -96,10 +120,26 @@
|
|||
];
|
||||
};
|
||||
|
||||
services.mako.enable = true;
|
||||
services.fnott = {
|
||||
enable = true;
|
||||
# https://codeberg.org/dnkl/fnott/src/branch/master/fnott.ini
|
||||
settings = {
|
||||
main = {
|
||||
selection-helper = "wofi --show dmenu";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.ncmpcpp.enable = true;
|
||||
programs.ncmpcpp.settings.mpd_host = "music.local";
|
||||
programs.ncmpcpp = {
|
||||
enable = true;
|
||||
settings.mpd_host = "music.local";
|
||||
bindings = [
|
||||
{ key = "j"; command = "scroll_down"; }
|
||||
{ key = "k"; command = "scroll_up"; }
|
||||
{ key = "J"; command = [ "select_item" "scroll_down" ]; }
|
||||
{ key = "K"; command = [ "select_item" "scroll_up" ]; }
|
||||
];
|
||||
};
|
||||
services.mpd-mpris.enable = true;
|
||||
services.mpd-mpris.mpd = {
|
||||
host = "music.local";
|
||||
|
|
@ -225,15 +265,16 @@
|
|||
"$HOME/.local/scripts"
|
||||
];
|
||||
home.file.".local/scripts" = {
|
||||
enable = true;
|
||||
source = ./scripts;
|
||||
executable = true;
|
||||
recursive = true;
|
||||
};
|
||||
home.file.".config/hypr" = {
|
||||
enable = true;
|
||||
source = ./hyprland;
|
||||
recursive = true;
|
||||
};
|
||||
home.file.".config/wofi/config".text = ''
|
||||
term=foot
|
||||
'';
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue