Style : Increase the gap.
This commit is contained in:
parent
30e27e1557
commit
254be5cce5
|
@ -1,4 +1,4 @@
|
||||||
{ style, key, setting, ... }: let
|
{ style, key, ... }: let
|
||||||
mod = key.tmux.mod;
|
mod = key.tmux.mod;
|
||||||
|
|
||||||
accent = style.color.accent;
|
accent = style.color.accent;
|
||||||
|
@ -7,13 +7,11 @@
|
||||||
in {
|
in {
|
||||||
text = ''
|
text = ''
|
||||||
bind-key -n ${mod}-${key.tmux.status.toggle} set-option -g status;
|
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-position bottom
|
||||||
set -g status-justify left
|
set -g status-justify left
|
||||||
set -g status-style "fg=#${fg}"
|
set -g status-style "fg=#${fg}"
|
||||||
|
|
||||||
set -g status-left "#[bold] #H-#S "
|
set -g status-left "#[bold] #H-#S "
|
||||||
set -g status-left-length ${toString setting.tmux.status.length}
|
|
||||||
set -g status-right ""
|
set -g status-right ""
|
||||||
|
|
||||||
set-window-option -g window-status-separator ""
|
set-window-option -g window-status-separator ""
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
refreshInterval = 2;
|
refreshInterval = 2;
|
||||||
in {
|
in {
|
||||||
file = (pkgs.formats.json {}).generate "WaybarConfig" {
|
file = (pkgs.formats.json {}).generate "WaybarConfig" {
|
||||||
height = 30;
|
height = 2 * (style.window.gap + style.window.border);
|
||||||
layer = "top";
|
layer = "top";
|
||||||
margin-left = style.window.gap;
|
margin-left = style.window.gap;
|
||||||
margin-right = style.window.gap;
|
margin-right = style.window.gap;
|
||||||
|
@ -11,7 +11,6 @@ in {
|
||||||
position = "top";
|
position = "top";
|
||||||
spacing = 4;
|
spacing = 4;
|
||||||
start_hidden = false;
|
start_hidden = false;
|
||||||
# exclusive = false;
|
|
||||||
modules-left = [
|
modules-left = [
|
||||||
"sway/workspaces"
|
"sway/workspaces"
|
||||||
"sway/scratchpad"
|
"sway/scratchpad"
|
||||||
|
|
|
@ -6,22 +6,6 @@
|
||||||
vertical = 1;
|
vertical = 1;
|
||||||
horizontal = 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 = {
|
nvim = {
|
||||||
|
|
|
@ -13,11 +13,11 @@
|
||||||
sort_translit = true;
|
sort_translit = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# preview = {
|
preview = {
|
||||||
# # image_filter = "triangle";
|
# image_filter = "triangle";
|
||||||
# image_filter = "lanczos3";
|
image_filter = "lanczos3";
|
||||||
# image_quality = 80;
|
image_quality = 80;
|
||||||
# };
|
};
|
||||||
|
|
||||||
opener = let
|
opener = let
|
||||||
openWith = app: "${app} \"$@\"";
|
openWith = app: "${app} \"$@\"";
|
||||||
|
|
Loading…
Reference in a new issue