ajout d'interstices et bords arrondis a la barre

This commit is contained in:
2026-03-20 01:21:47 +01:00
parent 5f4a9cb976
commit e26c068d84
3 changed files with 25 additions and 4 deletions

View File

@@ -30,6 +30,7 @@ output * bg /home/thomas/Pictures/tux-mogging-win11.jpg stretch
#
# Example configuration:
#
output eDP-1 scale 2
output eDP-1 resolution 2256x1504 position 0,0
#
# You can get the names of your outputs by running: swaymsg -t get_outputs
@@ -226,3 +227,5 @@ bindsym $mod+r mode "resize"
include /etc/sway/config.d/*
gaps inner 5
gaps outer 10

View File

@@ -2,9 +2,24 @@
"layer": "top",
"position": "top",
"modules-left": ["sway/workspaces"],
"modules-center": ["clock"],
"modules-right" : ["pulseaudio", "battery"],
"modules-center" : ["cpu", "memory", "disk", "pulseaudio", "battery", "network"],
"modules-right": ["clock"],
"cpu": {
"format": "[CPU : {avg_frequency}%]"
},
"memory": {
"format": "[RAM : {percentage}%]"
},
"disk": {
"format": "[Disk : {percentage_used}%]"
},
"pulseaudio":{
"format": "[Vol : {volume}%]"
},
"battery": {
"format": "[BAT : {capacity}%]"
},
"network": {
"format": "[Net : {bandwidthTotalBytes}]"
}
}

View File

@@ -1,9 +1,12 @@
* {
margin-left: 5px;
margin-right: 5px;
font-family: sans-serif;
font-size: 14px;
}
window#waybar{
border-radius: 20px 20px 20px 20px;
background: grey;
color: white;
}
@@ -12,6 +15,6 @@ window#waybar{
color: white;
}
#workspaces button{
color: block;
#workspaces button:hover{
color: black;
}