moby: update bg, and add the blur/fade to the image instead of to conky
This commit is contained in:
parent
0479a43f2d
commit
512b5d78d4
Binary file not shown.
Before Width: | Height: | Size: 110 KiB |
1608
hosts/by-name/moby/nixos-bg-02.svg
Normal file
1608
hosts/by-name/moby/nixos-bg-02.svg
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 118 KiB |
|
@ -4,11 +4,17 @@
|
||||||
#
|
#
|
||||||
# NixOS backgrounds:
|
# NixOS backgrounds:
|
||||||
# - <https://github.com/NixOS/nixos-artwork>
|
# - <https://github.com/NixOS/nixos-artwork>
|
||||||
|
# - <https://github.com/NixOS/nixos-artwork/issues/50> (colorful; unmerged)
|
||||||
|
# - <https://github.com/NixOS/nixos-artwork/pull/60/files> (desktop-oriented; clean; unmerged)
|
||||||
# - <https://itsfoss.com/content/images/2023/04/nixos-tutorials.png>
|
# - <https://itsfoss.com/content/images/2023/04/nixos-tutorials.png>
|
||||||
|
|
||||||
{ pkgs, sane-lib, ... }:
|
{ pkgs, sane-lib, ... }:
|
||||||
let
|
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
|
in
|
||||||
{
|
{
|
||||||
sane.programs.firefox.config = {
|
sane.programs.firefox.config = {
|
||||||
|
@ -43,7 +49,7 @@ in
|
||||||
# - close is 16th entry
|
# - close is 16th entry
|
||||||
SXMO_BEMENU_LANDSCAPE_LINES = "11"; # default 8
|
SXMO_BEMENU_LANDSCAPE_LINES = "11"; # default 8
|
||||||
SXMO_BEMENU_PORTRAIT_LINES = "16"; # default 16
|
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)
|
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
|
# gravity: how far to tilt the device before the screen rotates
|
||||||
# for a given setting, normal <-> invert requires more movement then left <-> right
|
# for a given setting, normal <-> invert requires more movement then left <-> right
|
||||||
|
|
|
@ -13,11 +13,12 @@ conky.config = {
|
||||||
alignment = 'middle_middle',
|
alignment = 'middle_middle',
|
||||||
own_window_type = 'desktop',
|
own_window_type = 'desktop',
|
||||||
-- own_window_argb_value: opacity of the background (0-255)
|
-- own_window_argb_value: opacity of the background (0-255)
|
||||||
own_window_argb_value = 92,
|
own_window_argb_value = 0,
|
||||||
own_window_colour = '#beebe5', -- beebe5 matches nixos flake bg color
|
-- own_window_argb_value = 92,
|
||||||
|
-- own_window_colour = '#beebe5', -- beebe5 matches nixos flake bg color
|
||||||
|
|
||||||
-- "border" pads the entire conky window
|
-- "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,
|
border_inner_margin = 8,
|
||||||
-- optionally, actually draw borders
|
-- optionally, actually draw borders
|
||||||
-- draw_borders = true,
|
-- draw_borders = true,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user