diff --git a/home/dwm/.xinitrc b/home/dwm/.xinitrc index 5b10dde..bbaec32 100644 --- a/home/dwm/.xinitrc +++ b/home/dwm/.xinitrc @@ -126,7 +126,7 @@ flameshot & #hash dockd && dockd --daemon & # status bar -bash bar.sh & disown +bash $HOME/.config/bar.sh & disown dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY diff --git a/home/dwm/bar.sh b/home/dwm/bar.sh old mode 100644 new mode 100755 index 79147c1..17f7055 --- a/home/dwm/bar.sh +++ b/home/dwm/bar.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash function lighten_color() { offset=20 diff --git a/home/dwm/default.nix b/home/dwm/default.nix index 96ca659..38c57f3 100644 --- a/home/dwm/default.nix +++ b/home/dwm/default.nix @@ -76,6 +76,9 @@ ".config/picom/black_to_transparent.frag" = { source = ./black_to_transparent.frag; }; + ".config/bar.sh" = { + source = ./bar.sh; + }; # ".Xresources" = { # text = '' # Xcursor.theme: "Bibata-Modern-Classic" diff --git a/hosts/default.nix b/hosts/default.nix index b5d4432..cb11a98 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -13,7 +13,7 @@ ./modules/development.nix ./modules/fstrim.nix ./modules/gaming.nix - ./modules/greetd.nix + # ./modules/greetd.nix ./modules/gsettings.nix # ./modules/kde.nix # ./modules/lanzaboot.nix diff --git a/hosts/modules/xserver.nix b/hosts/modules/xserver.nix index 89fcf84..66b0e31 100644 --- a/hosts/modules/xserver.nix +++ b/hosts/modules/xserver.nix @@ -79,7 +79,7 @@ owner = "eRgo35"; repo = "dwm"; rev = "main"; - hash = "sha256-eke33OtxUE4sObWCFEvjLZmG1Be1SWZs0Xygr++V/wc="; + hash = "sha256-jTjyai7qLs9v6PnWhLUgM+OC8Kq3VXrMhoIZhyY0JbA="; }; }; };