Style : Increase the gap.

This commit is contained in:
Dmitry Voronin 2024-06-23 04:07:51 +03:00
parent 30e27e1557
commit 254be5cce5
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
4 changed files with 7 additions and 26 deletions

View file

@ -1,4 +1,4 @@
{ style, key, setting, ... }: let
{ style, key, ... }: let
mod = key.tmux.mod;
accent = style.color.accent;
@ -7,13 +7,11 @@
in {
text = ''
bind-key -n ${mod}-${key.tmux.status.toggle} set-option -g status;
set -g status-interval ${toString setting.tmux.status.interval}
set -g status-position bottom
set -g status-justify left
set -g status-style "fg=#${fg}"
set -g status-left "#[bold] #H-#S "
set -g status-left-length ${toString setting.tmux.status.length}
set -g status-right ""
set-window-option -g window-status-separator ""

View file

@ -2,7 +2,7 @@
refreshInterval = 2;
in {
file = (pkgs.formats.json {}).generate "WaybarConfig" {
height = 30;
height = 2 * (style.window.gap + style.window.border);
layer = "top";
margin-left = style.window.gap;
margin-right = style.window.gap;
@ -11,7 +11,6 @@ in {
position = "top";
spacing = 4;
start_hidden = false;
# exclusive = false;
modules-left = [
"sway/workspaces"
"sway/scratchpad"

View file

@ -6,22 +6,6 @@
vertical = 1;
horizontal = 1;
};
status = {
interval = 2;
length = 50;
battery.threshold = {
high = 60;
medium = 40;
low = 20;
show = 40;
};
volume.threshold = {
high = 80;
medium = 40;
low = 10;
show = 100;
};
};
};
nvim = {

View file

@ -13,11 +13,11 @@
sort_translit = true;
};
# preview = {
# # image_filter = "triangle";
# image_filter = "lanczos3";
# image_quality = 80;
# };
preview = {
# image_filter = "triangle";
image_filter = "lanczos3";
image_quality = 80;
};
opener = let
openWith = app: "${app} \"$@\"";