refactor: remove unused configs
This commit is contained in:
parent
9cd764bcfd
commit
3317c929ff
8 changed files with 0 additions and 865 deletions
|
|
@ -1,26 +0,0 @@
|
|||
# A catppuccin RC for waybar. In beta, specs may change.
|
||||
app_name: waybar
|
||||
binary_name: waybar
|
||||
installation:
|
||||
location:
|
||||
macos: %appdata%/waybar/
|
||||
linux: %appdata%/waybar/
|
||||
flavours:
|
||||
all:
|
||||
default:
|
||||
- themes/
|
||||
latte:
|
||||
default:
|
||||
- themes/latte.css
|
||||
frappe:
|
||||
default:
|
||||
- themes/frappe.css
|
||||
macchiato:
|
||||
default:
|
||||
- themes/macchiato.css
|
||||
mocha:
|
||||
default:
|
||||
- themes/mocha.css
|
||||
to: ./
|
||||
one_flavour: false
|
||||
comments: "Add `@import \"$HOME/.config/waybar/<flavour>.css\";` to include the file in your style.css"
|
||||
|
|
@ -1,132 +0,0 @@
|
|||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"height": 32,
|
||||
"spacing": 0,
|
||||
"modules-left": [
|
||||
"hyprland/workspaces",
|
||||
"custom/lock",
|
||||
"custom/reboot",
|
||||
"custom/power"
|
||||
],
|
||||
"modules-right": [
|
||||
"network",
|
||||
"battery",
|
||||
"bluetooth",
|
||||
"pulseaudio",
|
||||
"backlight",
|
||||
"custom/temperature",
|
||||
"memory",
|
||||
"cpu",
|
||||
"clock"
|
||||
],
|
||||
"hyprland/workspaces": {
|
||||
"disable-scroll": false,
|
||||
"all-outputs": true,
|
||||
"format": "{icon}",
|
||||
"on-click": "activate",
|
||||
"persistent-workspaces": {
|
||||
"*":[1,2,3,4]
|
||||
},
|
||||
"format-icons": {
|
||||
"1": "",
|
||||
"2": "",
|
||||
"3": "",
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
"custom/lock": {
|
||||
"format": "<span color='#00FFFF'> </span>",
|
||||
"on-click": "hyprlock",
|
||||
"tooltip": true,
|
||||
"tooltip-format": "Lock"
|
||||
},
|
||||
"custom/reboot": {
|
||||
"format": "<span color='#FFD700'> </span>",
|
||||
"on-click": "systemctl reboot",
|
||||
"tooltip": true,
|
||||
"tooltip-format": "Reload"
|
||||
},
|
||||
"custom/power": {
|
||||
"format": "<span color='#FF4040'> </span>",
|
||||
"on-click": "systemctl poweroff",
|
||||
"tooltip": true,
|
||||
"tooltip-format": "Shutdown"
|
||||
},
|
||||
"network": {
|
||||
"format-wifi": "<span color='#00FFFF'> </span>{essid} ",
|
||||
"format-ethernet": "<span color='#7FFF00'> </span>Wired ",
|
||||
"tooltip-format": "<span color='#FF1493'> </span>{bandwidthUpBytes} <span color='#00BFFF'> </span>{bandwidthDownBytes}",
|
||||
"format-linked": "<span color='#FFA500'> </span>{ifname} (No IP) ",
|
||||
"format-disconnected": "<span color='#FF4040'> </span>Disconnected ",
|
||||
"format-alt": "<span color='#00FFFF'> </span>{signalStrength}% ",
|
||||
"interval": 1
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "<span color='#28CD41'> {icon} </span>{capacity}% ",
|
||||
"format-charging": " {capacity}%",
|
||||
"interval": 1,
|
||||
"format-icons": ["", "", "", "", ""],
|
||||
"tooltip": true
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": "<span color='#00FF7F'>{icon}</span>{volume}% ",
|
||||
"format-muted": "<span color='#FF4040'> </span>0% ",
|
||||
"format-icons": {
|
||||
"headphone": "<span color='#BF00FF'> </span>",
|
||||
"hands-free": "<span color='#BF00FF'> </span>",
|
||||
"headset": "<span color='#BF00FF'> </span>",
|
||||
"phone": "<span color='#00FFFF'> </span>",
|
||||
"portable": "<span color='#00FFFF'> </span>",
|
||||
"car": "<span color='#FFA500'> </span>",
|
||||
"default": [
|
||||
"<span color='#808080'> </span>",
|
||||
"<span color='#FFFF66'> </span>",
|
||||
"<span color='#00FF7F'> </span>"
|
||||
]
|
||||
},
|
||||
"on-click-right": "pavucontrol -t 3",
|
||||
"on-click": "pactl -- set-sink-mute 0 toggle",
|
||||
"tooltip": true,
|
||||
"tooltip-format": "Volume: {volume}%"
|
||||
},
|
||||
"custom/temperature": {
|
||||
"exec": "sensors | awk '/^Package id 0:/ {print int($4)}'",
|
||||
"format": "<span color='#FFA500'> </span>{}°C ",
|
||||
"interval": 5,
|
||||
"tooltip": true,
|
||||
"tooltip-format": "CPU temperature: {}°C"
|
||||
},
|
||||
"memory": {
|
||||
"format": "<span color='#8A2BE2'> </span>{used:0.1f}G/{total:0.1f}G ",
|
||||
"tooltip": true,
|
||||
"tooltip-format": "memory used: {used:0.2f}G/{total:0.2f}G"
|
||||
},
|
||||
"cpu": {
|
||||
"format": "<span color='#FF9F0A'> </span>{usage}% ",
|
||||
"tooltip": true
|
||||
},
|
||||
"clock": {
|
||||
"interval": 1,
|
||||
"timezone": "Asia/Chengdu",
|
||||
"format": "<span color='#BF00FF'> </span>{:%H:%M} ",
|
||||
"tooltip": true,
|
||||
"tooltip-format": "{:L%Y y %m m %d d, %A}"
|
||||
},
|
||||
"backlight": {
|
||||
"device": "intel_backlight",
|
||||
"format": "<span color='#FFD700'>{icon}</span>{percent}% ",
|
||||
"tooltip": true,
|
||||
"tooltip-format": "backlight: {percent}%",
|
||||
"format-icons": [
|
||||
"<span color='#696969'> </span>", // 暗 - 深灰
|
||||
"<span color='#A9A9A9'> </span>", // 中 - 灰
|
||||
"<span color='#FFFF66'> </span>", // 亮 - 柠檬黄
|
||||
"<span color='#FFD700'> </span>" // 最亮 - 金色
|
||||
]
|
||||
}
|
||||
}
|
||||
109
waybar/style.css
109
waybar/style.css
|
|
@ -1,109 +0,0 @@
|
|||
* {
|
||||
font-family: "CaskaydiaCove Nerd Font", "Font Awesome 6 Free", "Font Awesome 6 Free Solid";
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
color: #dcdfe1;
|
||||
}
|
||||
|
||||
#waybar {
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#workspaces,
|
||||
#window,
|
||||
#tray{
|
||||
background-color: rgba(15,27,53,0.9);
|
||||
padding: 4px 6px;
|
||||
margin-top: 6px;
|
||||
margin-left: 6px;
|
||||
margin-right: 6px;
|
||||
border-radius: 10px;
|
||||
border-width: 0px;
|
||||
}
|
||||
|
||||
#clock,
|
||||
#custom-power{
|
||||
background-color: rgba(15,27,53,0.9);
|
||||
margin-top: 6px;
|
||||
margin-right: 6px;
|
||||
padding: 4px 2px;
|
||||
border-radius: 0 10px 10px 0;
|
||||
border-width: 0px;
|
||||
}
|
||||
|
||||
#network,
|
||||
#custom-lock{
|
||||
background-color: rgba(15,27,53,0.9);
|
||||
margin-top: 6px;
|
||||
margin-left: 6px;
|
||||
padding: 4px 2px;
|
||||
border-radius: 10px 0 0 10px;
|
||||
border-width: 0px;
|
||||
}
|
||||
|
||||
#custom-reboot,
|
||||
#bluetooth,
|
||||
#battery,
|
||||
#pulseaudio,
|
||||
#backlight,
|
||||
#custom-temperature,
|
||||
#memory,
|
||||
#cpu{
|
||||
background-color: rgba(15,27,53,0.9);
|
||||
margin-top: 6px;
|
||||
padding: 4px 2px;
|
||||
border-width: 0px;
|
||||
}
|
||||
|
||||
#custpm-temperature.critical,
|
||||
#pulseaudio.muted {
|
||||
color: #FF0000;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
#bluetooth:hover,
|
||||
#network:hover,
|
||||
#backlight:hover,
|
||||
#battery:hover,
|
||||
#pulseaudio:hover,
|
||||
#custom-temperature:hover,
|
||||
#memory:hover,
|
||||
#cpu:hover,
|
||||
#clock:hover,
|
||||
#custom-lock:hover,
|
||||
#custom-reboot:hover,
|
||||
#custom-power:hover,
|
||||
#window:hover {
|
||||
background-color: rgba(70, 75, 90, 0.9);
|
||||
}
|
||||
|
||||
#workspaces button:hover{
|
||||
background-color: rgba(97, 175, 239, 0.2);
|
||||
padding: 2px 8px;
|
||||
margin: 0 2px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
background-color: #61afef;
|
||||
color: #ffffff;
|
||||
padding: 2px 8px;
|
||||
margin: 0 2px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: #888888;
|
||||
padding: 2px 8px;
|
||||
margin: 0 2px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#window {
|
||||
font-weight: 500;
|
||||
font-style: italic;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue