mirror of
https://github.com/ksyasuda/dotfiles.git
synced 2026-04-09 16:19:23 -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
|
windowrule = pin on, match:title Picture in picture
|
||||||
|
|
||||||
windowurle = no_vrr on, match:class mpv
|
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/notification",
|
||||||
"custom/updates",
|
"custom/updates",
|
||||||
"custom/kernel",
|
"custom/kernel",
|
||||||
|
"custom/codexbar",
|
||||||
// "disk#ssd",
|
// "disk#ssd",
|
||||||
// "temperature",
|
// "temperature",
|
||||||
// "cpu",
|
// "cpu",
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
"network",
|
"network",
|
||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
"clock",
|
"clock",
|
||||||
"custom/weather"
|
"custom/meteobar",
|
||||||
],
|
],
|
||||||
|
|
||||||
"hyprland/workspaces": {
|
"hyprland/workspaces": {
|
||||||
@@ -52,10 +53,10 @@
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
"bluetooth": {
|
"bluetooth": {
|
||||||
"format-on": "bt ",
|
"format-on": "bt ",
|
||||||
"format-off": "bt ({status}) ",
|
"format-off": "bt ({status}) ",
|
||||||
"format-connected": "{device_alias} ",
|
"format-connected": "{device_alias} ",
|
||||||
"format-connected-battery": "{device_alias} [{device_battery_percentage}%] ",
|
"format-connected-battery": "{device_alias} [{device_battery_percentage}%] ",
|
||||||
"format-device-preference": ["ugreen_1", "ugreen_2"],
|
"format-device-preference": ["ugreen_1", "ugreen_2"],
|
||||||
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
|
"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}",
|
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}",
|
||||||
@@ -148,40 +149,39 @@
|
|||||||
"interval": 60,
|
"interval": 60,
|
||||||
"interface-ethernet": "enp1s*",
|
"interface-ethernet": "enp1s*",
|
||||||
"interface-wifi": "wlan0",
|
"interface-wifi": "wlan0",
|
||||||
"format-ethernet": "eth ",
|
"format-ethernet": "eth ",
|
||||||
"format-wifi": "{essid} ({signalStrength}%) ",
|
"format-wifi": "{essid} ({signalStrength}%) ",
|
||||||
"tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
|
"tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
|
||||||
"tooltip-format-wifi": "{ifname}: {ipaddr}/{cidr} ",
|
"tooltip-format-wifi": "{ifname}: {ipaddr}/{cidr} ",
|
||||||
"format-linked": "(No IP) ",
|
"format-linked": "(No IP) ",
|
||||||
"format-disconnected": "Disconnected ⚠",
|
"format-disconnected": "Disconnected ⚠",
|
||||||
"on-click": "$HOME/.config/rofi/scripts/rofi-wifi-menu.sh",
|
"on-click": "$HOME/.config/rofi/scripts/rofi-wifi-menu.sh",
|
||||||
},
|
},
|
||||||
"custom/weather": {
|
"custom/meteobar": {
|
||||||
"interval": 600,
|
"exec": "$HOME/.config/waybar/scripts/meteobar.sh",
|
||||||
"exec": "~/.config/waybar/scripts/wttr.sh Los_Angeles",
|
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"format": "{}",
|
"interval": 900,
|
||||||
"tooltip": true,
|
"tooltip": true,
|
||||||
},
|
},
|
||||||
"custom/kernel": {
|
"custom/kernel": {
|
||||||
"exec": "uname -r | sed -E 's/^([0-9]+\\.[0-9]+\\.[0-9]+)-.*-([a-zA-Z0-9]+)/\\1-\\2/'",
|
"exec": "uname -r | sed -E 's/^([0-9]+\\.[0-9]+\\.[0-9]+)-.*-([a-zA-Z0-9]+)/\\1-\\2/'",
|
||||||
"format": "{} ",
|
"format": "{} ",
|
||||||
},
|
},
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
"scroll-step": 2,
|
"scroll-step": 2,
|
||||||
"format": "{volume}% {icon} {format_source}",
|
"format": "{volume}% {icon} {format_source}",
|
||||||
"format-bluetooth": "{volume}% {icon} {format_source}",
|
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||||||
"format-bluetooth-muted": " {icon} {format_source}",
|
"format-bluetooth-muted": "\uf6a9 {icon} {format_source}",
|
||||||
"format-muted": " {format_source}",
|
"format-muted": " {format_source}",
|
||||||
"format-source": "{volume}% ",
|
"format-source": "{volume}% ",
|
||||||
"format-source-muted": "",
|
"format-source-muted": "",
|
||||||
"ignored-sinks": ["Easy Effects Sink"],
|
"ignored-sinks": ["Easy Effects Sink"],
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"headphone": "",
|
"headphone": "",
|
||||||
"hands-free": "",
|
"hands-free": "",
|
||||||
"headset": "",
|
"headset": "",
|
||||||
"phone": "",
|
"phone": "",
|
||||||
"portable": "",
|
"portable": "",
|
||||||
"car": "",
|
"car": "",
|
||||||
},
|
},
|
||||||
"on-click": "pavucontrol",
|
"on-click": "pavucontrol",
|
||||||
@@ -194,14 +194,14 @@
|
|||||||
"scroll-step": 2,
|
"scroll-step": 2,
|
||||||
"format": "{volume}% {icon} {format_source}",
|
"format": "{volume}% {icon} {format_source}",
|
||||||
"format-bluetooth": "{volume}% {icon} {format_source}",
|
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||||||
"format-bluetooth-muted": " {icon} {format_source}",
|
"format-bluetooth-muted": "\uf6a9 {icon} {format_source}",
|
||||||
"format-muted": " {format_source}",
|
"format-muted": " {format_source}",
|
||||||
"format-source": "{volume}% ",
|
"format-source": "{volume}% ",
|
||||||
"format-source-muted": "",
|
"format-source-muted": "",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"headphone": "",
|
"headphone": "",
|
||||||
"hands-free": "",
|
"hands-free": "",
|
||||||
"headset": "",
|
"headset": "",
|
||||||
"phone": "",
|
"phone": "",
|
||||||
"portable": "",
|
"portable": "",
|
||||||
"car": "",
|
"car": "",
|
||||||
@@ -221,6 +221,7 @@
|
|||||||
"8": "八",
|
"8": "八",
|
||||||
"9": "九",
|
"9": "九",
|
||||||
"10": "十",
|
"10": "十",
|
||||||
|
"urgent": "",
|
||||||
// "11": "一",
|
// "11": "一",
|
||||||
// "12": "二",
|
// "12": "二",
|
||||||
// "13": "三",
|
// "13": "三",
|
||||||
@@ -250,8 +251,8 @@
|
|||||||
"format": "{} {icon}",
|
"format": "{} {icon}",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"has-updates": "",
|
"has-updates": "",
|
||||||
"updated": "",
|
"updated": "",
|
||||||
},
|
},
|
||||||
"exec-if": "which waybar-module-pacman-updates",
|
"exec-if": "which waybar-module-pacman-updates",
|
||||||
"exec": "waybar-module-pacman-updates --no-zero-output --tooltip-align-columns",
|
"exec": "waybar-module-pacman-updates --no-zero-output --tooltip-align-columns",
|
||||||
@@ -264,7 +265,7 @@
|
|||||||
},
|
},
|
||||||
"custom/firefox-scroll": {
|
"custom/firefox-scroll": {
|
||||||
"exec": "$HOME/.config/waybar/scripts/scroll-firefox.sh",
|
"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,
|
"max-length": 35,
|
||||||
"on-click": "playerctl -p firefox play-pause",
|
"on-click": "playerctl -p firefox play-pause",
|
||||||
"hide-empty-text": true,
|
"hide-empty-text": true,
|
||||||
@@ -303,7 +304,7 @@
|
|||||||
},
|
},
|
||||||
"custom/mpv-scroll": {
|
"custom/mpv-scroll": {
|
||||||
"exec": "$HOME/.config/waybar/scripts/scroll-mpv.sh",
|
"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,
|
"max-length": 35,
|
||||||
"on-click": "playerctl -p mpv play-pause",
|
"on-click": "playerctl -p mpv play-pause",
|
||||||
"hide-empty-text": true,
|
"hide-empty-text": true,
|
||||||
@@ -328,4 +329,13 @@
|
|||||||
"on-click-right": "swaync-client -d -sw",
|
"on-click-right": "swaync-client -d -sw",
|
||||||
"escape": false,
|
"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 {
|
tooltip {
|
||||||
background-color: @base;
|
background-color: @base;
|
||||||
border: 1px solid @subtext0;
|
border: 1px solid @surface2;
|
||||||
|
border-radius: 0.69em;
|
||||||
}
|
}
|
||||||
|
|
||||||
tooltip label {
|
tooltip label {
|
||||||
@@ -100,7 +101,7 @@ button:hover {
|
|||||||
margin: 5px 1px 5px 2px;
|
margin: 5px 1px 5px 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-weather,
|
#custom-meteobar,
|
||||||
#clock,
|
#clock,
|
||||||
#language,
|
#language,
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
@@ -139,12 +140,17 @@ button:hover {
|
|||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-weather {
|
#custom-meteobar {
|
||||||
background-color: @teal;
|
background-color: @teal;
|
||||||
color: @mantle;
|
color: @mantle;
|
||||||
margin-right: 5px;
|
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 {
|
#custom-kernel {
|
||||||
background-color: @mauve;
|
background-color: @mauve;
|
||||||
color: @mantle;
|
color: @mantle;
|
||||||
@@ -334,3 +340,15 @@ label:focus {
|
|||||||
background-color: @maroon;
|
background-color: @maroon;
|
||||||
color: @mantle;
|
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