Switched to a Boussole-like (my config for work) desktop, so new waybar, new color scheme and new lockscreen. New launcher: rofi, that supports wifi and bluetooth plugins for uniform and centralized management. Plus made some cool litle addons like the paclist alias.
This commit is contained in:
parent
787bb73379
commit
3a51816053
22 changed files with 2421 additions and 841 deletions
224
.config/waybar/Boussole/config.jsonc
Normal file
224
.config/waybar/Boussole/config.jsonc
Normal file
|
|
@ -0,0 +1,224 @@
|
|||
{
|
||||
"layer": "top",
|
||||
"position": "bottom",
|
||||
"height": 24,
|
||||
"spacing": 5,
|
||||
|
||||
"modules-left": ["hyprland/workspaces"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["tray", "group/audio", "bluetooth", "group/network_grp", "idle_inhibitor", "group/power" ],
|
||||
|
||||
|
||||
"group/network_grp": {
|
||||
"orientation": "inherit",
|
||||
"drawer": {
|
||||
"transition-duration": 300,
|
||||
"transition-left-to-right": false
|
||||
},
|
||||
"modules": [
|
||||
"network",
|
||||
"network#speed"
|
||||
]
|
||||
},
|
||||
|
||||
"group/audio": {
|
||||
"orientation": "inherit",
|
||||
"drawer": {
|
||||
"transition-duration": 300,
|
||||
"transition-left-to-right": false
|
||||
},
|
||||
"modules": [
|
||||
"pulseaudio",
|
||||
"pulseaudio#mic",
|
||||
"pulseaudio#volume",
|
||||
]
|
||||
},
|
||||
|
||||
"group/power": {
|
||||
"orientation": "inherit",
|
||||
"drawer": {
|
||||
"transition-duration": 300,
|
||||
"transition-left-to-right": true
|
||||
},
|
||||
"modules": [
|
||||
"battery",
|
||||
"custom/battery_percentage",
|
||||
"power-profiles-daemon",
|
||||
]
|
||||
},
|
||||
|
||||
"hyprland/workspaces": {
|
||||
"format": "<span size='larger'>{icon}</span>",
|
||||
"on-click": "activate",
|
||||
"format-icons": {
|
||||
"active": "\uf444",
|
||||
"default": "\uf4c3"
|
||||
},
|
||||
"icon-size": 10,
|
||||
"sort-by-number": true,
|
||||
"persistent-workspaces": {
|
||||
"1": [],
|
||||
"2": [],
|
||||
"3": [],
|
||||
"4": [],
|
||||
"5": [],
|
||||
}
|
||||
},
|
||||
|
||||
"clock": {
|
||||
"format": "{:%d.%m.%Y | %H:%M}"
|
||||
},
|
||||
|
||||
//"wireplumber": {
|
||||
// "format": "\udb81\udd7e {volume}%",
|
||||
// "max-volume": 100,
|
||||
// "scroll-step": 5
|
||||
//},
|
||||
|
||||
"pulseaudio": {
|
||||
"format": "{icon} ",
|
||||
"format-bluetooth": "{icon}",
|
||||
"tooltip-format": "{volume}% {icon} | {desc}",
|
||||
"format-muted": "",
|
||||
"format-icons": {
|
||||
"headphones": "",
|
||||
"handsfree": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": " ",
|
||||
"default": [
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"on-click": "volume mute",
|
||||
//"on-click-middle": "pavucontrol",
|
||||
"on-scroll-up": "wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+",
|
||||
"on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ -5%",
|
||||
"smooth-scrolling-threshold": 1
|
||||
},
|
||||
"pulseaudio#volume": {
|
||||
"format": " {volume}% "
|
||||
},
|
||||
// TODO missing
|
||||
"pulseaudio#mic": {
|
||||
"format": "{format_source}",
|
||||
"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%-",
|
||||
"on-scroll-up": "wpctl set-volume -l 1 @DEFAULT_SOURCE@ 5%+"
|
||||
},
|
||||
|
||||
// "battery": {
|
||||
// "bat": "BAT1",
|
||||
// "interval": 60,
|
||||
// "format": "{icon} {capacity}%",
|
||||
// "format-icons": ["\uf244", "\uf243", "\uf242", "\uf241", "\uf240"],
|
||||
// },
|
||||
"battery": {
|
||||
"rotate": 270,
|
||||
"states": {
|
||||
"good": 95,
|
||||
"warning": 16,
|
||||
"critical": 8
|
||||
},
|
||||
"format": "{icon}",
|
||||
"interval": 1,
|
||||
"format-charging": "",
|
||||
"format-full": "<span color='#82A55F'><b>{icon}</b></span>",
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tooltip-format": "{timeTo} {capacity} % | {power} W"
|
||||
},
|
||||
"custom/battery_percentage": {
|
||||
"format": "{}",
|
||||
//"exec": "cat /sys/class/power_supply/BAT*/capacity",
|
||||
|
||||
// Makes battery like if 85% was the maximum capacity (100%).
|
||||
// Useful for people that limit charge up to a certain percentage but like having real percentage
|
||||
"exec": "echo $(( $(cat /sys/class/power_supply/BAT*/capacity) * 100 / 85 ))%",
|
||||
"interval": 10,
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
|
||||
"memory": {
|
||||
"interval": 30,
|
||||
"format": "\uf4bc {used:0.1f}G"
|
||||
},
|
||||
|
||||
"temperature": {
|
||||
"format": "{temperatureC}°C"
|
||||
},
|
||||
|
||||
"network": {
|
||||
"format": "",
|
||||
"format-ethernet": "\udb83\udc9d",
|
||||
"format-wifi": "{icon}",
|
||||
"format-disconnected": "\udb83\udc9c",
|
||||
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
|
||||
"tooltip-format-wifi": "{essid} ({signalStrength}%)",
|
||||
"tooltip-format-ethernet": "{ifname}",
|
||||
"tooltip-format-disconnected": "Disconnected",
|
||||
"on-click": "python ~/.local/bin/rofi-wifi",
|
||||
},
|
||||
"network#speed": {
|
||||
"format": "{bandwidthDownBits}",
|
||||
"interval": 5,
|
||||
"tooltip-format": "{ipaddr}",
|
||||
"tooltip-format-wifi": "{essid} ({signalStrength}%) \n{ipaddr} | {frequency} MHz{icon} ",
|
||||
"tooltip-format-ethernet": "{ifname} \n{ipaddr} | {frequency} MHz{icon}",
|
||||
"tooltip-format-disconnected": "Disconnected",
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"bluetooth": {
|
||||
"format": "\udb80\udcaf",
|
||||
"format-disabled": "\udb80\udcb2",
|
||||
"format-connected": "\udb80\udcb1",
|
||||
"tooltip-format": "{controller_alias}\t{controller_address}",
|
||||
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{device_enumerate}",
|
||||
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
|
||||
"on-click": "rofi-bluetooth"
|
||||
},
|
||||
|
||||
"power-profiles-daemon": {
|
||||
"format": "{icon}",
|
||||
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",
|
||||
"tooltip": true,
|
||||
"format-icons": {
|
||||
"default": "",
|
||||
"performance": "<span color='#B37F34'><small></small></span>",
|
||||
"balanced": "<span><small> </small></span>",
|
||||
"power-saver": "<span color='#a6e3a1'><small></small></span>"
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
"hyprland/language": {
|
||||
"format": "{short}"
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"icon-size": 16,
|
||||
"spacing": 16
|
||||
},
|
||||
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "\udb80\udd76",
|
||||
"deactivated": "\udb83\udfaa"
|
||||
}
|
||||
}
|
||||
}
|
||||
60
.config/waybar/Boussole/style.css
Normal file
60
.config/waybar/Boussole/style.css
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
@define-color foreground #eeeeee;
|
||||
@define-color foreground-inactive #aaaaaa;
|
||||
@define-color background #000000;
|
||||
|
||||
* {
|
||||
font-family: JetBrainsMono Nerd Font Propo;
|
||||
font-size: 17px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#waybar {
|
||||
color: @foreground;
|
||||
background-color: @background;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
color: @foreground;
|
||||
padding: 0 0.2em;
|
||||
}
|
||||
|
||||
#workspaces button.empty {
|
||||
color: @foreground-inactive;
|
||||
}
|
||||
|
||||
#memory,
|
||||
#wireplumber,
|
||||
#audio,
|
||||
#language,
|
||||
#network,
|
||||
#bluetooth
|
||||
{
|
||||
padding-right: 1em
|
||||
}
|
||||
|
||||
#custom-battery_percentage,
|
||||
#battery {
|
||||
padding-right: 0.3em
|
||||
}
|
||||
|
||||
#power-profiles-daemon {
|
||||
padding-right: 0.7em;
|
||||
padding-left: 0.4em
|
||||
}
|
||||
|
||||
#idle_inhibitor {
|
||||
padding-right: 0.6em
|
||||
}
|
||||
|
||||
#tray {
|
||||
padding-right: 1em
|
||||
}
|
||||
|
||||
#network_grp {
|
||||
padding: 0em
|
||||
}
|
||||
|
||||
#pulseaudio.mic {
|
||||
padding-left: .7em
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue