aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-02-16 11:04:29 +0000
committerterminaldweller <thabogre@gmail.com>2022-02-16 11:04:29 +0000
commit02e71fa35cfe698d879a26681ed68cd4e282b328 (patch)
tree132ed5aea1afa6ca94e4f297bf7d357522ff7bb1
parentEUID is a bash variable. cant use it even though its faster. (diff)
downloadscripts-02e71fa35cfe698d879a26681ed68cd4e282b328.tar.gz
scripts-02e71fa35cfe698d879a26681ed68cd4e282b328.zip
kmonad
-rw-r--r--.Xresources10
-rw-r--r--.vimrc1
-rwxr-xr-x.xprofile1
-rw-r--r--.zshrc12
-rw-r--r--keymap.kbd54
5 files changed, 71 insertions, 7 deletions
diff --git a/.Xresources b/.Xresources
index b54aabc..55028c2 100644
--- a/.Xresources
+++ b/.Xresources
@@ -1,9 +1,9 @@
-Xft.autohint: 0
+Xft.autohint: 1
Xft.antialias: 1
Xft.hinting: 1
Xft.hintstyle: hintslight
-Xft.embolden: 1
+Xft.embolden: 0
Xft.dpi: 96
Xft.rgba: rgb
Xft.lcdfilter: lcddefault
@@ -14,7 +14,7 @@ gnome-terminal*dpi: 96
*.font: DejaVuSansMono Nerd Font Mono:pixelsize=11.3:antialias=true:autohint=true;
xterm*scaleHeight: 1.01
-#define base00 #2E3431
+#define base00 #000000
#define base01 #cc0000
#define base02 #4E9A06
#define base03 #C4A000
@@ -22,11 +22,11 @@ xterm*scaleHeight: 1.01
#define base05 #75507B
#define base06 #06989A
#define base07 #D3D7CF
-#define base08 #555753
+#define base08 #000000
#define base09 #EF2929
#define base0A #8AE234
#define base0B #FCE94F
-#define base0C #729FCF
+#define base0C #5c5cff
#define base0D #AD7FA8
#define base0E #34E2E2
#define base0F #EEEEEC
diff --git a/.vimrc b/.vimrc
index ca8cb50..a858cad 100644
--- a/.vimrc
+++ b/.vimrc
@@ -205,6 +205,7 @@ Plug 'tridactyl/vim-tridactyl'
Plug 'hrother/offlineimaprc.vim'
Plug 'lifepillar/pgsql.vim', {'for': ['sql','pqsl', 'pgsql']}
Plug 'HiPhish/info.vim'
+Plug 'kmonad/kmonad-vim'
" Plug 'kana/vim-operator-user'
" Plug 'terryma/vim-multiple-cursors'
" Plug 'haya14busa/vim-operator-flashy'
diff --git a/.xprofile b/.xprofile
new file mode 100755
index 0000000..b4d146a
--- /dev/null
+++ b/.xprofile
@@ -0,0 +1 @@
+xrandr --output eDP1 --mode 1920x1080 --right-of HDMI2
diff --git a/.zshrc b/.zshrc
index 6d64e2d..73614d9 100644
--- a/.zshrc
+++ b/.zshrc
@@ -194,12 +194,13 @@ alias xresources="vim ~/scripts/.Xresources"
alias fixxresources="cp ~/scripts/.Xresources ~/.Xresources && xrdb -merge ~/.Xresources"
alias qutebrowserrc="vim ~/scripts/qtbrowser/config.py"
alias fixqutebrowserrc="cp ~/scripts/qtbrowser/config.py ~/.config/qutebrowser/config.py"
+alias pulsemixer="pulsemixer --color 1"
#autosuggest
-ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#5f5fff,bg=#000000,bold"
+ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#5f5fff,bg=#000000,bold,underline"
ZSH_AUTOSUGGEST_STRATEGY=(match_prev_cmd history completion)
ZSH_AUTOSUGGEST_USE_ASYNC=1
-ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE=30
+ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE=20
lemon() {
/home/devi/scripts/lemonbar.sh | lemonbar -f "DejaVu Sans Mono for Powerline:size=11" -g "x16"
@@ -640,5 +641,12 @@ _evalcache rbenv init -
eval "$(luarocks-5.3 path)"
+# fucks up the path. thanks cpan.
+# PATH="/home/devi/perl5/bin${PATH:+:${PATH}}"; export PATH;
+# PERL5LIB="/home/devi/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;
+# PERL_LOCAL_LIB_ROOT="/home/devi/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT;
+# PERL_MB_OPT="--install_base \"/home/devi/perl5\""; export PERL_MB_OPT;
+# PERL_MM_OPT="INSTALL_BASE=/home/devi/perl5"; export PERL_MM_OPT;
+
source /usr/share/fzf/completion.zsh
source /usr/share/fzf/key-bindings.zsh
diff --git a/keymap.kbd b/keymap.kbd
new file mode 100644
index 0000000..e8444b5
--- /dev/null
+++ b/keymap.kbd
@@ -0,0 +1,54 @@
+#| --------------------------------------------------------------------------
+(deflayer devi
+ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
+ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
+ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
+ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
+ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
+ _ _ _ _ _ _ _ _ _ _ _ _ _
+)
+(defsrc
+ esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 ssrq slck pause
+ grv 1 2 3 4 5 6 7 8 9 0 - = bspc ins home pgup nlck kp/ kp* kp-
+ tab q w e r t y u i o p [ ] \ del end pgdn kp7 kp8 kp9 kp+
+ caps a s d f g h j k l ; ' ret kp4 kp5 kp6
+ lsft z x c v b n m , . / rsft up kp1 kp2 kp3 kprt
+ lctl lmet lalt spc ralt rmet cmp rctl left down rght kp0 kp.
+)
+-------------------------------------------------------------------------- |#
+(defcfg
+ input (device-file "/dev/input/by-id/usb-DATACOMP_SteelS쀁̄Љ̒DATA-event-kbd")
+ output (uinput-sink "KMonad output")
+
+ cmp-seq lalt
+ fallthrough true
+ allow-cmd false
+)
+
+(defsrc
+ esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 ssrq slck pause
+ grv 1 2 3 4 5 6 7 8 9 0 - = bspc ins home pgup nlck kp/ kp* kp-
+ tab q w e r t y u i o p [ ] \ del end pgdn kp7 kp8 kp9 kp+
+ caps a s d f g h j k l ; ' ret kp4 kp5 kp6
+ lsft z x c v b n m , . / rsft up kp1 kp2 kp3 kprt
+ lctl lmet lalt spc ralt rmet cmp rctl left down rght kp0 kp.
+)
+
+(defalias
+ crs (tap-next } rsft)
+ cls (tap-next { lsft)
+ crc (tap-next ] rctl)
+ clc (tap-next [ lctl)
+ cra (tap-next \) ralt)
+ cla (tap-next \( lalt)
+ ccp (tap-next esc lctl)
+)
+
+(deflayer devi
+ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
+ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
+ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
+ @ccp _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
+ @cls _ _ _ _ _ _ _ _ _ _ @crs _ _ _ _ _
+ @clc _ @cla _ @cra _ _ @crc _ _ _ _ _
+)