commit
This commit is contained in:
parent
dff03acd3c
commit
9803bb3037
36 changed files with 747 additions and 1604 deletions
|
@ -1,105 +0,0 @@
|
|||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"exclusive": true,
|
||||
"passthrough": false,
|
||||
"fixed-center": true,
|
||||
"gtk-layer-shell": true,
|
||||
"height": 35,
|
||||
"modules-left": [
|
||||
"hyprland/workspaces",
|
||||
"tray"
|
||||
],
|
||||
"modules-center": [],
|
||||
"modules-right":[
|
||||
"battery",
|
||||
"backlight",
|
||||
"pulseaudio#microphone",
|
||||
"pulseaudio",
|
||||
"network",
|
||||
"bluetooth",
|
||||
"clock#date",
|
||||
"clock",
|
||||
"custom/power"
|
||||
],
|
||||
"hyprland/workspaces": {
|
||||
"on-click": "activate",
|
||||
"format": "{name}",
|
||||
"all-outputs": true,
|
||||
"disable-scroll": true,
|
||||
"active-only": false
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
}
|
||||
},
|
||||
"custom/power": { // Todo : power-menu
|
||||
"tooltip": false,
|
||||
"on-click": "wlogout",
|
||||
"format": ""
|
||||
},
|
||||
"clock": {
|
||||
"tooltip": false,
|
||||
"format": " {:%H:%M}"
|
||||
},
|
||||
"clock#date": {
|
||||
"format": " {:%a %d %b}",
|
||||
"tooltip-format" :"<big>{:%Y %B}</big><tt><small>{calendar}</small></tt>"
|
||||
},
|
||||
"backlight": {
|
||||
"tooltip": false,
|
||||
"format": " {percent}%",
|
||||
// "format": "{icon} {percent}%",
|
||||
// "format-icons": ["","","","","","",""],
|
||||
"on-scroll-up": "brightnessctl s 1%+ > /dev/null",
|
||||
"on-scroll-down": "brightnessctl s 1%- > /dev/null"
|
||||
},
|
||||
"battery": { // Todo : rajouter un clique to time
|
||||
"states": {
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{icon} {capacity}%",
|
||||
"tooltip-format": "{timeTo}, {capacity}%",
|
||||
"format-charging": " {capacity}%",
|
||||
"format-plugged": " {capacity}%",
|
||||
"format-alt": "{time} {icon}", // A quoi ça sert ?
|
||||
"format-icons": ["","","","","","","","","","",""]
|
||||
},
|
||||
"network": {
|
||||
"format-wifi": " {essid}",
|
||||
"format-ethernet": " {ipaddr}/{cidr}",
|
||||
"format-disconnected": "",
|
||||
"format-alt": "{ipaddr}"
|
||||
},
|
||||
"bluetooth" : {
|
||||
"format": " {status}",
|
||||
"format-on": "",
|
||||
"format-off": "",
|
||||
"format-connected": " {device_alias}",
|
||||
"on-click": "bluetooth_toggle.sh",
|
||||
"on-click-middle": "bluetoothctl power on ;bluetoothctl connect EC:81:93:59:71:AE"
|
||||
},
|
||||
"pulseaudio":{
|
||||
"tooltip":false,
|
||||
"format":"{icon} {volume}%",
|
||||
"format-muted":"",
|
||||
"format-icons":{"default":["","",""]},
|
||||
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
||||
"on-click-middle":"pavucontrol",
|
||||
"on-scroll-up":"wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%+ -l 1.0",
|
||||
"on-scroll-down":"wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%-"
|
||||
},
|
||||
"pulseaudio#microphone": { // Todo : +100% quand scrolll
|
||||
"tooltip": false,
|
||||
"format": "{format_source}",
|
||||
"format-source": " {volume}%",
|
||||
"format-source-muted": "",
|
||||
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle",
|
||||
"on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 2%+ -l 1.0",
|
||||
"on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 2%-"
|
||||
}
|
||||
}
|
|
@ -1,83 +0,0 @@
|
|||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
min-height: 0;
|
||||
font-family: Material Design Icons, monospace;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background-color: #1e1e2e;
|
||||
transition-property: background-color;
|
||||
transition-duration: 0.5s;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
all: initial;
|
||||
min-width: 0;
|
||||
box-shadow: inset 0 -3px transparent;
|
||||
padding: 6px 18px;
|
||||
margin: 6px 3px;
|
||||
border-radius: 10px;
|
||||
background-color: #1e1e2e;
|
||||
color: #cdd6f4;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: #1e1e2e;
|
||||
background-color: #cc9af1;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
box-shadow: inherit;
|
||||
text-shadow: inherit;
|
||||
color: #1e1e2e;
|
||||
background-color: #e4c5fa;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
background-color: #f38ba8;
|
||||
}
|
||||
|
||||
#battery, #backlight, #pulseaudio,
|
||||
#network, #bluetooth, #clock,
|
||||
#custom-power, #tray
|
||||
{
|
||||
border-radius: 10px;
|
||||
margin: 6px 3px;
|
||||
padding: 6px 12px;
|
||||
background-color: #edbdf2;
|
||||
color: #1e1e2e;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
#custom-power {
|
||||
margin-right: 5px;
|
||||
padding-right: 15px;
|
||||
background-color: #f77798;
|
||||
}
|
||||
|
||||
#tray {
|
||||
background-color: #1e1e2e;
|
||||
}
|
||||
|
||||
#battery.warning:not(charging){
|
||||
background-color: #f38ba8;
|
||||
color: #181825;
|
||||
}
|
||||
|
||||
#battery.critical:not(charging){
|
||||
background-color: #f38ba8;
|
||||
color: #181825;
|
||||
}
|
||||
|
||||
#battery.urgent:not(charging){
|
||||
background-color: #f38ba8;
|
||||
color: #181825;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue