diff options
author | sefidel <contact@sefidel.net> | 2021-12-29 00:16:13 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2021-12-29 00:16:13 +0900 |
commit | 48b479c4a26eb0f26df8e4171987705533f35c43 (patch) | |
tree | 37c7a5a679999af49d86b77732d275e34ff76948 /home/modules/profiles/base | |
parent | 56992b8c945d497a623fe693847c91235be1ae02 (diff) | |
download | nixrc-48b479c4a26eb0f26df8e4171987705533f35c43.tar.gz nixrc-48b479c4a26eb0f26df8e4171987705533f35c43.zip |
milestone: working release
Diffstat (limited to 'home/modules/profiles/base')
-rw-r--r-- | home/modules/profiles/base/config/sway.nix | 4 | ||||
-rw-r--r-- | home/modules/profiles/base/config/waybar-settings.nix | 7 | ||||
-rw-r--r-- | home/modules/profiles/base/config/waybar-style.nix | 3 |
3 files changed, 10 insertions, 4 deletions
diff --git a/home/modules/profiles/base/config/sway.nix b/home/modules/profiles/base/config/sway.nix index d04673e..b43f34d 100644 --- a/home/modules/profiles/base/config/sway.nix +++ b/home/modules/profiles/base/config/sway.nix @@ -18,7 +18,7 @@ bindsym $mod+Return exec $term # set menu - set $menu "${pkgs.bemenu}/bin/bemenu-run -H 18 -l 5 --fn 'Iosevka Pure 10.5' --tb '#c495a2' --tf '#18191f' --hb '#c495a2' --hf '#18191f'" + set $menu "${pkgs.bemenu}/bin/bemenu-run -H 18 -l 5 --fn 'Iosevka Pure 10.5' -p 'run::' --tb '#c495a2' --tf '#18191f' --hb '#c495a2' --hf '#18191f'" bindsym $mod+d exec $menu # change focus @@ -182,7 +182,7 @@ client.focused_inactive $muted $muted $color0 $color5 client.unfocused $muted $muted $color7 $color5 client.urgent $color10 $color10 $color0 $color5 - output "*" bg ${wallpapers}/nixos/nix-glow-gruvbox.png fill + output "*" bg ${wallpapers}/nixos/nix-glow-fg-d4ae80.png fill output "*" scale 1 output "*" scale_filter nearest diff --git a/home/modules/profiles/base/config/waybar-settings.nix b/home/modules/profiles/base/config/waybar-settings.nix index e208895..8cb3ef9 100644 --- a/home/modules/profiles/base/config/waybar-settings.nix +++ b/home/modules/profiles/base/config/waybar-settings.nix @@ -4,7 +4,7 @@ height = 17; modules-left = [ "sway/workspaces" "sway/language" "cpu" "memory" ]; modules-center = [ "clock" ]; - modules-right = [ "custom/weather" "pulseaudio" "network" ]; + modules-right = [ "custom/weather" "pulseaudio" "network" "custom/nixos" ]; modules = { "sway/workspaces" = { @@ -44,6 +44,11 @@ interval = 3600; }; + "custom/nixos" = { + format = " {}"; + exec = "/run/current-system/sw/bin/nixos-version | /run/current-system/sw/bin/grep -o '[0-9]\\+\\.[0-9]\\+' | /run/current-system/sw/bin/head -1"; + }; + "network" = { interval = 5; interface = "enp4s0"; diff --git a/home/modules/profiles/base/config/waybar-style.nix b/home/modules/profiles/base/config/waybar-style.nix index 45edf60..8e55b93 100644 --- a/home/modules/profiles/base/config/waybar-style.nix +++ b/home/modules/profiles/base/config/waybar-style.nix @@ -36,7 +36,8 @@ #tray, #mode, #mpd, - #custom-weather { + #custom-weather, + #custom-nixos { padding: 0 6px; margin: 0; background-color: #c495a2; |