mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
add executor to gnome on kestrel with svs status
This commit is contained in:
parent
48457c9b23
commit
295a283cb6
@ -2,6 +2,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./backup.nix
|
./backup.nix
|
||||||
|
./gnome.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use performance governor for sweet gaming performance!
|
# Use performance governor for sweet gaming performance!
|
||||||
|
23
provision/hosts/kestrel/gnome.nix
Normal file
23
provision/hosts/kestrel/gnome.nix
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{ config, lib, pkgs, user, home-manager, ... }:
|
||||||
|
{
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
gnomeExtensions.executor # Execute shell commands display output top bar.
|
||||||
|
];
|
||||||
|
|
||||||
|
home-manager.users.${user} = {
|
||||||
|
dconf.settings = {
|
||||||
|
"org/gnome/shell" = {
|
||||||
|
enabled-extensions = [
|
||||||
|
"executor@raujonas.github.io"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
"org/gnome/shell/extensions/executor" = {
|
||||||
|
"click-on-output-active" = false;
|
||||||
|
"center-active" = false;
|
||||||
|
"left-active" = false;
|
||||||
|
"right-active" = true;
|
||||||
|
"right-commands-json" = ''{"commands":[{"isActive":true,"command":"pySVS 54:B7:E5:57:1A:7B --volume=A | grep -oP \"(?<=VOLUME': )-?\\d+\" | xargs -I{} echo \" {}dB\"","interval":20,"uuid":"732cd6de-ff5f-46a7-b8bb-51d1c621cc60"}]}'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user