add shub39 waybar and other settings into hyprland

This commit is contained in:
tonizz_m1pro
2024-05-11 13:26:43 -07:00
parent f96529c150
commit 706d19c1a5
21 changed files with 1121 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}
}

View File

@@ -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;
}

View File

@@ -0,0 +1,3 @@
#!/bin/bash
sensors | awk -F '[+°]' '/^Package id 0:/ {printf "%d\n", $2}'

View File

@@ -0,0 +1,3 @@
#!/bin/bash
nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader

View File

@@ -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;

View File

@@ -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"
]
}

View File

@@ -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": "<tt><small>{calendar}</small></tt>",
"calendar": {
"mode" : "year",
"mode-mon-col" : 3,
"weeks-pos" : "right",
"on-scroll" : 1,
"format": {
"days": "<span color='#ebdbb2'><b>{}</b></span>",
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
"weekdays": "<span color='#ebdbb2'><b>{}</b></span>",
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
}
}
},
"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": "<span foreground='red'><sup></sup></span>",
"none": "",
"dnd-notification": "<span foreground='red'><sup></sup></span>",
"dnd-none": "",
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
"inhibited-none": "",
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
"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/"
}
}

View File

@@ -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;
}

View File

@@ -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"
]
}

View File

@@ -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": "<tt><small>{calendar}</small></tt>",
"calendar": {
"mode" : "year",
"mode-mon-col" : 3,
"weeks-pos" : "right",
"on-scroll" : 1,
"format": {
"days": "<span color='#ebdbb2'><b>{}</b></span>",
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
"weekdays": "<span color='#ebdbb2'><b>{}</b></span>",
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
}
}
},
"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": "<span foreground='red'><sup></sup></span>",
"none": "",
"dnd-notification": "<span foreground='red'><sup></sup></span>",
"dnd-none": "",
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
"inhibited-none": "",
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
"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/"
}
}

View File

@@ -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;
}

View File

@@ -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"
]
}

View File

@@ -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": "<tt><small>{calendar}</small></tt>",
"calendar": {
"mode" : "year",
"mode-mon-col" : 3,
"weeks-pos" : "right",
"on-scroll" : 1,
"format": {
"days": "<span color='#ebdbb2'><b>{}</b></span>",
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
"weekdays": "<span color='#ebdbb2'><b>{}</b></span>",
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
}
}
},
"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": "<span foreground='red'><sup></sup></span>",
"none": "",
"dnd-notification": "<span foreground='red'><sup></sup></span>",
"dnd-none": "",
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
"inhibited-none": "",
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
"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/"
}
}

View File

@@ -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;
}