Update '.config/fish/config.fish'

master
shark 5 years ago
parent 6dade2d9f0
commit efb5736c8f

@ -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" 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' alias brightness 'sudo nano /sys/class/backlight/backlight/brightness'
function battery function battery
set y (cat /sys/class/power_supply/sbs-9-000b/charge_full) set y (cat /sys/class/power_supply/sbs-9-000b/charge_full)
@ -41,4 +46,6 @@ function getvol
#notify-send -t 50 'Volume: '$vol'%' #notify-send -t 50 'Volume: '$vol'%'
end 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"'
Loading…
Cancel
Save