update configs and setup

This commit is contained in:
2024-04-02 17:26:01 +02:00
parent 2939a2e2e0
commit ccd1408417
44 changed files with 1705 additions and 1342 deletions
+81 -55
View File
@@ -1,10 +1,16 @@
{
"layer": "top",
"margin-top": 0,
"spacing": 0,
"margin-top": 5,
"spacing": 5,
"modules-left": ["group/sys", "tray", "hyprland/workspaces"],
"modules-center": ["mpris", "wlr/taskbar"],
"modules-right": ["group/stats", "group/net", "group/sound", "cava", "battery", "custom/updates","idle_inhibitor"],
"modules-right": ["group/stats", "group/net", "group/sound", "cava", "battery", "group/indicators", "custom/notification"],
"group/indicators": {
"orientation": "inherit",
"modules": [
"gamemode", "privacy", "custom/updates", "idle_inhibitor"
]
},
"group/net": {
"orientation": "inherit",
"modules": [
@@ -19,8 +25,7 @@
"custom/cpugov",
"cpu",
"memory",
"custom/gpu-usage",
"gamemode"
"custom/gpu-usage"
],
"drawer": {
"transition-duration": 500,
@@ -30,7 +35,7 @@
"group/sound": {
"orientation": "inherit",
"modules": [
"pulseaudio", "pulseaudio/slider", "custom/audio_idle_inhibitor"
"pulseaudio", "pulseaudio/slider"
],
"drawer": {
"transition-duration": 500,
@@ -99,10 +104,10 @@
"open-on-click": false
},
"pulseaudio": {
"format": "{format_source} | {icon} <b>{volume}</b>%",
"format": "{format_source} {icon} <small>{volume}%</small>",
"format-bluetooth": "{icon} {volume}% {format_source}",
"format-bluetooth-muted": "{icon} {format_source}",
"format-muted": "{icon} <b>0</b>%",
"format-bluetooth-muted": "{icon} {format_source}",
"format-muted": "{icon} <b>0</b>%",
"format-source": "",
"format-source-muted": "",
"format-icons": {
@@ -112,7 +117,7 @@
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""]
"default": ["", "", "󰕾"]
},
"on-click": "$HOME/.config/rofi/audio/rofi-sink-switcher.sh &",
"on-click-right": "pavucontrol",
@@ -124,18 +129,6 @@
"max": 99,
"orientation": "horizontal"
},
"custom/audio_idle_inhibitor": {
"format": "{icon}",
"exec": "sway-audio-idle-inhibit --dry-print-both-waybar",
"exec-if": "which sway-audio-idle-inhibit",
"return-type": "json",
"format-icons": {
"output": "",
"input": "",
"output-input": "",
"none": ""
}
},
"mpris": {
"format": "⏸ {title:.10}",
"format-paused": "▶ {player}",
@@ -151,7 +144,7 @@
},
"custom/power": {
"format": "󰣇",
"on-click": "$HOME/.config/rofi/powermenu/powermenu.sh"
"on-click": "wlogout -P 1 -s -r 10 -c 10"
},
"gamemode": {
"format": "{glyph}<small>{count}</small>",
@@ -160,8 +153,8 @@
"hide-not-running": true,
"use-icon": true,
"icon-name": "input-gaming-symbolic",
"icon-spacing": 4,
"icon-size": 14,
"icon-spacing": 1,
"icon-size": 12,
"tooltip": true,
"tooltip-format": "Games running: {count}"
},
@@ -173,20 +166,22 @@
"sort-by-app-id": true,
"on-click": "activate",
"on-click-middle": "close",
"on-right-middle": "minimize-raise",
"active-first": false,
"ignore-list": [
"Alacritty"
],
"app_ids-mapping": {
"firefoxdeveloperedition": "firefox-developer-edition"
},
"rewrite": {
"Firefox Web Browser": "Firefox",
"Mozilla Firefox": "Firefox",
"Visual Studio Code": "Code",
"Nemo": "Dateien"
"Alacritty": "Terminal"
}
},
"hyprland/workspaces": {
"format": "{name}{windows}",
"active-only": false,
"window-rewrite-default": " 󰘔",
"on-click": "activate",
"format-window-separator": " ",
@@ -205,10 +200,10 @@
"rust": " ",
"private browsing": " ",
"google": " ",
"foot": " ",
"chrome": " ",
"Chromium": " ",
"nemo": " ",
"pcmanfm": " ",
"libreoffice calc": " ",
"libreoffice writer": " 󰈙",
"libreoffice": " 󰈙",
@@ -225,7 +220,11 @@
"Steam": " 󰓓",
"Teams": " 󰊻",
"kitty": " ",
"code": " 󰨞"
"alacritty": " ",
"foot": " ",
"code": " 󰨞",
"codium": " 󰅨",
"subl": " "
},
"sort-by-number": true
},
@@ -234,7 +233,8 @@
"rewrite": {
"(.*) — firefox": "🌎 $1",
"(.*) - zsh": "> [$1]",
"(.*) - kitty": "> [$1]"
"(.*) - kitty": "> [$1]",
"(.*) - alacritty": "> [$1]"
},
"separate-outputs": false
},
@@ -246,28 +246,21 @@
"updated": "󰂪"
},
"exec-if": "which waybar-module-pacman-updates",
"exec": "waybar-module-pacman-updates"
},
"custom/pacman": {
"format": "{} ",
"interval": 3600, // every hour
"exec": "checkupdates | wc -l", // # of updates
"exec-if": "exit 0", // always run; consider advanced run conditions
"on-click": "kitty 'sudo pacman -Syu'; pkill -SIGRTMIN+8 waybar", // update system
"signal": 8
"exec": "waybar-module-pacman-updates",
"on-click": "paru"
},
"custom/notification": {
"tooltip": false,
"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": ""
"notification": "󰂞",
"none": "󰂜",
"dnd-notification": "󰂛",
"dnd-none": "󰂛",
"inhibited-notification": "󰂜",
"inhibited-none": "󰂜",
"dnd-inhibited-notification": "󰂛",
"dnd-inhibited-none": "󰂛"
},
"return-type": "json",
"exec-if": "which swaync-client",
@@ -336,7 +329,7 @@
"return-type": "json",
"restart-interval": 10,
"on-click": "$HOME/.config/rofi/cpugov/rofi-cpugov.sh",
"on-click-right": "resources"
"on-click-right": "env GTK_THEME=Adwaita:dark resources"
},
"custom/gpu-usage": {
"exec": "$HOME/.config/waybar/waybar-gpustat",
@@ -358,20 +351,20 @@
// "controller": "controller1", // specify the alias of the controller if there are more than 1 on the system
"format": " {status}",
"format-disabled": "󰂲", // an empty format will hide the module
"format-connected": " {num_connections}",
"format-connected": "<small>{num_connections}</small>",
"tooltip-format": "{controller_alias}\t{controller_address}",
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{device_enumerate}",
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{device_enumerate}\t{device_battery_percentage}%",
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
"on-click": "blueberry"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
"activated": "󱎴",
"deactivated": "󱩛"
},
"tooltip-format-activated": " Idle Inhibitor activated",
"tooltip-format-deactivated": " Idle Inhibitor deactivated"
"tooltip-format-activated": "󱎴 Active: No Lockscreen on idle",
"tooltip-format-deactivated": "󱩛 Active: Lockscreen on idle"
},
"custom/vpn": {
"format": "󰖂",
@@ -379,6 +372,39 @@
"exec-if": "test -d /proc/sys/net/ipv4/conf/tun0",
"return-type": "json",
"interval": 5
},
"power-profiles-daemon": {
"format": "{icon}",
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",
"tooltip": true,
"format-icons": {
"default": "󰓅",
"performance": "󰓅",
"balanced": "󰾅",
"power-saver": "󰌪"
}
},
"privacy": {
"icon-spacing": 4,
"icon-size": 12,
"transition-duration": 250,
"modules": [
{
"type": "screenshare",
"tooltip": true,
"tooltip-icon-size": 12
},
{
"type": "audio-out",
"tooltip": true,
"tooltip-icon-size": 12
},
{
"type": "audio-in",
"tooltip": true,
"tooltip-icon-size": 12
}
]
}
}
+232
View File
@@ -0,0 +1,232 @@
* {
border: none;
font-family: "Hack 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;
}
+68 -32
View File
@@ -5,17 +5,28 @@
color:alpha(@theme_text_color, 0.8);
}
window#waybar {
background: @theme_bg_color;
background: transparent;
}
/*-----main groups----*/
.modules-right {
margin: 0 0 0 0;
margin: 0 5px 0 0;
padding-left:5px;
padding-right:10px;
border-radius: 10px;
/* background-color:alpha(@theme_selected_bg_color, 0.15); */
background: @theme_bg_color
}
.modules-center {
margin: 0 0 0 0;
border-radius: 10px;
}
.modules-left {
margin: 0 0 0 0;
margin: 0 0 0 5px;
/* background-color:alpha(@theme_selected_bg_color, 0.15);
background: @theme_bg_color */
border-radius: 10px;
margin-left: 5px;
}
/**
@@ -44,8 +55,12 @@ window#waybar {
#cava,
#custom-gpu-usage,
#custom-cpugov,
#custom-vpn.connected{
#custom-vpn.connected,
#power-profiles-daemon,
#privacy,
#gamemode{
padding:0px 10px;
}
/**
@@ -53,20 +68,22 @@ window#waybar {
**/
#sys, #stats, #net, #sound {
margin: 0;
padding:2px 5px 1px 5px;
border-radius:0;
border-radius:10px;
color:alpha(@theme_text_color, 0.5);
background-color:alpha(@theme_selected_fg_color, 0.3);
background-color: @theme_bg_color;
}
/**
* SYS
**/
#sys {
padding:0 10px 0 10px;
}
#custom-power {
margin-left:0;
margin-right:0;
/*font-family: "MonarchOS", sans-serif;*/
}
#user {
padding-left:0;
@@ -79,16 +96,22 @@ window#waybar {
padding-right: 10px;
}
#tray {
background-color: @theme_bg_color;
border-radius:10px;
margin: 0;
}
/**
* SOUND
**/
#cava {
background-color:alpha(@theme_selected_fg_color, 0.3);
background-color: transparent;
padding-left: 0;
}
#pulseaudio-slider {
padding-left: 10px;
padding-left: 0px;
padding-right: 10px;
}
#pulseaudio-slider slider {
@@ -115,12 +138,9 @@ window#waybar {
}
#custom-updates {
background-color:alpha(@theme_selected_fg_color, 0.3);
padding-right:12px
}
#tray {
background-color:alpha(@theme_selected_fg_color, 0.1);
}
/**
* MISC
@@ -136,15 +156,14 @@ window#waybar {
* WORKSPACES
**/
#workspaces {
background-color: transparent;
padding:0;
margin-left:10px
padding:0 10px 0 0px;
border-radius:10px
}
#workspaces button {
padding: 0px 10px;
background-color: transparent;
background-color: shade(@theme_bg_color, 1);
outline:none;
border-radius: 20px;
border-radius: 10px;
margin: 8px 5px 8px 0px;
}
#workspaces button:last-child {
@@ -157,7 +176,7 @@ window#waybar {
background-color: transparent;
}
#workspaces button.visible {
background-color:alpha(@theme_selected_bg_color, 0.3);
background-color: shade(@theme_bg_color, 1.5);
}
#workspaces button.urgent {
color: #cc3436;
@@ -187,14 +206,19 @@ window#waybar {
#temperature.critical {
color: #cc3436;
}
#idle_inhibitor {
padding-right: 14px;
background-color:alpha(@theme_selected_fg_color, 0.3);
}
#idle_inhibitor.activated {
color:alpha(@theme_selected_bg_color, 0.9);
}
#indicators {
padding-right:5px;
padding-left:5px;
background-color:shade(@theme_bg_color, 1.5);
border-radius:10px;
margin:10px 0;
}
/**
* TASKBAR
@@ -204,25 +228,37 @@ window#waybar {
background: transparent;
opacity: 1;
padding:0;
border-radius:10px;
background: @theme_bg_color;
}
#taskbar.empty {
background: transparent;
}
#taskbar button {
border-bottom: 2px solid alpha(@borders, 0.9);
padding:6px 10px 3px 10px;
background: transparent;
padding:3px 10px 3px 10px;
transition:100ms border ease-in-out;
margin-left:4px;
border-radius:0;
border-radius:10px;
font-size:8px;
}
#taskbar button:first-child {
margin-left:0;
#taskbar button:not(:first-child) {
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: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;
}