From 706d19c1a5def8a1e1744c599c998e760c0f5f3d Mon Sep 17 00:00:00 2001 From: tonizz_m1pro Date: Sat, 11 May 2024 13:26:43 -0700 Subject: [PATCH] add shub39 waybar and other settings into hyprland --- .../M1Pro/accmeboot/Scale1.6x/README.md | 5 + .../M1Pro/accmeboot/Scale1.6x/config.jsonc | 106 +++++++++++ .../{ => Scale1.6x}/scripts/cpu-temp.sh | 0 .../{ => Scale1.6x}/scripts/gpu-temp.sh | 0 .../M1Pro/accmeboot/Scale1.6x/style.css | 123 +++++++++++++ .../themes/catppuccin/mocha.css | 0 .../{ => accmeboot_original}/README.md | 0 .../{ => accmeboot_original}/config.jsonc | 0 .../accmeboot_original/scripts/cpu-temp.sh | 3 + .../accmeboot_original/scripts/gpu-temp.sh | 3 + .../{ => accmeboot_original}/style.css | 0 .../themes/catppuccin/mocha.css | 26 +++ .../waybar_l/M1Pro/shub39/Scale1.6x/config | 36 ++++ .../waybar_l/M1Pro/shub39/Scale1.6x/modules | 174 ++++++++++++++++++ .../waybar_l/M1Pro/shub39/Scale1.6x/style.css | 83 +++++++++ .../M1Pro/shub39/shub39_original/config | 34 ++++ .../M1Pro/shub39/shub39_original/modules | 166 +++++++++++++++++ .../M1Pro/shub39/shub39_original/style.css | 81 ++++++++ configs/waybar_l/shub39/config | 34 ++++ configs/waybar_l/shub39/modules | 166 +++++++++++++++++ configs/waybar_l/shub39/style.css | 81 ++++++++ 21 files changed, 1121 insertions(+) create mode 100644 configs/waybar_l/M1Pro/accmeboot/Scale1.6x/README.md create mode 100644 configs/waybar_l/M1Pro/accmeboot/Scale1.6x/config.jsonc rename configs/waybar_l/M1Pro/accmeboot/{ => Scale1.6x}/scripts/cpu-temp.sh (100%) rename configs/waybar_l/M1Pro/accmeboot/{ => Scale1.6x}/scripts/gpu-temp.sh (100%) create mode 100644 configs/waybar_l/M1Pro/accmeboot/Scale1.6x/style.css rename configs/waybar_l/M1Pro/accmeboot/{ => Scale1.6x}/themes/catppuccin/mocha.css (100%) rename configs/waybar_l/M1Pro/accmeboot/{ => accmeboot_original}/README.md (100%) rename configs/waybar_l/M1Pro/accmeboot/{ => accmeboot_original}/config.jsonc (100%) create mode 100644 configs/waybar_l/M1Pro/accmeboot/accmeboot_original/scripts/cpu-temp.sh create mode 100644 configs/waybar_l/M1Pro/accmeboot/accmeboot_original/scripts/gpu-temp.sh rename configs/waybar_l/M1Pro/accmeboot/{ => accmeboot_original}/style.css (100%) create mode 100644 configs/waybar_l/M1Pro/accmeboot/accmeboot_original/themes/catppuccin/mocha.css create mode 100644 configs/waybar_l/M1Pro/shub39/Scale1.6x/config create mode 100644 configs/waybar_l/M1Pro/shub39/Scale1.6x/modules create mode 100644 configs/waybar_l/M1Pro/shub39/Scale1.6x/style.css create mode 100644 configs/waybar_l/M1Pro/shub39/shub39_original/config create mode 100644 configs/waybar_l/M1Pro/shub39/shub39_original/modules create mode 100644 configs/waybar_l/M1Pro/shub39/shub39_original/style.css create mode 100644 configs/waybar_l/shub39/config create mode 100644 configs/waybar_l/shub39/modules create mode 100644 configs/waybar_l/shub39/style.css diff --git a/configs/waybar_l/M1Pro/accmeboot/Scale1.6x/README.md b/configs/waybar_l/M1Pro/accmeboot/Scale1.6x/README.md new file mode 100644 index 0000000..130d8ac --- /dev/null +++ b/configs/waybar_l/M1Pro/accmeboot/Scale1.6x/README.md @@ -0,0 +1,5 @@ +## [accmeboot's github](https://github.com/accmeboot/dotfiles/tree/main/hyprland) + +## 4/27/24 - I was able to fixed the icon issue, I needed to read abit more about CSS, it works fine now. It open `wofi` with icons enabled + +This config also uses catppucino theme for waybar diff --git a/configs/waybar_l/M1Pro/accmeboot/Scale1.6x/config.jsonc b/configs/waybar_l/M1Pro/accmeboot/Scale1.6x/config.jsonc new file mode 100644 index 0000000..77b7e3c --- /dev/null +++ b/configs/waybar_l/M1Pro/accmeboot/Scale1.6x/config.jsonc @@ -0,0 +1,106 @@ +{ + "layer": "top", + "modules-left": ["custom/launcher", "wlr/taskbar", "hyprland/workspaces"], + /*"modules-center": ["hyprland/window"],*/ + "modules-center": ["clock"], + "modules-right": ["idle_inhibitor", "custom/cpu", "custom/gpu", "tray", "backlight", "pulseaudio", "battery"], + "margin": "0", + + /*"hyprland/window": { + "format-empty": "nothing is running", + "separate-outputs": true, + "icon": true, + "icon-size": 11 + },*/ + + "idle_inhibitor": { + "format": "{icon}", + "format-icons": { + "activated": " ", + "deactivated":" " + } + }, + "pulseaudio": { + "tooltip": false, + "scroll-step": 5, + "format": "{icon} {volume}%", + "format-muted": " {volume}%", + "on-click":"pavucontrol", + "format-icons": { + "default": [" ", " ", " "] + } + }, + + "custom/cpu": { + "format": "\udb83\udee0 {}℃", + "interval": 5, + "exec": "bash ~/.config/waybar/scripts/cpu-temp.sh", + "on-click": "kitty -e bash -c 'htop; read'" + }, + + "custom/gpu": { + "format": "\udb82\udcae {}℃", + "interval": 5, + "exec": "bash ~/.config/waybar/scripts/gpu-temp.sh", + "on-click": "kitty -e bash -c 'nvtop; read'" + }, + + "backlight": { + "tooltip": false, + "format": " {}%", + "interval":1, + "on-scroll-up": "brightnessctl s +5", + "on-scroll-down": "brightnessctl s 5-" + }, + "battery": { + "states": { + "good": 95, + "warning": 30, + "critical": 20 + }, + "format": "{icon} {capacity}%", + "format-charging": "\udb80\udc84 {capacity}%", + "format-plugged": "\udb81\udea5 {capacity}%", + "format-alt": "{time} {icon}", + "format-icons": ["\udb80\udc7a", "\udb80\udc7b", "\udb80\udc7c", "\udb80\udc7d", "\udb80\udc7e", "\udb80\udc7f", "\udb80\udc80", "\udb80\udc81", "\udb80\udc82", "\udb80\udc79"] + }, + + "clock": { + "format": "{:%A %B %d %Y %R}", + "on-click": "firefox --new-window https://www.google.com/calendar" + }, + + "custom/launcher":{ + "format": " ", + "on-click": "hyprctl dispatch exec '[floating] wofi --show drun -normal-window'" + }, + + "hyprland/workspaces": { + "on-click": "activate", + "persistent-workspaces": { + "eDP-1": [ 1, 2, 3, 4, 5 ], + "DP-2": [ 6, 7, 8, 9, 10 ] + } + }, + + "wlr/taskbar": { + "format": "{icon}", + "icon-size": 11, + "tooltip-format": "{title}", + "on-click": "activate", + "on-click-middle": "close", + "app_ids-mapping": { + "firefoxdeveloperedition": "firefox-developer-edition" + }, + "ignore-list": ["rofi"], + "rewrite": { + "Firefox Web Browser": "Firefox", + "Foot Server": "Terminal" + } + }, + + "tray": { + "icon-size": 11, + "spacing": 4 + } +} diff --git a/configs/waybar_l/M1Pro/accmeboot/scripts/cpu-temp.sh b/configs/waybar_l/M1Pro/accmeboot/Scale1.6x/scripts/cpu-temp.sh similarity index 100% rename from configs/waybar_l/M1Pro/accmeboot/scripts/cpu-temp.sh rename to configs/waybar_l/M1Pro/accmeboot/Scale1.6x/scripts/cpu-temp.sh diff --git a/configs/waybar_l/M1Pro/accmeboot/scripts/gpu-temp.sh b/configs/waybar_l/M1Pro/accmeboot/Scale1.6x/scripts/gpu-temp.sh similarity index 100% rename from configs/waybar_l/M1Pro/accmeboot/scripts/gpu-temp.sh rename to configs/waybar_l/M1Pro/accmeboot/Scale1.6x/scripts/gpu-temp.sh diff --git a/configs/waybar_l/M1Pro/accmeboot/Scale1.6x/style.css b/configs/waybar_l/M1Pro/accmeboot/Scale1.6x/style.css new file mode 100644 index 0000000..6827c3e --- /dev/null +++ b/configs/waybar_l/M1Pro/accmeboot/Scale1.6x/style.css @@ -0,0 +1,123 @@ +@import "./themes/catppuccin/mocha.css"; + +* { + font-size: 16px; + font-family: IosevkaTermSlab Nerd Font; +} + +window#waybar { + background: @mantle; + border-radius: 0px; +} + +window#waybar.empty #window { + background-color: transparent; +} + +.modules-left { + background: @surface0; + border-top-right-radius: 14px; + border-bottom-right-radius: 14px; + padding: 0px 12px 0px 4px; +} + +.modules-right { + background: @surface0; + border-top-left-radius: 14px; + border-bottom-left-radius: 14px; + padding: 0px 4px 0px 12px; + font-weight: bold; +} + +.modules-center { + background: transparent; +} + +#window { + color: @text; + font-weight: bold; +} + +#custom-launcher { + font-size: 16px; + font-weight: bold; + color: @blue; +} + +#custom-launcher:hover { + color: @red; +} + +#workspaces button { + padding: 0px; + border-radius: 0px; + margin: 0px; + color: @text; + font-weight: bold; + border-top: 2px solid transparent; + border-bottom: 2px solid transparent; +} + +#workspaces button.active { + color: @mauve; + border-bottom: 2px solid @mauve; +} + +#taskbar { + background: @surface0; + padding: 0px 4px 1px; +} + +#taskbar button { + border-radius: 0px; + transition: all 0.3s; + padding: 1px 2px 0px 4px; + margin: 0px; + opacity: 0.3; + background: transparent; +} + +#taskbar button.active { + background: transparent; + opacity: 1; +} + +#taskbar button:hover { + background: @surface3; + opacity: 0.8; +} + +#custom-pacman { + color: @red; + margin-right: 8px; +} + +#idle_inhibitor { + margin: 0px 4px; + color: @lavender; +} + +#clock, +#tray, +#backlight, +#pulseaudio, +#battery, +#custom-cpu, +#custom-gpu { + margin: 0px 4px; +} +#custom-cpu { + color: @lavender; +} +#custom-gpu { + color: @blue; +} +#backlight, +#pulseaudio, +#battery { + color: @text; +} + +#clock { + color: @green; +} diff --git a/configs/waybar_l/M1Pro/accmeboot/themes/catppuccin/mocha.css b/configs/waybar_l/M1Pro/accmeboot/Scale1.6x/themes/catppuccin/mocha.css similarity index 100% rename from configs/waybar_l/M1Pro/accmeboot/themes/catppuccin/mocha.css rename to configs/waybar_l/M1Pro/accmeboot/Scale1.6x/themes/catppuccin/mocha.css diff --git a/configs/waybar_l/M1Pro/accmeboot/README.md b/configs/waybar_l/M1Pro/accmeboot/accmeboot_original/README.md similarity index 100% rename from configs/waybar_l/M1Pro/accmeboot/README.md rename to configs/waybar_l/M1Pro/accmeboot/accmeboot_original/README.md diff --git a/configs/waybar_l/M1Pro/accmeboot/config.jsonc b/configs/waybar_l/M1Pro/accmeboot/accmeboot_original/config.jsonc similarity index 100% rename from configs/waybar_l/M1Pro/accmeboot/config.jsonc rename to configs/waybar_l/M1Pro/accmeboot/accmeboot_original/config.jsonc diff --git a/configs/waybar_l/M1Pro/accmeboot/accmeboot_original/scripts/cpu-temp.sh b/configs/waybar_l/M1Pro/accmeboot/accmeboot_original/scripts/cpu-temp.sh new file mode 100644 index 0000000..359e144 --- /dev/null +++ b/configs/waybar_l/M1Pro/accmeboot/accmeboot_original/scripts/cpu-temp.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +sensors | awk -F '[+°]' '/^Package id 0:/ {printf "%d\n", $2}' diff --git a/configs/waybar_l/M1Pro/accmeboot/accmeboot_original/scripts/gpu-temp.sh b/configs/waybar_l/M1Pro/accmeboot/accmeboot_original/scripts/gpu-temp.sh new file mode 100644 index 0000000..9cab930 --- /dev/null +++ b/configs/waybar_l/M1Pro/accmeboot/accmeboot_original/scripts/gpu-temp.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader diff --git a/configs/waybar_l/M1Pro/accmeboot/style.css b/configs/waybar_l/M1Pro/accmeboot/accmeboot_original/style.css similarity index 100% rename from configs/waybar_l/M1Pro/accmeboot/style.css rename to configs/waybar_l/M1Pro/accmeboot/accmeboot_original/style.css diff --git a/configs/waybar_l/M1Pro/accmeboot/accmeboot_original/themes/catppuccin/mocha.css b/configs/waybar_l/M1Pro/accmeboot/accmeboot_original/themes/catppuccin/mocha.css new file mode 100644 index 0000000..0eb6a82 --- /dev/null +++ b/configs/waybar_l/M1Pro/accmeboot/accmeboot_original/themes/catppuccin/mocha.css @@ -0,0 +1,26 @@ +@define-color rosewater #f5e0dc; +@define-color flamingo #f2cdcd; +@define-color pink #f5c2e7; +@define-color mauve #cba6f7; +@define-color red #f38ba8; +@define-color maroon #eba0ac; +@define-color peach #fab387; +@define-color yellow #f9e2af; +@define-color green #a6e3a1; +@define-color teal #94e2d5; +@define-color sky #89dceb; +@define-color sapphire #74c7ec; +@define-color blue #89b4fa; +@define-color lavender #b4befe; +@define-color text #cdd6f4; +@define-color subtext1 #bac2de; +@define-color subtext0 #a6adc8; +@define-color overlay2 #9399b2; +@define-color overlay1 #7f849c; +@define-color overlay0 #6c7086; +@define-color surface2 #585b70; +@define-color surface1 #45475a; +@define-color surface0 #313244; +@define-color base #1e1e2e; +@define-color mantle #181825; +@define-color crust #11111b; diff --git a/configs/waybar_l/M1Pro/shub39/Scale1.6x/config b/configs/waybar_l/M1Pro/shub39/Scale1.6x/config new file mode 100644 index 0000000..81de4d9 --- /dev/null +++ b/configs/waybar_l/M1Pro/shub39/Scale1.6x/config @@ -0,0 +1,36 @@ +{ +"include": "~/.config/waybar/modules", +"layer": "top", +"exclusive": true, +"passthrough": false, +"position": "top", +"spacing": 3, +"fixed-center": true, +"ipc": true, +"margin-top": 0, +"margin-left": 0, +"margin-right": 0, +"margin-bottom": 0, + +"modules-left": [ + "hyprland/workspaces", + "clock", + "custom/cava", + "mpris" + ], + +"modules-center": [ + "hyprland/window" + ], + +"modules-right": [ + "wlr/taskbar", + "cpu", + "temperature", + "memory", + "custom/swaync", + "pulseaudio", + "bluetooth", + "idle_inhibitor" + ] +} diff --git a/configs/waybar_l/M1Pro/shub39/Scale1.6x/modules b/configs/waybar_l/M1Pro/shub39/Scale1.6x/modules new file mode 100644 index 0000000..9f1f8b6 --- /dev/null +++ b/configs/waybar_l/M1Pro/shub39/Scale1.6x/modules @@ -0,0 +1,174 @@ +{ +"hyprland/workspaces": { + "active-only": true, + "all-outputs": false, + "show-special": false, + "on-click": "activate", + "on-scroll-up": "hyprctl dispatch workspace e+1", + "on-scroll-down": "hyprctl dispatch workspace e-1", +}, + +"bluetooth": { + "format": "  ", + "format-disabled": " 󰂳 ", + "format-connected": " 󰂱 {num_connections} ", + "tooltip-format": " {device_alias}", + "tooltip-format-connected": "{device_enumerate}", + "tooltip-format-enumerate-connected": " {device_alias} 󰂄{device_battery_percentage}%", + "tooltip": true, + "on-click": "blueman-manager" +}, + +"idle_inhibitor": { + "format": "{icon}", + "format-icons": { + "activated": " ", + "deactivated":" " + } + }, + +"clock": { + "interval": 1, + "format": "  {:%H:%M} ", + "format-alt": "  {:%H:%M  %Y, %d %B, %A} ", + "tooltip-format": "{calendar}", + "calendar": { + "mode" : "year", + "mode-mon-col" : 3, + "weeks-pos" : "right", + "on-scroll" : 1, + "format": { + "days": "{}", + "weeks": "W{}", + "weekdays": "{}", + "today": "{}" + } + } + }, + "actions": { + "on-click-right": "mode", + "on-click-forward": "tz_up", + "on-click-backward": "tz_down", + "on-scroll-up": "shift_up", + "on-scroll-down": "shift_down" +}, + +"cpu": { + "format": " {usage}% 󰍛 ", + "interval": 1, + "on-click-right": "gnome-system-monitor" +}, + +"hyprland/window": { + "format": " {} ", + "max-length": 60, + "separate-outputs": true, + "offscreen-css" : true, + "offscreen-css-text": "(inactive)", + "rewrite": { + "(.*) — Mozilla Firefox": " $1", + "(.*) - fish": "> [$1]", + "(.*) - zsh": "> [$1]", + "(.*) - kitty": "> [$1]" + } +}, + +"memory": { + "interval": 10, + "format": " {percentage}% 󰾆 ", + "format-alt-click": "click", + "tooltip": true, + "tooltip-format": "{used:0.1f}GB/{total:0.1f}G", + "on-click-right": "kitty -c ~/.config/dotfiles/kitty/kitty.conf --title btop sh -c 'btop'" +}, + +"mpris": { + "interval": 10, + "format": " {title} ", + "format-paused": " {title} {status_icon} ", + "on-click": "playerctl play-pause", + "on-click-right": "playerctl next", + "scroll-step": 5.0, + "smooth-scrolling-threshold": 1, + "status-icons": { + "paused": "󰐎", + "playing": "", + "stopped": "" + }, + "max-length": 30 +}, + + +"pulseaudio": { + "format": " {volume}% {icon} ", + "format-bluetooth": " 󰂰 {volume}% {icon} ", + "format-muted": "󰖁", + "format-icons": { + "headphone": "", + "hands-free": "", + "headset": "", + "phone": "", + "portable": "", + "car": "", + "default": ["", "", "󰕾", ""], + "ignored-sinks": ["Easy Effects Sink"] + }, + "scroll-step": 5.0, + "on-click": "pavucontrol -t 3", + "tooltip-format": "{icon} {desc} | {volume}%", + "smooth-scrolling-threshold": 1 +}, + +"temperature": { + "interval": 10, + "tooltip": true, + "hwmon-path": ["/sys/class/hwmon/hwmon1/temp1_input", "/sys/class/thermal/thermal_zone0/temp"], + "critical-threshold": 82, + "format-critical": "{temperatureC}°C {icon}", + "format": " {temperatureC}°C {icon} ", + "format-icons": ["󰈸"], + "on-click-right": "kitty -c ~/.config/dotfiles/kitty/kitty.conf --title nvtop sh -c 'nvtop'" +}, + +"custom/swaync": { + "tooltip":true, + "format": " {} {icon} ", + "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": "sleep 0.1 && swaync-client -t -sw", + "on-click-right": "swaync-client -d -sw", + "escape": true + }, + +"wlr/taskbar": { + "format": " {icon} ", + "icon-size": 20, + "all-outputs": false, + "tooltip-format": "{title}", + "on-click": "activate", + "on-click-middle": "close", + "ignore-list": [ + "wofi", + "rofi", + "org.mozilla.firefox", + "kitty" + ] + }, + +"custom/cava": { + "exec": "~/.config/dotfiles/hyprland/scripts/waybarCava.sh", + "format": "{}", + "on-click": "kitty -c ~/.config/dotfiles/kitty/kitty.conf nvim -c cd ~/.config/dotfiles/" + } +} diff --git a/configs/waybar_l/M1Pro/shub39/Scale1.6x/style.css b/configs/waybar_l/M1Pro/shub39/Scale1.6x/style.css new file mode 100644 index 0000000..69a9231 --- /dev/null +++ b/configs/waybar_l/M1Pro/shub39/Scale1.6x/style.css @@ -0,0 +1,83 @@ +* { +font-family: "Iosevka Nerd Font"; +font-weight: bold; +min-height: 0; +font-size: 102%; +font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"'; +padding: 1px; +} + +window#waybar { + background-color: rgba(0, 0, 0, 0); + transition-property: background-color; + transition-duration: .5s; +} + +window#waybar.hidden { + opacity: 0.5; +} + +window#waybar.empty { + background-color: transparent; +} + +window#waybar.empty #window { + padding: 0px; + border: 0px; + background-color: transparent; +} + +tooltip { + opacity: 1; + border-radius: 10px; +} + +tooltip label{ + padding: 10px; + color: #ebdbb2; +} + +#custom-cava, +#clock, +#cpu, +#memory, +#mpris, +#network, +#pulseaudio, +#bluetooth, +#idle_inhibitor, +#temperature, +#workspaces, +#custom-menu, +#custom-swaync{ + border-radius: 10px; + color: #ebdbb2; + padding-top: 3px; + padding-bottom: 3px; + padding-left: 6px; + padding-right: 6px; +} + +#window{ + color: #ebdbb2; + padding-top: 3px; + padding-bottom: 3px; + padding-right: 6px; + padding-left: 6px; + border-radius: 12px; +} + +#workspaces button { + margin: 1px; + box-shadow: none; + text-shadow: none; + border-radius: 12px; + padding-left: 6px; + padding-right: 6px; + background-color: #ebdbb2; + color: #282828; +} + +#temperature.critical { + background-color: red; +} diff --git a/configs/waybar_l/M1Pro/shub39/shub39_original/config b/configs/waybar_l/M1Pro/shub39/shub39_original/config new file mode 100644 index 0000000..26b29de --- /dev/null +++ b/configs/waybar_l/M1Pro/shub39/shub39_original/config @@ -0,0 +1,34 @@ +{ +"include": "~/.config/dotfiles/waybar/modules", +"layer": "top", +"exclusive": true, +"passthrough": false, +"position": "top", +"spacing": 3, +"fixed-center": true, +"ipc": true, +"margin-top": 0, +"margin-left": 0, +"margin-right": 0, +"margin-bottom": 0, + +"modules-left": [ + "hyprland/workspaces", + "clock", + "custom/cava", + "mpris" + ], + +"modules-center": [ + "hyprland/window" + ], + +"modules-right": [ + "wlr/taskbar", + "cpu", + "temperature", + "memory", + "custom/swaync", + "pulseaudio" + ] +} diff --git a/configs/waybar_l/M1Pro/shub39/shub39_original/modules b/configs/waybar_l/M1Pro/shub39/shub39_original/modules new file mode 100644 index 0000000..14d86d8 --- /dev/null +++ b/configs/waybar_l/M1Pro/shub39/shub39_original/modules @@ -0,0 +1,166 @@ +{ +"hyprland/workspaces": { + "active-only": true, + "all-outputs": false, + "show-special": false, + "on-click": "activate", + "on-scroll-up": "hyprctl dispatch workspace e+1", + "on-scroll-down": "hyprctl dispatch workspace e-1", +}, + +"bluetooth": { + "format": "  ", + "format-disabled": " 󰂳 ", + "format-connected": " 󰂱 {num_connections} ", + "tooltip-format": " {device_alias}", + "tooltip-format-connected": "{device_enumerate}", + "tooltip-format-enumerate-connected": " {device_alias} 󰂄{device_battery_percentage}%", + "tooltip": true, + "on-click": "blueman-manager" +}, + +"clock": { + "interval": 1, + "format": "  {:%H:%M} ", + "format-alt": "  {:%H:%M  %Y, %d %B, %A} ", + "tooltip-format": "{calendar}", + "calendar": { + "mode" : "year", + "mode-mon-col" : 3, + "weeks-pos" : "right", + "on-scroll" : 1, + "format": { + "days": "{}", + "weeks": "W{}", + "weekdays": "{}", + "today": "{}" + } + } + }, + "actions": { + "on-click-right": "mode", + "on-click-forward": "tz_up", + "on-click-backward": "tz_down", + "on-scroll-up": "shift_up", + "on-scroll-down": "shift_down" +}, + +"cpu": { + "format": " {usage}% 󰍛 ", + "interval": 1, + "on-click-right": "gnome-system-monitor" +}, + +"hyprland/window": { + "format": " {} ", + "max-length": 60, + "separate-outputs": true, + "offscreen-css" : true, + "offscreen-css-text": "(inactive)", + "rewrite": { + "(.*) — Mozilla Firefox": " $1", + "(.*) - fish": "> [$1]", + "(.*) - zsh": "> [$1]", + "(.*) - kitty": "> [$1]" + } +}, + +"memory": { + "interval": 10, + "format": " {percentage}% 󰾆 ", + "format-alt-click": "click", + "tooltip": true, + "tooltip-format": "{used:0.1f}GB/{total:0.1f}G", + "on-click-right": "kitty -c ~/.config/dotfiles/kitty/kitty.conf --title btop sh -c 'btop'" +}, + +"mpris": { + "interval": 10, + "format": " {title} ", + "format-paused": " {title} {status_icon} ", + "on-click": "playerctl play-pause", + "on-click-right": "playerctl next", + "scroll-step": 5.0, + "smooth-scrolling-threshold": 1, + "status-icons": { + "paused": "󰐎", + "playing": "", + "stopped": "" + }, + "max-length": 30 +}, + + +"pulseaudio": { + "format": " {volume}% {icon} ", + "format-bluetooth": " 󰂰 {volume}% {icon} ", + "format-muted": "󰖁", + "format-icons": { + "headphone": "", + "hands-free": "", + "headset": "", + "phone": "", + "portable": "", + "car": "", + "default": ["", "", "󰕾", ""], + "ignored-sinks": ["Easy Effects Sink"] + }, + "scroll-step": 5.0, + "on-click": "pavucontrol -t 3", + "tooltip-format": "{icon} {desc} | {volume}%", + "smooth-scrolling-threshold": 1 +}, + +"temperature": { + "interval": 10, + "tooltip": true, + "hwmon-path": ["/sys/class/hwmon/hwmon1/temp1_input", "/sys/class/thermal/thermal_zone0/temp"], + "critical-threshold": 82, + "format-critical": "{temperatureC}°C {icon}", + "format": " {temperatureC}°C {icon} ", + "format-icons": ["󰈸"], + "on-click-right": "kitty -c ~/.config/dotfiles/kitty/kitty.conf --title nvtop sh -c 'nvtop'" +}, + +"custom/swaync": { + "tooltip":true, + "format": " {} {icon} ", + "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": "sleep 0.1 && swaync-client -t -sw", + "on-click-right": "swaync-client -d -sw", + "escape": true + }, + +"wlr/taskbar": { + "format": " {icon} ", + "icon-size": 20, + "all-outputs": false, + "tooltip-format": "{title}", + "on-click": "activate", + "on-click-middle": "close", + "ignore-list": [ + "wofi", + "rofi", + "org.mozilla.firefox", + "kitty" + ] + }, + +"custom/cava": { + "exec": "~/.config/dotfiles/hyprland/scripts/waybarCava.sh", + "format": "{}", + "on-click": "kitty -c ~/.config/dotfiles/kitty/kitty.conf nvim -c cd ~/.config/dotfiles/" + } +} diff --git a/configs/waybar_l/M1Pro/shub39/shub39_original/style.css b/configs/waybar_l/M1Pro/shub39/shub39_original/style.css new file mode 100644 index 0000000..03d03b7 --- /dev/null +++ b/configs/waybar_l/M1Pro/shub39/shub39_original/style.css @@ -0,0 +1,81 @@ +* { +font-family: "JetBrains Mono"; +font-weight: bold; +min-height: 0; +font-size: 102%; +font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"'; +padding: 1px; +} + +window#waybar { + background-color: rgba(0, 0, 0, 0); + transition-property: background-color; + transition-duration: .5s; +} + +window#waybar.hidden { + opacity: 0.5; +} + +window#waybar.empty { + background-color: transparent; +} + +window#waybar.empty #window { + padding: 0px; + border: 0px; + background-color: transparent; +} + +tooltip { + opacity: 1; + border-radius: 10px; +} + +tooltip label{ + padding: 10px; + color: #ebdbb2; +} + +#custom-cava, +#clock, +#cpu, +#memory, +#mpris, +#network, +#pulseaudio, +#temperature, +#workspaces, +#custom-menu, +#custom-swaync{ + border-radius: 10px; + color: #ebdbb2; + padding-top: 3px; + padding-bottom: 3px; + padding-left: 6px; + padding-right: 6px; +} + +#window{ + color: #ebdbb2; + padding-top: 3px; + padding-bottom: 3px; + padding-right: 6px; + padding-left: 6px; + border-radius: 12px; +} + +#workspaces button { + margin: 1px; + box-shadow: none; + text-shadow: none; + border-radius: 12px; + padding-left: 6px; + padding-right: 6px; + background-color: #ebdbb2; + color: #282828; +} + +#temperature.critical { + background-color: red; +} diff --git a/configs/waybar_l/shub39/config b/configs/waybar_l/shub39/config new file mode 100644 index 0000000..26b29de --- /dev/null +++ b/configs/waybar_l/shub39/config @@ -0,0 +1,34 @@ +{ +"include": "~/.config/dotfiles/waybar/modules", +"layer": "top", +"exclusive": true, +"passthrough": false, +"position": "top", +"spacing": 3, +"fixed-center": true, +"ipc": true, +"margin-top": 0, +"margin-left": 0, +"margin-right": 0, +"margin-bottom": 0, + +"modules-left": [ + "hyprland/workspaces", + "clock", + "custom/cava", + "mpris" + ], + +"modules-center": [ + "hyprland/window" + ], + +"modules-right": [ + "wlr/taskbar", + "cpu", + "temperature", + "memory", + "custom/swaync", + "pulseaudio" + ] +} diff --git a/configs/waybar_l/shub39/modules b/configs/waybar_l/shub39/modules new file mode 100644 index 0000000..14d86d8 --- /dev/null +++ b/configs/waybar_l/shub39/modules @@ -0,0 +1,166 @@ +{ +"hyprland/workspaces": { + "active-only": true, + "all-outputs": false, + "show-special": false, + "on-click": "activate", + "on-scroll-up": "hyprctl dispatch workspace e+1", + "on-scroll-down": "hyprctl dispatch workspace e-1", +}, + +"bluetooth": { + "format": "  ", + "format-disabled": " 󰂳 ", + "format-connected": " 󰂱 {num_connections} ", + "tooltip-format": " {device_alias}", + "tooltip-format-connected": "{device_enumerate}", + "tooltip-format-enumerate-connected": " {device_alias} 󰂄{device_battery_percentage}%", + "tooltip": true, + "on-click": "blueman-manager" +}, + +"clock": { + "interval": 1, + "format": "  {:%H:%M} ", + "format-alt": "  {:%H:%M  %Y, %d %B, %A} ", + "tooltip-format": "{calendar}", + "calendar": { + "mode" : "year", + "mode-mon-col" : 3, + "weeks-pos" : "right", + "on-scroll" : 1, + "format": { + "days": "{}", + "weeks": "W{}", + "weekdays": "{}", + "today": "{}" + } + } + }, + "actions": { + "on-click-right": "mode", + "on-click-forward": "tz_up", + "on-click-backward": "tz_down", + "on-scroll-up": "shift_up", + "on-scroll-down": "shift_down" +}, + +"cpu": { + "format": " {usage}% 󰍛 ", + "interval": 1, + "on-click-right": "gnome-system-monitor" +}, + +"hyprland/window": { + "format": " {} ", + "max-length": 60, + "separate-outputs": true, + "offscreen-css" : true, + "offscreen-css-text": "(inactive)", + "rewrite": { + "(.*) — Mozilla Firefox": " $1", + "(.*) - fish": "> [$1]", + "(.*) - zsh": "> [$1]", + "(.*) - kitty": "> [$1]" + } +}, + +"memory": { + "interval": 10, + "format": " {percentage}% 󰾆 ", + "format-alt-click": "click", + "tooltip": true, + "tooltip-format": "{used:0.1f}GB/{total:0.1f}G", + "on-click-right": "kitty -c ~/.config/dotfiles/kitty/kitty.conf --title btop sh -c 'btop'" +}, + +"mpris": { + "interval": 10, + "format": " {title} ", + "format-paused": " {title} {status_icon} ", + "on-click": "playerctl play-pause", + "on-click-right": "playerctl next", + "scroll-step": 5.0, + "smooth-scrolling-threshold": 1, + "status-icons": { + "paused": "󰐎", + "playing": "", + "stopped": "" + }, + "max-length": 30 +}, + + +"pulseaudio": { + "format": " {volume}% {icon} ", + "format-bluetooth": " 󰂰 {volume}% {icon} ", + "format-muted": "󰖁", + "format-icons": { + "headphone": "", + "hands-free": "", + "headset": "", + "phone": "", + "portable": "", + "car": "", + "default": ["", "", "󰕾", ""], + "ignored-sinks": ["Easy Effects Sink"] + }, + "scroll-step": 5.0, + "on-click": "pavucontrol -t 3", + "tooltip-format": "{icon} {desc} | {volume}%", + "smooth-scrolling-threshold": 1 +}, + +"temperature": { + "interval": 10, + "tooltip": true, + "hwmon-path": ["/sys/class/hwmon/hwmon1/temp1_input", "/sys/class/thermal/thermal_zone0/temp"], + "critical-threshold": 82, + "format-critical": "{temperatureC}°C {icon}", + "format": " {temperatureC}°C {icon} ", + "format-icons": ["󰈸"], + "on-click-right": "kitty -c ~/.config/dotfiles/kitty/kitty.conf --title nvtop sh -c 'nvtop'" +}, + +"custom/swaync": { + "tooltip":true, + "format": " {} {icon} ", + "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": "sleep 0.1 && swaync-client -t -sw", + "on-click-right": "swaync-client -d -sw", + "escape": true + }, + +"wlr/taskbar": { + "format": " {icon} ", + "icon-size": 20, + "all-outputs": false, + "tooltip-format": "{title}", + "on-click": "activate", + "on-click-middle": "close", + "ignore-list": [ + "wofi", + "rofi", + "org.mozilla.firefox", + "kitty" + ] + }, + +"custom/cava": { + "exec": "~/.config/dotfiles/hyprland/scripts/waybarCava.sh", + "format": "{}", + "on-click": "kitty -c ~/.config/dotfiles/kitty/kitty.conf nvim -c cd ~/.config/dotfiles/" + } +} diff --git a/configs/waybar_l/shub39/style.css b/configs/waybar_l/shub39/style.css new file mode 100644 index 0000000..03d03b7 --- /dev/null +++ b/configs/waybar_l/shub39/style.css @@ -0,0 +1,81 @@ +* { +font-family: "JetBrains Mono"; +font-weight: bold; +min-height: 0; +font-size: 102%; +font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"'; +padding: 1px; +} + +window#waybar { + background-color: rgba(0, 0, 0, 0); + transition-property: background-color; + transition-duration: .5s; +} + +window#waybar.hidden { + opacity: 0.5; +} + +window#waybar.empty { + background-color: transparent; +} + +window#waybar.empty #window { + padding: 0px; + border: 0px; + background-color: transparent; +} + +tooltip { + opacity: 1; + border-radius: 10px; +} + +tooltip label{ + padding: 10px; + color: #ebdbb2; +} + +#custom-cava, +#clock, +#cpu, +#memory, +#mpris, +#network, +#pulseaudio, +#temperature, +#workspaces, +#custom-menu, +#custom-swaync{ + border-radius: 10px; + color: #ebdbb2; + padding-top: 3px; + padding-bottom: 3px; + padding-left: 6px; + padding-right: 6px; +} + +#window{ + color: #ebdbb2; + padding-top: 3px; + padding-bottom: 3px; + padding-right: 6px; + padding-left: 6px; + border-radius: 12px; +} + +#workspaces button { + margin: 1px; + box-shadow: none; + text-shadow: none; + border-radius: 12px; + padding-left: 6px; + padding-right: 6px; + background-color: #ebdbb2; + color: #282828; +} + +#temperature.critical { + background-color: red; +}