diff --git a/bashrc/bash_profile b/bashrc/bash_profile index 2c0336f..3ecddeb 100644 --- a/bashrc/bash_profile +++ b/bashrc/bash_profile @@ -7,6 +7,7 @@ # env export GTK_THEME=tokyonight-dark export XCURSOR_THEME=catppuccin-mocha-dark-cursors +export XCURSOR_SIZE=24 # bspwm # exec startx diff --git a/etc-udev-rules.d/98-backlight.rules b/etc-udev-rules.d/98-backlight.rules new file mode 100644 index 0000000..c4b1e9b --- /dev/null +++ b/etc-udev-rules.d/98-backlight.rules @@ -0,0 +1 @@ +ACTION=="add", SUBSYSTEM=="backlight", RUN+="/bin/chgrp video $sys$devpath/brightness", RUN+="/bin/chmod g+w $sys$devpath /brightness" diff --git a/etc-udev-rules.d/99-hid-apple.rules b/etc-udev-rules.d/99-hid-apple.rules new file mode 100644 index 0000000..c312dd9 --- /dev/null +++ b/etc-udev-rules.d/99-hid-apple.rules @@ -0,0 +1 @@ +ACTION=="add", SUBSYSTEM=="hid", DRIVER=="apple", RUN+="/bin/sh -c 'echo 2 > /sys/module/hid_apple/parameters/fnmode'" diff --git a/etc-udev-rules.d/README.md b/etc-udev-rules.d/README.md new file mode 100644 index 0000000..f48f2cd --- /dev/null +++ b/etc-udev-rules.d/README.md @@ -0,0 +1,6 @@ +sudo udevadm control --reload-rules +sudo udevadm trigger + + +- backlight: for backlight fn key +- apple thing: for lofree keyboard