From b59f11313bccee45a4dd6534eb640243d4ce9e74 Mon Sep 17 00:00:00 2001 From: k1574 Date: Tue, 15 Jun 2021 07:48:00 +0500 Subject: [PATCH] Too lazy. --- dot/file/profile | 2 +- dot/file/xonotic/data/config.cfg | 7 +++--- profile | 39 ++++++++++++++++++++------------ 3 files changed, 30 insertions(+), 18 deletions(-) diff --git a/dot/file/profile b/dot/file/profile index 2df7be2..37ca2c9 100755 --- a/dot/file/profile +++ b/dot/file/profile @@ -47,7 +47,7 @@ export_loop \ SETENV '$LIB/setenv/sh' \ GOPATH '$APP/go' \ GOEXE '$GOPATH/bin'\ - VPATH '$DEV/v'\ + VPATH '$APP/v'\ VEXE '$VPATH'\ PLAN9BASE '/usr/local/plan9' \ PLAN9PORT '$APP/plan9' \ diff --git a/dot/file/xonotic/data/config.cfg b/dot/file/xonotic/data/config.cfg index c0a5860..6a86adf 100644 --- a/dot/file/xonotic/data/config.cfg +++ b/dot/file/xonotic/data/config.cfg @@ -47,6 +47,7 @@ bind DOWNARROW "// not bound" bind LEFTARROW "// not bound" bind RIGHTARROW "// not bound" bind ALT "+crouch" +bind CTRL "+crouch" bind SHIFT "+showscores" bind F1 "vyes" bind F2 "vno" @@ -119,20 +120,20 @@ seta "cl_damagetext_velocity_screen" "0 0 0" seta "cl_damagetext_velocity_world" "0 0 20" seta "cl_eventchase_death" "0" "cl_forwardspeed" "360" -seta "cl_matchcount" "430" +seta "cl_matchcount" "433" "cl_movement_track_canjump" "1" "cl_particles_quality" "0.4" "cl_sidespeed" "360" "cl_smoothviewheight" "0" seta "cl_spawn_point_particles" "0" -seta "cl_startcount" "87" +seta "cl_startcount" "88" "cl_upspeed" "360" seta "cl_zoomsensitivity" "1" seta "cl_zoomspeed" "-1" "con_chat" "10" "con_chatrect" "1" "con_chatrect_x" "0.012812" -"con_chatrect_y" "0.705000" +"con_chatrect_y" "0.808333" "con_chatwidth" "0.454377" "crosshair" "33" seta "crosshair_alpha" "1" diff --git a/profile b/profile index 31dfcba..ee3dbf6 100644 --- a/profile +++ b/profile @@ -46,14 +46,14 @@ plan9 = $app/plan9 # Plan9. plan9exe= $plan9/bin # Plan9 bnaries. gopath = $app/go # Golang path. goexe = $gopath/bin # Golang binaries. -vpath = $dev/v # VLang binaries and scripts. +vpath = $app/v # VLang binaries and scripts. vexe = $vpath setenv = $lib/setenv/rc # Setting environment script. font = $plan9/font/fixed/unicode.9x15.font # The standard font for Plan9 program. editor = ed shell = rc -path = ( $exe $path $goexe $plan9exe $infernoexe $vexe) +path = ( $exe $path $goexe $plan9exe $infernoexe $vexe ) # Pretend path from growing because of running many "rc"s. if(which goblin >/dev/null >[2=1]){ path = `{ @@ -68,18 +68,29 @@ xmodmap = $lib/xmodmap switch( `{uname} ){ case ( Linux NetBSD DragonFly OpenBSD FreeBSD ) # On Unix-like systems. - # Default color. - LESS_TERMCAP_md = `{ perl -e 'print "\033[1;31m" ;' } - LESS_TERMCAP_me = `{ perl -e 'print "\033[0m" ;' } - # Underlined. - LESS_TERMCAP_us = `{ perl -e 'print "\033[1;32m" ;' } - LESS_TERMCAP_ue = `{ perl -e 'print "\033[0m" ;' } - # Service info. - LESS_TERMCAP_so = `{ perl -e 'print "\033[1;33m ";' } - LESS_TERMCAP_se = `{ perl -e 'print "\033[0m" ;' } - # Blinking color. - LESS_TERMCAP_mb = `{ perl -e 'print "\033[1;32m" ;' } - LESS_TERMCAP_me = `{ perl -e 'print "\033[0m" ;' } + if(which aes){ + LESS_TERMCAP_md = `{aes fg-red bold } + LESS_TERMCAP_me = `{aes end} + LESS_TERMCAP_us = `{aes fg-green bold} + LESS_TERMCAP_ue = `{aes end} + LESS_TERMCAP_so = `{aes fg-yellow} + LESS_TERMCAP_se = `{aes end} + LESS_TERMCAP_mb = `{aes fg-cyan} + LESS_TERMCAP_me = `{aes end} + } + if not { + LESS_TERMCAP_md = `{ perl -e 'print "\033[1;31m" ;' } + LESS_TERMCAP_me = `{ perl -e 'print "\033[0m" ;' } + # Underlined. + LESS_TERMCAP_us = `{ perl -e 'print "\033[1;32m" ;' } + LESS_TERMCAP_ue = `{ perl -e 'print "\033[0m" ;' } + # Service info. + LESS_TERMCAP_so = `{ perl -e 'print "\033[1;33m ";' } + LESS_TERMCAP_se = `{ perl -e 'print "\033[0m" ;' } + # Blinking color. + LESS_TERMCAP_mb = `{ perl -e 'print "\033[1;32m" ;' } + LESS_TERMCAP_me = `{ perl -e 'print "\033[0m" ;' } + } # Pager. PAGER = $pager MANPAGER = $manpager