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 ++- home/modules/profiles/development/default.nix | 2 +- home/modules/profiles/misc/default.nix | 4 ++-- 5 files changed, 13 insertions(+), 7 deletions(-) (limited to 'home/modules') 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; diff --git a/home/modules/profiles/development/default.nix b/home/modules/profiles/development/default.nix index d85e796..e12ee91 100644 --- a/home/modules/profiles/development/default.nix +++ b/home/modules/profiles/development/default.nix @@ -63,7 +63,7 @@ in ]; }; - home.packages = [ pkgs.ripgrep pkgs.rust-analyzer pkgs.gnupg ]; + home.packages = [ pkgs.ripgrep pkgs.rust-analyzer pkgs.gnupg pkgs.tig ]; services.gpg-agent = { enable = true; diff --git a/home/modules/profiles/misc/default.nix b/home/modules/profiles/misc/default.nix index 19542fa..ba010fd 100644 --- a/home/modules/profiles/misc/default.nix +++ b/home/modules/profiles/misc/default.nix @@ -8,7 +8,7 @@ in }; config = lib.mkIf cfg.enable { - home.packages = with pkgs; [ spotify ]; - nixpkgs.allowedUnfree = [ "spotify" "spotify-unwrapped" ]; + home.packages = with pkgs; [ spotify blender zoom-us inkscape obsidian ]; + nixpkgs.allowedUnfree = [ "spotify" "spotify-unwrapped" "zoom" "obsidian" ]; }; } -- cgit 1.4.1