Polybar tweak

This commit is contained in:
Paul-Henri Froidmont 2023-03-21 23:13:37 +01:00
parent 76cf66f3a3
commit 01d0fcb4eb
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
3 changed files with 3 additions and 8 deletions

View file

@ -1,15 +1,12 @@
{ pkgs, config, lib, ... }: { pkgs, config, lib, ... }: {
{ imports = [ ./hardware-configuration.nix ];
imports = [
./hardware-configuration.nix
];
home-manager.users.froidmpa = { pkgs, config, ... }: { home-manager.users.froidmpa = { pkgs, config, ... }: {
services.network-manager-applet.enable = true; services.network-manager-applet.enable = true;
services.blueman-applet.enable = true; services.blueman-applet.enable = true;
services.grobi = { services.grobi = {
enable = true; enable = true;
executeAfter = [ "${pkgs.systemd}/bin/systemctl --user restart stalonetray" "${pkgs.feh}/bin/feh --bg-fill ~/.wallpaper.png" ]; executeAfter = [ "${pkgs.feh}/bin/feh --bg-fill ~/.wallpaper.png" ];
rules = [ rules = [
{ {
name = "External HDMI"; name = "External HDMI";

View file

@ -127,5 +127,4 @@ myLayout = smartSpacing 5
myStartupHook = do myStartupHook = do
setWMName "LG3D" setWMName "LG3D"
spawn "feh --no-fehbg --bg-fill ~/.wallpaper.png"
return () >> checkKeymap myConfig myAdditionalKeys return () >> checkKeymap myConfig myAdditionalKeys

View file

@ -103,7 +103,6 @@ in {
modules-right = "mpd pad battery pad date"; modules-right = "mpd pad battery pad date";
tray-position = "right"; tray-position = "right";
tray-offset-y = 2;
}; };
"module/ewmh" = { "module/ewmh" = {
type = "internal/xworkspaces"; type = "internal/xworkspaces";