about summary refs log tree commit diff
path: root/home/modules/profiles
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2021-12-29 00:16:13 +0900
committersefidel <contact@sefidel.net>2021-12-29 00:16:13 +0900
commit48b479c4a26eb0f26df8e4171987705533f35c43 (patch)
tree37c7a5a679999af49d86b77732d275e34ff76948 /home/modules/profiles
parent56992b8c945d497a623fe693847c91235be1ae02 (diff)
downloadnixrc-48b479c4a26eb0f26df8e4171987705533f35c43.tar.gz
nixrc-48b479c4a26eb0f26df8e4171987705533f35c43.zip
milestone: working release
Diffstat (limited to 'home/modules/profiles')
-rw-r--r--home/modules/profiles/base/config/sway.nix4
-rw-r--r--home/modules/profiles/base/config/waybar-settings.nix7
-rw-r--r--home/modules/profiles/base/config/waybar-style.nix3
-rw-r--r--home/modules/profiles/development/default.nix2
-rw-r--r--home/modules/profiles/misc/default.nix4
5 files changed, 13 insertions, 7 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;
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" ];
     };
   }