about summary refs log tree commit diff
path: root/home/modules
diff options
context:
space:
mode:
Diffstat (limited to 'home/modules')
-rw-r--r--home/modules/profiles/base/config/waybar-settings.nix22
-rw-r--r--home/modules/profiles/base/config/waybar-style.nix7
2 files changed, 5 insertions, 24 deletions
diff --git a/home/modules/profiles/base/config/waybar-settings.nix b/home/modules/profiles/base/config/waybar-settings.nix
index d563c4c..2917e00 100644
--- a/home/modules/profiles/base/config/waybar-settings.nix
+++ b/home/modules/profiles/base/config/waybar-settings.nix
@@ -2,9 +2,9 @@
   layer = "bottom";
   position = "top";
   height = 21;
-  modules-left = [ "sway/workspaces" ];
-  modules-center = [ "clock" ];
-  modules-right = [ "cpu" "memory" "custom/weather" "pulseaudio" "network" ];
+  modules-left = [ "pulseaudio" "cpu" "memory" ];
+  modules-center = [ "sway/workspaces" ];
+  modules-right = [ "clock" ];
 
   modules = {
     "sway/workspaces" = {
@@ -34,22 +34,6 @@
       format = " {usage:3}%";
     };
 
-    "custom/weather" = {
-      format = "  {}";
-      exec = "curl 'wttr.in/?format='%t+-+%x+%C++%w'&M'";
-      interval = 3600;
-    };
-
-    "network" = {
-      interval = 5;
-      interface = "enp4s0";
-      format = " {ifname}";
-      format-wifi = " {essid}  {bandwidthUpBits}  {bandwidthDownBits}";
-      format-ethernet = "   {bandwidthUpBits:>}  {bandwidthDownBits:>}";
-      format-disconnected = " Disconnected";
-      max-length = 50;
-    };
-
     "pulseaudio" = {
       format = "{icon} {volume}%";
       format-muted = "ﱝ  Muted";
diff --git a/home/modules/profiles/base/config/waybar-style.nix b/home/modules/profiles/base/config/waybar-style.nix
index f3c51cc..0a7fd84 100644
--- a/home/modules/profiles/base/config/waybar-style.nix
+++ b/home/modules/profiles/base/config/waybar-style.nix
@@ -14,18 +14,17 @@ with neotheme.colors;
   window#waybar {
     background: #${background};
     color: #${foreground};
+    padding: 10px;
   }
 
   #workspaces button {
     padding: 0 8px;
     background: #${color4};
     color: #${background};
-    border-bottom: 3px solid rgba (255, 255, 255, .2);
   }
 
   #workspaces button.focused {
     background-color: #${color4};
-    border-bottom: 3px solid #${background};
   }
 
   #workspaces button:hover {
@@ -43,13 +42,11 @@ with neotheme.colors;
   #pulseaudio,
   #tray,
   #mode,
-  #mpd,
-  #custom-weather {
+  #mpd {
     padding: 0 10px;
     margin: 0 4px;
     color: #${background};
     background-color: #${color4};
-    border-bottom: 3px solid rgba (255, 255, 255, .2);
   }
 
   @keyframes blink {