bar with gaps?
This commit is contained in:
@@ -2,9 +2,6 @@
|
||||
let
|
||||
animation-speed = "2";
|
||||
transparency = builtins.toString rice.transparency;
|
||||
gap-size = 10;
|
||||
rounding = rice.rounding;
|
||||
border-width = 3;
|
||||
monitors = {
|
||||
xps = {
|
||||
main = {
|
||||
@@ -140,11 +137,11 @@ in
|
||||
};
|
||||
|
||||
general = {
|
||||
gaps_in = builtins.div gap-size 2;
|
||||
gaps_out = gap-size;
|
||||
border_size = border-width;
|
||||
gaps_in = builtins.div rice.gap-size 2;
|
||||
gaps_out = rice.gap-size;
|
||||
border_size = rice.border-width;
|
||||
"col.active_border" = "rgba(${rice.lib.nohash rice.color.red}ff) rgba(${rice.lib.nohash rice.color.blue}ff) 90deg";
|
||||
"col.inactive_border" = "rgba(${rice.lib.nohash rice.color.black}ff)";
|
||||
"col.inactive_border" = "rgba(${rice.lib.nohash rice.color.black}ff) rgba(${rice.lib.nohash rice.color.blue}ff) 90deg";
|
||||
|
||||
cursor_inactive_timeout = 10;
|
||||
|
||||
@@ -154,7 +151,7 @@ in
|
||||
};
|
||||
|
||||
decoration = {
|
||||
rounding = rounding;
|
||||
rounding = rice.rounding;
|
||||
drop_shadow = false;
|
||||
shadow_range = "20";
|
||||
shadow_offset = "0 0";
|
||||
@@ -184,7 +181,7 @@ in
|
||||
# bezier = "myBezier, 0.01, 0.9, 0.1, 1.0"; #o
|
||||
# bezier = "myBezier, 0.83, 0, 0.17, 1"; # io
|
||||
bezier = "myBezier, 0.33, 1, 0.68, 1";
|
||||
animation = let direction = if host == "NxXPS" then "slide" else "fade"; in [
|
||||
animation = let direction = if host == "NxXPS" then "slide" else "slidevert"; in [
|
||||
"windows, 1, ${animation-speed}, myBezier, slide"
|
||||
"border, 1, ${animation-speed}, myBezier"
|
||||
"fade, 1, ${animation-speed}, myBezier"
|
||||
@@ -208,7 +205,7 @@ in
|
||||
|
||||
dwindle = {
|
||||
preserve_split = true; # you probably want this
|
||||
no_gaps_when_only = true;
|
||||
no_gaps_when_only = false;
|
||||
};
|
||||
|
||||
master = {
|
||||
@@ -467,7 +464,7 @@ in
|
||||
# plugin = {
|
||||
# hyprexpo = {
|
||||
# columns = 1;
|
||||
# gap_size = gap-size;
|
||||
# gap_size = rice.gap-size;
|
||||
# bg_col = "rgb(ff1111)";
|
||||
# workspace_method = "center current"; # [center/first] [workspace] e.g. first 1 or center m+1
|
||||
|
||||
@@ -777,7 +774,7 @@ in
|
||||
plugin {
|
||||
hyprexpo {
|
||||
columns = 5
|
||||
gap_size = ${builtins.toString gap-size}
|
||||
gap_size = ${builtins.toString rice.gap-size}
|
||||
bg_col = rgb(${rice.lib.nohash rice.color.background})
|
||||
workspace_method = first 10 # [center/first] [workspace] e.g. first 1 or center m+1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user