Merge pull request 'Updates in waybar' (#1) from dev into main
Reviewed-on: #1
This commit is contained in:
commit
8c701dfd6a
2
.bashrc
2
.bashrc
@ -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
|
||||
|
@ -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
|
||||
|
@ -43,7 +43,8 @@
|
||||
"custom/updates",
|
||||
"pulseaudio",
|
||||
//"bluetooth",
|
||||
//"battery",
|
||||
"battery",
|
||||
"battery#charging",
|
||||
"network",
|
||||
"cpu",
|
||||
"memory",
|
||||
|
@ -240,7 +240,7 @@
|
||||
|
||||
// CPU
|
||||
"cpu": {
|
||||
"format": " {usage}%",
|
||||
"format": " {usage}%",
|
||||
"on-click": "alacritty -e htop"
|
||||
},
|
||||
|
||||
@ -322,20 +322,39 @@
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-charging": " {capacity}%",
|
||||
"format": "{icon} {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}% ",
|
||||
|
Loading…
Reference in New Issue
Block a user