Compare commits

...

5 Commits

Author SHA1 Message Date
rick 614b8a0c26 not auto-starting picom in .xinitrc 2021-08-19 10:09:15 +05:30
rick f80e6ce0a3 changed colorscheme 2021-08-19 10:08:34 +05:30
rick 9a1f119869 variables for sdcv 2021-08-19 10:08:05 +05:30
rick 53ed17205f variables for sdcv 2021-08-19 09:55:38 +05:30
rick afc88f4519 tmux config 2021-08-19 09:52:51 +05:30
5 changed files with 89 additions and 31 deletions

View File

@ -45,7 +45,7 @@ URxvt.transparent: true
URxvt.shading: 15 URxvt.shading: 15
st.transparent: true st.transparent: true
st.alpha: 0.9 st.alpha: 0.97
!emacs !emacs
emacs.alpha: 98 emacs.alpha: 98
@ -71,42 +71,66 @@ URxvt.letterSpace: -1
!------------------------------------------------------------------------- !-------------------------------------------------------------------------
! st colorscheme ! st colorscheme new
! taken from pywal
! special
st.foreground: #c0c0c0 st.foreground: #c0c0c0
st.background: #121212 st.background: #121212
st.cursorColor: #c0c0c0 st.cursorColor: #d26939
!st.cursorColor: #81a2be
st.color0: #0a0f14
st.color1: #c33027
st.color2: #26a98b
st.color3: #edb54b
st.color4: #195465
st.color5: #4e5165
st.color6: #33859d
st.color7: #98d1ce
st.color8: #364b61
st.color9: #c33027
st.color10: #26a98b
st.color11: #edb54b
st.color12: #195465
st.color13: #4e5165
st.color14: #33859d
st.color15: #98d1ce
! st colorscheme old
! special
!st.foreground: #c0c0c0
!st.background: #121212
!st.cursorColor: #c0c0c0
! black ! black
st.color0: #080808 !st.color0: #080808
st.color8: #36393f !st.color8: #36393f
! red ! red
st.color1: #515978 !st.color1: #515978
st.color9: #778099 !st.color9: #778099
! green ! green
st.color2: #3ea28d !st.color2: #3ea28d
st.color10: #71c4ba !st.color10: #71c4ba
! yellow ! yellow
st.color3: #4dc5ce !st.color3: #4dc5ce
st.color11: #5e767f !st.color11: #5e767f
! blue ! blue
st.color4: #6ea2a5 !st.color4: #6ea2a5
st.color12: #6abdc1 !st.color12: #6abdc1
! magenta ! magenta
st.color5: #a157bd !st.color5: #a157bd
st.color13: #4e4d80 !st.color13: #4e4d80
! cyan ! cyan
st.color6: #558188 !st.color6: #558188
st.color14: #4fc8ce !st.color14: #4fc8ce
! white ! white
st.color7: #c0c0c0 !st.color7: #c0c0c0
st.color15: #a6a8aa !st.color15: #a6a8aa

View File

@ -1,2 +1,6 @@
export EDITOR=nvim export EDITOR=nvim
export PATH=$PATH:/home/rick/.local/bin/ export PATH=$PATH:/home/rick/.local/bin/
#sdcv dictionary
export STARDICT_DATA_DIR=/home/rick/.sdcv
export SDCV_PAGER='less --quit-if-one-screen -RX'

View File

@ -1 +1,33 @@
set -s escape-time 0 set -s escape-time 0
# S- doesnt work with keys that send a different character when Shifted. bind S-n ..., bind S-1 ..., etc dont work. Use bind N ..., bind ! ..., etc instead.
# But if you want to bind Alt + Shift + ←, for example, then it is bind M-S-Left ....
#Shiftd keys also dont work with Ctrl because Ctrl-modified keys are case-insensitive in terminals. So while you can do bind C-N ... the binding will be triggered by either Ctrl + Shift + n or just Ctrl + n.
# more info at https://github.com/tmux/tmux/wiki/Modifier-Keys
# select panes using ctrl+h/j/k/l
bind -n C-h select-pane -L
bind -n C-l select-pane -R
bind -n C-k select-pane -U
bind -n C-j select-pane -D
# split using ctrl+shift+s/v
bind -n C-s split-window -h
bind -n C-v split-window -v
# resize panes
bind -n C-M-h resize-pane -L 5
bind -n C-M-l resize-pane -R 5
bind -n C-M-j resize-pane -D 5
bind -n C-M-k resize-pane -U 5
# move between windows
bind -n M-n next-window
bind -n M-p previous-window
# create new window
bind -n M-x new-window
# no need to bind close-window when you could just C-d
# list all windows
bind -n M-w choose-tree -Zw

View File

@ -54,6 +54,6 @@ do
done & done &
# set a random wallpaper from the wallpaper folder # set a random wallpaper from the wallpaper folder
feh --bg-center /home/rick/wallpapers/set/$(shuf -n 1 -e $(ls /home/rick/wallpapers/set/)) feh --bg-fill /home/rick/wallpapers/set/$(shuf -n 1 -e $(ls /home/rick/wallpapers/set/))
picom & # picom &
exec dwm exec dwm

14
.zshrc
View File

@ -11,8 +11,8 @@ compinit
# End of lines added by compinstall # End of lines added by compinstall
# Lines configured by zsh-newuser-install # Lines configured by zsh-newuser-install
HISTFILE=~/.zsh_history HISTFILE=~/.zsh_history
HISTSIZE=200 HISTSIZE=1000
SAVEHIST=1000 SAVEHIST=100000
setopt notify setopt notify
unsetopt beep unsetopt beep
bindkey -v bindkey -v
@ -41,7 +41,7 @@ prompt='%d/ $(git_branch_name) > '
source ~/.bash_aliases source ~/.bash_aliases
export EDITOR=nvim export EDITOR=nvim
export PATH=$PATH:/home/rick/.emacs.d/bin/ #:$HOME/.config/nvim/plugged/vim-superman/bin export PATH=/home/rick/.ghcup/bin/:$PATH:/home/rick/.emacs.d/bin/:/home/rick/jrnl/ecpd/7tools/:$HOME/.config/nvim/plugged/vim-superman/bin
# keybinds # keybinds
bindkey ";5C" forward-word bindkey ";5C" forward-word
@ -99,10 +99,8 @@ cursor_mode() {
cursor_mode cursor_mode
### ###
# vman opens manpages with nvim # open man and info from neovim
compdef vman="man" compdef vman="man"
[ -f "/home/rick/.ghcup/env" ] && source "/home/rick/.ghcup/env" # ghcup-env ## sdcv dictionary
export STARDICT_DATA_DIR=/home/rick/.sdcv
# contents of ~/.ghcup/env file:
# export PATH="$HOME/.cabal/bin:/home/rick/.ghcup/bin:$PATH"