]> Freerunner's - dotfiles.git/commitdiff
waybar: prettier.io test run
authorAndre Ramnitz <tux.rising@gmail.com>
Thu, 5 Sep 2024 21:40:44 +0000 (23:40 +0200)
committerAndre Ramnitz <tux.rising@gmail.com>
Sun, 8 Sep 2024 11:05:48 +0000 (13:05 +0200)
config/dot-config/waybar/config.jsonc
config/dot-config/waybar/style.css

index 897d1d4ebd770efb500c92d9e48da24ee3adc02a..235dfb4fdd0c3284c10be7d2c18da98088125a3c 100644 (file)
@@ -1,4 +1,4 @@
-//# kak: filetype=json:ts=2:iw=2
+// vim ft=json:ts=2:sw=2
 {
   "layer": "top", // Waybar at top layer
   "position": "top", // Waybar position (top|bottom|left|right)
@@ -8,13 +8,19 @@
   "modules-left": ["custom/launcher", "hyprland/workspaces", "mpd"],
   "modules-center": ["hyprland/window"],
   "modules-right": [
-    "tray", "custom/pipespacer",
+    "tray",
+    "custom/pipespacer",
     "cpu",
-    "memory", "custom/pipespacer",
-    "group/temps", "custom/pipespacer",
-    "group/gammarelay", "custom/pipespacer",
-    "pulseaudio", "custom/pipespacer",
-    "idle_inhibitor", "custom/pipespacer",
+    "memory",
+    "custom/pipespacer",
+    "group/temps",
+    "custom/pipespacer",
+    "group/gammarelay",
+    "custom/pipespacer",
+    "pulseaudio",
+    "custom/pipespacer",
+    "idle_inhibitor",
+    "custom/pipespacer",
     "clock",
     "custom/notification",
   ],
     },
   },
 
-/* "none": "", */
+  /* "none": "", */
 
   "custom/notification": {
     "tooltip": false,
index ef6b275ec07d63f7aeb62053001ccfb53da07771..0bfa74bb4e49b727d964d14c45b1d9ba9e6f6913 100644 (file)
   background-color: transparent;
 }
 
-#waybar>box {
-    padding-left: 4px;
-    padding-right: 4px;
-    background: none;
+#waybar > box {
+  padding-left: 4px;
+  padding-right: 4px;
+  background: none;
 }
 
 tooltip {
@@ -63,7 +63,7 @@ tooltip label {
   margin-left: 1px;
   margin-right: 1px;
   margin-bottom: 2px;
-  background-color: alpha(@brightblack,0.3);
+  background-color: alpha(@brightblack, 0.3);
   font-size: 13pt;
   background: none;
 }
@@ -150,7 +150,7 @@ window#waybar {
   border-left: 1px solid @brightblack;
   border-right: 1px solid @brightblack;
   border-bottom: 1px solid @brightblack;
-  background-color: alpha(@background, 0.80);
+  background-color: alpha(@background, 0.8);
   transition-property: background-color;
   transition-duration: 0.5s;
   /*background-image: url("/home/andy/dotfiles/config/waybar/textures/D_0.65.png");
@@ -159,13 +159,12 @@ window#waybar {
   */
 }
 
-
 /* ------------------------------------ modules right ------------------------------ */
 #tray {
   padding-left: 8px;
   padding-right: 8px;
   color: @brightblack;
-  background-color: alpha(@brightblack,0.3);
+  background-color: alpha(@brightblack, 0.3);
   background: none;
   border: none;
 }
@@ -184,7 +183,7 @@ window#waybar {
 #mpd#volume {
   padding-left: 0px;
   color: @white;
-  background: alpha(@brightblack,0.3);
+  background: alpha(@brightblack, 0.3);
   padding-right: 4px;
   background: none;
   border: none;
@@ -279,9 +278,9 @@ window#waybar {
 }
 
 #custom-pipespacer {
-    background: none;
-    border: none;
-    color: @foreground;
+  background: none;
+  border: none;
+  color: @foreground;
 }
 
 #custom-notification {
@@ -297,4 +296,3 @@ window#waybar {
   border-radius: 8px 2px 8px 2px;
   font-size: 14pt;
 }
-