mirror of
https://github.com/ksyasuda/dotfiles.git
synced 2026-04-09 04:19:24 -07:00
update
This commit is contained in:
@@ -104,3 +104,7 @@ windowrule = float on, match:title Picture in picture
|
||||
windowrule = pin on, match:title Picture in picture
|
||||
|
||||
windowurle = no_vrr on, match:class mpv
|
||||
|
||||
# aibar popup (AI usage widget)
|
||||
windowrule = float on, match:title aibar
|
||||
windowrule = move 100%-374 50, match:title aibar
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
"custom/notification",
|
||||
"custom/updates",
|
||||
"custom/kernel",
|
||||
"custom/codexbar",
|
||||
// "disk#ssd",
|
||||
// "temperature",
|
||||
// "cpu",
|
||||
@@ -32,7 +33,7 @@
|
||||
"network",
|
||||
"pulseaudio",
|
||||
"clock",
|
||||
"custom/weather"
|
||||
"custom/meteobar",
|
||||
],
|
||||
|
||||
"hyprland/workspaces": {
|
||||
@@ -52,10 +53,10 @@
|
||||
},
|
||||
},
|
||||
"bluetooth": {
|
||||
"format-on": "bt ",
|
||||
"format-off": "bt ({status}) ",
|
||||
"format-connected": "{device_alias} ",
|
||||
"format-connected-battery": "{device_alias} [{device_battery_percentage}%] ",
|
||||
"format-on": "bt ",
|
||||
"format-off": "bt ({status}) ",
|
||||
"format-connected": "{device_alias} ",
|
||||
"format-connected-battery": "{device_alias} [{device_battery_percentage}%] ",
|
||||
"format-device-preference": ["ugreen_1", "ugreen_2"],
|
||||
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
|
||||
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}",
|
||||
@@ -148,40 +149,39 @@
|
||||
"interval": 60,
|
||||
"interface-ethernet": "enp1s*",
|
||||
"interface-wifi": "wlan0",
|
||||
"format-ethernet": "eth ",
|
||||
"format-ethernet": "eth ",
|
||||
"format-wifi": "{essid} ({signalStrength}%) ",
|
||||
"tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
|
||||
"tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
|
||||
"tooltip-format-wifi": "{ifname}: {ipaddr}/{cidr} ",
|
||||
"format-linked": "(No IP) ",
|
||||
"format-linked": "(No IP) ",
|
||||
"format-disconnected": "Disconnected ⚠",
|
||||
"on-click": "$HOME/.config/rofi/scripts/rofi-wifi-menu.sh",
|
||||
},
|
||||
"custom/weather": {
|
||||
"interval": 600,
|
||||
"exec": "~/.config/waybar/scripts/wttr.sh Los_Angeles",
|
||||
"custom/meteobar": {
|
||||
"exec": "$HOME/.config/waybar/scripts/meteobar.sh",
|
||||
"return-type": "json",
|
||||
"format": "{}",
|
||||
"interval": 900,
|
||||
"tooltip": true,
|
||||
},
|
||||
"custom/kernel": {
|
||||
"exec": "uname -r | sed -E 's/^([0-9]+\\.[0-9]+\\.[0-9]+)-.*-([a-zA-Z0-9]+)/\\1-\\2/'",
|
||||
"format": "{} ",
|
||||
"format": "{} ",
|
||||
},
|
||||
"pulseaudio": {
|
||||
"scroll-step": 2,
|
||||
"format": "{volume}% {icon} {format_source}",
|
||||
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||||
"format-bluetooth-muted": " {icon} {format_source}",
|
||||
"format-muted": " {format_source}",
|
||||
"format-bluetooth-muted": "\uf6a9 {icon} {format_source}",
|
||||
"format-muted": " {format_source}",
|
||||
"format-source": "{volume}% ",
|
||||
"format-source-muted": "",
|
||||
"ignored-sinks": ["Easy Effects Sink"],
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
},
|
||||
"on-click": "pavucontrol",
|
||||
@@ -194,14 +194,14 @@
|
||||
"scroll-step": 2,
|
||||
"format": "{volume}% {icon} {format_source}",
|
||||
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||||
"format-bluetooth-muted": " {icon} {format_source}",
|
||||
"format-muted": " {format_source}",
|
||||
"format-bluetooth-muted": "\uf6a9 {icon} {format_source}",
|
||||
"format-muted": " {format_source}",
|
||||
"format-source": "{volume}% ",
|
||||
"format-source-muted": "",
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
@@ -221,6 +221,7 @@
|
||||
"8": "八",
|
||||
"9": "九",
|
||||
"10": "十",
|
||||
"urgent": "",
|
||||
// "11": "一",
|
||||
// "12": "二",
|
||||
// "13": "三",
|
||||
@@ -250,8 +251,8 @@
|
||||
"format": "{} {icon}",
|
||||
"return-type": "json",
|
||||
"format-icons": {
|
||||
"has-updates": "",
|
||||
"updated": "",
|
||||
"has-updates": "",
|
||||
"updated": "",
|
||||
},
|
||||
"exec-if": "which waybar-module-pacman-updates",
|
||||
"exec": "waybar-module-pacman-updates --no-zero-output --tooltip-align-columns",
|
||||
@@ -264,7 +265,7 @@
|
||||
},
|
||||
"custom/firefox-scroll": {
|
||||
"exec": "$HOME/.config/waybar/scripts/scroll-firefox.sh",
|
||||
"format": "<span color='#E66000'> </span>{}",
|
||||
"format": "<span font='Font Awesome 7 Brands' color='#E66000'></span>{}",
|
||||
"max-length": 35,
|
||||
"on-click": "playerctl -p firefox play-pause",
|
||||
"hide-empty-text": true,
|
||||
@@ -303,7 +304,7 @@
|
||||
},
|
||||
"custom/mpv-scroll": {
|
||||
"exec": "$HOME/.config/waybar/scripts/scroll-mpv.sh",
|
||||
"format": "<span color='#450241'> </span> {}",
|
||||
"format": "<span font='Font Awesome 7 Free' color='#450241'></span> {}",
|
||||
"max-length": 35,
|
||||
"on-click": "playerctl -p mpv play-pause",
|
||||
"hide-empty-text": true,
|
||||
@@ -328,4 +329,13 @@
|
||||
"on-click-right": "swaync-client -d -sw",
|
||||
"escape": false,
|
||||
},
|
||||
"custom/codexbar": {
|
||||
"exec": "codexbar --icon \"<span font='Font Awesome 7 Brands'></span>\" | sed 's/ *|//g'",
|
||||
"return-type": "json",
|
||||
"interval": 300,
|
||||
"signal": 12,
|
||||
"tooltip": true,
|
||||
"on-click": "python3 ~/.config/waybar/scripts/aibar-popup.py",
|
||||
"on-click-right": "python3 ~/.config/waybar/scripts/aibar-popup.py --claude",
|
||||
},
|
||||
}
|
||||
|
||||
@@ -30,7 +30,8 @@ window#waybar.hidden {
|
||||
|
||||
tooltip {
|
||||
background-color: @base;
|
||||
border: 1px solid @subtext0;
|
||||
border: 1px solid @surface2;
|
||||
border-radius: 0.69em;
|
||||
}
|
||||
|
||||
tooltip label {
|
||||
@@ -100,7 +101,7 @@ button:hover {
|
||||
margin: 5px 1px 5px 2px;
|
||||
}
|
||||
|
||||
#custom-weather,
|
||||
#custom-meteobar,
|
||||
#clock,
|
||||
#language,
|
||||
#pulseaudio,
|
||||
@@ -139,12 +140,17 @@ button:hover {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
#custom-weather {
|
||||
#custom-meteobar {
|
||||
background-color: @teal;
|
||||
color: @mantle;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
#custom-meteobar.rainy { background-color: @blue; color: @mantle; }
|
||||
#custom-meteobar.snowy { background-color: @lavender; color: @mantle; }
|
||||
#custom-meteobar.stormy { background-color: @red; color: @mantle; }
|
||||
#custom-meteobar.error { background-color: @overlay0; color: @text; }
|
||||
|
||||
#custom-kernel {
|
||||
background-color: @mauve;
|
||||
color: @mantle;
|
||||
@@ -334,3 +340,15 @@ label:focus {
|
||||
background-color: @maroon;
|
||||
color: @mantle;
|
||||
}
|
||||
|
||||
#custom-codexbar {
|
||||
padding: 0 10px;
|
||||
margin: 5px 1px;
|
||||
background-color: @surface0;
|
||||
border-radius: 0.69em;
|
||||
}
|
||||
|
||||
#custom-codexbar.low { color: @green; }
|
||||
#custom-codexbar.mid { color: @yellow; }
|
||||
#custom-codexbar.high { color: @peach; }
|
||||
#custom-codexbar.critical { color: @red; }
|
||||
|
||||
Reference in New Issue
Block a user