update brightness
This commit is contained in:
parent
fa15f8c61a
commit
8870506a0f
2 changed files with 5 additions and 3 deletions
|
|
@ -120,9 +120,10 @@
|
||||||
",XF86AudioMute, exec, ${pkgs.ponymix}/bin/ponymix, toggle"
|
",XF86AudioMute, exec, ${pkgs.ponymix}/bin/ponymix, toggle"
|
||||||
|
|
||||||
# Screen Brightness
|
# Screen Brightness
|
||||||
",XF86MonBrightnessUp, exec, ${pkgs.light}/bin/light -A 10"
|
#",XF86MonBrightnessUp, exec, ${pkgs.light}/bin/light -A 10"
|
||||||
",XF86MonBrightnessDown, exec, ${pkgs.light}/bin/light -U 10"
|
#",XF86MonBrightnessDown, exec, ${pkgs.light}/bin/light -U 10"
|
||||||
|
",XF86MonBrightnessUp, exec, ${pkgs.light}/bin/light -S \"$(${pkgs.light}/bin/light -G | ${pkgs.busybox}/bin/awk '{ print int(($1 + .72) * 1.4) }')\""
|
||||||
|
",XF86MonBrightnessDown, exec, ${pkgs.light}/bin/light -S \"$(${pkgs.light}/bin/light -G | ${pkgs.busybox}/bin/awk '{ print int($1 / 1.4) }')\""
|
||||||
# move focus
|
# move focus
|
||||||
"$mod, left, movefocus, l"
|
"$mod, left, movefocus, l"
|
||||||
"$mod, right, movefocus, r"
|
"$mod, right, movefocus, r"
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@
|
||||||
# If you want to use modules your own flake exports (from modules/nixos):
|
# If you want to use modules your own flake exports (from modules/nixos):
|
||||||
# outputs.nixosModules.example
|
# outputs.nixosModules.example
|
||||||
../../common/nixos/common.nix
|
../../common/nixos/common.nix
|
||||||
|
../../common/nixos/laptop.nix
|
||||||
../../common/networking/zerotier.nix
|
../../common/networking/zerotier.nix
|
||||||
../../common/nixos/bluetooth.nix
|
../../common/nixos/bluetooth.nix
|
||||||
../../common/gui/hyprland.nix
|
../../common/gui/hyprland.nix
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue