Style updates
Adjust font sizes to be more sensible Tweak sway gaps, and blur layer effects Set waybar and swaync font sizes in rem instead of px, move waybar to bottom and adjust spacing accordingly
This commit is contained in:
parent
27a4e820f7
commit
e0ba9d21c4
|
@ -44,10 +44,10 @@
|
|||
fonts = with import nixpkgs {inherit system;};
|
||||
with iosevka-custom.outputs; rec {
|
||||
sizes = {
|
||||
applications = 16;
|
||||
desktop = 20;
|
||||
popups = 20;
|
||||
terminal = 16;
|
||||
applications = 12;
|
||||
desktop = 12;
|
||||
popups = 12;
|
||||
terminal = 12;
|
||||
};
|
||||
serif = sansSerif;
|
||||
sansSerif = {
|
||||
|
|
|
@ -35,14 +35,11 @@
|
|||
menu = "${config.programs.rofi.finalPackage}/bin/rofi -show drun";
|
||||
workspaceAutoBackAndForth = true;
|
||||
bars = [];
|
||||
gaps = {
|
||||
inner = 10;
|
||||
# outer = 5;
|
||||
};
|
||||
gaps = {inner = 5;};
|
||||
fonts = {
|
||||
names = [fonts.monospace.name];
|
||||
style = "regular";
|
||||
size = 12.0; # fonts.sizes.desktop;
|
||||
size = fonts.sizes.desktop * 1.0;
|
||||
};
|
||||
colors = with scheme.withHashtag; let
|
||||
text = toString base05;
|
||||
|
@ -164,8 +161,11 @@
|
|||
corner_radius 10
|
||||
shadows enable
|
||||
shadow_blur_radius 4
|
||||
layer_effects "waybar" blur enable; blur_ignore_transparent enable
|
||||
layer_effects "swaync-control-center" blur enable; blur_ignore_transparent enable
|
||||
layer_effects "rofi" blur enable; blur_ignore_transparent enable
|
||||
titlebar_separator enable
|
||||
scratchpad_minimize disable
|
||||
scratchpad_minimize enable
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
xdg.configFile."swaync/style.css".text = with scheme; ''
|
||||
* {
|
||||
all: unset;
|
||||
font-size: ${toString fonts.sizes.desktop}px;
|
||||
font-size: 1.2rem;
|
||||
font-family: "${fonts.monospace.name}";
|
||||
transition: 200ms;
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
};
|
||||
settings.main = {
|
||||
layer = "top";
|
||||
position = "top";
|
||||
position = "bottom";
|
||||
# Layout
|
||||
"modules-left" = ["sway/workspaces"];
|
||||
"modules-center" = ["mpris"];
|
||||
|
@ -249,8 +249,8 @@
|
|||
in ''
|
||||
* {
|
||||
all: unset;
|
||||
font-size: ${toString fonts.sizes.desktop}px;
|
||||
font-family: "${fonts.monospace.name}";
|
||||
font-size: 1.2rem;
|
||||
font-family: ${fonts.monospace.name};
|
||||
}
|
||||
|
||||
window {
|
||||
|
@ -260,7 +260,7 @@
|
|||
window > box {
|
||||
color: ${base05};
|
||||
background: alpha(${base00}, 0.8);
|
||||
margin: 5px 10px 0px;
|
||||
margin: 0px 10px 5px;
|
||||
padding: 0px;
|
||||
border: 1px solid ${accent};
|
||||
border-radius: 10px;
|
||||
|
|
Loading…
Reference in a new issue