miku: Theme waybar

This commit is contained in:
2021-10-26 17:30:05 +02:00
parent ba9d0768ee
commit b851d85fda
5 changed files with 185 additions and 29 deletions

View File

@@ -24,9 +24,10 @@ let
${binary} ${args}
'';
makoWrapper = mkWrapperScript "${pkgs.mako}/bin/mako" "--default-timeout=3000";
swayncWrapper = mkWrapperScript "${pkgs.swaync}/bin/swaync" "";
waybarWrapper = mkWrapperScript "${pkgs.waybar}/bin/waybar" "";
kanshiWrapper = mkWrapperScript "${pkgs.kanshi}/bin/kanshi" "";
nwggridWrapper = mkWrapperScript "${pkgs.nwg-launchers}/bin/nwggrid-server" "";
# TODO: Fuse this with kanshi
swayIdleWrapper = mkWrapperScript "${pkgs.swayidle}/bin/swayidle" "-w before-sleep '${pkgs.swaylock}/bin/swaylock -f --image $(find ~/Data/Wallpaper/horizontal/ -maxdepth 1 -type f | shuf -n 1)'";
in {
@@ -36,7 +37,8 @@ in {
config = {
bars = [ ];
startup = [
{ command = "${makoWrapper}"; always = true; }
{ command = "${nwggridWrapper}"; always = true; }
{ command = "${swayncWrapper}"; always = true; }
{ command = "${waybarWrapper}"; always = true; }
{ command = "${kanshiWrapper}"; always = true; }
{ command = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"; always = true; }