user/eww: init
This commit is contained in:
parent
ed93b93c43
commit
5a4b56580b
12 changed files with 202 additions and 3 deletions
|
|
@ -42,6 +42,7 @@ in {
|
|||
./user/bspwm.nix
|
||||
./user/direnv.nix
|
||||
./user/dunst.nix
|
||||
./user/eww.nix
|
||||
./user/git.nix
|
||||
./user/gpg.nix
|
||||
./user/kitty.nix
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
# Depends on eww
|
||||
{ config, pkgs, ... }: {
|
||||
xsession.windowManager.bspwm = {
|
||||
enable = true;
|
||||
|
|
@ -6,11 +7,13 @@
|
|||
window_gap = 10;
|
||||
border_width = 0;
|
||||
split_ratio = 0.5;
|
||||
top_padding = 25;
|
||||
top_padding = 35;
|
||||
};
|
||||
extraConfig = ''
|
||||
${pkgs.feh}/bin/feh --no-fehbg --bg-fill ~/Pictures/Wallpapers/current
|
||||
systemctl --user restart polybar # home-manager loads this too early
|
||||
|
||||
${pkgs.procps}/bin/pkill -SIGINT eww
|
||||
${pkgs.eww}/bin/eww open mainbar
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
8
modules/user/eww.nix
Normal file
8
modules/user/eww.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# Depends on bspwm
|
||||
{ pkgs, ... }: {
|
||||
home.packages = with pkgs; [ xtitle ];
|
||||
programs.eww = {
|
||||
enable = true;
|
||||
configDir = ../../res/eww;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue