From 5af517aba8f2fbf2684c26033d186597c2337a8c Mon Sep 17 00:00:00 2001 From: autumn Date: Wed, 17 Sep 2025 10:56:44 -0600 Subject: [PATCH] avizo config --- flake.lock | 4 +- flake.nix | 2 +- home-manager/autumn/home.nix | 6 ++- home-manager/packages/avizo/config.ini | 60 ++++++++++++++++++++++++++ home-manager/packages/river/river.nix | 23 +++++----- home-manager/packages/twmn/twmn.nix | 10 ++--- system/defaults/services.nix | 11 ++--- 7 files changed, 92 insertions(+), 24 deletions(-) create mode 100644 home-manager/packages/avizo/config.ini diff --git a/flake.lock b/flake.lock index 45fb339..fef2532 100644 --- a/flake.lock +++ b/flake.lock @@ -184,11 +184,11 @@ "locked": { "lastModified": 1, "narHash": "sha256-wBVLwFjGszsaibW+oPRSRFq6vzKPxSmfsh1evEQ56Ow=", - "path": "/nix/store/6kx0paxcp4bhx4j2nm19gi978gi4wqmc-source/system/extras/pydev", + "path": "/nix/store/5129406lph0jsh20wbmqclcrkmy93a9b-source/system/extras/pydev", "type": "path" }, "original": { - "path": "/nix/store/6kx0paxcp4bhx4j2nm19gi978gi4wqmc-source/system/extras/pydev", + "path": "/nix/store/5129406lph0jsh20wbmqclcrkmy93a9b-source/system/extras/pydev", "type": "path" } }, diff --git a/flake.nix b/flake.nix index 60aa733..c05b877 100644 --- a/flake.nix +++ b/flake.nix @@ -26,7 +26,7 @@ pydev, nixos-wsl, ... - }@inputs: + }@inputs: let system = "x86_64-linux"; diff --git a/home-manager/autumn/home.nix b/home-manager/autumn/home.nix index 5fecba8..5481a12 100644 --- a/home-manager/autumn/home.nix +++ b/home-manager/autumn/home.nix @@ -27,7 +27,11 @@ TERM = "alacritty"; }; file = { - + "config.ini" = { + enable = true; + source = "../packages/avizo/config.ini"; + target = "avizo/config.ini"; + }; }; }; programs = { diff --git a/home-manager/packages/avizo/config.ini b/home-manager/packages/avizo/config.ini new file mode 100644 index 0000000..84dbc73 --- /dev/null +++ b/home-manager/packages/avizo/config.ini @@ -0,0 +1,60 @@ +[default] +# The time to show the notification for. +;time = 5.0 + +# The base directory to resolve relative image-path against (default is $XDG_DATA_HOME/avizo). +;image-base-dir = + +# The image opacity; allowed values range from 0 (fully transparent) to 1.0 (fully opaque). +;image-opacity = 1.0 + +# The width of the notification. +width = 248 + +# The height of the notification. +height = 248 + +# The inner padding of the notification. +;padding = 24 + +# A relative offset of the notification to the top of the screen. +# Allowed values range from 0 (top) to 1.0 (bottom). +y-offset = 0.5 + +# A relative offset of the notification to the left of the screen. +# Allowed values range from 0 (left) to 1.0 (right). +x-offset = 0.5 + +# The border radius of the notification in px. +border-radius = 0 + +# Sets the border width of the notification in px. +;border-width = 1 + +# The block height of the progress indicator. +;block-height = 10 + +# The spacing between blocks in the progress indicator. +;block-spacing = 2 + +# Sets the amount of blocks in the progress indicator. +;block-count = 20 + +# Sets the fade in animation duration in seconds. +;fade-in = 0.2 + +# Sets the fade out animation duration in seconds. +;fade-out = 0.5 + +# The color of the notification background in format: rgba([0, 255], [0, 255], [0, 255], [0, 1]). +background = rgba(43, 51, 57, 0.8) + +# Sets the color of the notification border in format rgba([0, 255], [0, 255], [0, 255], [0, 1]). +border-color = rgba(127, 187, 179, 1.0) + +# The color of the filled bar blocks in format: rgba([0, 255], [0, 255], [0, 255], [0, 1]). +bar-fg-color = rgba(127, 187, 179, 1.0) + +# The color of the unfilled bar blocks in format rgba([0, 255], [0, 255], [0, 255], [0, 1]). +# Defaults to 'background' with 2/3 brightness. +bar-bg-color = rgba(211, 198, 170, 1.0) diff --git a/home-manager/packages/river/river.nix b/home-manager/packages/river/river.nix index ffa5986..3c5447d 100644 --- a/home-manager/packages/river/river.nix +++ b/home-manager/packages/river/river.nix @@ -58,11 +58,14 @@ in "Super+Shift F" = "toggle-float"; # avizo keys - "XF86AudioRaiseVolume" = "spawn \"volumectl -d -u up\""; - "XF86AudioLowerVolume" = "spawn \"volumectl -d -u down\""; - "XF86AudioMute" = "spawn \"volumectl -d toggle-mute\""; - "XF86MonBrightnessUp" = "spawn \"lightctl -d up\""; - "XF86MonBrightnessDown" = "spawn \"lightctl -d down\""; + "None XF86AudioRaiseVolume" = "spawn \"volumectl -d -u up\""; + "None XF86AudioLowerVolume" = "spawn \"volumectl -d -u down\""; + "None XF86AudioMute" = "spawn \"volumectl -d toggle-mute\""; + "None XF86MonBrightnessUp" = "spawn \"lightctl -d up\""; + "None XF86MonBrightnessDown" = "spawn \"lightctl -d down\""; + "Super KP_Multiply" = "spawn 'playerctl play-pause'"; + "Super KP_Minus" = "spawn 'playerctl next'"; + "Super KP_Divide" = "spawn 'playerctl previous'"; #movement "Super J" = "focus-view next"; @@ -116,11 +119,11 @@ in }; locked = { # avizo keys - "XF86AudioRaiseVolume" = "spawn \"volumectl -d -u up\""; - "XF86AudioLowerVolume" = "spawn \"volumectl -d -u down\""; - "XF86AudioMute" = "spawn \"volumectl -d toggle-mute\""; - "XF86MonBrightnessUp" = "spawn \"lightctl -d up\""; - "XF86MonBrightnessDown" = "spawn \"lightctl -d down\""; + "None XF86AudioRaiseVolume" = "spawn \"volumectl -d -u up\""; + "None XF86AudioLowerVolume" = "spawn \"volumectl -d -u down\""; + "None XF86AudioMute" = "spawn \"volumectl -d toggle-mute\""; + "None XF86MonBrightnessUp" = "spawn \"lightctl -d up\""; + "None XF86MonBrightnessDown" = "spawn \"lightctl -d down\""; }; }; }; diff --git a/home-manager/packages/twmn/twmn.nix b/home-manager/packages/twmn/twmn.nix index cb2aa7e..297cbe3 100644 --- a/home-manager/packages/twmn/twmn.nix +++ b/home-manager/packages/twmn/twmn.nix @@ -3,11 +3,11 @@ { services.twmn = { enable = true; - icons = { - critical = "󰋮 "; - info = " "; - warning = " "; - }; + # icons = { + # critical = "󰋮 "; + # info = " "; + # warning = " "; + # }; text = { color = "2b3339"; font = { diff --git a/system/defaults/services.nix b/system/defaults/services.nix index fb11487..089da15 100644 --- a/system/defaults/services.nix +++ b/system/defaults/services.nix @@ -2,16 +2,17 @@ { services = { - printing.enable = true; - pulseaudio.enable = false; + cron.enable = true; + flatpak.enable = true; + openssh.enable = true; pipewire = { enable = true; alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; }; - openssh.enable = true; - flatpak.enable = true; - cron.enable = true; + playerctld.enable = true; + printing.enable = true; + pulseaudio.enable = false; }; }