From 48b479c4a26eb0f26df8e4171987705533f35c43 Mon Sep 17 00:00:00 2001 From: sefidel Date: Wed, 29 Dec 2021 00:16:13 +0900 Subject: milestone: working release --- home/modules/profiles/base/config/sway.nix | 4 ++-- home/modules/profiles/base/config/waybar-settings.nix | 7 ++++++- home/modules/profiles/base/config/waybar-style.nix | 3 ++- 3 files changed, 10 insertions(+), 4 deletions(-) (limited to 'home/modules/profiles/base/config') 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; -- cgit 1.4.1