diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 63e3b8a..7357b6d 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -1,6 +1,11 @@ -xinput set-prop "Atmel maXTouch Touchpad" 259 {1} +xinput set-prop "Atmel maXTouch Touchpad" 265 {1} 2>/dev/null +xinput set-prop "Atmel maXTouch Touchpad" 267 {0} 2>/dev/null +xinput set-prop "Atmel maXTouch Touchpad" 285 {0.2} 2>/dev/null + +xinput set-prop "Atmel maXTouch Touchpad" 259 {1} 2>/dev/null xinput set-prop "Atmel maXTouch Touchpad" 261 {0} 2>/dev/null -xinput set-prop "Atmel maXTouch Touchpad" 279 {0.2} +xinput set-prop "Atmel maXTouch Touchpad" 279 {0.2} 2>/dev/null + alias brightness 'sudo nano /sys/class/backlight/backlight/brightness' function battery set y (cat /sys/class/power_supply/sbs-9-000b/charge_full) @@ -41,4 +46,6 @@ function getvol #notify-send -t 50 'Volume: '$vol'%' end - +alias fastdl 'aria2c -x16 -j16 -s' +alias rdp "xfreerdp /u:Cole /p:PASSWORD /v:98.227.187.105:2238 /dynamic-resolution /network:modem +aero /f /scale:180 +auto-reconnect /gfx +fonts +clipboard /gdi:hw +gfx-progressive +glyph-cache /gfx-h264:AVC420" +alias watchpower 'watch -tx /usr/bin/fish -c "echo (math (cat /sys/class/power_supply/sbs-9-000b/current_now)/1000000\\*(cat /sys/class/power_supply/sbs-9-000b/voltage_now)/1000000)w power used"' \ No newline at end of file