sysvol: 2024-06-13 -> 2024-06-20
This commit is contained in:
parent
f83bac3c2b
commit
78f4cd9be2
2
TODO.md
2
TODO.md
|
@ -15,7 +15,7 @@
|
||||||
- decrease s6 restart time?
|
- decrease s6 restart time?
|
||||||
- `ssh` access doesn't grant same linux capabilities as login
|
- `ssh` access doesn't grant same linux capabilities as login
|
||||||
- ringer (i.e. dino incoming call) doesn't prevent moby from sleeping
|
- ringer (i.e. dino incoming call) doesn't prevent moby from sleeping
|
||||||
- sysvol (volume overlay): when casting with `blast`, sysvol doesn't react to volume changes
|
- syshud (volume overlay): when casting with `blast`, syshud doesn't react to volume changes
|
||||||
- moby: kaslr is effectively disabled
|
- moby: kaslr is effectively disabled
|
||||||
- `dmesg | grep "KASLR disabled due to lack of seed"`
|
- `dmesg | grep "KASLR disabled due to lack of seed"`
|
||||||
- fix by adding `kaslrseed` to uboot script before `booti`
|
- fix by adding `kaslrseed` to uboot script before `booti`
|
||||||
|
|
|
@ -143,7 +143,7 @@
|
||||||
./swaylock.nix
|
./swaylock.nix
|
||||||
./swaynotificationcenter
|
./swaynotificationcenter
|
||||||
./switchboard.nix
|
./switchboard.nix
|
||||||
./sysvol.nix
|
./syshud.nix
|
||||||
./tangram.nix
|
./tangram.nix
|
||||||
./tor-browser.nix
|
./tor-browser.nix
|
||||||
./tuba.nix
|
./tuba.nix
|
||||||
|
|
|
@ -164,7 +164,7 @@ in
|
||||||
"swayidle" # enable if you need it
|
"swayidle" # enable if you need it
|
||||||
"swaynotificationcenter" # notification daemon
|
"swaynotificationcenter" # notification daemon
|
||||||
"switchboard" # network/bluetooth/sound control panel
|
"switchboard" # network/bluetooth/sound control panel
|
||||||
"sysvol" # volume notifier
|
"syshud" # volume notifier
|
||||||
"unl0kr" # greeter
|
"unl0kr" # greeter
|
||||||
# "waybar"
|
# "waybar"
|
||||||
"wdisplays" # like xrandr
|
"wdisplays" # like xrandr
|
||||||
|
|
|
@ -1,11 +1,15 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
sane.programs.sysvol = {
|
sane.programs.syshud = {
|
||||||
sandbox.method = "bwrap";
|
sandbox.method = "bwrap";
|
||||||
sandbox.whitelistAudio = true;
|
sandbox.whitelistAudio = true;
|
||||||
sandbox.whitelistWayland = true;
|
sandbox.whitelistWayland = true;
|
||||||
|
sandbox.extraPaths = [
|
||||||
|
"/sys/class/backlight" #< crashes if unable to access this directory
|
||||||
|
# "/sys/devices" #< only if you want it to actually show when the backlight changes
|
||||||
|
];
|
||||||
|
|
||||||
fs.".config/sys64/volume.css".symlink.text = ''
|
fs.".config/sys64/hud.css".symlink.text = ''
|
||||||
window {
|
window {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
@ -53,8 +57,8 @@
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
services."sysvol" = {
|
services."syshud" = {
|
||||||
description = "sysvol: volume monitor/notifier";
|
description = "syshud: volume monitor/notifier";
|
||||||
depends = [ "sound" ]; #< specifically wireplumber-pulse
|
depends = [ "sound" ]; #< specifically wireplumber-pulse
|
||||||
partOf = [ "graphical-session" ];
|
partOf = [ "graphical-session" ];
|
||||||
|
|
||||||
|
@ -67,7 +71,7 @@
|
||||||
# -{H,W} N to set the height/width of the notifier, in px.
|
# -{H,W} N to set the height/width of the notifier, in px.
|
||||||
# -i N to set the size of the volume icon
|
# -i N to set the size of the volume icon
|
||||||
# -P to hide percentage text
|
# -P to hide percentage text
|
||||||
command = "sysvol -p top -t 1 -T 0 -m 22 -H 39 -W 256 -i 32 -P";
|
command = "syshud -p top -t 1 -T 0 -m 22 -H 39 -W 256 -i 32 -P";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
|
@ -8,14 +8,14 @@
|
||||||
, wrapGAppsHook4
|
, wrapGAppsHook4
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "sysvol";
|
pname = "syshud";
|
||||||
version = "0-unstable-2024-06-13";
|
version = "0-unstable-2024-06-20";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "System64fumo";
|
owner = "System64fumo";
|
||||||
repo = "sysvol";
|
repo = "syshud";
|
||||||
rev = "af882d40df7c6e1a0ec415d934f643933f455b5a";
|
rev = "2b97f3441970efe67c788a8313eb58182aa7965b";
|
||||||
hash = "sha256-3gB1u7fEi7EB+FWZKS8ddJ53RC5Chyw3fTBX8Z0Itis=";
|
hash = "sha256-XPAKjBLaTGEyDgiZT8tYinYzMivOocOEeauzR4leOjI=";
|
||||||
};
|
};
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace Makefile \
|
substituteInPlace Makefile \
|
||||||
|
@ -40,9 +40,9 @@ stdenv.mkDerivation {
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A basic GTK4 volume indicator";
|
description = "Simple heads up display written in gtkmm 4";
|
||||||
homepage = "https://github.com/System64fumo/sysvol";
|
homepage = "https://github.com/System64fumo/syshud";
|
||||||
mainProgram = "sysvol";
|
mainProgram = "syshud";
|
||||||
platforms = lib.platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
maintainers = with lib.maintainers; [ colinsane ];
|
maintainers = with lib.maintainers; [ colinsane ];
|
||||||
};
|
};
|
|
@ -97,7 +97,7 @@ let
|
||||||
sxmo_swaylock = callPackage ./additional/sxmo_swaylock { };
|
sxmo_swaylock = callPackage ./additional/sxmo_swaylock { };
|
||||||
sxmo-suspend = callPackage ./additional/sxmo-suspend { };
|
sxmo-suspend = callPackage ./additional/sxmo-suspend { };
|
||||||
sxmo-utils = callPackage ./additional/sxmo-utils { };
|
sxmo-utils = callPackage ./additional/sxmo-utils { };
|
||||||
sysvol = callPackage ./additional/sysvol { };
|
syshud = callPackage ./additional/syshud { };
|
||||||
tow-boot-pinephone = callPackage ./additional/tow-boot-pinephone { };
|
tow-boot-pinephone = callPackage ./additional/tow-boot-pinephone { };
|
||||||
tree-sitter-nix-shell = callPackage ./additional/tree-sitter-nix-shell { };
|
tree-sitter-nix-shell = callPackage ./additional/tree-sitter-nix-shell { };
|
||||||
trivial-builders = lib.recurseIntoAttrs (callPackage ./additional/trivial-builders { });
|
trivial-builders = lib.recurseIntoAttrs (callPackage ./additional/trivial-builders { });
|
||||||
|
|
Loading…
Reference in New Issue
Block a user