Fixed most waybar problems and updated README

This commit is contained in:
Gu://em_ 2024-12-23 12:00:49 +01:00
parent f526fff8d3
commit ce0f7978ed
4 changed files with 33 additions and 24 deletions

View file

@ -192,6 +192,7 @@ input {
kb_model =
kb_options =
kb_rules =
numlock_by_default = true
follow_mouse = 1
@ -282,8 +283,8 @@ bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 8%+
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 8%-
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 6%+
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 6%-
bindel = SHIFT, XF86MonBrightnessUp, exec, brightnessctl s 2%+
bindel = SHIFT, XF86MonBrightnessDown, exec, brightnessctl s 2%-

View file

@ -156,7 +156,7 @@
"smooth-scrolling-threshold": 1
},
"backlight/slider": {
"min": 5,
"min": 1,
"max": 100,
"orientation": "vertical",
"device": "intel_backlight"
@ -190,7 +190,7 @@
"orientation": "inherit",
"modules": [
//"custom/vpn",
//"custom/hotspot",
"custom/hotspot",
"group/network"
//"group/bluetooth"
]
@ -221,7 +221,7 @@
"orientation": "inherit",
"drawer": {
"transition-duration": 500,
"transition-left-to-right": true
"transition-left-to-right": false
},
"modules": [
"network",
@ -260,11 +260,11 @@
"tooltip-format": "{volume}% {icon} | {desc}",
"format-muted": "󰖁",
"format-icons": {
"headphones": "󰋌",
"handsfree": "󰋌",
"headset": "󰋌",
"headphones": "",
"handsfree": "󱡏",
"headset": "",
"phone": "",
"portable": "",
"portable": "",
"car": " ",
"default": [
"󰕿",
@ -280,8 +280,8 @@
},
"pulseaudio#mic": {
"format": "{format_source}",
"format-source": "",
"format-source-muted": "",
"format-source": "󰍬",
"format-source-muted": "󰍭",
"tooltip-format": "{volume}% {format_source} ",
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle",
"on-scroll-down": "wpctl set-volume @DEFAULT_SOURCE@ 5%-",
@ -325,15 +325,16 @@
"on-click": "pgrep -x rofi &>/dev/null && notify-send rofi || networkmanager_dmenu"
},
"bluetooth": {
"format-on": "",
"format-on": "󰂯",
"format-off": "󰂲",
"format-disabled": "",
"format-connected": "<b></b>",
"format-connected": "<b>󰂱</b>",
"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-enumerate-connected": "{device_alias}\t{device_address}",
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%",
"on-click": "rofi-bluetooth -config ~/.config/rofi/menu.d/network.rasi -i"
//"on-click": "rofi-bluetooth -config ~/.config/rofi/menu.d/network.rasi -i"
"on-click": "toggle-bluetooth"
},
"bluetooth#status": {
"format-on": "",
@ -444,7 +445,7 @@
"custom/hyprkill": {
"format": "{}",
"interval": "once",
"exec": "echo '󰅙\nKill clients using hyrpctl kill'",
"exec": "echo '󰱝\nKill clients using hyrpctl kill'",
"on-click": "sleep 1 && hyprctl kill"
},
"custom/notifications": {
@ -469,8 +470,8 @@
"tooltip-format-activated": "Idle Inhibitor is active",
"tooltip-format-deactivated": "Idle Inhibitor is not active",
"format-icons": {
"activated": "󰔡",
"deactivated": "󰔢"
"activated": "󰅶",
"deactivated": "󰾪"
}
}
}

View file

@ -80,15 +80,22 @@ tooltip label {
#power,
#custom-updates,
#tray,
#audio,
#privacy,
#sound { /*Controls all the right modules for some reason*/
/*#audio,*/ /* Duplicate with #sound */
#sound,
#privacy { /*Controls all the right modules for some reason*/
border-radius: 2px;
margin: 2px 1px 3px 1px;
background: alpha(darker(@active), 0.3);
border: 1px solid alpha(darker(@active), 0.3);
}
/* Override specific parameters*/
#brightness,
#sound {
padding: 1px 0px;
}
#custom-notifications {
padding-left: 4px;
}
@ -217,9 +224,8 @@ tooltip label {
#pulseaudio.mic {
border-radius: 4px;
color: @background;
background: alpha(darker(@foreground), 0.6);
padding-left: 4px;
color: lighter(@active);
padding-left: 2px;
}
#backlight-slider slider,