Commit 701eb54
Changed files (2)
.config
waybar
.config/waybar/config.jsonc
@@ -1,142 +1,185 @@
-{
- "layer": "top",
- "position": "top",
- "output":"DP-1",
- "height": 32,
- "spacing": 0,
- "modules-left": ["custom/about","clock#date" ,"clock#time", "custom/packages","custom/butt-out"],
- "modules-center": ["hyprland/workspaces#main"],
- "modules-right": [
- "hyprland/workspaces#special",
- "custom/brightness",
- "pulseaudio",
- "custom/notification",
- "custom/internet",
- "custom/power"
- ],
-
- "custom/about": {
- "format": "",
- "interval": "once",
- "tooltip": true,
- "tooltip-format": "About System",
- "on-click": "smart-launch --tui 'about-system' 'bash -c \"fastfetch; read -n 1 -s\"'"
- },
-
- "hyprland/workspaces#main": {
- "disable-scroll": false,
- "show-special": false,
- "format": "{icon}",
- "format-icons": {
- "AI": "",
- "Code": "",
- "Research": ""
- // "Terminal": "",
- // "Forge": ""
- }
- },
-
- "custom/butt-out" :{
- "exec": "$HOME/.wraith/scripts/butt-out.sh remaining",
- "interval": 1,
- "on-click-right": "$HOME/.wraith/scripts/butt-out.sh kill",
- "return-type": "json"
+[
+ {
+ "layer": "top",
+ "position": "top",
+ "output": "DP-1",
+ "height": 32,
+ "spacing": 0,
+ "modules-left": [
+ "custom/about",
+ "clock#date",
+ "clock#time",
+ "custom/packages",
+ "custom/butt-out",
+ "custom/handy"
+ ],
+ "modules-center": [
+ "hyprland/workspaces#main"
+ ],
+ "modules-right": [
+ "hyprland/workspaces#special",
+ "custom/brightness",
+ "pulseaudio",
+ "custom/notification",
+ "custom/internet",
+ "custom/power"
+ ],
+ "custom/about": {
+ "format": "",
+ "interval": "once",
+ "tooltip": true,
+ "tooltip-format": "About System",
+ "on-click": "smart-launch --tui 'about-system' 'bash -c \"fastfetch; read -n 1 -s\"'"
+ },
+ "hyprland/workspaces#main": {
+ "disable-scroll": false,
+ "show-special": false,
+ "format": "{icon}",
+ "format-icons": {
+ "AI": "",
+ "Research": "",
+ "Code": ""
+ }
+ },
+ "custom/butt-out": {
+ "exec": "$HOME/.wraith/scripts/butt-out.sh remaining",
+ "interval": 1,
+ "on-click-right": "$HOME/.wraith/scripts/butt-out.sh kill",
+ "return-type": "json"
+ },
+ "custom/handy": {
+ "exec": "$HOME/.wraith/scripts/transcribe.sh",
+ "interval": 1,
+ "return-type": "json"
+ },
+ "hyprland/workspaces#special": {
+ "disable-scroll": false,
+ "sort-by": "id",
+ "show-special": true,
+ "format": "{icon}",
+ "format-icons": {
+ "obs": "",
+ "music": ""
+ },
+ "ignore-workspaces": [
+ "^(?!.*(obs|music)).*$"
+ ]
+ },
+ "clock#date": {
+ "format": "{:%d-%m-%y}",
+ "interval": 3600,
+ "tooltip": false
+ },
+ "clock#time": {
+ "format": "{:%I:%M %p}",
+ "interval": 1,
+ "timezone": "Asia/Kolkata",
+ "tooltip": false
+ },
+ "custom/packages": {
+ "exec": "$HOME/.wraith/scripts/packages.sh details",
+ "interval": 5,
+ "return-type": "json",
+ "cursor": false,
+ "on-click": "$HOME/.wraith/scripts/packages.sh update",
+ "tooltip": true
+ },
+ "custom/internet": {
+ "exec": "$HOME/.wraith/scripts/internet-connectivity.sh",
+ "interval": 5,
+ "return-type": "json"
+ },
+ "custom/power": {
+ "format": "",
+ "tooltip": false,
+ "cursor": false,
+ "menu": "on-click",
+ "menu-file": "~/.config/waybar/power_menu.xml",
+ "menu-actions": {
+ "shutdown": "systemctl poweroff --no-wall",
+ "reboot": "systemctl reboot --no-wall",
+ "lock": "swaylock --config ~/.config/sway/swaylock.conf",
+ "suspend": "systemctl suspend"
+ }
+ },
+ "pulseaudio": {
+ "format": "{icon} {volume}% ",
+ "format-muted": " 0%",
+ "format-icons": {
+ "headphone": " ",
+ "headset": " ",
+ "default": [
+ " ",
+ " ",
+ " "
+ ]
+ },
+ "cursor": false,
+ "on-click-right": "pavucontrol -t 3",
+ "on-click": "pactl -- set-sink-mute 0 toggle",
+ "tooltip": false
+ },
+ "custom/notification": {
+ "tooltip": true,
+ "format": "<span size='16pt'>{icon}</span>",
+ "format-icons": {
+ "notification": "",
+ "none": "",
+ "dnd-notification": "",
+ "dnd-none": "",
+ "inhibited-notification": "",
+ "inhibited-none": "",
+ "dnd-inhibited-notification": "",
+ "dnd-inhibited-none": ""
+ },
+ "return-type": "json",
+ "exec-if": "which swaync-client",
+ "exec": "swaync-client -swb",
+ "on-click": "swaync-client -t -sw",
+ "on-click-right": "swaync-client -d -sw",
+ "escape": true
+ },
+ "custom/brightness": {
+ "interval": 1,
+ "exec": "$HOME/.wraith/scripts/brightness.sh get",
+ "return-type": "json",
+ "format": "{icon}{percentage}%",
+ "cursor": false,
+ "on-click": "$HOME/.wraith/scripts/brightness.sh set 10",
+ "on-scroll-up": "$HOME/.wraith/scripts/brightness.sh set +5",
+ "on-scroll-down": "$HOME/.wraith/scripts/brightness.sh set -5",
+ "format-icons": {
+ "default": [
+ " ",
+ " ",
+ " "
+ ]
+ },
+ "tooltip": false
+ }
},
-
- "hyprland/workspaces#special": {
- "disable-scroll": false,
- "sort-by": "id",
- "show-special": true,
- "format": "{icon}",
- "format-icons": {
- "obs": "",
- "music": "",
- },
- "ignore-workspaces": ["^(?!.*(obs|music)).*$"]
- },
- "clock#date":{
- "format": "{:%d-%m-%y}",
- "interval":3600,
- "tooltip":false,
- },
-
- "clock#time": {
- "format": "{:%I:%M %p}",
- "interval": 1,
- "timezone": "Asia/Kolkata",
- "tooltip":false,
- },
- "custom/packages": {
- "exec": "$HOME/.wraith/scripts/packages.sh details",
- "interval": 5,
- "return-type": "json",
- "cursor": false,
- "on-click": "$HOME/.wraith/scripts/packages.sh update",
- "tooltip": true
- },
- "custom/internet": {
- "exec": "$HOME/.wraith/scripts/internet-connectivity.sh",
- "interval": 5,
- "return-type": "json"
- },
- "custom/power": {
- "format": "",
- "tooltip": false,
- "cursor": false,
- "menu": "on-click",
- "menu-file": "~/.config/waybar/power_menu.xml",
- "menu-actions": {
- "shutdown": "systemctl poweroff --no-wall",
- "reboot": "systemctl reboot --no-wall",
- "lock": "swaylock --config ~/.config/sway/swaylock.conf",
- "suspend": "systemctl suspend"
- }
- },
- "pulseaudio": {
- "format": "{icon} {volume}% ",
- "format-muted": " 0%",
- "format-icons": {
- "headphone": " ",
- "headset": " ",
- "default": [" ", " ", " "]
- },
- "cursor": false,
- "on-click-right": "pavucontrol -t 3",
- "on-click": "pactl -- set-sink-mute 0 toggle",
- "tooltip": false
- },
- "custom/notification": {
- "tooltip": true,
- "format": "<span size='16pt'>{icon}</span>",
- "format-icons": {
- "notification": "",
- "none": "",
- "dnd-notification": "",
- "dnd-none": "",
- "inhibited-notification": "",
- "inhibited-none": "",
- "dnd-inhibited-notification": "",
- "dnd-inhibited-none": ""
- },
- "return-type": "json",
- "exec-if": "which swaync-client",
- "exec": "swaync-client -swb",
- "on-click": "swaync-client -t -sw",
- "on-click-right": "swaync-client -d -sw",
- "escape": true
- },
- "custom/brightness": {
- "interval": 1,
- "exec": "$HOME/.wraith/scripts/brightness.sh get",
- "return-type": "json",
- "format": "{icon}{percentage}%",
- "cursor": false,
- "on-click": "$HOME/.wraith/scripts/brightness.sh set 10",
- "on-scroll-up": "$HOME/.wraith/scripts/brightness.sh set +5",
- "on-scroll-down": "$HOME/.wraith/scripts/brightness.sh set -5",
- "format-icons": {
- "default": [" ", " ", " "]
- },
- "tooltip": false
- }
-}
+ {
+ "layer": "top",
+ "position": "bottom",
+ "output": [
+ "HDMI-A-1",
+ "HDMI-A-2"
+ ],
+ "height": 32,
+ "margin-bottom":13,
+ "spacing": 0,
+ "modules-center": [
+ "hyprland/workspaces#sec"
+ ],
+ "hyprland/workspaces#sec": {
+ "disable-scroll": false,
+ "show-special": false,
+ "format": "{icon}",
+ "format-icons": {
+ "Communication": " ",
+ "default": "",
+ "active": ""
+ }
+ }
+ }
+]
.config/waybar/style.css
@@ -38,6 +38,7 @@ menuitem:hover {
#custom-notification,
#custom-internet,
#custom-butt-out,
+#custom-handy,
#pulseaudio,
#workspaces.special {
background-color: @background;
@@ -55,15 +56,21 @@ menuitem:hover {
#clock,
#custom-packages,
-#custom-butt-out
+#custom-butt-out,
+#custom-handy
{
margin-left: 5px;
}
+#custom-handy,
#custom-butt-out{
font-size : 16px;
}
+#custom-handy{
+ padding-right: 12px;
+}
+
#custom-power {
margin-right: 14px;
padding: 0px 10px;
@@ -81,7 +88,9 @@ menuitem:hover {
margin-right: 5px;
}
-#workspaces.main {
+#workspaces.main,
+#workspaces.sec
+{
background-color: @background;
padding: 4px 6px;
margin-top: 6px;
@@ -99,6 +108,7 @@ menuitem:hover {
}
#workspaces.main button,
+#workspaces.sec button,
#workspaces.special button {
background: @background;
border: none;
@@ -118,12 +128,10 @@ menuitem:hover {
text-shadow: none;
}
-#workspaces.main button.active {
- border: 1px solid @secondary_container;
- min-width: 80px;
+#workspaces.main button.active,
+#workspaces.special button.active,
+#workspaces.sec button.active {
+ border: 1px solid @secondary_container;
+ min-width: 45px;
}
-#workspaces.special button.active {
- border: 1px solid @secondary_container;
- min-width: 40px;
-}