wob: theme
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
# docs:
|
||||||
|
# - <https://github.com/francma/wob/blob/master/wob.ini.5.scd>
|
||||||
|
# - `wob -vv` to see config defaults
|
||||||
|
#
|
||||||
|
# this should arguably be just a (user) service. nothing actually needs `wob` on the PATH.
|
||||||
|
#
|
||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
let
|
let
|
||||||
cfg = config.sane.programs.wob;
|
cfg = config.sane.programs.wob;
|
||||||
@@ -18,6 +24,33 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fs.".config/wob/wob.ini".symlink.text = ''
|
||||||
|
timeout = 900
|
||||||
|
|
||||||
|
anchor = top right
|
||||||
|
orientation = vertical
|
||||||
|
# margin top right bottom left
|
||||||
|
# note that wob is "aware" of the sway bar, so margin 0 never overlaps it.
|
||||||
|
# however it's not aware of sway's window title
|
||||||
|
margin = 54 3 54 3
|
||||||
|
|
||||||
|
height = 164
|
||||||
|
width = 30
|
||||||
|
|
||||||
|
border_offset = 0
|
||||||
|
border_size = 2
|
||||||
|
bar_padding = 0
|
||||||
|
|
||||||
|
# very light teal, derived from conky background
|
||||||
|
bar_color = e1f0efDC
|
||||||
|
background_color = 000000B4
|
||||||
|
border_color = 000000C8
|
||||||
|
|
||||||
|
overflow_bar_color = FF4040DC
|
||||||
|
overflow_background_color = FFFFFFC8
|
||||||
|
overflow_border_color = FF4040DC
|
||||||
|
'';
|
||||||
|
|
||||||
services.wob = {
|
services.wob = {
|
||||||
description = "Wayland Overlay Bar (renders volume/backlight levels)";
|
description = "Wayland Overlay Bar (renders volume/backlight levels)";
|
||||||
wantedBy = lib.mkIf cfg.config.autostart [ "default.target" ];
|
wantedBy = lib.mkIf cfg.config.autostart [ "default.target" ];
|
||||||
|
Reference in New Issue
Block a user