Add initial ironbar

This commit is contained in:
outfoxxed 2023-06-28 06:14:30 +00:00
parent f051d864a7
commit bf5e7e9636
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
9 changed files with 120 additions and 0 deletions

View file

@ -0,0 +1,13 @@
{
position = "left"
margin = {
top = 3
bottom = 3
right = 5
}
start = [
{ type = "workspaces" }
]
}

View file

@ -0,0 +1,16 @@
{ system, inputs, config, lib, impurity, ... }: {
home-manager.users.${config.main-user} = {
imports = [ inputs.ironbar.homeManagerModules.default ];
programs.ironbar = {
enable = true;
package = inputs.ironbar.packages.${system}.default;
};
xdg.configFile = {
"ironbar/config.json".enable = false;
"ironbar/config.corn".source = (impurity.link ./config.corn);
"ironbar/style.css".source = (impurity.link ./style.css);
};
};
}

47
modules/ironbar/style.css Normal file
View file

@ -0,0 +1,47 @@
* {
background: transparent;
border: none;
padding: 0;
}
.background {
background-color: rgba(0x00, 0x10, 0x17, 0.4);
border-width: 2px;
border-style: solid;
border-left-width: 0;
border-radius: 10px;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
border-color: rgba(0x59, 0x59, 0x59, 0.7);
}
#bar {
margin: 7px;
margin-left: 0;
}
.popup {
margin-left: 0;
}
.workspaces > .item {
padding: 4px 0;
border-radius: 0;
border-left-width: 4px;
border-style: solid;
border-color: transparent;
padding-right: 4px;
}
.workspaces > .item.focused {
border-color: rgba(0x59, 0x59, 0x59, 0.5);
background-color: rgba(0xff, 0xff, 0xff, 0.1);
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
}
.clock {
border-radius: 0;
box-shadow: none;
}