mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-02-24 00:32:06 +00:00
~
This commit is contained in:
parent
577f256b4e
commit
877337c4f5
3 changed files with 91 additions and 83 deletions
2
TODO
2
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?)
|
||||
|
|
|
@ -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}";
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue