diff --git a/hosts/by-name/moby/nixos-bg-01.png b/hosts/by-name/moby/nixos-bg-01.png deleted file mode 100644 index 5d3c8676..00000000 Binary files a/hosts/by-name/moby/nixos-bg-01.png and /dev/null differ diff --git a/hosts/by-name/moby/nixos-bg-02.svg b/hosts/by-name/moby/nixos-bg-02.svg new file mode 100644 index 00000000..222de290 --- /dev/null +++ b/hosts/by-name/moby/nixos-bg-02.svg @@ -0,0 +1,1608 @@ + + + + diff --git a/hosts/by-name/moby/polyfill.nix b/hosts/by-name/moby/polyfill.nix index f3283295..361ff23b 100644 --- a/hosts/by-name/moby/polyfill.nix +++ b/hosts/by-name/moby/polyfill.nix @@ -4,11 +4,17 @@ # # NixOS backgrounds: # - +# - (colorful; unmerged) +# - (desktop-oriented; clean; unmerged) # - { pkgs, sane-lib, ... }: let - bg-01 = ./nixos-bg-01.png; + # TODO: generate this from the .svg + # bg = ./nixos-bg-02.png; + bg = pkgs.runCommand "nixos-bg.png" { nativeBuildInputs = [ pkgs.inkscape ]; } '' + inkscape ${./nixos-bg-02.svg} -o $out + ''; in { sane.programs.firefox.config = { @@ -43,7 +49,7 @@ in # - close is 16th entry SXMO_BEMENU_LANDSCAPE_LINES = "11"; # default 8 SXMO_BEMENU_PORTRAIT_LINES = "16"; # default 16 - SXMO_BG_IMG = "${bg-01}"; + SXMO_BG_IMG = "${bg}"; SXMO_LOCK_IDLE_TIME = "15"; # how long between screenoff -> lock -> back to screenoff (default: 8) # gravity: how far to tilt the device before the screen rotates # for a given setting, normal <-> invert requires more movement then left <-> right diff --git a/hosts/modules/gui/sxmo/conky-config b/hosts/modules/gui/sxmo/conky-config index bdd25cb1..ed35f7e2 100644 --- a/hosts/modules/gui/sxmo/conky-config +++ b/hosts/modules/gui/sxmo/conky-config @@ -13,11 +13,12 @@ conky.config = { alignment = 'middle_middle', own_window_type = 'desktop', -- own_window_argb_value: opacity of the background (0-255) - own_window_argb_value = 92, - own_window_colour = '#beebe5', -- beebe5 matches nixos flake bg color + own_window_argb_value = 0, + -- own_window_argb_value = 92, + -- own_window_colour = '#beebe5', -- beebe5 matches nixos flake bg color -- "border" pads the entire conky window - -- this can be used to control the extend of the own_window background + -- this can be used to control the extent of the own_window background border_inner_margin = 8, -- optionally, actually draw borders -- draw_borders = true,