From a88afaaab3e6c39a2e913bdeb728d3c6015b4440 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Sun, 9 Jul 2023 22:09:27 +0800 Subject: [PATCH] feat: adjsut brightness(x11) --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 6c4d3a21..369650bf 100644 --- a/Makefile +++ b/Makefile @@ -29,6 +29,11 @@ gc: # garbage collect all unused nix store entries sudo nix store gc --debug +# adjust brightness(x11) +# usage: make bright b=0.9 +bright: + xrandr --output DP-2 --brightness $(b) + ############################################################################ # # Darwin related commands, harmonica is my macbook pro's hostname