mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-11-13 14:19:09 +01:00
removed unecessary functions
This commit is contained in:
1 parent
f3b4dfa25e
commit
009988fef3
3 files changed
-13
No files matched your search
@@ -1,5 +0,0 @@
|
|||||||
function decrease_brightness_by --argument-names amount
|
|
||||||
set --local brightness (cat /sys/class/backlight/*/brightness)
|
|
||||||
set --local brightness_increased (math $brightness - $amount)
|
|
||||||
echo $brightness_increased | sudo tee /sys/class/backlight/*/brightness > /dev/null
|
|
||||||
end
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
function increase_brightness_by --argument-names amount
|
|
||||||
set --local brightness (cat /sys/class/backlight/*/brightness)
|
|
||||||
set --local brightness_increased (math $brightness + $amount)
|
|
||||||
echo $brightness_increased | sudo tee /sys/class/backlight/*/brightness > /dev/null
|
|
||||||
end
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
function set_brightness --argument-names amount
|
|
||||||
echo $amount | sudo tee /sys/class/backlight/*/brightness > /dev/null
|
|
||||||
end
|
|
||||||
Reference in new issue
Block a user