Compare commits

...

2 commits

9 changed files with 77 additions and 17 deletions

View file

@ -37,24 +37,22 @@
"Mod+Shift+quotedbl".action = move-column-to-workspace 3; "Mod+Shift+quotedbl".action = move-column-to-workspace 3;
"Mod+Shift+apostrophe".action = move-column-to-workspace 4; "Mod+Shift+apostrophe".action = move-column-to-workspace 4;
}; };
spawn-at-startup = [{ spawn-at-startup = [
command = [ {
"swaybg" command = [
"-i" "swaybg"
"/home/ahurac/.local/share/backgrounds/default.png" "-i"
"-m" "/home/ahurac/.local/share/backgrounds/default.png"
"fill" "-m"
]; "fill"
}]; ];
}; }
{ command = [ "eww" "open" "dock_ahrc-laptop" ]; }
programs.eww = { ];
enable = true;
configDir = ./eww;
}; };
home.file.".local/share/backgrounds/default.png" = { home.file.".local/share/backgrounds/default.png" = {
enable = true; enable = true;
source = ./background.png; source = ./wallpaper.png;
}; };
} }

View file

Before

Width:  |  Height:  |  Size: 164 KiB

After

Width:  |  Height:  |  Size: 164 KiB

View file

@ -29,5 +29,11 @@
"Mod+Shift+3".action = move-column-to-workspace 3; "Mod+Shift+3".action = move-column-to-workspace 3;
"Mod+Shift+4".action = move-column-to-workspace 4; "Mod+Shift+4".action = move-column-to-workspace 4;
}; };
spawn-at-startup = [{ command = [ "eww" "open" "dock_ahrc-pc" ]; }];
};
home.file.".local/share/backgrounds/default.png" = {
enable = true;
source = ./wallpaper.png;
}; };
} }

BIN
ahrc-pc/wallpaper.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 KiB

View file

@ -135,7 +135,7 @@
) )
) )
(defwindow dock (defwindow dock_ahrc-laptop
:monitor 0 :monitor 0
:geometry (geometry :geometry (geometry
:x "0" :x "0"
@ -177,3 +177,46 @@
) )
) )
) )
(defwindow dock_ahrc-pc
:monitor 0
:geometry (geometry
:x "0"
:y "0"
:width "100%"
:height "30px"
:anchor "bottom center"
)
:stacking "fg"
:exclusive true
(centerbox
:class "main"
(box
:class "left"
:halign "start"
:space-evenly false
(workspaces)
(window-title)
)
(box
:class "middle"
:space-evenly false
(tray)
(time)
(notifications)
)
(box
:class "right"
:halign "end"
:space-evenly false
""
)
)
)

View file

@ -428,7 +428,15 @@
}; };
spawn-at-startup = [ spawn-at-startup = [
{ command = [ "eww" "daemon" ]; } { command = [ "eww" "daemon" ]; }
{ command = [ "eww" "open" "dock" ]; } {
command = [
"swaybg"
"-i"
"/home/ahurac/.local/share/backgrounds/default.png"
"-m"
"fill"
];
}
]; ];
}; };
}; };
@ -436,4 +444,9 @@
programs.mpv.enable = true; programs.mpv.enable = true;
programs.jq.enable = true; programs.jq.enable = true;
programs.fastfetch.enable = true; programs.fastfetch.enable = true;
programs.eww = {
enable = true;
configDir = ./eww;
};
} }