diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2023-03-15 11:35:51 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2023-03-15 11:35:51 +0530 |
commit | fa7a8015feb5ff3e4d158e2d7f1b82fe94091555 (patch) | |
tree | 6e111a5ec2f5709898a2d43e637b137cbaa8a595 /etc | |
parent | 46f86978d0f8c7538b615ba60e1332cc280f5cd0 (diff) |
.local: adding some envscripts+udev rules for brillo
Diffstat (limited to 'etc')
-rw-r--r-- | etc/fstab | 18 | ||||
-rw-r--r-- | etc/udev/rules.d/90-backlight.rules | 3 |
2 files changed, 21 insertions, 0 deletions
diff --git a/etc/fstab b/etc/fstab new file mode 100644 index 0000000..a46e7b9 --- /dev/null +++ b/etc/fstab @@ -0,0 +1,18 @@ +# Static information about the filesystems. +# See fstab(5) for details. + +# <file system> <dir> <type> <options> <dump> <pass> +# /dev/nvme0n1p3 +UUID=41e95346-68c7-4331-b4a1-bad1b5c11f50 / ext4 rw,relatime 0 1 + +# /dev/nvme0n1p1 +UUID=6196-DABA /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2 + +# /dev/nvme0n1p4 +UUID=0e676682-5f38-4244-b2be-4e0a3dd13d24 /home ext4 rw,relatime 0 2 + +# /dev/nvme0n1p2 +UUID=e4c839af-2ad3-4ca6-8858-811dca6f1361 none swap defaults 0 0 + +#hdd +UUID=7fa64ba5-33a0-4e65-842d-8c05451c2634 /mnt/hdd ext4 defaults 0 0 diff --git a/etc/udev/rules.d/90-backlight.rules b/etc/udev/rules.d/90-backlight.rules new file mode 100644 index 0000000..231c2a4 --- /dev/null +++ b/etc/udev/rules.d/90-backlight.rules @@ -0,0 +1,3 @@ +SUBSYSTEM=="backlight", ACTION=="add", +RUN+="/bin/chgrp video /sys/class/backlight/intel_backlight/brightness", +RUN+="/bin/chmod o+w /sys/class/backlight/intel_backlight/brightness" |