From adb672b443bc8ca9d57d909ec5f0d2b56565ee0a Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Mon, 11 Sep 2023 08:11:40 +0400 Subject: [PATCH] dwmbar --- config/dwm/config.def.h | 1 + config/dwmbar/bar.sh | 0 config/dwmbar/themes/sako.sh | 0 modules/desktop/dwm/default.nix | 5 +++++ 4 files changed, 6 insertions(+) mode change 100644 => 100755 config/dwmbar/bar.sh mode change 100644 => 100755 config/dwmbar/themes/sako.sh diff --git a/config/dwm/config.def.h b/config/dwm/config.def.h index 7cb40acd..a7990cf0 100644 --- a/config/dwm/config.def.h +++ b/config/dwm/config.def.h @@ -27,6 +27,7 @@ static const char *const autostart[] = { "feh", "--bg-scale", "/home/sako/background.png", NULL, "xsetroot", "-cursor_name", "left_ptr", NULL, "picom", NULL, + "/home/sako/.dwmscripts/bar.sh", NULL, "keepassxc", NULL, NULL /* terminate */ }; diff --git a/config/dwmbar/bar.sh b/config/dwmbar/bar.sh old mode 100644 new mode 100755 diff --git a/config/dwmbar/themes/sako.sh b/config/dwmbar/themes/sako.sh old mode 100644 new mode 100755 diff --git a/modules/desktop/dwm/default.nix b/modules/desktop/dwm/default.nix index 5eb91da0..80665ede 100644 --- a/modules/desktop/dwm/default.nix +++ b/modules/desktop/dwm/default.nix @@ -83,6 +83,11 @@ in { enable = true; source = ../../../config/background.png; }; + ".dwmscripts" = { + enable = true; + recursive = true; + source = ../../../config/dwmbar; + }; }; home.pointerCursor = { name = "Catppuccin-Mocha-Dark";