that's a bunch of cool new stuff

This commit is contained in:
2024-12-19 23:32:30 +01:00
parent ae3d29b0ee
commit ac51a31675
34 changed files with 864 additions and 517 deletions
+175 -111
View File
@@ -1,21 +1,39 @@
{
"layer": "top",
"margin-top": 5,
"layer": "top",
"margin-top": 0,
"spacing": 5,
"modules-left": ["group/sys", "tray", "hyprland/workspaces"],
"modules-center": ["mpris", "wlr/taskbar"],
"modules-right": ["custom/cpugov", "group/net", "group/sound", "cava", "group/indicators"],
"modules-left": [
"group/sys",
"hyprland/workspaces",
"tray"
],
"modules-center": [
"mpris",
"wlr/taskbar"
],
"modules-right": [
"custom/cpugov",
"group/net",
"group/sound",
"cava",
"group/indicators"
],
"group/indicators": {
"orientation": "inherit",
"modules": [
"gamemode", "custom/updates", "idle_inhibitor"
"gamemode",
"custom/updates",
"idle_inhibitor",
"custom/screenshader",
"custom/dnd",
"privacy"
]
},
"group/net": {
"orientation": "inherit",
"modules": [
"custom/vpn",
"network",
"network",
"bluetooth"
]
},
@@ -23,7 +41,7 @@
"orientation": "inherit",
"modules": [
"custom/cpugov",
"cpu",
"cpu",
"memory",
"custom/gpu-usage"
],
@@ -35,7 +53,8 @@
"group/sound": {
"orientation": "inherit",
"modules": [
"pulseaudio", "pulseaudio/slider"
"pulseaudio",
"pulseaudio/slider"
],
"drawer": {
"transition-duration": 500,
@@ -45,20 +64,25 @@
"group/sys": {
"orientation": "inherit",
"modules": [
"custom/power", "clock"
"custom/power",
"clock"
]
},
"network": {
"format-wifi": "{icon}",
"format-ethernet": " {ifname}",
"format-disconnected": "󰱟 Offline",
"format-disconnected": "󰱟 Offline",
"tooltip-format": "󰊗 {ifname} via {gwaddr}",
"tooltip-format-wifi": " WiFi {essid} ({signalStrength}%)",
"tooltip-format-ethernet": "󰱔 {ifname}",
"tooltip-format-disconnected": "Disconnected",
"max-length": 50,
"on-click": "nm-connection-editor",
"format-icons": ["󱛅", "󱛂", "󱛃", "󱚽"],
"format-icons": [
"󱛅",
"󱛂",
"󱛃",
"󱚽"
],
"max-length": 5
},
"tray": {
@@ -71,34 +95,32 @@
"format": "<b>{:%d.%m. %H:%M}</b>",
"timezone": "DE",
"calendar": {
"mode" : "month",
"mode-mon-col" : 3,
"weeks-pos" : "right",
"on-scroll" : 1,
"mode": "month",
"mode-mon-col": 3,
"weeks-pos": "right",
"on-scroll": 1,
"on-click-right": "mode",
"format": {
"months": "<span color='#b4befe'><b>{}</b></span>",
"days": "<span color='#bac2de'><b>{}</b></span>",
"weeks": "<span color='#f5e0dc'><b>W{}</b></span>",
"weekdays": "<span color='#f9e2af'><b>{}</b></span>",
"today": "<span color='#f38ba8'><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",
"on-click-middle": "alarm-clock-applet"
"months": "<span color='#b4befe'><b>{}</b></span>",
"days": "<span color='#bac2de'><b>{}</b></span>",
"weeks": "<span color='#f5e0dc'><b>W{}</b></span>",
"weekdays": "<span color='#f9e2af'><b>{}</b></span>",
"today": "<span color='#f38ba8'><b><u>{}</u></b></span>"
}
// "on-click": "evolution"
},
"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",
"on-click-middle": "alarm-clock-applet"
}
// "on-click": "evolution"
},
"user": {
"format": "{user}",
"interval": 240,
"height": 30,
"width": 30,
"icon": false,
"height": 16,
"width": 16,
@@ -118,7 +140,11 @@
"phone": "",
"portable": "",
"car": "",
"default": ["", "", "󰕾"]
"default": [
"",
"",
"󰕾"
]
},
"on-click": "$HOME/.config/rofi/audio/rofi-sink-switcher.sh &",
"on-click-right": "pavucontrol",
@@ -144,8 +170,8 @@
"paused": "⏸"
}
},
"custom/power": {
"format": "󰣇",
"custom/power": {
"format": "󰣇",
"menu": "on-click",
"menu-file": "~/.config/waybar/session_menu.xml",
"menu-actions": {
@@ -156,7 +182,7 @@
"suspend": "systemctl suspend",
"shutdown": "systemctl poweroff"
}
},
},
"gamemode": {
"format": "{glyph}<small>{count}</small>",
"format-alt": "{glyph}",
@@ -179,64 +205,69 @@
"on-click-middle": "close",
"on-right-middle": "minimize-raise",
"active-first": false,
"ignore-list": [
],
"ignore-list": ["title<>"],
"app_ids-mapping": {
"firefoxdeveloperedition": "firefox-developer-edition"
"firefoxdeveloperedition": "firefox-developer-edition"
},
"rewrite": {
"Mozilla Firefox": "Firefox",
"Visual Studio Code": "Code",
"Alacritty": "Terminal"
}
"firefox": "Firefox",
"VSCodium": "Code",
"codium": "Code",
"Alacritty": "Terminal",
},
"squash-list": [
"firefox"
]
},
"hyprland/workspaces": {
"format": "{name}{windows}",
"format": "{name} {windows}",
"active-only": false,
"window-rewrite-default": " 󰘔",
"window-rewrite-default": "󰘔",
"on-click": "activate",
"format-window-separator": " ",
"format-icons": {
"urgent": "",
"focused": "",
"active": "",
"default": ""
"urgent": "",
"focused": "",
"active": "",
"default": ""
},
"window-rewrite": {
"firefox": " ",
"mercury-default": " ",
"LibreWolf": " ",
"celluloid": " ",
"videostream": " ",
"mpv": " ",
"rust": " ",
"private browsing": " ",
"google": " ",
"chrome": " ",
"Chromium": " ",
"nemo": " ",
"pcmanfm": " ",
"libreoffice calc": " ",
"libreoffice writer": " 󰈙",
"libreoffice": " 󰈙",
"vim": " ",
"nvim": " ",
"viewnior": " ",
"transmission": " ",
"music": " ",
"audacious": " ",
"webcord": " 󰙯",
"armcord": " 󰙯",
"goofcord": " 󰙯",
"discord": " 󰙯",
"Steam": " 󰓓",
"Teams": " 󰊻",
"kitty": " ",
"alacritty": " ",
"foot": " ",
"code": " 󰨞",
"codium": " 󰅨",
"subl": " "
"firefox": "",
"mercury-default": "",
"LibreWolf": "",
"celluloid": "",
"videostream": "",
"mpv": "",
"rust": "",
"private browsing": "",
"google": "",
"chrome": "",
"Chromium": "",
"nemo": "",
"pcmanfm": "",
"libreoffice calc": "",
"libreoffice writer": "󰈙",
"libreoffice": "󰈙",
"vim": "",
"nvim": "",
"viewnior": "",
"transmission": "",
"music": "",
"audacious": "",
"webcord": "󰙯",
"armcord": "󰙯",
"goofcord": "󰙯",
"discord": "󰙯",
"Steam": "󰓓",
"Teams": "󰊻",
"kitty": "",
"alacritty": "",
"foot": "",
"code": "󰨞",
"codium": "󰅨",
"subl": "",
"title<>": ""
},
"sort-by-number": true
},
@@ -259,20 +290,41 @@
},
"exec-if": "which waybar-module-pacman-updates",
"exec": "waybar-module-pacman-updates",
"on-click": "paru"
"on-click": "alacritty paru"
},
"custom/dnd": {
"format": " {} ",
"exec": "hyprm-dnd",
"return-type": "json",
"on-click": "dunstctl set-paused toggle",
"restart-interval": 1,
},
"custom/screenshader": {
"format": " {} ",
"menu": "on-click",
"menu-file": "~/.config/waybar/screenshader.xml",
"menu-actions": {
"blue-light-heavy": "hyprshade on blue-light-filter",
"blue-light-soft": "hyprshade on blue-light-alt",
"off": "hyprshade off"
},
"exec-if": "hyprshade",
"exec": "hyprshade-waybar",
"return-type": "json",
"restart-interval": 1000
},
"custom/notification": {
"tooltip": false,
"format": "{icon} {}",
"format-icons": {
"notification": "󰂞",
"none": "󰂜",
"dnd-notification": "󰂛",
"dnd-none": "󰂛",
"inhibited-notification": "󰂜",
"inhibited-none": "󰂜",
"dnd-inhibited-notification": "󰂛",
"dnd-inhibited-none": "󰂛"
"notification": "󰂞",
"none": "󰂜",
"dnd-notification": "󰂛",
"dnd-none": "󰂛",
"inhibited-notification": "󰂜",
"inhibited-none": "󰂜",
"dnd-inhibited-notification": "󰂛",
"dnd-inhibited-none": "󰂛"
},
"return-type": "json",
"exec-if": "which swaync-client",
@@ -300,7 +352,16 @@
"noise_reduction": 0.77,
"input_delay": 2,
"sleep_timer": 5,
"format-icons" : ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█" ],
"format-icons": [
"▁",
"▂",
"▃",
"▄",
"▅",
"▆",
"▇",
"█"
],
"actions": {
"on-click-right": "mode"
}
@@ -317,8 +378,8 @@
"<span color='#ffffa5' size='8pt' rise='1.5pt'>▅</span>", // yellow
"<span color='#ffffa5' size='8pt' rise='1.5pt'>▆</span>", // yellow
"<span color='#ff9977' size='8pt' rise='1.5pt'>▇</span>", // orange
"<span color='#dd532e' size='8pt' rise='1.5pt'>█</span>" // red
]
"<span color='#dd532e' size='8pt' rise='1.5pt'>█</span>" // red
]
},
"memory": {
"interval": 30,
@@ -333,19 +394,17 @@
"<span color='#ffffa5' size='8pt' rise='1.5pt'>▅</span>", // yellow
"<span color='#ffffa5' size='8pt' rise='1.5pt'>▆</span>", // yellow
"<span color='#ff9977' size='8pt' rise='1.5pt'>▇</span>", // orange
"<span color='#dd532e' size='8pt' rise='1.5pt'>█</span>" // red
]
"<span color='#dd532e' size='8pt' rise='1.5pt'>█</span>" // red
]
},
"custom/cpugov": {
"exec": "$HOME/.config/waybar/waybar-cpugov",
"exec": "hyprm-waybar-cpugov",
"return-type": "json",
"restart-interval": 10,
"on-click": "$HOME/.config/rofi/cpugov/rofi-cpugov.sh",
"on-click-right": "env GTK_THEME=Adwaita:dark resources"
"on-click": "$HOME/.config/rofi/cpugov/rofi-cpugov.sh"
},
"custom/gpu-usage": {
"exec": "$HOME/.config/waybar/waybar-gpustat",
"exec": "hyprm-waybar-gpustat",
"return-type": "json",
"restart-interval": 10
},
@@ -356,7 +415,13 @@
"critical": 15
},
"format": "{capacity}% {icon}",
"format-icons": ["", "", "", "", ""],
"format-icons": [
"",
"",
"",
"",
""
],
"max-length": 25
},
"bluetooth": {
@@ -390,10 +455,10 @@
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",
"tooltip": true,
"format-icons": {
"default": "󰓅",
"performance": "󰓅",
"balanced": "󰾅",
"power-saver": "󰌪"
"default": "󰓅",
"performance": "󰓅",
"balanced": "󰾅",
"power-saver": "󰌪"
}
},
"privacy": {
@@ -419,11 +484,10 @@
]
},
"custom/weather": {
"exec": "${HOME}/.config/waybar/waybar-weather Oberhausen+Germany",
"exec": "hyprm-waybar-weather NRW+Germany",
"return-type": "json",
"format": "{}",
"tooltip": true,
"interval": 3600
}
}
}
+26
View File
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkMenu" id="menu">
<child>
<object class="GtkMenuItem" id="blue-light-heavy">
<property name="label"> Blue Light Heavy</property>
</object>
</child>
<child>
<object class="GtkMenuItem" id="blue-light-soft">
<property name="label"> Blue Light Soft</property>
</object>
</child>
<child>
<object class="GtkSeparatorMenuItem" id="delimiter1"/>
</child>
<child>
<object class="GtkMenuItem" id="off">
<property name="label"> Off</property>
</object>
</child>
</object>
</interface>
-232
View File
@@ -1,232 +0,0 @@
* {
border: none;
font-family: "JetBrainsMono Nerd Font", sans-serif;
font-size: 13px;
color:alpha(@theme_text_color, 0.8);
}
window#waybar {
background: @theme_bg_color;
}
/*-----main groups----*/
.modules-right {
margin: 0 0 0 0;
background-color:alpha(@theme_selected_bg_color, 0.15);
}
.modules-center {
margin: 0 0 0 0;
}
.modules-left {
margin: 0 0 0 0;
background-color:alpha(@theme_selected_bg_color, 0.15);
}
/**
## ALL MODULES
**/
#clock,
#battery,
#backlight,
#cpu,
#memory,
#bluetooth,
#temperature,
#network,
#pulseaudio,
#tray,
#mode,
#idle_inhibitor,
#workspaces,
#custom-power,
#custom-menu,
#custom-media,
#custom-notification,
#custom-updates,
#custom-pacman,
#user,
#cava,
#custom-gpu-usage,
#custom-cpugov,
#custom-vpn.connected{
padding:0px 10px;
}
/**
* GROUPS
**/
#sys, #stats, #net, #sound {
margin: 0;
padding:2px 5px 1px 5px;
border-radius:0;
color:alpha(@theme_text_color, 0.5);
}
/**
* SYS
**/
#sys {
background-color:alpha(@theme_selected_bg_color, 0.1);
}
#custom-power {
margin-left:0;
margin-right:0;
}
#user {
padding-left:0;
font-weight:bold;
}
#stats .drawer-child {
padding-left: 10px;
padding-right: 10px;
}
#tray {
padding-right:0
}
/**
* SOUND
**/
#cava {
background-color: transparent;
padding-left: 0;
}
#pulseaudio-slider {
padding-left: 10px;
padding-right: 10px;
}
#pulseaudio-slider slider {
min-height: 0px;
min-width: 0px;
opacity: 0;
background-image: none;
border: none;
box-shadow: none;
background-color: @insensitive_bg_color;
border:2px solid @theme_selected_bg_color;
}
#pulseaudio-slider trough {
min-height: 4px;
min-width: 80px;
border-radius: 5px;
background-color: #11111b;
}
#pulseaudio-slider highlight {
min-width: 5px;
border-radius: 5px;
background-color: #6c7086;
}
#custom-updates {
background-color:alpha(@theme_selected_bg_color, 0.2);
padding-right:12px
}
/**
* MISC
**/
#mpris {
background-color: rgba(172,176,208, .3);
border-radius:20px;
margin: 8px 10px 8px 0px;
padding:0 10px;
}
/**
* WORKSPACES
**/
#workspaces {
padding:0 10px 0 10px;
}
#workspaces button {
padding: 0px 10px;
background-color: transparent;
outline:none;
border-radius: 20px;
margin: 8px 5px 8px 0px;
}
#workspaces button:last-child {
margin-right: 0;
}
#workspaces button.empty {
color:inherit;
}
#workspaces button.active {
background-color: transparent;
}
#workspaces button.visible {
background-color:alpha(@theme_selected_bg_color, 0.3);
}
#workspaces button.urgent {
color: #cc3436;
}
#workspaces button:hover {
background-color:alpha(@theme_selected_bg_color, 0.4);
box-shadow: inherit;
text-shadow: inherit;
}
/**
## INDICATORS
**/
#pulseaudio.muted {
color: #cc3436;
}
#battery.charging {
color: #2dcc36;
}
#battery.warning:not(.charging) {
color: #e6e600;
}
#battery.critical:not(.charging) {
color: #cc3436;
}
#temperature.critical {
color: #cc3436;
}
#idle_inhibitor {
padding-right: 14px;
background-color:alpha(@theme_selected_bg_color, 0.2);
}
#idle_inhibitor.activated {
color:alpha(@theme_selected_bg_color, 0.9);
}
/**
* TASKBAR
**/
#taskbar {
font-size:8px;
background: transparent;
opacity: 1;
padding:0;
}
#taskbar button {
border-bottom: 2px solid alpha(@borders, 0.9);
padding:6px 10px 3px 10px;
background: transparent;
transition:100ms border ease-in-out;
margin-left:4px;
border-radius:0;
font-size:8px;
}
#taskbar button:first-child {
margin-left:0;
}
#taskbar button:hover {
background-color:alpha(@theme_selected_bg_color, 0.2);
}
#taskbar button.active {
background-color:alpha(@theme_selected_bg_color, 0.1);
border-bottom: 2px solid @borders;
opacity:1;
}
+41 -43
View File
@@ -10,22 +10,21 @@ window#waybar {
}
/*-----main groups----*/
.modules-right {
margin: 0 5px 0 0;
margin: 0;
padding-left:5px;
padding-right:10px;
border-radius: 10px;
/* background-color:alpha(@theme_selected_bg_color, 0.15); */
background: @theme_bg_color
padding-right:0;
border-radius: 0;
}
.modules-center {
margin: 0 0 0 0;
border-radius: 10px;
margin: 0;
border-radius: 0;
}
.modules-left {
margin: 0 0 0 5px;
/* background-color:alpha(@theme_selected_bg_color, 0.15);
background: @theme_bg_color */
border-radius: 10px;
border-radius: 0;
margin-left: 5px;
}
@@ -60,7 +59,6 @@ window#waybar {
#privacy,
#gamemode{
padding:0px 10px;
}
/**
@@ -68,10 +66,7 @@ window#waybar {
**/
#sys, #stats, #net, #sound {
margin: 0;
border-radius:10px;
color:alpha(@theme_text_color, 0.5);
background-color: @theme_bg_color;
}
@@ -79,7 +74,7 @@ window#waybar {
* SYS
**/
#sys {
padding:0 10px 0 10px;
padding:0 0px 0 10px;
}
#custom-power {
margin-left:0;
@@ -101,9 +96,10 @@ window#waybar {
}
#tray {
background-color: @theme_bg_color;
border-radius:10px;
margin: 0;
border-radius: 4px;
padding: 0px 8px 0px 8px;
margin: 8px 0px 8px 0px;
background-color:alpha(@theme_selected_bg_color, 0.1);
}
#custom-notification {
@@ -119,7 +115,7 @@ window#waybar {
padding-left: 0;
}
#pulseaudio-slider {
padding-left: 0px;
padding-left: 10px;
padding-right: 10px;
}
#pulseaudio-slider slider {
@@ -130,13 +126,13 @@ window#waybar {
border: none;
box-shadow: none;
background-color: @insensitive_bg_color;
border:2px solid @theme_selected_bg_color;
border:1px solid alpha(@theme_selected_bg_color, 0.1);
}
#pulseaudio-slider trough {
min-height: 4px;
min-width: 80px;
border-radius: 5px;
background-color: #11111b;
background-color: alpha(@theme_selected_bg_color, 0.3);
}
#pulseaudio-slider highlight {
@@ -155,8 +151,7 @@ window#waybar {
* MISC
**/
#mpris {
background-color: rgba(172,176,208, .3);
border-radius:20px;
border-radius:0;
margin: 8px 10px 8px 0px;
padding:0 10px;
}
@@ -165,33 +160,36 @@ window#waybar {
* WORKSPACES
**/
#workspaces {
padding:0 10px 0 0px;
border-radius:10px
padding:0;
border-radius: 0
}
#workspaces button {
padding: 0px 10px;
background-color: shade(@theme_bg_color, 1);
padding: 0px 10px 0px 8px;
margin: 8px 2px 8px 0px;
outline:none;
border-radius: 10px;
margin: 8px 5px 8px 0px;
border-radius: 4px;
background-color:alpha(@theme_selected_bg_color, 0.05);
}
#workspaces button:last-child {
margin-right: 0;
}
#workspaces button.empty {
#workspaces button.empty, #workspaces button.active.empty {
color:inherit;
padding: 0px 0px 0px 8px;
}
#workspaces button.active {
background-color: transparent;
padding: 0px 10px 0px 8px;
}
#workspaces button.visible {
background-color: shade(@theme_bg_color, 1.5);
background-color:alpha(@theme_selected_bg_color, 0.1);
}
#workspaces button.urgent {
color: #cc3436;
}
#workspaces button:hover {
background-color:alpha(@theme_selected_bg_color, 0.4);
background-color:alpha(@theme_selected_bg_color, 0.05);
box-shadow: inherit;
text-shadow: inherit;
}
@@ -223,9 +221,7 @@ window#waybar {
#indicators {
padding-right:5px;
padding-left:5px;
background-color:shade(@theme_bg_color, 1.5);
border-radius:10px;
margin:10px 0;
border-radius:0;
}
@@ -234,19 +230,18 @@ window#waybar {
**/
#taskbar {
font-size:8px;
background: transparent;
margin:0;
opacity: 1;
padding:0;
border-radius:10px;
background: @theme_bg_color;
border-radius: 0;
}
#taskbar.empty {
background: transparent;
opacity:0;
}
#taskbar button {
padding:3px 10px 3px 10px;
transition:100ms border ease-in-out;
border-radius:10px;
border-radius: 0;
font-size:8px;
}
@@ -254,20 +249,23 @@ window#waybar {
border-radius:0px;
}
#taskbar button:first-child {
border-radius: 10px 0 0 10px;
}
#taskbar button:last-child {
border-radius: 0 10px 10px 0;
}
#taskbar button:last-child:first-child {
border-radius: 10px;
}
#taskbar button.empty {
opacity:0;
}
#taskbar button:hover {
background-color:alpha(@theme_selected_bg_color, 0.2);
background-color:alpha(@theme_selected_bg_color, 0.1);
}
#taskbar button.active {
background-color:alpha(@theme_selected_bg_color, 0.1);
background-color:alpha(@theme_selected_bg_color, 0.05);
opacity:1;
}