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 res1='xrandr --output DisplayPort-0 --mode 2560x1440 --rate 120'
|
||||||
alias res2='xrandr --output DisplayPort-0 --mode 1920x1080 --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
|
# DEVELOPMENT
|
||||||
|
@ -75,8 +75,8 @@ bind = $mainMod CTRL, right, workspace, e+1
|
|||||||
# Fn keys
|
# Fn keys
|
||||||
bind = , XF86MonBrightnessUp, exec, brightnessctl -q s +10%
|
bind = , XF86MonBrightnessUp, exec, brightnessctl -q s +10%
|
||||||
bind = , XF86MonBrightnessDown, exec, brightnessctl -q s 10%-
|
bind = , XF86MonBrightnessDown, exec, brightnessctl -q s 10%-
|
||||||
bind = , XF86AudioRaiseVolume, 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%
|
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 = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||||
bind = , XF86AudioPlay, exec, playerctl play-pause
|
bind = , XF86AudioPlay, exec, playerctl play-pause
|
||||||
bind = , XF86AudioPause, exec, playerctl pause
|
bind = , XF86AudioPause, exec, playerctl pause
|
||||||
|
@ -43,7 +43,8 @@
|
|||||||
"custom/updates",
|
"custom/updates",
|
||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
//"bluetooth",
|
//"bluetooth",
|
||||||
//"battery",
|
"battery",
|
||||||
|
"battery#charging",
|
||||||
"network",
|
"network",
|
||||||
"cpu",
|
"cpu",
|
||||||
"memory",
|
"memory",
|
||||||
|
@ -240,7 +240,7 @@
|
|||||||
|
|
||||||
// CPU
|
// CPU
|
||||||
"cpu": {
|
"cpu": {
|
||||||
"format": " {usage}%",
|
"format": " {usage}%",
|
||||||
"on-click": "alacritty -e htop"
|
"on-click": "alacritty -e htop"
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -323,19 +323,38 @@
|
|||||||
"critical": 15
|
"critical": 15
|
||||||
},
|
},
|
||||||
"format": "{icon} {capacity}%",
|
"format": "{icon} {capacity}%",
|
||||||
"format-charging": " {capacity}%",
|
"format-charging": "",
|
||||||
"format-plugged": " {capacity}%",
|
"format-plugged": " {capacity}%",
|
||||||
"format-alt": "{icon} {time}",
|
"format-alt": "{icon} {time}",
|
||||||
// "format-good": "", // An empty format will hide the module
|
// "format-good": "", // An empty format will hide the module
|
||||||
// "format-full": "",
|
"format-full": " {capacity}%",
|
||||||
"format-icons": [" ", " ", " ", " ", " "]
|
//"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
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
// "scroll-step": 1, // %, can be a float
|
// "scroll-step": 1, // %, can be a float
|
||||||
"format": "{icon} {volume}%",
|
"format": "{icon}",
|
||||||
"format-bluetooth": "{volume}% {icon} {format_source}",
|
"format-bluetooth": "{icon} {format_source}",
|
||||||
"format-bluetooth-muted": " {icon} {format_source}",
|
"format-bluetooth-muted": " {icon} {format_source}",
|
||||||
"format-muted": " {format_source}",
|
"format-muted": " {format_source}",
|
||||||
"format-source": "{volume}% ",
|
"format-source": "{volume}% ",
|
||||||
|
Loading…
Reference in New Issue
Block a user