From 567c22812fe1fbe525f1732661d253b3902710a9 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 22 Aug 2024 14:48:24 +0200 Subject: ... --- accounts/gkleen@sif/default.nix | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) (limited to 'accounts/gkleen@sif/default.nix') diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index 09864bb2..61769adb 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix @@ -99,6 +99,7 @@ in { home-manager.users.${userName} = { imports = [ + ./libvirt flakeInputs.nix-index-database.hmModules.nix-index flakeInputs.impermanence.nixosModules.home-manager.impermanence ]; @@ -171,7 +172,7 @@ in { edit-server mediawiki editorconfig typescript-mode markdown-mode nftables-mode rustic lsp-mode lsp-ui direnv company projectile tomorrow-night-paradise-theme - treesit-grammars.with-all-grammars + treesit-grammars.with-all-grammars magit-delta ]; overrides = self: super: { tomorrow-night-paradise-theme = super.trivialBuild { @@ -275,7 +276,7 @@ in { output = "eDP-1"; modules-left = [ "hyprland/workspaces" ]; modules-center = [ "hyprland/window" ]; - modules-right = [ "custom/weather" "custom/keymap" "clock" "privacy" "tray" "wireplumber" "backlight" "battery" "idle_inhibitor" ]; + modules-right = [ "custom/weather" "custom/keymap" "privacy" "tray" "wireplumber" "backlight" "battery" "idle_inhibitor" "clock" ]; "custom/weather" = { format = "{}"; @@ -301,7 +302,7 @@ in { if keymap == "English (programmer Dvorak)": short = "dvp" elif keymap == "English (US)": - short = "us" + short = "us" print(json.dumps({'text': short, 'tooltip': keymap}, separators=(',', ':')), flush=True) # noqa: E501 @@ -471,6 +472,13 @@ in { #custom-weather, #custom-keymap { color: @grey; + margin: 0 5px; + } + #custom-weather { + margin-right: 3px; + } + #custom-keymap { + margin-left: 3px; } #tray { @@ -480,6 +488,13 @@ in { color: @grey; margin: 0 5px 0 2px; } + #idle_inhibitor { + margin-right: 2px; + margin-left: 3px; + } + #battery { + margin-right: 3px; + } #battery.discharging { color: @white; } @@ -505,7 +520,7 @@ in { margin: -1px 2px 0px 5px; } #clock { - margin-right: 5px; + /* margin-right: 5px; */ } ''; }; @@ -691,7 +706,6 @@ in { ]; file = { - ".emacs.d/init.el".source = ./emacs.el; ".backup-munin".source = ./backup-patterns; ".mozilla/firefox/default/chrome/userChrome.css".source = ./firefox-chrome.css; ".mozilla/firefox/default/chrome/userContent.css".source = ./firefox-content.css; @@ -757,6 +771,7 @@ in { }; }; }; + "emacs/init.el".source = ./emacs.el; }; xdg.dataFile = { -- cgit v1.2.3