added ironbar and not much else
This commit is contained in:
@@ -92,7 +92,6 @@ windowrule {
|
|||||||
size = 420 220
|
size = 420 220
|
||||||
float = on
|
float = on
|
||||||
opaque = on
|
opaque = on
|
||||||
xray = on
|
|
||||||
animation = popin 50%
|
animation = popin 50%
|
||||||
match:class = ^(otter)$
|
match:class = ^(otter)$
|
||||||
}
|
}
|
||||||
@@ -121,12 +120,6 @@ layerrule {
|
|||||||
blur = on
|
blur = on
|
||||||
ignore_alpha = 0
|
ignore_alpha = 0
|
||||||
match:namespace = notifications
|
match:namespace = notifications
|
||||||
}
|
|
||||||
|
|
||||||
layerrule {
|
|
||||||
name = layerrule-2
|
|
||||||
blur = on
|
|
||||||
ignore_alpha = 0
|
|
||||||
match:namespace = swaync-notification-window
|
match:namespace = swaync-notification-window
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -136,6 +129,13 @@ layerrule {
|
|||||||
match:namespace = logout_dialog
|
match:namespace = logout_dialog
|
||||||
}
|
}
|
||||||
|
|
||||||
|
layerrule {
|
||||||
|
name = layerrule-3
|
||||||
|
blur = on
|
||||||
|
ignore_alpha = 0
|
||||||
|
match:namespace = ironbar
|
||||||
|
}
|
||||||
|
|
||||||
layerrule {
|
layerrule {
|
||||||
name = layerrule-4
|
name = layerrule-4
|
||||||
ignore_alpha = 0
|
ignore_alpha = 0
|
||||||
|
|||||||
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
|
||||||
|
}
|
||||||
|
}
|
||||||
65
.config/ironbar/style.css
Normal file
65
.config/ironbar/style.css
Normal file
@@ -0,0 +1,65 @@
|
|||||||
|
@import url('https://cdn.jsdelivr.net/npm/@catppuccin/palette/css/catppuccin.css');
|
||||||
|
|
||||||
|
.background {
|
||||||
|
background-color: rgba(var(--ctp-mocha-base-rgb) / 0.4);
|
||||||
|
padding: 2px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces {
|
||||||
|
padding: 0.5px 0;
|
||||||
|
margin: 0;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button {
|
||||||
|
background-color: rgba(var(--ctp-mocha-surface2-rgb) / 0.2);
|
||||||
|
border-radius: 3px;
|
||||||
|
color: var(--ctp-mocha-subtext1);
|
||||||
|
padding: 0;
|
||||||
|
margin: 0px 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces .item .icon {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button:first-child {
|
||||||
|
border-radius: 5px 3px 3px 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button:last-child {
|
||||||
|
border-radius: 3px 5px 5px 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button:only-child {
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button:hover {
|
||||||
|
background-color: rgba(var(--ctp-mocha-lavender-rgb) / 0.2);
|
||||||
|
color: var(--ctp-mocha-base);
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces .item.focused {
|
||||||
|
background-color: var(--ctp-mocha-mauve);
|
||||||
|
color: var(--ctp-mocha-mantle);
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0 5px;
|
||||||
|
border-radius: 10px;
|
||||||
|
background-color: rgba(var(--ctp-mocha-surface2-rgb) / 0.4);
|
||||||
|
color: var(--ctp-mocha-red);
|
||||||
|
}
|
||||||
|
|
||||||
|
.sysinfo {
|
||||||
|
color: var(--ctp-mocha-sapphire);
|
||||||
|
background-color: rgba(var(--ctp-mocha-surface2-rgb) / 0.4);
|
||||||
|
padding: 0 15px;
|
||||||
|
border-radius: 10px;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
2
.nixos
2
.nixos
Submodule .nixos updated: 94f0e793d7...3be9cbe622
Reference in New Issue
Block a user