add labwc and update stuff

This commit is contained in:
Hydroxycarbamide 2025-07-04 21:27:19 +02:00
parent 189e89212d
commit 8f02c07390
Signed by: Siklos
GPG key ID: C06D07D96997549A
24 changed files with 1687 additions and 202 deletions

View file

@ -1,44 +1,35 @@
[
{
"output": ["DP-1", "HDMI-A-1"],
"layer": "top",
"position": "top",
"layer": "bottom",
"position": "bottom",
"height": 32,
"include": ["~/.config/waybar/default-modules.jsonc"],
"modules-left": [
"dwl/tags",
"hyprland/workspaces",
"sway/workspaces#sway",
"niri/workspaces",
"river/tags"
"river/tags",
// "custom/workspaces",
// "river/layout",
// "group/visualisation"
"group/visualisation"
// "custom/media",
// "hyprland/window",
],
"modules-right": [
"group/hardware",
"pulseaudio",
"network",
"group/rightmost"
]
},
{
"output": ["DP-1", "HDMI-A-1"],
"layer": "top",
"position": "bottom",
"height": 44,
"include": ["~/.config/waybar/default-modules.jsonc"],
"modules-left": [
"group/visualisation"
],
"modules-center": [
"group/tray-group",
"wlr/taskbar"
// "mpd",
],
"modules-right": [
"group/hardware",
// "pulseaudio",
"wireplumber",
// "hyprland/language",
"network",
"group/rightmost"
]
}
]

View file

@ -15,11 +15,11 @@
},
"group/visualisation": {
"orientation": "horizontal",
// "drawer": {
// "transition-duration": 500,
// "children-class": "visualiser",
// "transition-left-to-right": true
// },
"drawer": {
"transition-duration": 500,
"children-class": "visualiser",
"transition-left-to-right": true
},
"modules": [
"cava",
"group/mpdris"
@ -43,6 +43,9 @@
// "custom/logo"
]
},
"dwl/tags": {
"num-tags":9
},
"hyprland/workspaces": {
"active-only": false,
"disable-scroll": true,
@ -58,7 +61,7 @@
"6": " ",
"7": " ",
"8": " ",
"default": ""
"default": " "
}
// "persistent-workspaces": {
// "*": 4,
@ -137,16 +140,18 @@
"wlr/taskbar": {
"all-outputs": true,
"format": "{icon}",
"icon-size": 24,
"icon-theme": "Papirus-Dark",
"icon-size": 14,
"icon-theme": "Adwaita",
// "icon-theme": "Papirus-Dark",
"active-first": false,
"tooltip-format": "{title} [{app_id}]",
"on-click": "activate",
"on-click-right": "minimize-raise",
"on-click-middle": "close",
"ignore-list": [],
"app_ids-mapping": {
"firefoxdeveloperedition": "firefox-developer-edition",
"zen-alpha": "firefox"
// "zen-alpha": "firefox"
}
},
"tray": {
@ -195,8 +200,8 @@
"format": "{player_icon} <span>{title}</span>\n{artist} <i>{album}</i>",
// "format": "{player_icon} {dynamic}",
// "format-paused": "{status_icon} <i>{dynamic}</i>",
"title-len": 60,
"dynamic-len": 60,
"title-len": 100,
"dynamic-len": 100,
"player-icons": {
"default": " ",
"mpv": " ",
@ -219,14 +224,14 @@
// "format": " {}%",
"format": "{icon0}{icon1}{icon2}{icon3}{icon4}{icon5}{icon6}{icon7}{icon8}{icon9}{icon10}{icon11}{icon12}{icon13}{icon14}{icon15}",
"format-icons": [
"<span color='#a6da95'>▁</span>", // green
"<span color='#8aadf4'>▂</span>", // blue
"<span color='#b7bdf8'>▃</span>", // white
"<span color='#b7bdf8'>▄</span>", // white
"<span color='#eed49f'>▅</span>", // yellow
"<span color='#f5a97f'>▆</span>", // yellow
"<span color='#ee99a0'>▇</span>", // orange
"<span color='#ed8796'>█</span>" // red
"<span color='#171717'>▁</span>",
"<span color='#262626'>▂</span>",
"<span color='#404040'>▃</span>",
"<span color='#525252'>▄</span>",
"<span color='#737373'>▅</span>",
"<span color='#a3a3a3'>▆</span>",
"<span color='#d4d4d4'>▇</span>",
"<span color='#e5e5e5'>█</span>"
]
},
"custom/notification": {
@ -289,14 +294,14 @@
"format": "{icon}",
"tooltip-format": "CPU: {temperatureC}°C",
"format-icons": [
"<span color='#a6da95'> ▁</span>", // green
"<span color='#8aadf4'> ▂</span>", // blue
"<span color='#b7bdf8'> ▃</span>", // white
"<span color='#b7bdf8'> ▄</span>", // white
"<span color='#eed49f'> ▅</span>", // yellow
"<span color='#f5a97f'> ▆</span>", // yellow
"<span color='#ee99a0'> ▇</span>", // orange
"<span color='#ed8796'> █</span>" // red
"<span color='#171717'> ▁</span>", // green
"<span color='#262626'> ▂</span>", // blue
"<span color='#404040'> ▃</span>", // white
"<span color='#525252'> ▄</span>", // white
"<span color='#737373'> ▅</span>", // yellow
"<span color='#a3a3a3'> ▆</span>", // yellow
"<span color='#d4d4d4'> ▇</span>", // orange
"<span color='#e5e5e5'> █</span>" // red
]
},
"temperature#amdgpu": {
@ -307,14 +312,14 @@
"format": "{icon}",
"tooltip-format": "GPU (edge): {temperatureC}°C",
"format-icons": [
"<span color='#a6da95'> ▁</span>", // green
"<span color='#8aadf4'> ▂</span>", // blue
"<span color='#b7bdf8'> ▃</span>", // white
"<span color='#b7bdf8'> ▄</span>", // white
"<span color='#eed49f'> ▅</span>", // yellow
"<span color='#f5a97f'> ▆</span>", // yellow
"<span color='#ee99a0'> ▇</span>", // orange
"<span color='#ed8796'> █</span>" // red
"<span color='#171717'> ▁</span>", // green
"<span color='#262626'> ▂</span>", // blue
"<span color='#404040'> ▃</span>", // white
"<span color='#525252'> ▄</span>", // white
"<span color='#737373'> ▅</span>", // yellow
"<span color='#a3a3a3'> ▆</span>", // yellow
"<span color='#d4d4d4'> ▇</span>", // orange
"<span color='#e5e5e5'> █</span>" // red
]
},
"network": {
@ -344,11 +349,24 @@
"on-click-release": "rofi -show power-menu -modi power-menu:rofi-power-menu"
},
"wireplumber": {
"format": "{volume}%",
"format-muted": "",
"on-click": "helvum",
// "format": "{volume}%",
"format": "{icon}",
"format-muted": "<span color='#ed8796'> </span>",
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
"on-click-middle": "sh ~/.config/waybar/modules/swap-sinks.sh",
"on-click-right": "pavucontrol",
"max-volume": 150,
"scroll-step": 0.2
"scroll-step": 5,
"format-icons": [
"<span color='#171717'> ▁</span>", // green
"<span color='#262626'> ▂</span>", // blue
"<span color='#404040'> ▃</span>", // white
"<span color='#525252'> ▄</span>", // white
"<span color='#737373'> ▅</span>", // yellow
"<span color='#a3a3a3'> ▆</span>", // yellow
"<span color='#d4d4d4'> ▇</span>", // orange
"<span color='#e5e5e5'> █</span>" // red
]
},
"pulseaudio": {
"format": "{icon}",
@ -393,7 +411,7 @@
"bars": 16,
"lower_cutoff_freq": 50,
"higher_cutoff_freq": 10000,
"method": "pulse",
"method": "pipewire",
"source": "auto",
"stereo": true,
"reverse": false,

View file

@ -0,0 +1,25 @@
#!/bin/bash
newSink=""
Headphones="alsa_output.usb-Blue_Microphones_Yeti_Stereo_Microphone_797_2018_09_06_94890-00.analog-stereo" #Change this device's to headphone pactl name
Speaker="alsa_output.pci-0000_0b_00.6.analog-stereo" #Change this to device's speaker pactl name
currentSink=$(pactl info | sed -n 's/Default Sink: //p')
if [ "$Speaker" = "$currentSink" ]; then
newSink="$Headphones"
else
newSink="$Speaker"
fi
pactl set-default-sink "$newSink"
sleep 0.1
description=$(pactl list sinks | awk '/State: RUNNING/{active=1} active && /Description:/{print substr($0, index($0, $2)); exit}')
notify-send -i audio-speakers -u low "Audio Output Changed" "$description"
# pactl list short sink-inputs|while read stream; do
# streamId=$(echo "$stream"|cut '-d ' -f1)
# echo "moving stream $streamId"
# pactl move-sink-input "$streamId" "$newSink"
# done

View file

@ -8,13 +8,14 @@
}
window#waybar {
background: rgba(24, 25, 38, 0.0);
/* background: rgba(24, 25, 38, 1.0); */
background-color: rgba(10, 10, 10, 1);
color: white;
}
tooltip {
background: rgba(24, 25, 38, 0.95);
border-radius: 10px;
border-radius: 8px;
border-width: 0px;
border-style: solid;
border-color: rgb(24, 25, 38);
@ -22,12 +23,23 @@ tooltip {
.modules-left,
window.bottom .modules-center,
window:not(.bottom) .modules-right {
background-color: #24273a;
margin: 2px;
.modules-right {
border-color: rgba(255, 255, 255, 0.06);
border-width: 1px;
border-style: solid;
background-color: #171717;
}
window:not(.bottom) .modules-left,
window.bottom .modules-center {
/* margin: 10px; */
}
.modules-left,
.modules-right {
/* margin: 10px; */
}
.modules-left,
.modules-center,
.modules-right {
padding: 2px;
@ -43,7 +55,7 @@ window:not(.bottom) .modules-left,
#layout,
#custom-notification.notification
{
border-radius: 10px 10px 10px 10px;
border-radius: 8px 8px 8px 8px;
}
#tray,
@ -57,34 +69,38 @@ widget>label {
#visualisation
{
color: #1e2030;
background-color: #f4dbd6;
color: #0a0a0a;
background-color: #e5e5e5;
}
#layout {
color: #f4dbd6;
color: #e5e5e5;
}
#layout.focused {
margin-right: 2px;
color: #1e2030;
background-color: #f4dbd6;
color: #0a0a0a;
background-color: #e5e5e5;
}
#tags button {
color: #939ab7;
color: #737373;
margin-right: 2px;
border-radius: 10px;
border-radius: 8px;
}
#tags button.occupied {
color: #f4dbd6;
color: #e5e5e5;
}
#workspaces {
margin-right: 2px;
}
#workspaces button {
color: #f4dbd6;
border-radius: 10px;
color: #e5e5e5;
border-radius: 8px;
margin-left: 1px;
margin-right: 1px;
}
@ -99,35 +115,35 @@ widget>label {
#workspaces button.empty,
#workspaces.sway button.persistent {
color: #939ab7;
color: #737373;
}
#workspaces button.empty.active {
background-color: #939ab7;
background-color: #737373;
}
#tags button.urgent,
#workspaces button.urgent {
color: #0f0f0f;
background-color: #9ec3c4;
color: #0a0a0a;
background-color: #fda4af;
}
#workspaces button:hover {
background-color: rgba(244, 219, 214, 0.7);
color: #0f0f0f;
background-color: #a3a3a3;
color: #0a0a0a;
}
#workspaces.sway button.persistent:hover,
#workspaces button.empty:hover {
background-color: rgba(147, 154, 183, 0.7);
color: #0f0f0f;
background-color: #404040;
color: #0a0a0a;
}
#workspaces button.active,
#workspaces button.focused,
#tags button.focused {
color: #0f0f0f;
background-color: #f4dbd6;
color: #0a0a0a;
background-color: #e5e5e5;
}
@ -136,27 +152,26 @@ widget>label {
}
#custom-notification {
color: #eb6f92;
color: #e5e5e5;
padding-left: 12px;
margin-right: 2px;
}
#custom-notification.notification {
color: #0f0f0f;
background-color: #eb6f92;
color: #0a0a0a;
background-color: #e5e5e5;
}
#taskbar button {
padding-top: 2px;
padding-bottom: 2px;
padding-left: 8px;
padding-right: 8px;
border-radius: 0px;
transition-duration: 150ms;
margin: 0px 2px;
padding: 2px 8px;
border-radius: 8px;
transition-duration: 600ms;
transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
}
#taskbar button:hover {
background-color: #363a4f;
background-color: #404040;
}
#taskbar button:last-child {
@ -165,24 +180,30 @@ widget>label {
#taskbar button.maximized,
#taskbar button.fullscreen {
border-top: 1px solid #8aadf4;
border: 2px solid #e5e5e5;
}
#taskbar button.minimized {
border-bottom: 2px solid #e5e5e5;
}
#taskbar button.active {
background-color: #494d64;
border-bottom: 2px solid #b7bdf8;
background-color: #e5e5e5;
border-radius: 8px;
/* border-bottom: 2px solid #b7bdf8; */
}
#clock {
color: #1e2030;
background-color: #8aadf4;
background-color: #e5e5e5;
}
#custom-updates {
margin-right: 2px;
color: #1e2030;
background-color: #9ccfd8;
background-color: #e5e5e5;
}
#custom-downloads {
@ -194,19 +215,19 @@ widget>label {
}
#network {
color: #f5a97f;
color: #e5e5e5;
}
#cpu {
color: #a6da95;
color: #e5e5e5;
}
#pulseaudio {
color: #7dc4e4;
color: #e5e5e5;
}
#pulseaudio.bluetooth {
color: #8aadf4;
color: #e5e5e5;
}
#pulseaudio.muted {
@ -245,11 +266,11 @@ widget>label {
}
#memory {
color: #b7bdf8;
color: #e5e5e5;
}
#temperature {
color: #91d7e3;
color: #e5e5e5;
}
#temperature.critical {