Browse Source

Sat Jul 13 12:40:41 PM BST 2024

Gabriel Capella 4 months ago
parent
commit
deed912286
3 changed files with 23 additions and 23 deletions
  1. 2 2
      dots/.config/sway/config
  2. 19 20
      dots/.config/waybar/config
  3. 2 1
      dots/.config/waybar/style.css

+ 2 - 2
dots/.config/sway/config

@@ -16,7 +16,7 @@ font pango:monospace 12
 
 # This font is widely installed, provides lots of unicode glyphs, right-to-left
 # text rendering and scalability on retina/hidpi displays (thanks to pango).
-font pango:Cantarell 11px
+font pango:B612 12
 
 # The combination of xss-lock, nm-applet and pactl is a popular choice, so
 # they are included here as an example. Modify as you see fit.
@@ -39,7 +39,7 @@ bindsym $mod+Shift+q kill
 
 # start dmenu (a program launcher)
 bindsym $mod+d exec bemenu-run -l 10 -p  --counter always -c -W 0.1 -B 10 \
-    --fixed-height --fn  'Cantarell 11'  \
+    --fixed-height --fn  'B612 11'  \
     --bdr "#323232" --tf "#FFFFFF" --hf "#FFFFFF"
 
 # change focus

+ 19 - 20
dots/.config/waybar/config

@@ -26,12 +26,11 @@
         "sway/window"
     ],
     "modules-right": [
+        "pulseaudio",
         "network",
         "memory",
         "cpu",
-        "temperature",
         "custom/keyboard-layout",
-        "battery",
         "tray",
         "clock#date",
         "clock#time"
@@ -131,27 +130,27 @@
             "4:terminals": "", // Icon: terminal
             "5:portal": "", // Icon: terminal
             "urgent": "",
-            "focused": "",
-            "default": ""
+            "focused": "",
+            "default": ""
         }
     },
 
-    //"pulseaudio": {
-    //    //"scroll-step": 1,
-    //    "format": "{icon}  {volume}%",
-    //    "format-bluetooth": "{icon}  {volume}%",
-    //    "format-muted": "",
-    //    "format-icons": {
-    //        "headphones": "",
-    //        "handsfree": "",
-    //        "headset": "",
-    //        "phone": "",
-    //        "portable": "",
-    //        "car": "",
-    //        "default": ["", ""]
-    //    },
-    //    "on-click": "pavucontrol"
-    //},
+    "pulseaudio": {
+        //"scroll-step": 1,
+        "format": "{icon}  {volume}%",
+        "format-bluetooth": "{icon}  {volume}%",
+        "format-muted": "",
+        "format-icons": {
+            "headphones": "",
+            "handsfree": "",
+            "headset": "",
+            "phone": "",
+            "portable": "",
+            "car": "",
+            "default": ["", ""]
+        },
+        "on-click": "pavucontrol"
+    },
 
     "temperature": {
       "critical-threshold": 80,

+ 2 - 1
dots/.config/waybar/style.css

@@ -50,7 +50,7 @@
 #waybar {
     background: #323232;
     color: white;
-    font-family: Cantarell, Noto Sans, sans-serif;
+    font-family: B612;
     font-size: 13px;
 }
 
@@ -67,6 +67,7 @@
 #tray {
     padding-left: 10px;
     padding-right: 10px;
+    min-width: 70px;
 }