home:natto: switched to xmonad+xmobar

This commit is contained in:
2021-06-16 01:36:39 +05:30
parent f27ecaf54f
commit ba8dbff511
12 changed files with 253 additions and 19 deletions

View File

@@ -10,8 +10,8 @@ in
''
shadow = true;
shadow-radius = 20;
shadow-offset-x = -20;
shadow-offset-y = -20;
shadow-offset-x = 30;
shadow-offset-y = 30;
blurExclude = [ "class_g = 'dwm'" ]
inactive-opacity = 0.92;
@@ -36,7 +36,7 @@ in
popup_menu={opacity=0.8;};
dropdown_menu={opacity=0.8;};
};
shadow-exclude = ["x = 0 && y = 0 && override_redirect = true"]
shadow-exclude = ["x = 0 && y = 0 && override_redirect = true", "class_g = 'xmobar' && argb", "class_g = 'stalonetray' && argb"]
'';
};
@@ -75,5 +75,18 @@ in
'';
network.startWhenNeeded = true;
};
stalonetray = {
enable = true;
config = {
geometry = "5x1+1805";
window_type = "dock";
sticky = true;
icon_size = 23;
background = "#1d2021";
};
extraConfig = ''
kludges force_icons_size
'';
};
};
}

View File

@@ -1,13 +1,23 @@
{pkgs, config, ...}:
{
xsession = {
windowManager.bspwm = {
enable = false;
extraConfig = builtins.readFile ./config/bspwm/bspwmrc;
};
pointerCursor = {
package = pkgs.numix-cursor-theme;
name = "Numix";
};
windowManager = {
bspwm = {
enable = false;
extraConfig = builtins.readFile ./config/bspwm/bspwmrc;
};
xmonad = {
enable = true;
enableContribAndExtras = true;
config = ../config/xmonad/xmonad.hs;
libFiles = {
"xmobar.hs" = ../config/xmonad/xmobar.hs;
};
};
};
};
}