added ironbar and not much else
This commit is contained in:
34
.config/ironbar/config.corn
Normal file
34
.config/ironbar/config.corn
Normal file
@@ -0,0 +1,34 @@
|
||||
let {
|
||||
$workspaces = { type = "workspaces" name = "workspaces" hidden = [ "special:music" ] }
|
||||
|
||||
$focused = { type = "focused" icon_size = 10 }
|
||||
|
||||
$battery = { type = "battery" show_if = "ls /sys/class/power_supply/ | grep --quiet '^BAT'" }
|
||||
$sys_info = { type = "sys_info" format = ["{cpu_percent}% " "{memory_percent}% "] interval.cpu = 1 }
|
||||
$tray = { type = "tray" }
|
||||
$clock = { type = "clock" format = "%T" name = "clock" }
|
||||
|
||||
$marginlr = 500
|
||||
|
||||
$margin = {
|
||||
top = 2
|
||||
left = $marginlr
|
||||
right = $marginlr
|
||||
}
|
||||
|
||||
$bar = {
|
||||
position = "top"
|
||||
height = 15
|
||||
margin = $margin
|
||||
|
||||
start = [ $sys_info ]
|
||||
center = [ $workspaces ]
|
||||
end = [ $clock ]
|
||||
}
|
||||
} in {
|
||||
monitors = {
|
||||
DP-1 = $bar
|
||||
DP-2 = $bar
|
||||
HDMI-A-1 = $bar
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user