add xbindkeys bindings
This commit is contained in:
parent
d3b093d69b
commit
553c475e46
@ -11,8 +11,18 @@ 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
|
||||
alias ppu 'sudo pacman -Sy; and sudo powerpill -Su --noconfirm'
|
||||
alias ppu 'sudo pacman -Sy; and pp -Su --noconfirm; and yay -Su; and yay -Scc'
|
||||
alias pp 'sudo powerpill'
|
||||
alias add 'git add .config/fish/config.fish .config/pulse/3cfb1915dbe54ca3a921435cb523fa90-device-volumes.tdb .config/pulse/3cfb1915dbe54ca3a921435cb523fa90-stream-volumes.tdb .config/termite/config .local/share/applications/*'
|
||||
sudo rfkill block bluetooth
|
||||
|
||||
function fish_prompt
|
||||
/usr/bin/powerline-go -error $status -shell bare -modules nix-shell,venv,user,host,ssh,cwd,perms,git,hg,root,vgo
|
||||
end
|
||||
|
||||
function ss
|
||||
sleep $argv > /dev/null 2>&1
|
||||
set timesave (date +'SCRSHOT_%m-%d_%I:%M:%S_%p.png')
|
||||
gnome-screenshot -a -f ~/$timesave > /dev/null 2>&1
|
||||
echo 'Screenshot saved at ~/'$timesave
|
||||
end
|
||||
|
14
.xbindkeysrc
Normal file
14
.xbindkeysrc
Normal file
@ -0,0 +1,14 @@
|
||||
"fish -c 'ss 0'"
|
||||
m:0x0 + c:191
|
||||
XF86Tools
|
||||
|
||||
|
||||
"fish -c 'math (cat /sys/class/backlight/backlight/brightness)-2000 > /sys/class/backlight/backlight/brightness'"
|
||||
m:0x40 + c:72
|
||||
Mod4 + F6
|
||||
|
||||
|
||||
"fish -c 'math (cat /sys/class/backlight/backlight/brightness)+2000 > /sys/class/backlight/backlight/brightness'"
|
||||
m:0x40 + c:73
|
||||
Mod4 + F7
|
||||
|
19
.xinitrc
19
.xinitrc
@ -8,15 +8,7 @@ sysmodmap=/etc/X11/xinit/.Xmodmap
|
||||
# merge in defaults and keymaps
|
||||
|
||||
if [ -f $sysresources ]; then
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
xrdb -merge $sysresources
|
||||
|
||||
fi
|
||||
|
||||
if [ -f $sysmodmap ]; then
|
||||
@ -24,15 +16,7 @@ if [ -f $sysmodmap ]; then
|
||||
fi
|
||||
|
||||
if [ -f "$userresources" ]; then
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
xrdb -merge "$userresources"
|
||||
|
||||
fi
|
||||
|
||||
if [ -f "$usermodmap" ]; then
|
||||
@ -50,7 +34,4 @@ fi
|
||||
xbindkeys
|
||||
~/.fehbg &
|
||||
i3
|
||||
#xinput set-prop "Atmel maXTouch Touchpad" 266 {1}
|
||||
#xinput set-prop "Atmel maXTouch Touchpad" 268 {0}
|
||||
#compton
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user