This commit is contained in:
ayham 2021-07-15 11:57:42 +03:00
parent 5f65d13014
commit 1c1357c1ff
28 changed files with 2056 additions and 27 deletions

View File

@ -1,6 +1,6 @@
exec rm ~/.cache/wal/ &
exec wal -i ~/pix/wallpapers/wallpaper &
#exec feh --no-fehbg --bg-fill ~/pix/wallpapers/wallpaper &
exec wal -n -i ~/pix/wallpapers/wallpaper &
exec feh --no-fehbg --bg-fill ~/pix/wallpapers/wallpaper &
exec xrdb ~/.cache/wal/colors.Xresources &
exec slstatus &
exec picom -CG --config ~/.config/picom.conf &

View File

@ -118,7 +118,7 @@ font:
#
# If the italic family is not specified, it will fall back to the
# value specified for the normal font.
family:
family: monospace
# The `style` can be specified to pick a specific face.
style: Italic
@ -135,7 +135,7 @@ font:
style: Bold Italic
# Point size
size: 9.0
size: 11.0
# Offset is the extra space around each character. `offset.y` can be thought of
# as modifying the line spacing, and `offset.x` as modifying the letter spacing.

View File

@ -0,0 +1,4 @@
whitelist ${HOME}/.local/lib/python3.9/site-packages/pywalfox
whitelist ${HOME}/.cache/wal
include allow-python3.inc
ignore noexec ${HOME}

View File

@ -1,4 +0,0 @@
# Source the main firefox profile
include /etc/firejail/firefox.profile

Binary file not shown.

View File

@ -1 +1 @@
4
2

View File

@ -3,7 +3,6 @@ call plug#begin()
Plug 'vimwiki/vimwiki'
Plug 'mhinz/vim-startify'
Plug 'liuchengxu/vim-which-key'
Plug 'jiangmiao/auto-pairs'
Plug 'brainfucksec/wal.vim'
" LSP
@ -25,6 +24,10 @@ Plug 'nvim-treesitter/playground'
" debugging
Plug 'puremourning/vimspector'
" Airline & Themes
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
call plug#end()
filetype plugin indent on
@ -36,7 +39,7 @@ set t_Co=256
let g:gruvbox_contrast_light="hard"
"let g:gruvbox_termcolors=16
"set background=light
"colorscheme wal
colorscheme wal
"hi Pmenu ctermbg=gray
"hi PmenuSel ctermbg=white
"hi PmenuSbar ctermbg=black
@ -70,6 +73,9 @@ set list
set list
set ttyfast
" airline
let g:airline#extensions#tabline#enabled = 1
" Leader keys
let mapleader = " "
map <leader>e :bufdo e!<CR>

@ -1 +0,0 @@
Subproject commit 39f06b873a8449af8ff6a3eee716d3da14d63a76

@ -1 +0,0 @@
Subproject commit 17494990ab110b70aec3d7c97707448c6d3e72c9

@ -1 +0,0 @@
Subproject commit 992c80647216e7d2ca4f71975cd02b9b7648d499

@ -1 +0,0 @@
Subproject commit f68f4d00b9c99d0d711bfde3b071f0dafd249901

@ -1 +0,0 @@
Subproject commit b52217517b2c5b2c3b6a0daa7260983d409e7e6b

@ -1 +0,0 @@
Subproject commit ab475e1325ad6eaec15a3113f201a4e4a3ee2811

@ -1 +0,0 @@
Subproject commit 03ec880101305b41a282ab85f7184f91187392ac

@ -1 +0,0 @@
Subproject commit 79f33fc93b33903bb863a55df11f90b9dec478bf

@ -1 +0,0 @@
Subproject commit f4bdaa4e9cf07f62ce1161a3d0ff70c8aad25bc5

@ -1 +0,0 @@
Subproject commit 60ba5e11a61618c0344e2db190210145083c91f8

@ -1 +0,0 @@
Subproject commit 38bd4010110614822cde523ebc5724963312ab63

@ -1 +0,0 @@
Subproject commit 81e36c352a8deea54df5ec1e2f4348685569bed2

@ -1 +0,0 @@
Subproject commit da2934fcd36350b871ed8ccd54c8eae3a0dfc8ae

@ -1 +0,0 @@
Subproject commit 619f04f89861c58e5a6415a4f83847752928252d

@ -1 +0,0 @@
Subproject commit c72ba0d18946f29aab9c95eb6975d321c68b3681

1959
.config/zsh/.zcompdump Normal file

File diff suppressed because it is too large Load Diff

61
.config/zsh/.zshrc Normal file
View File

@ -0,0 +1,61 @@
(cat ~/.cache/wal/sequences &)
autoload -U colors && colors # Load colors
setopt autocd
stty stop undef
setopt interactive_comments
# History in cache directory:
HISTSIZE=10000000
SAVEHIST=10000000
HISTFILE=~/.cache/zsh/history
# Basic auto/tab complete
autoload -U compinit
zstyle ':completion:*' menu select
zmodload zsh/complist
compinit
_comp_options+=(globdots)
# vi mode
bindkey -v
export KEYTIMEOUT=1
# use vim keys in tab complete menu
bindkey -M menuselect 'h' vi-backward-char
bindkey -M menuselect 'k' vi-up-line-or-history
bindkey -M menuselect 'l' vi-forward-char
bindkey -M menuselect 'j' vi-down-line-or-history
bindkey -v '^?' backward-delete-char
# Change cursor shape for different vi modes.
function zle-keymap-select () {
case $KEYMAP in
vicmd) echo -ne '\e[1 q';; # block
viins|main) echo -ne '\e[5 q';; # beam
esac
}
zle -N zle-keymap-select
zle-line-init() {
zle -K viins # initiate `vi insert` as keymap (can be removed if `bindkey -V` has been set elsewhere)
echo -ne "\e[5 q"
}
zle -N zle-line-init
echo -ne '\e[5 q' # Use beam shape cursor on startup.
preexec() { echo -ne '\e[5 q' ;} # Use beam shape cursor for each new prompt.
bindkey -s '^f' 'cd "$(dirname "$(fzf)")"\n'
# Edit line in vim with ctrl-e:
autoload edit-command-line; zle -N edit-command-line
bindkey '^e' edit-command-line
# Load syntax highlighting; should be last.
source /usr/share/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh 2>/dev/null
PS1="%B%{$fg[red]%}[%~] $fg[blue]$%b %{$reset_color%}"
. ~/.local/bin/z.sh
source ~/.config/env

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.config/nvim/plugged

View File

@ -3,7 +3,7 @@
pkill -9 feh
feh --no-fehbg --bg-fill ~/pix/wallpapers/wallpaper
rm -r ~/.cache/wal/
wal -i ~/pix/wallpapers/wallpaper
wal -n -i ~/pix/wallpapers/wallpaper
xrdb ~/.cache/wal/colors.Xresources
cp ~/.cache/wal/dunstrc ~/.config/dunst/dunstrc

View File

@ -0,0 +1,11 @@
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Exec=env GTK_IM_MODULE=xim /usr/bin/firejail --x11=xephyr --name=firefox --net=br10 --profile=/etc/firejail/firefox.profile openbox --startup /sbin/firefox-malloc
Name=X11-Firejailed Firefox
Comment=X11-Firejailed Firefox
StartupWMClass=Xephyr
Terminal=false
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
Categories=Network;WebBrowser;

6
.zprofile Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
[[ -f ~/.config/env ]] && source ~/.config/env
#if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then exec sx sh ~/.config/X11/dwm-xinit; fi
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then exec startx ~/.config/X11/dwm-xinit; fi