mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
moved settings to each system configuration added per system volume increments
This commit is contained in:
parent
c525bfa78e
commit
c4079791b5
5 changed files with 271 additions and 17 deletions
|
|
@ -1,4 +1,10 @@
|
|||
{
|
||||
{lib, settings, ...}:
|
||||
with lib; let
|
||||
volInc =
|
||||
if (settings.hostname == "gerg-desktop")
|
||||
then "40"
|
||||
else "400";
|
||||
in {
|
||||
services.sxhkd = {
|
||||
enable = true;
|
||||
keybindings = {
|
||||
|
|
@ -8,8 +14,8 @@
|
|||
"XF86AudioStop" = "playerctl stop";
|
||||
"XF86AudioNext" = "playerctl next";
|
||||
"XF86AudioPrev" = "playerctl previous";
|
||||
"XF86AudioRaiseVolume" = "amixer sset Master 40+";
|
||||
"XF86AudioLowerVolume" = "amixer sset Master 40-";
|
||||
"XF86AudioRaiseVolume" = "amixer sset Master ${volInc}+";
|
||||
"XF86AudioLowerVolume" = "amixer sset Master ${volInc}-";
|
||||
"XF86AudioMute" = "amixer sset Master toggle ";
|
||||
"XF86MonBrightnessUp" = "brightnessctl s 20+";
|
||||
"XF86MonBrightnessDown" = "brightnessctl s 20-";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue