Added some functionality
Changed padding, added launcher in waybar, added bluetooth script in waybar (and some more I think)
This commit is contained in:
parent
d96931c98a
commit
c4ae74afcd
3 changed files with 27 additions and 8 deletions
|
@ -2,7 +2,8 @@
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"sway/workspaces",
|
"sway/workspaces",
|
||||||
"idle_inhibitor",
|
"idle_inhibitor",
|
||||||
"custom/media"
|
"custom/media",
|
||||||
|
"custom/browser"
|
||||||
],
|
],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"disk",
|
"disk",
|
||||||
|
|
|
@ -23,10 +23,15 @@
|
||||||
|
|
||||||
|
|
||||||
"bluetooth": {
|
"bluetooth": {
|
||||||
"format": "\uf294 {status}",
|
"format-disabled": "<big>\uf294</big>",
|
||||||
"format-disabled": "\uf294",
|
"format-off": "\uf294",
|
||||||
"on-click": "~/.scripts/bluetoggle.sh",
|
"format-on": "<big>\uf294</big>",
|
||||||
"on-click-right": "blueman-manager"
|
"format-connected": "<big>\uf294</big>c",
|
||||||
|
"max-length": 10.3,
|
||||||
|
"on-click": "alacritty --title 'FZF-Jump' -e ~/.scripts/fzf-jump/standalone.sh ~/.scripts/fzf-jump/modules/bluetooth.sh",
|
||||||
|
"tooltip-format": "{status} ({num_connections}):\n{device_enumerate}",
|
||||||
|
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
|
||||||
|
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
@ -38,6 +43,13 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
"custom/browser": {
|
||||||
|
"format": "\uf120",
|
||||||
|
"on-click": "alacritty -t 'FZF-Jump' -e ~/.scripts/fzf-jump/launcher.sh",
|
||||||
|
"tooltip-format": "Launch an application"
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
"custom/media": {
|
"custom/media": {
|
||||||
"escape": true,
|
"escape": true,
|
||||||
"exec": "~/.config/waybar/mediaplayer.py 2> /dev/null",
|
"exec": "~/.config/waybar/mediaplayer.py 2> /dev/null",
|
||||||
|
@ -78,10 +90,11 @@
|
||||||
"network": {
|
"network": {
|
||||||
"format-disconnected": "\uf127",
|
"format-disconnected": "\uf127",
|
||||||
"format-ethernet": "\uf6ff {ifname}: {ipadds}/{cidr}",
|
"format-ethernet": "\uf6ff {ifname}: {ipadds}/{cidr}",
|
||||||
"format-wifi": "\uf1eb {essid} ({signalStrength}%)",
|
"format-wifi": "\uf1eb",
|
||||||
"interval": 5,
|
"interval": 5,
|
||||||
"on-click-right": "alacritty -e nmtui",
|
"on-click-right": "alacritty -e nmtui",
|
||||||
"tooltip-format": "{ifname}: {ipaddr}"
|
"tooltip-format": "{ifname}: {ipaddr}",
|
||||||
|
"tooltip-format-wifi": "{essid} ({signalStrength}%) - {ifname}: {ipaddr}"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@ window#waybar {
|
||||||
#custom-media, #disk, #idle_inhibitor, #memory,
|
#custom-media, #disk, #idle_inhibitor, #memory,
|
||||||
#mode, #mpd, #network, #pulseaudio, #temperature,
|
#mode, #mpd, #network, #pulseaudio, #temperature,
|
||||||
#tray {
|
#tray {
|
||||||
padding: 0 10px;
|
padding: 0 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If workspaces is the leftmost module, omit left margin */
|
/* If workspaces is the leftmost module, omit left margin */
|
||||||
|
@ -89,6 +89,11 @@ label:focus {
|
||||||
animation-direction: alternate;
|
animation-direction: alternate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#bluetooth.disabled,
|
||||||
|
#bluetooth.off {
|
||||||
|
opacity: 0.6;
|
||||||
|
}
|
||||||
|
|
||||||
#custom-media {
|
#custom-media {
|
||||||
color: #2a5c45;
|
color: #2a5c45;
|
||||||
background-color: #66cc99;
|
background-color: #66cc99;
|
||||||
|
|
Loading…
Reference in a new issue