tree-wide change. seperated config from 'real' modles.
This commit is contained in:
parent
3eee4e105d
commit
a0c1ad0beb
59 changed files with 377 additions and 424 deletions
16
configs/home-manager/feh.nix
Normal file
16
configs/home-manager/feh.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
programs.feh.enable = true;
|
||||
|
||||
programs.nushell.extraConfig = ''
|
||||
# display a slideshow of all pics in a directory, recursively
|
||||
def slideshow [delay: int = 10] {
|
||||
feh --full-screen --randomize --auto-zoom --recursive --slideshow-delay $delay
|
||||
}
|
||||
'';
|
||||
programs.zsh.shellAliases. slideshow = "feh --full-screen --randomize --auto-zoom --recursive --slideshow-delay";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue