From 877337c4f508927020edcf43deb120f05b20c0fe Mon Sep 17 00:00:00 2001 From: roxwize Date: Tue, 18 Feb 2025 22:33:55 -0500 Subject: [PATCH] ~ --- TODO | 2 + nixos/home/yambar.nix | 163 +++++++++++++++++++++--------------------- nixos/packages.nix | 9 ++- 3 files changed, 91 insertions(+), 83 deletions(-) diff --git a/TODO b/TODO index a21f7f3..87d60c8 100644 --- a/TODO +++ b/TODO @@ -38,6 +38,8 @@ [ ] music tagging - ex falso or kid3??? [ ] MEGA MEGA TODO: Get your custom cursor to work :((((( It was working on the vm??? [ ] Personally i think your desktop fucking sucks and you should just switch to kde plasma + +- [ ] Just see if you can write a yambar plugin that gives you a taskbar........... +[ ] Should you be using both libretro easyrpg and standalone easyrpg at the same time like you are now ???????? [x] Get PulseAudio sound controls on polybar to work [x] Add desktop switching to windows (context menu?) diff --git a/nixos/home/yambar.nix b/nixos/home/yambar.nix index 800f1a0..5f9ce61 100644 --- a/nixos/home/yambar.nix +++ b/nixos/home/yambar.nix @@ -1,85 +1,84 @@ { pkgs, ... }: { - programs.yambar = { - enable = true; - settings = { - bar = { - location = "top"; - height = 18; - background = "00000088"; - font = "GohuFont:style=Regular:pixelsize=11"; - margin = 16; - spacing = 3; + programs.yambar = { + enable = true; + settings = { + bar = { + location = "top"; + height = 18; + background = "00000088"; + font = "GohuFont:style=Regular:pixelsize=11"; + margin = 16; + spacing = 3; - left = [ - { - # https://codeberg.org/dnkl/yambar/issues/53#issuecomment-264088 - script = { - #? or /run/current-system/sw/bin/playerctl - path = "${pkgs.playerctl}/bin/playerctl"; - args = [ - "--follow" - "metadata" - "--format" - '' - status|string|{{status}} - artist|string|{{artist}} - title|string|{{title}} - '' - ]; - content.map.conditions = { - "status == Playing && artist != \"\"" = { - string.text = "{artist} - {title}"; - }; - "status == Playing && artist == \"\"" = { - string.text = "{title}"; - }; - "status != Playing" = { - string.text = "god's in his heaven | all's right with the world"; - }; - }; - }; - } - ]; - right = [ - { - battery = { - name = "BAT0"; - content.map.conditions."state != unknown".string.text = "bat {capacity}% |"; - }; - } - { - pipewire = { - content.map.conditions."type == sink".string = { - text = "vol {cubic_volume}% |"; - on-click = { - left = "pavucontrol"; - wheel-up = "amixer sset Master 1%+"; - wheel-down = "amixer sset Master 1%-"; - }; - }; - }; - } - { - cpu = { - poll-interval = 2000; - content.map.conditions."id < 0".string.text = "cpu {cpu}%"; - }; - } - { - mem = { - poll-interval = 2000; - content.string.text = "ram {percent_used}% |"; - }; - } - { - clock = { - date-format = "%b %d %y"; - time-format = "%I:%M %p"; - content.string.text = "{date} {time}"; - }; - } - ]; - }; - }; - }; + left = [ + { + # https://codeberg.org/dnkl/yambar/issues/53#issuecomment-264088 + script = { + path = "${pkgs.playerctl}/bin/playerctl"; + args = [ + "--follow" + "metadata" + "--format" + '' + status|string|{{status}} + artist|string|{{artist}} + title|string|{{title}} + '' + ]; + content.map.conditions = { + "status == Playing && artist != \"\"" = { + string.text = "{artist} - {title}"; + }; + "status == Playing && artist == \"\"" = { + string.text = "{title}"; + }; + "status != Playing" = { + string.text = "god's in his heaven | all's right with the world"; + }; + }; + }; + } + ]; + right = [ + { + battery = { + name = "BAT0"; + content.map.conditions."state != unknown".string.text = "bat {capacity}% |"; + }; + } + { + pipewire = { + content.map.conditions."type == sink".string = { + text = "vol {cubic_volume}% |"; + on-click = { + left = "pavucontrol"; + wheel-up = "amixer sset Master 1%+"; + wheel-down = "amixer sset Master 1%-"; + }; + }; + }; + } + { + cpu = { + poll-interval = 2000; + content.map.conditions."id < 0".string.text = "cpu {cpu}%"; + }; + } + { + mem = { + poll-interval = 2000; + content.string.text = "ram {percent_used}% |"; + }; + } + { + clock = { + date-format = "%b %d %y"; + time-format = "%I:%M %p"; + content.string.text = "{date} {time}"; + }; + } + ]; + }; + }; + }; } diff --git a/nixos/packages.nix b/nixos/packages.nix index b8731d9..d158ddf 100644 --- a/nixos/packages.nix +++ b/nixos/packages.nix @@ -33,6 +33,13 @@ easyrpg-player # RPG Maker 2000/2003 and EasyRPG games interpreter unstable.luanti # An open source voxel game engine (formerly Minetest) prismlauncher # Free, open source launcher for Minecraft + (retroarch.override { # Multi-platform emulator frontend for libretro cores + cores = with libretro; [ + easyrpg # RPG Maker 2000/2003 and EasyRPG games interpreter + ppsspp # HLE Playstation Portable emulator, written in C++ (SDL + headless) + yabause # Open-source Sega Saturn emulator + ]; + }) steam-run # Run commands in the same FHS environment that is used for Steam uxn # Assembler and emulator for the Uxn stack machine x16 # Official emulator of CommanderX16 8-bit computer @@ -101,7 +108,7 @@ # misc anki # Spaced repetition flashcard program catppuccin-sddm # Soothing pastel theme for SDDM - kdePackages.kdenlive # Free and open source video editor, based on MLT Framework and KDE Frameworks + unstable.kdePackages.kdenlive # Free and open source video editor, based on MLT Framework and KDE Frameworks kicad-small # Open Source Electronics Design Automation suite, without 3D models mlt #! Open source multimedia framework, designed for television broadcasting (This is fucking stupid) nmap # Free and open source utility for network discovery and security auditing