Browse Source

Add Xonotic config. Misc fixes.

master
SolitudeSF 9 months ago
parent
commit
d3acb8b2b1
No known key found for this signature in database
4 changed files with 32 additions and 9 deletions
  1. 3
    3
      bin/agent-init
  2. 0
    6
      gitconfig.ini
  3. 3
    0
      setup
  4. 26
    0
      xonotic.cfg

+ 3
- 3
bin/agent-init View File

@@ -1,5 +1,5 @@
#!/bin/sh
export MPW_FULLNAME="(cat "$HOME/sns/mpwname")"
mpwc -k max -s gpg | xclip -sel c -l 1
gpg2 -d -q "$HOME/sns/password.gpg" | mpwc -k max -s ssh -S 2>/dev/null | xclip -sel c -l 1
name=$(cat "$HOME/sns/mpwname")
mpwc -k max -n "$name" -s gpg | xclip -sel c -l 1
gpg2 -d -q "$HOME/sns/password.gpg" | mpwc -k max -n "$name" -s ssh -S 2>/dev/null | xclip -sel c -l 1
ssh-add

+ 0
- 6
gitconfig.ini View File

@@ -25,12 +25,6 @@
program = gpg2
[credential]
helper = store
[pager]
log = diffr | kakpager
show = diffr | kakpager
diff = diffr | kakpager
[interactive]
diffFilter = diffr
[diff]
tool = kitty
guitool = kitty.gui

+ 3
- 0
setup View File

@@ -28,6 +28,7 @@ kak (kakoune)
mpv
mpd
ncmpcpp
xonotic
ranger
zathura
neofetch
@@ -129,6 +130,8 @@ for arg; do
_install $arg/daemon.conf "$CONF/pulse/daemon.conf";;
fontconfig)
_install $arg "$CONF/fontconfig/fonts.conf";;
xonotic)
_install $arg.cfg "$HOME/.xonotic/autoexec.cfg";;
*)
echo "Not recognized argument: $arg";;
esac

+ 26
- 0
xonotic.cfg View File

@@ -0,0 +1,26 @@
bind 0 "weapon_group_0"
bind e "weapon_group_1"
bind 1 "weapon_group_2"
bind 2 "weapon_group_3"
bind 3 "weapon_group_4"
bind z "weapon_group_5"
bind x "weapon_group_6"
bind q "weapon_group_7"
bind c "weapon_group_8"
bind f "weapon_group_9"
bind MWHEELUP "weapon_group_3"
bind MWHEELDOWN "weapon_group_2"

bind a "+moveleft"
bind d "+moveright"
bind s "+back"
bind w "+forward"
bind SPACE "+jump"
bind CTRL "+crouch"

bind ALT "+zoom"
bind SHIFT "+hook"

bind k "kill"

alias dc disconnect

Loading…
Cancel
Save