From a8b6ce30360c3041f90743f5a33b38088a547ead Mon Sep 17 00:00:00 2001 From: roxwize Date: Tue, 31 Dec 2024 20:27:32 -0500 Subject: [PATCH] ~ --- configs/openbox/autostart | 6 ++++++ nixos/home/base.nix | 5 +++++ nixos/home/yambar.nix | 5 ++--- nixos/hosts/ioides/configuration.nix | 12 ++++++------ nixos/packages.nix | 4 +++- 5 files changed, 22 insertions(+), 10 deletions(-) diff --git a/configs/openbox/autostart b/configs/openbox/autostart index a55e2fd..7c14b9a 100644 --- a/configs/openbox/autostart +++ b/configs/openbox/autostart @@ -1,3 +1,9 @@ hsetroot -cover ~/.dotfiles/assets/wallpapers/current xcompmgr & +# dumb yambar workaround https://codeberg.org/dnkl/yambar/issues/429 +xterm -geometry 1x1+0+18 & +temp=$! +sleep 1 yambar & +sleep 1 +kill $temp diff --git a/nixos/home/base.nix b/nixos/home/base.nix index 29ca115..01f93d4 100644 --- a/nixos/home/base.nix +++ b/nixos/home/base.nix @@ -73,6 +73,11 @@ } ''; }; + #! doesn't seem to do anything ;w;;;;; + mpdris2 = { + enable = true; + mpd.musicDirectory = "/mnt/world/music"; + }; mpris-proxy.enable = true; }; diff --git a/nixos/home/yambar.nix b/nixos/home/yambar.nix index 943144f..5312f1f 100644 --- a/nixos/home/yambar.nix +++ b/nixos/home/yambar.nix @@ -1,4 +1,4 @@ -{ ... }: { +{ pkgs, ... }: { programs.yambar = { enable = true; settings = { @@ -12,13 +12,12 @@ left = [ { - # TODO: mpd + # https://codeberg.org/dnkl/yambar/issues/53#issuecomment-264088 label = { content.string.text = "god's in his heaven | all's right with the world"; }; } ]; - right = [ { battery = { diff --git a/nixos/hosts/ioides/configuration.nix b/nixos/hosts/ioides/configuration.nix index 8915739..4347577 100644 --- a/nixos/hosts/ioides/configuration.nix +++ b/nixos/hosts/ioides/configuration.nix @@ -31,6 +31,12 @@ xserver.videoDrivers = [ "nvidia" "modesetting" "fbdev" ]; }; hardware = { + graphics = { + enable = true; + extraPackages = with pkgs; [ + intel-media-sdk + ]; + }; nvidia = { modesetting.enable = true; powerManagement = { @@ -41,12 +47,6 @@ nvidiaSettings = true; package = config.boot.kernelPackages.nvidiaPackages.stable; }; - opengl = { - enable = true; - extraPackages = with pkgs; [ - intel-media-sdk - ]; - }; }; fonts.fontconfig.subpixel.rgba = "rgb"; diff --git a/nixos/packages.nix b/nixos/packages.nix index 959f5dd..ed82333 100644 --- a/nixos/packages.nix +++ b/nixos/packages.nix @@ -53,6 +53,9 @@ # text editors neovim vscodium + # music + mpc + rmpc # X11 hsetroot nitrogen @@ -65,7 +68,6 @@ yambar # misc catppuccin-sddm - mpc steam-run uxn ];