Updates in waybar #1

Merged
wyj merged 12 commits from dev into main 2024-04-04 22:18:38 -04:00
4 changed files with 31 additions and 11 deletions

View File

@ -106,7 +106,7 @@ alias setkb='setxkbmap de;echo "Keyboard set back to de."'
alias res1='xrandr --output DisplayPort-0 --mode 2560x1440 --rate 120'
alias res2='xrandr --output DisplayPort-0 --mode 1920x1080 --rate 120'
export PATH="/usr/lib/ccache/bin/:$PATH"
export PATH="$HOME/.local/bin/:/usr/lib/ccache/bin/:$PATH"
# -----------------------------------------------------
# DEVELOPMENT

View File

@ -75,8 +75,8 @@ bind = $mainMod CTRL, right, workspace, e+1
# Fn keys
bind = , XF86MonBrightnessUp, exec, brightnessctl -q s +10%
bind = , XF86MonBrightnessDown, exec, brightnessctl -q s 10%-
bind = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
bind = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
bind = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5% && notify-send -t 400 "Volume: $(pactl get-sink-volume @DEFAULT_SINK@ | awk '/front-left/ {print $5}')"
bind = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5% && notify-send -t 400 "Volume: $(pactl get-sink-volume @DEFAULT_SINK@ | awk '/front-left/ {print $5}')"
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bind = , XF86AudioPlay, exec, playerctl play-pause
bind = , XF86AudioPause, exec, playerctl pause

View File

@ -43,7 +43,8 @@
"custom/updates",
"pulseaudio",
//"bluetooth",
//"battery",
"battery",
"battery#charging",
"network",
"cpu",
"memory",

View File

@ -240,7 +240,7 @@
// CPU
"cpu": {
"format": " {usage}%",
"format": "󰒇 {usage}%",
"on-click": "alacritty -e htop"
},
@ -323,19 +323,38 @@
"critical": 15
},
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-charging": "",
"format-plugged": " {capacity}%",
"format-alt": "{icon} {time}",
// "format-good": "", // An empty format will hide the module
// "format-full": "",
"format-icons": [" ", " ", " ", " ", " "]
"format-full": "󱟢 {capacity}%",
//"format-icons": {
// "Charging": ["󰢟","󰢜","󰂆","󰂇","󰂈","󰢝","󰂉","󰢞","󰂊","󰂋","󰂅"],
// "default": ["󱃍","󰁺","󰁻","󰁼","󰁽","󰁾","󰁿","󰂀","󰂁","󰂂","󰁹"]
//}
"format-icons": ["󱃍","󰁺","󰁻","󰁼","󰁽","󰁾","󰁿","󰂀","󰂁","󰂂","󰁹"]
},
"battery#charging": {
"states": {
// "good": 95,
"warning": 30,
"critical": 15
},
"format": "",
"format-charging": "{icon} {capacity}%",
// "format-good": "", // An empty format will hide the module
//"format-icons": {
// "Charging": ["󰢟","󰢜","󰂆","󰂇","󰂈","󰢝","󰂉","󰢞","󰂊","󰂋","󰂅"],
// "default": ["󱃍","󰁺","󰁻","󰁼","󰁽","󰁾","󰁿","󰂀","󰂁","󰂂","󰁹"]
//}
"format-icons": ["󰢟","󰢜","󰂆","󰂇","󰂈","󰢝","󰂉","󰢞","󰂊","󰂋","󰂅"]
},
// Pulseaudio
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
"format": "{icon} {volume}%",
"format-bluetooth": "{volume}% {icon} {format_source}",
"format": "{icon}",
"format-bluetooth": "{icon} {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
"format-muted": " {format_source}",
"format-source": "{volume}% ",