From 0e5bb4c91acef18f2a3089346585d579c2d8c1df Mon Sep 17 00:00:00 2001 From: Baitinq Date: Fri, 24 Jun 2022 18:54:08 +0200 Subject: Add host-specific dwmbar config --- hosts/vm/home.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'hosts/vm') diff --git a/hosts/vm/home.nix b/hosts/vm/home.nix index 7c9ef1e..8686c6a 100644 --- a/hosts/vm/home.nix +++ b/hosts/vm/home.nix @@ -4,4 +4,27 @@ #jetbrains.idea-community #qtcreator ]; + + xdg.configFile."dwmbar/config".text = '' + #!/bin/sh + + # What modules, in what order + MODULES="weather wifi internet volume ram_perc cpuload cputemp date time" + + # Modules that require an active internet connection + ONLINE_MODULES="weather internet" + + # Delay between showing the status bar + DELAY="0.05" + + # Where the custom modules are stored + CUSTOM_DIR="/home/$USER/.config/dwmbar/modules/custom/" + + # Separator between modules + SEPARATOR=" | " + + # Padding at the end and beggining of the status bar + RIGHT_PADDING=" " + LEFT_PADDING=" " + ''; } -- cgit 1.4.1