initial commit - add files
This commit is contained in:
13
.config/fish/config.fish
Normal file
13
.config/fish/config.fish
Normal file
@ -0,0 +1,13 @@
|
||||
xinput set-prop "Atmel maXTouch Touchpad" 266 {1} 2>/dev/null
|
||||
xinput set-prop "Atmel maXTouch Touchpad" 268 {0} 2>/dev/null
|
||||
xinput set-prop "Atmel maXTouch Touchpad" 286 {0.5} 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)
|
||||
set x (cat /sys/class/power_supply/sbs-9-000b/charge_now)
|
||||
math -s2 "$x/$y * 100"
|
||||
end
|
||||
set -x TZ 'America/Chicago'
|
||||
alias vpn 'sudo openvpn --config /home/cole/Downloads/us-chicago.ovpn --auth-user-pass /home/cole/Downloads/pass'
|
||||
set touchpadEnabled 1
|
||||
alias arduino /home/cole/Downloads/arduino-nightly/arduino
|
34
.config/fish/fishd.alarm
Normal file
34
.config/fish/fishd.alarm
Normal file
@ -0,0 +1,34 @@
|
||||
# This file is automatically generated by the fish.
|
||||
# Do NOT edit it directly, your changes will be overwritten.
|
||||
SET __fish_classic_git_prompt_initialized:\x1d
|
||||
SET __fish_init_2_39_8:\x1d
|
||||
SET __fish_init_2_3_0:\x1d
|
||||
SET fish_color_autosuggestion:555\x1ebrblack
|
||||
SET fish_color_cancel:\x2dr
|
||||
SET fish_color_command:\x2d\x2dbold
|
||||
SET fish_color_comment:red
|
||||
SET fish_color_cwd:green
|
||||
SET fish_color_cwd_root:red
|
||||
SET fish_color_end:brmagenta
|
||||
SET fish_color_error:brred
|
||||
SET fish_color_escape:bryellow\x1e\x2d\x2dbold
|
||||
SET fish_color_history_current:\x2d\x2dbold
|
||||
SET fish_color_host:normal
|
||||
SET fish_color_match:\x2d\x2dbackground\x3dbrblue
|
||||
SET fish_color_normal:normal
|
||||
SET fish_color_operator:bryellow
|
||||
SET fish_color_param:cyan
|
||||
SET fish_color_quote:yellow
|
||||
SET fish_color_redirection:brblue
|
||||
SET fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
|
||||
SET fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
|
||||
SET fish_color_status:red
|
||||
SET fish_color_user:brgreen
|
||||
SET fish_color_valid_path:\x2d\x2dunderline
|
||||
SET fish_greeting:Welcome\x20to\x20fish\x2c\x20the\x20friendly\x20interactive\x20shell
|
||||
SET fish_key_bindings:fish_default_key_bindings
|
||||
SET fish_pager_color_completion:\x1d
|
||||
SET fish_pager_color_description:B3A06D\x1eyellow
|
||||
SET fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
|
||||
SET fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
|
||||
SET touchpadEnabled:1
|
14
.config/fish/functions/tp.fish
Normal file
14
.config/fish/functions/tp.fish
Normal file
@ -0,0 +1,14 @@
|
||||
function tp
|
||||
if test $touchpadEnabled = 1
|
||||
set touchpadEnabled 0
|
||||
echo Disabled Trackpad
|
||||
xinput disable "Atmel maXTouch Touchpad"
|
||||
unclutter --timeout 0 &
|
||||
else
|
||||
set touchpadEnabled 1
|
||||
echo Enabled Trackpad
|
||||
xinput enable "Atmel maXTouch Touchpad"
|
||||
kill (jobs -c | grep unclutter) 2>/dev/null
|
||||
end
|
||||
end
|
||||
|
11
.config/fish/functions/transfer.fish
Normal file
11
.config/fish/functions/transfer.fish
Normal file
@ -0,0 +1,11 @@
|
||||
function transfer --description 'Upload a file to transfer.sh'
|
||||
if [ $argv[1] ]
|
||||
# write to output to tmpfile because of progress bar
|
||||
set -l tmpfile ( mktemp -t transferXXX )
|
||||
curl --progress-bar --upload-file "$argv[1]" https://transfer.sh/(basename $argv[1]) >> $tmpfile
|
||||
cat $tmpfile
|
||||
command rm -f $tmpfile
|
||||
else
|
||||
echo 'usage: transfer FILE_TO_TRANSFER'
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user