Compare commits

...

3 Commits

6 changed files with 29 additions and 7 deletions

View File

@ -1 +0,0 @@
- Add Nix formatting and linting that works with neovim.

View File

@ -70,9 +70,3 @@ alias google-chrome-stable="google-chrome-stable --simulate-outdated-no-au='Tue,
# rsync # rsync
alias rsync.net="ssh fm2120@fm2120.rsync.net" alias rsync.net="ssh fm2120@fm2120.rsync.net"
# svs subwoofer
sv() {
pySVS 54:B7:E5:57:1A:7B --volume="$1"
}

View File

@ -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!

View 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"}]}'';
};
};
};
}

View File

@ -196,6 +196,7 @@ in {
move-to-center = [ "<Alt><Super>c" ]; move-to-center = [ "<Alt><Super>c" ];
switch-windows = ["<Super>Tab"]; switch-windows = ["<Super>Tab"];
switch-windows-backward = ["<Shift><Super>Tab"]; switch-windows-backward = ["<Shift><Super>Tab"];
panel-run-dialog = ["<Super>r"];
minimize = []; minimize = [];
}; };
# custom-hot-corners-extended configs # custom-hot-corners-extended configs

View File

@ -7,6 +7,10 @@ in {
libimobiledevice # Library to support iPhone, iPod Touch and iPad devices on Linux libimobiledevice # Library to support iPhone, iPod Touch and iPad devices on Linux
ifuse # fuse filesystem implementation to access the contents of iOS devices ifuse # fuse filesystem implementation to access the contents of iOS devices
pySVS # control SVS subwoofers from the command-line pySVS # control SVS subwoofers from the command-line
(pkgs.writeScriptBin "sv" ''
#!/bin/sh
pySVS 54:B7:E5:57:1A:7B --volume="$1"
'')
opensc # Open source smart card tools and middleware opensc # Open source smart card tools and middleware
pcsc-tools # Tools are used to test a PC/SC drivers pcsc-tools # Tools are used to test a PC/SC drivers
pkcs11helper # Library that simplifies the interaction with PKCS#11 pkcs11helper # Library that simplifies the interaction with PKCS#11