Compare commits
22 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
14e419ae59 | ||
|
ff257ab0ff | ||
|
baced5172e | ||
|
0b4f4e2a0b | ||
|
1ad1a2645f | ||
|
c8d910ad6b | ||
|
415bb26c8f | ||
|
2a22884232 | ||
|
92c1d9283c | ||
|
4707b6aa9e | ||
|
4ff527004d | ||
|
2b2661e067 | ||
|
a8c5a5042a | ||
|
6dcdf57328 | ||
|
76f56be701 | ||
|
bbd48a17c2 | ||
|
f4e4cd5106 | ||
|
dde190df3f | ||
|
37a4862769 | ||
|
5b10bc9cbb | ||
|
2c6d2627f0 | ||
|
03d1c28aa8 |
68
.Xdefaults
@ -1,55 +1,55 @@
|
|||||||
urxvt*font: xft:Fira Code Medium:size=8
|
URxvt.font: xft:Fira Code Medium:size=8
|
||||||
urxvt*termName: rxvt-unicode
|
URxvt.termName: rxvt-unicode
|
||||||
urxvt*scrollBar: false
|
URxvt.scrollBar: false
|
||||||
urxvt*perl-lib: /usr/lib/urxvt/perl/
|
URxvt.perl-lib: /usr/lib/urxvt/perl/
|
||||||
urxvt*perl-ext-common: default,matcher
|
URxvt.perl-ext-common: default,matcher
|
||||||
urxvt*urlLauncher: firefox
|
URxvt.urlLauncher: firefox-developer-edition
|
||||||
urxvt*matcher.button: 1
|
URxvt.matcher.button: 1
|
||||||
urxvt*letterSpace: -1
|
URxvt.letterSpace: -1
|
||||||
urxvt*internalBorder: 6
|
URxvt.internalBorder: 6
|
||||||
urxvt*fading: 40
|
URxvt.fading: 40
|
||||||
urxvt*fadeColor: [50]#000000
|
URxvt.fadeColor: [50]#000000
|
||||||
|
|
||||||
Xft*dpi: 102
|
Xft.dpi: 96
|
||||||
Xft*antialias: true
|
Xft.antialias: true
|
||||||
Xft.rgba: none
|
Xft.rgba: none
|
||||||
Xft*hinting: hintfull
|
Xft.hinting: hintfull
|
||||||
|
|
||||||
urxvt*depth: 32
|
URxvt.depth: 32
|
||||||
|
|
||||||
! special
|
! special
|
||||||
urxvt*foreground: #eceff1
|
URxvt.foreground: #eceff1
|
||||||
urxvt*background: [80]#161616
|
URxvt.background: [90]#161616
|
||||||
urxvt*cursorColor: #eceff1
|
URxvt.cursorColor: #eceff1
|
||||||
|
|
||||||
! black
|
! black
|
||||||
urxvt*color0: #263238
|
URxvt.color0: #263238
|
||||||
urxvt*color8: #37474f
|
URxvt.color8: #37474f
|
||||||
|
|
||||||
! red
|
! red
|
||||||
urxvt*color1: #cc0000
|
URxvt.color1: #cc0000
|
||||||
urxvt*color9: #ef2929
|
URxvt.color9: #ef2929
|
||||||
|
|
||||||
! green
|
! green
|
||||||
urxvt*color2: #8bc34a
|
URxvt.color2: #8bc34a
|
||||||
urxvt*color10: #9ccc65
|
URxvt.color10: #9ccc65
|
||||||
|
|
||||||
! yellow
|
! yellow
|
||||||
urxvt*color3: #ffc107
|
URxvt.color3: #ffc107
|
||||||
urxvt*color11: #ffa000
|
URxvt.color11: #ffa000
|
||||||
|
|
||||||
! blue
|
! blue
|
||||||
urxvt*color4: #03a9f4
|
URxvt.color4: #03a9f4
|
||||||
urxvt*color12: #81d4fa
|
URxvt.color12: #81d4fa
|
||||||
|
|
||||||
! magenta
|
! magenta
|
||||||
urxvt*color5: #e91e63
|
URxvt.color5: #e91e63
|
||||||
urxvt*color13: #ad1457
|
URxvt.color13: #ad1457
|
||||||
|
|
||||||
! cyan
|
! cyan
|
||||||
urxvt*color6: #009688
|
URxvt.color6: #009688
|
||||||
urxvt*color14: #26a69a
|
URxvt.color14: #26a69a
|
||||||
|
|
||||||
! white
|
! white
|
||||||
urxvt*color7: #cfd8dc
|
URxvt.color7: #efd8dc
|
||||||
urxvt*color15: #eceff1
|
URxvt.color15: #eceff1
|
||||||
|
22
.gitconfig
@ -3,10 +3,7 @@
|
|||||||
email = kadet1090@gmail.com
|
email = kadet1090@gmail.com
|
||||||
|
|
||||||
[alias]
|
[alias]
|
||||||
st = status
|
|
||||||
ci = commit
|
|
||||||
co = checkout
|
co = checkout
|
||||||
br = branch
|
|
||||||
|
|
||||||
unstage = reset HEAD --
|
unstage = reset HEAD --
|
||||||
last = log -1 HEAD
|
last = log -1 HEAD
|
||||||
@ -15,8 +12,25 @@
|
|||||||
ktokurwa = blame
|
ktokurwa = blame
|
||||||
|
|
||||||
[push]
|
[push]
|
||||||
default = simple
|
default = current
|
||||||
|
autoSetupRemote = true
|
||||||
|
|
||||||
[merge "ours"]
|
[merge "ours"]
|
||||||
driver = true
|
driver = true
|
||||||
|
|
||||||
[core]
|
[core]
|
||||||
|
excludesfile = ~/.gitignore
|
||||||
autocrlf = input
|
autocrlf = input
|
||||||
|
commentchar = ";"
|
||||||
|
|
||||||
|
[mergetool "nvimdiff"]
|
||||||
|
cmd = nvim -d $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
|
||||||
|
|
||||||
|
[difftool]
|
||||||
|
tool = nvimdiff
|
||||||
|
|
||||||
|
[rebase]
|
||||||
|
autosquash = true
|
||||||
|
|
||||||
|
[include]
|
||||||
|
path = ~/.gitconfig.local
|
||||||
|
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/nvim/venv
|
39
.ideavimrc
@ -9,32 +9,33 @@ vnoremap < <gv
|
|||||||
vnoremap > >gv
|
vnoremap > >gv
|
||||||
|
|
||||||
" Select all text
|
" Select all text
|
||||||
map <Space>a ggVG
|
map <leader>a ggVG
|
||||||
|
|
||||||
" reload
|
" reload
|
||||||
nnoremap <Space>vs :source ~/.ideavimrc<CR>
|
nnoremap <leader>vs :source ~/.ideavimrc<CR>
|
||||||
|
|
||||||
" Copy until the end of the line
|
" Copy until the end of the line
|
||||||
noremap Y y$
|
noremap Y y$
|
||||||
|
|
||||||
" clipboard
|
" clipboard
|
||||||
noremap <space>y "*y
|
noremap <leader>y "*y
|
||||||
noremap <space>Y "*Y
|
noremap <leader>Y "*Y
|
||||||
noremap <space>p "*p
|
noremap <leader>p "*p
|
||||||
noremap <space>P "*P
|
noremap <leader>P "*P
|
||||||
|
|
||||||
" refactoring
|
" refactoring
|
||||||
nnoremap <space>rf :action RenameFile<cr>
|
nnoremap <leader>rf :action RenameFile<cr>
|
||||||
nnoremap <space>rr :action RenameElement<cr>
|
nnoremap <leader>rr :action RenameElement<cr>
|
||||||
nnoremap <space>ll :action ReformatCode<cr>
|
nnoremap <leader>ll :action ReformatCode<cr>
|
||||||
|
|
||||||
" actions
|
" actions
|
||||||
nnoremap ;; :action CommentByLineComment<cr>
|
nnoremap <leader>/ :action CommentByLineComment<cr>
|
||||||
nnoremap <space>b :action ToggleLineBreakpoint<cr>
|
nnoremap <leader>b :action ToggleLineBreakpoint<cr>
|
||||||
nnoremap <space>oi :action OptimizeImports<CR>
|
nnoremap <leader>oi :action OptimizeImports<CR>
|
||||||
|
|
||||||
nnoremap ee :action SearchEverywhere<cr>
|
nnoremap ee :action SearchEverywhere<cr>
|
||||||
nnoremap \\\\ :action SearchEverywhere<cr>
|
nnoremap <leader>e :action ExpandSelection
|
||||||
|
nnoremap <leader><leader> :action SearchEverywhere<cr>
|
||||||
nnoremap <tab> :action Switcher<cr>
|
nnoremap <tab> :action Switcher<cr>
|
||||||
|
|
||||||
" gotos
|
" gotos
|
||||||
@ -43,17 +44,15 @@ nnoremap gs :action GotoSuperMethod<cr>
|
|||||||
nnoremap gu :action ShowUsages<cr>
|
nnoremap gu :action ShowUsages<cr>
|
||||||
|
|
||||||
" unimpaired mappings
|
" unimpaired mappings
|
||||||
nnoremap [<space> O<esc>j
|
nnoremap [<leader> O<esc>j
|
||||||
nnoremap ]<space> o<esc>k
|
nnoremap ]<leader> o<esc>k
|
||||||
nnoremap q[ :action PreviousOccurence<cr>
|
nnoremap q[ :action PreviousOccurence<cr>
|
||||||
nnoremap q] :action NextOccurence<cr>
|
nnoremap q] :action NextOccurence<cr>
|
||||||
nnoremap m[ :action MethodUp<cr>
|
nnoremap m[ :action MethodUp<cr>
|
||||||
nnoremap m] :action MethodDown<cr>
|
nnoremap m] :action MethodDown<cr>
|
||||||
nnoremap c[ :action VcsShowPrevChangeMarker<cr>
|
nnoremap c[ :action VcsShowPrevChangeMarker<cr>
|
||||||
nnoremap c] :action VcsShowNextChangeMarker<cr>
|
nnoremap c] :action VcsShowNextChangeMarker<cr>
|
||||||
|
set ideajoin
|
||||||
|
|
||||||
" blank lines
|
" autocations
|
||||||
nnoremap <space>j :set paste<CR>m`o<Esc>``:set nopaste<CR>
|
nnoremap :w :action com.dubreuia.core.action.ShortcutAction<CR>:action SaveDocument
|
||||||
nnoremap <space>k :set paste<CR>m`O<Esc>``:set nopaste<CR>
|
|
||||||
nnoremap space<down> <space>j
|
|
||||||
nnoremap space<up> <space>k
|
|
||||||
|
320
.pkglist
Normal file
@ -0,0 +1,320 @@
|
|||||||
|
accountsservice
|
||||||
|
adobe-source-code-pro-fonts
|
||||||
|
alsa-utils
|
||||||
|
ansible
|
||||||
|
ansible-lint
|
||||||
|
arandr
|
||||||
|
arc-gtk-theme
|
||||||
|
audacity
|
||||||
|
autoconf
|
||||||
|
automake
|
||||||
|
avrdude
|
||||||
|
awesome
|
||||||
|
barrier
|
||||||
|
base-devel
|
||||||
|
bash
|
||||||
|
biber
|
||||||
|
bind
|
||||||
|
binutils
|
||||||
|
bison
|
||||||
|
blender
|
||||||
|
bluez
|
||||||
|
bluez-utils
|
||||||
|
breeze-icons
|
||||||
|
bzip2
|
||||||
|
calibre
|
||||||
|
caprine
|
||||||
|
ccache
|
||||||
|
certbot
|
||||||
|
cgns
|
||||||
|
chromium
|
||||||
|
clang
|
||||||
|
claws-mail
|
||||||
|
cloc
|
||||||
|
cmake
|
||||||
|
composer
|
||||||
|
coreutils
|
||||||
|
cryptsetup
|
||||||
|
ctags
|
||||||
|
curl
|
||||||
|
darktable
|
||||||
|
dbeaver
|
||||||
|
device-mapper
|
||||||
|
dhcpcd
|
||||||
|
diffutils
|
||||||
|
discord
|
||||||
|
displaycal
|
||||||
|
dive
|
||||||
|
docker
|
||||||
|
docker-buildx
|
||||||
|
docker-compose
|
||||||
|
dos2unix
|
||||||
|
e2fsprogs
|
||||||
|
earlyoom
|
||||||
|
easyeffects
|
||||||
|
eigen
|
||||||
|
ethtool
|
||||||
|
fail2ban
|
||||||
|
fakeroot
|
||||||
|
fd
|
||||||
|
file
|
||||||
|
filesystem
|
||||||
|
findutils
|
||||||
|
firefox-developer-edition
|
||||||
|
flex
|
||||||
|
fluidsynth
|
||||||
|
freecad
|
||||||
|
frei0r-plugins
|
||||||
|
fuse2
|
||||||
|
fzf
|
||||||
|
gawk
|
||||||
|
gcc-libs
|
||||||
|
gdb
|
||||||
|
gettext
|
||||||
|
ghostscript
|
||||||
|
ghostwriter
|
||||||
|
git
|
||||||
|
glibc
|
||||||
|
gnome-font-viewer
|
||||||
|
gnome-keyring
|
||||||
|
gnu-netcat
|
||||||
|
gparted
|
||||||
|
graphviz
|
||||||
|
grep
|
||||||
|
groff
|
||||||
|
gst-plugins-bad
|
||||||
|
gtk-engine-murrine
|
||||||
|
gvfs-smb
|
||||||
|
gzip
|
||||||
|
hddtemp
|
||||||
|
htop
|
||||||
|
inetutils
|
||||||
|
inkscape
|
||||||
|
iproute2
|
||||||
|
iputils
|
||||||
|
jdk8-openjdk
|
||||||
|
jfsutils
|
||||||
|
jq
|
||||||
|
jre11-openjdk
|
||||||
|
kcachegrind
|
||||||
|
kdenlive
|
||||||
|
keepassxc
|
||||||
|
kitty
|
||||||
|
krita
|
||||||
|
kubectl
|
||||||
|
kvantum
|
||||||
|
less
|
||||||
|
liblas
|
||||||
|
libreoffice-fresh
|
||||||
|
libtool
|
||||||
|
libva-utils
|
||||||
|
libva-vdpau-driver
|
||||||
|
libxslt
|
||||||
|
libxss
|
||||||
|
licenses
|
||||||
|
lightdm
|
||||||
|
lightdm-gtk-greeter
|
||||||
|
logrotate
|
||||||
|
luit
|
||||||
|
lvm2
|
||||||
|
lxappearance
|
||||||
|
m4
|
||||||
|
make
|
||||||
|
man-db
|
||||||
|
man-pages
|
||||||
|
mariadb-clients
|
||||||
|
maven
|
||||||
|
mdadm
|
||||||
|
mesa-demos
|
||||||
|
mesa-utils
|
||||||
|
meson
|
||||||
|
minikube
|
||||||
|
miniupnpc
|
||||||
|
mono
|
||||||
|
mumble
|
||||||
|
mupdf
|
||||||
|
musescore
|
||||||
|
nano
|
||||||
|
nautilus
|
||||||
|
neofetch
|
||||||
|
neovim
|
||||||
|
netctl
|
||||||
|
nlohmann-json
|
||||||
|
nmap
|
||||||
|
noto-fonts
|
||||||
|
noto-fonts-cjk
|
||||||
|
npm
|
||||||
|
ntfs-3g
|
||||||
|
nvidia
|
||||||
|
nvidia-settings
|
||||||
|
obs-studio
|
||||||
|
obsidian
|
||||||
|
octave
|
||||||
|
okteta
|
||||||
|
openssh
|
||||||
|
openvpn
|
||||||
|
openvr
|
||||||
|
opera
|
||||||
|
optipng
|
||||||
|
ospray
|
||||||
|
otf-latin-modern
|
||||||
|
p7zip
|
||||||
|
pacman
|
||||||
|
pacman-contrib
|
||||||
|
pandoc-cli
|
||||||
|
patch
|
||||||
|
pavucontrol
|
||||||
|
pciutils
|
||||||
|
peek
|
||||||
|
perl
|
||||||
|
perl-file-mimeinfo
|
||||||
|
picom
|
||||||
|
pipewire-audio
|
||||||
|
pipewire-pulse
|
||||||
|
pkgconf
|
||||||
|
playerctl
|
||||||
|
pre-commit
|
||||||
|
procps-ng
|
||||||
|
prusa-slicer
|
||||||
|
psmisc
|
||||||
|
pulseaudio-alsa
|
||||||
|
python-django
|
||||||
|
python-mpi4py
|
||||||
|
python-pillow
|
||||||
|
python-pip
|
||||||
|
python-pipx
|
||||||
|
python-pynvim
|
||||||
|
python-ujson
|
||||||
|
qgis
|
||||||
|
qt5ct
|
||||||
|
qtcreator
|
||||||
|
radare2
|
||||||
|
ranger
|
||||||
|
re2c
|
||||||
|
redshift
|
||||||
|
reiserfsprogs
|
||||||
|
rofi
|
||||||
|
rsync
|
||||||
|
ruby-irb
|
||||||
|
rxvt-unicode
|
||||||
|
s-nail
|
||||||
|
s3fs-fuse
|
||||||
|
sed
|
||||||
|
shadow
|
||||||
|
shiboken2
|
||||||
|
siege
|
||||||
|
smartmontools
|
||||||
|
soundfont-fluid
|
||||||
|
spotify-launcher
|
||||||
|
sshfs
|
||||||
|
strace
|
||||||
|
subversion
|
||||||
|
sudo
|
||||||
|
swig
|
||||||
|
syncthing
|
||||||
|
sysfsutils
|
||||||
|
systemd
|
||||||
|
systemd-sysvcompat
|
||||||
|
tar
|
||||||
|
telegram-desktop
|
||||||
|
texinfo
|
||||||
|
texlive-basic
|
||||||
|
texlive-bibtexextra
|
||||||
|
texlive-fontsextra
|
||||||
|
texlive-formatsextra
|
||||||
|
texlive-games
|
||||||
|
texlive-humanities
|
||||||
|
texlive-latexextra
|
||||||
|
texlive-mathscience
|
||||||
|
texlive-music
|
||||||
|
texlive-pictures
|
||||||
|
texlive-pstricks
|
||||||
|
texlive-publishers
|
||||||
|
tidy
|
||||||
|
tig
|
||||||
|
time
|
||||||
|
tk
|
||||||
|
tmux
|
||||||
|
traceroute
|
||||||
|
transmission-gtk
|
||||||
|
ttf-fira-code
|
||||||
|
ttf-fira-mono
|
||||||
|
ttf-fira-sans
|
||||||
|
ttf-jetbrains-mono
|
||||||
|
ttf-liberation
|
||||||
|
unrar
|
||||||
|
unzip
|
||||||
|
usbutils
|
||||||
|
utf8cpp
|
||||||
|
util-linux
|
||||||
|
vagrant
|
||||||
|
valgrind
|
||||||
|
vdpauinfo
|
||||||
|
vi
|
||||||
|
virtualbox
|
||||||
|
vlc
|
||||||
|
wget
|
||||||
|
which
|
||||||
|
wireshark-qt
|
||||||
|
xclip
|
||||||
|
xcompmgr
|
||||||
|
xdebug
|
||||||
|
xdotool
|
||||||
|
xf86-input-wacom
|
||||||
|
xf86-video-nouveau
|
||||||
|
xf86-video-vesa
|
||||||
|
xfce4-clipman-plugin
|
||||||
|
xfsprogs
|
||||||
|
xorg-bdftopcf
|
||||||
|
xorg-docs
|
||||||
|
xorg-font-util
|
||||||
|
xorg-fonts-100dpi
|
||||||
|
xorg-fonts-75dpi
|
||||||
|
xorg-fonts-encodings
|
||||||
|
xorg-iceauth
|
||||||
|
xorg-mkfontscale
|
||||||
|
xorg-server
|
||||||
|
xorg-server-common
|
||||||
|
xorg-server-devel
|
||||||
|
xorg-server-xephyr
|
||||||
|
xorg-server-xnest
|
||||||
|
xorg-server-xvfb
|
||||||
|
xorg-sessreg
|
||||||
|
xorg-setxkbmap
|
||||||
|
xorg-smproxy
|
||||||
|
xorg-x11perf
|
||||||
|
xorg-xauth
|
||||||
|
xorg-xbacklight
|
||||||
|
xorg-xcmsdb
|
||||||
|
xorg-xcursorgen
|
||||||
|
xorg-xdpyinfo
|
||||||
|
xorg-xdriinfo
|
||||||
|
xorg-xev
|
||||||
|
xorg-xgamma
|
||||||
|
xorg-xhost
|
||||||
|
xorg-xinput
|
||||||
|
xorg-xkbcomp
|
||||||
|
xorg-xkbevd
|
||||||
|
xorg-xkbutils
|
||||||
|
xorg-xkill
|
||||||
|
xorg-xlsatoms
|
||||||
|
xorg-xlsclients
|
||||||
|
xorg-xmodmap
|
||||||
|
xorg-xpr
|
||||||
|
xorg-xprop
|
||||||
|
xorg-xrandr
|
||||||
|
xorg-xrdb
|
||||||
|
xorg-xrefresh
|
||||||
|
xorg-xset
|
||||||
|
xorg-xsetroot
|
||||||
|
xorg-xvinfo
|
||||||
|
xorg-xwayland
|
||||||
|
xorg-xwd
|
||||||
|
xorg-xwininfo
|
||||||
|
xorg-xwud
|
||||||
|
xournalpp
|
||||||
|
yarn
|
||||||
|
zathura
|
||||||
|
zathura-pdf-mupdf
|
||||||
|
zip
|
||||||
|
zsh
|
35
.vimrc
@ -9,6 +9,12 @@ else
|
|||||||
let $VIMHOME = $HOME."/.vim"
|
let $VIMHOME = $HOME."/.vim"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
let g:vimtex_view_method = 'mupdf'
|
||||||
|
let g:vimtex_latexmk_options = '-pdf -pdflatex="xelatex -synctex=1 \%S \%O" -verbose -file-line-error -interaction=nonstopmode'
|
||||||
|
set mouse=a
|
||||||
|
|
||||||
|
let g:tmpl_search_paths = [ $VIMHOME.'/templates' ]
|
||||||
|
|
||||||
call plug#begin($VIMHOME.'/plugged')
|
call plug#begin($VIMHOME.'/plugged')
|
||||||
Plug 'terryma/vim-multiple-cursors'
|
Plug 'terryma/vim-multiple-cursors'
|
||||||
Plug 'thinca/vim-localrc'
|
Plug 'thinca/vim-localrc'
|
||||||
@ -19,8 +25,11 @@ call plug#begin($VIMHOME.'/plugged')
|
|||||||
Plug 'ctrlpvim/ctrlp.vim'
|
Plug 'ctrlpvim/ctrlp.vim'
|
||||||
Plug 'tpope/vim-surround'
|
Plug 'tpope/vim-surround'
|
||||||
Plug 'airblade/vim-gitgutter'
|
Plug 'airblade/vim-gitgutter'
|
||||||
Plug 'Valloric/YouCompleteMe'
|
|
||||||
Plug 'tpope/vim-commentary'
|
Plug 'tpope/vim-commentary'
|
||||||
|
Plug 'tibabit/vim-templates'
|
||||||
|
Plug 'Shougo/deoplete.nvim'
|
||||||
|
Plug 'roxma/nvim-yarp'
|
||||||
|
Plug 'roxma/vim-hug-neovim-rpc'
|
||||||
|
|
||||||
" load local plugins
|
" load local plugins
|
||||||
if filereadable("~/.local-plugins.vimrc")
|
if filereadable("~/.local-plugins.vimrc")
|
||||||
@ -36,7 +45,7 @@ set t_Co=256
|
|||||||
"
|
"
|
||||||
|
|
||||||
" one time settings
|
" one time settings
|
||||||
" if !exists("g:running")
|
if !exists("g:running")
|
||||||
" " Conemu specific settings
|
" " Conemu specific settings
|
||||||
" if !has('gui_running') && !has('nvim')
|
" if !has('gui_running') && !has('nvim')
|
||||||
" set term=xterm
|
" set term=xterm
|
||||||
@ -53,16 +62,16 @@ set t_Co=256
|
|||||||
" nnoremap <Esc>[63~ <C-Y>
|
" nnoremap <Esc>[63~ <C-Y>
|
||||||
" endif
|
" endif
|
||||||
|
|
||||||
" if has('gui_running')
|
if has('gui_running')
|
||||||
" set guifont=Fira_Code_Medium:h9:cANSI:qDRAFT
|
set guifont=Fira_Code_Medium:h9:cANSI:qDRAFT
|
||||||
" set guioptions=
|
set guioptions=
|
||||||
|
|
||||||
" set columns=200
|
set columns=200
|
||||||
" set lines=58
|
set lines=58
|
||||||
|
|
||||||
" colorscheme tender
|
colorscheme tender
|
||||||
" endif
|
endif
|
||||||
" endif
|
endif
|
||||||
|
|
||||||
let g:running = 1
|
let g:running = 1
|
||||||
|
|
||||||
@ -108,6 +117,7 @@ let &t_EI = "\<Esc>[2 q"
|
|||||||
" filetypes
|
" filetypes
|
||||||
" autocmd FileType c,cpp :compiler cl
|
" autocmd FileType c,cpp :compiler cl
|
||||||
au FileType asm :set ft=masm
|
au FileType asm :set ft=masm
|
||||||
|
au FileType tex :set tw=120
|
||||||
|
|
||||||
" airline
|
" airline
|
||||||
let g:airline_powerline_fonts = 1
|
let g:airline_powerline_fonts = 1
|
||||||
@ -117,11 +127,6 @@ let g:airline#extensions#tabline#enabled = 1
|
|||||||
" ctrlp
|
" ctrlp
|
||||||
let g:ctrlp_switch_buffer = 'Et'
|
let g:ctrlp_switch_buffer = 'Et'
|
||||||
|
|
||||||
" latex
|
|
||||||
let g:vimtex_view_general_viewer = 'SumatraPDF'
|
|
||||||
let g:vimtex_view_general_options
|
|
||||||
\ = '-reuse-instance -forward-search @tex @line @pdf'
|
|
||||||
|
|
||||||
" ycm config
|
" ycm config
|
||||||
let g:ycm_confirm_extra_conf = 0
|
let g:ycm_confirm_extra_conf = 0
|
||||||
|
|
||||||
|
28
.zshrc
@ -1,13 +1,20 @@
|
|||||||
|
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
||||||
|
# Initialization code that may require console input (password prompts, [y/n]
|
||||||
|
# confirmations, etc.) must go above this block; everything else may go below.
|
||||||
|
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||||
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||||
|
fi
|
||||||
|
|
||||||
# If you come from bash you might have to change your $PATH.
|
# If you come from bash you might have to change your $PATH.
|
||||||
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||||
|
|
||||||
# Path to your oh-my-zsh installation.
|
# Path to your oh-my-zsh installation.
|
||||||
export ZSH=/home/kacper/.oh-my-zsh
|
export ZSH=$HOME/.oh-my-zsh
|
||||||
|
|
||||||
# Set name of the theme to load. Optionally, if you set this to "random"
|
# Set name of the theme to load. Optionally, if you set this to "random"
|
||||||
# it'll load a random theme each time that oh-my-zsh is loaded.
|
# it'll load a random theme each time that oh-my-zsh is loaded.
|
||||||
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
|
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
|
||||||
ZSH_THEME="lambda-gitster"
|
ZSH_THEME="powerlevel10k/powerlevel10k"
|
||||||
|
|
||||||
# Uncomment the following line to use case-sensitive completion.
|
# Uncomment the following line to use case-sensitive completion.
|
||||||
# CASE_SENSITIVE="true"
|
# CASE_SENSITIVE="true"
|
||||||
@ -65,17 +72,16 @@ unsetopt share_history
|
|||||||
# export LANG=en_US.UTF-8
|
# export LANG=en_US.UTF-8
|
||||||
|
|
||||||
# Preferred editor for local and remote sessions
|
# Preferred editor for local and remote sessions
|
||||||
# if [[ -n $SSH_CONNECTION ]]; then
|
export EDITOR='nvim'
|
||||||
# export EDITOR='vim'
|
export PATH=$PATH:$HOME/bin/:$HOME/.local/bin:$HOME/.dotnet/tools:./node_modules/.bin/:./vendor/bin/:$HOME/go/bin
|
||||||
# else
|
export ANSIBLE_VAULT_PASSWORD_FILE=~/.ansible/vault_pass
|
||||||
# export EDITOR='mvim'
|
|
||||||
# fi
|
|
||||||
|
|
||||||
# Compilation flags
|
# Compilation flags
|
||||||
# export ARCHFLAGS="-arch x86_64"
|
# export ARCHFLAGS="-arch x86_64"
|
||||||
|
|
||||||
# ssh
|
# ssh
|
||||||
# export SSH_KEY_PATH="~/.ssh/rsa_id"
|
# export SSH_KEY_PATH="~/.ssh/rsa_id"
|
||||||
|
# export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
|
||||||
|
|
||||||
# Set personal aliases, overriding those provided by oh-my-zsh libs,
|
# Set personal aliases, overriding those provided by oh-my-zsh libs,
|
||||||
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
|
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
|
||||||
@ -86,8 +92,12 @@ unsetopt share_history
|
|||||||
# alias zshconfig="mate ~/.zshrc"
|
# alias zshconfig="mate ~/.zshrc"
|
||||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||||
|
|
||||||
|
alias vim=nvim
|
||||||
|
alias calc='python -ic "from __future__ import division; from math import *"'
|
||||||
|
|
||||||
# too much vim...
|
# too much vim...
|
||||||
:q () { exit; }
|
:q () { exit; }
|
||||||
|
mkfile() { mkdir -p "$(dirname "$1")" && touch "$1"; }
|
||||||
|
|
||||||
function ranger-cd {
|
function ranger-cd {
|
||||||
tempfile="$(mktemp -t tmp.XXXXXX)"
|
tempfile="$(mktemp -t tmp.XXXXXX)"
|
||||||
@ -118,3 +128,7 @@ ZSH_HIGHLIGHT_STYLES[double-quoted-argument-unclosed]='fg=2,bold'
|
|||||||
ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument]='fg=10'
|
ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument]='fg=10'
|
||||||
ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument-unclosed]='fg=10,bold'
|
ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument-unclosed]='fg=10,bold'
|
||||||
|
|
||||||
|
source /usr/share/nvm/init-nvm.sh
|
||||||
|
|
||||||
|
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||||
|
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||||
|
@ -1 +0,0 @@
|
|||||||
./awesome/
|
|
267
awesome/rc.lua
@ -60,7 +60,9 @@ end
|
|||||||
|
|
||||||
-- Autostart programs
|
-- Autostart programs
|
||||||
run_once({
|
run_once({
|
||||||
"xcompmgr",
|
"picom -b",
|
||||||
|
"xfce4-clipman",
|
||||||
|
"flameshoot"
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Choose the theme
|
-- Choose the theme
|
||||||
@ -70,9 +72,9 @@ local window_titlebar = false
|
|||||||
-- Settings for dmenu prompt
|
-- Settings for dmenu prompt
|
||||||
local modkey = "Mod4"
|
local modkey = "Mod4"
|
||||||
local altkey = "Mod1"
|
local altkey = "Mod1"
|
||||||
local terminal = "urxvt"
|
local terminal = "kitty"
|
||||||
local editor = os.getenv("EDITOR") or "vim"
|
local editor = os.getenv("EDITOR") or "vim"
|
||||||
local browser = "firefox"
|
local browser = "firefox-developer-edition"
|
||||||
local gui_editor = "code"
|
local gui_editor = "code"
|
||||||
|
|
||||||
-- Naughty presets
|
-- Naughty presets
|
||||||
@ -82,13 +84,15 @@ naughty.config.defaults.position = "top_right"
|
|||||||
naughty.config.defaults.margin = 8
|
naughty.config.defaults.margin = 8
|
||||||
naughty.config.defaults.gap = 1
|
naughty.config.defaults.gap = 1
|
||||||
naughty.config.defaults.ontop = true
|
naughty.config.defaults.ontop = true
|
||||||
naughty.config.defaults.font = "Fira Code 10"
|
naughty.config.defaults.font = "Fira Sans 10"
|
||||||
naughty.config.defaults.icon = nil
|
naughty.config.defaults.icon = nil
|
||||||
naughty.config.defaults.icon_size = 32
|
naughty.config.defaults.icon_size = 32
|
||||||
naughty.config.defaults.fg = beautiful.fg_tooltip
|
naughty.config.defaults.fg = beautiful.fg_tooltip
|
||||||
naughty.config.defaults.bg = beautiful.bg_tooltip
|
naughty.config.defaults.bg = beautiful.bg_tooltip
|
||||||
naughty.config.defaults.border_color = beautiful.border_tooltip
|
naughty.config.defaults.border_color = beautiful.notification_border_color
|
||||||
naughty.config.defaults.border_width = 2
|
naughty.config.defaults.border_width = 1
|
||||||
|
naughty.config.defaults.shape = function (cr, w, h) gears.shape.rounded_rect(cr, w, h, 6) end
|
||||||
|
|
||||||
naughty.config.defaults.hover_timeout = nil
|
naughty.config.defaults.hover_timeout = nil
|
||||||
|
|
||||||
awful.util.terminal = terminal
|
awful.util.terminal = terminal
|
||||||
@ -103,9 +107,9 @@ awful.layout.layouts = {
|
|||||||
awful.layout.suit.spiral,
|
awful.layout.suit.spiral,
|
||||||
awful.layout.suit.max,
|
awful.layout.suit.max,
|
||||||
awful.layout.suit.max.fullscreen,
|
awful.layout.suit.max.fullscreen,
|
||||||
-- awful.layout.suit.magnifier,
|
--awful.layout.suit.magnifier,
|
||||||
awful.layout.suit.fair,
|
--awful.layout.suit.fair,
|
||||||
awful.layout.suit.fair.horizontal,
|
--awful.layout.suit.fair.horizontal,
|
||||||
--awful.layout.suit.spiral.dwindle,
|
--awful.layout.suit.spiral.dwindle,
|
||||||
--awful.layout.suit.corner.nw,
|
--awful.layout.suit.corner.nw,
|
||||||
--awful.layout.suit.corner.ne,
|
--awful.layout.suit.corner.ne,
|
||||||
@ -190,8 +194,9 @@ local myawesomemenu = {
|
|||||||
{ "restart", awesome.restart },
|
{ "restart", awesome.restart },
|
||||||
{ "quit", function() awesome.quit() end }
|
{ "quit", function() awesome.quit() end }
|
||||||
}
|
}
|
||||||
|
|
||||||
awful.util.mymainmenu = freedesktop.menu.build({
|
awful.util.mymainmenu = freedesktop.menu.build({
|
||||||
icon_size = beautiful.menu_height or 16,
|
icon_size = 16,
|
||||||
before = {
|
before = {
|
||||||
{ "Awesome", myawesomemenu, beautiful.awesome_icon },
|
{ "Awesome", myawesomemenu, beautiful.awesome_icon },
|
||||||
-- other triads can be put here
|
-- other triads can be put here
|
||||||
@ -221,9 +226,7 @@ awful.screen.connect_for_each_screen(function(s) beautiful.connect(s) end)
|
|||||||
|
|
||||||
-- Mouse bindings
|
-- Mouse bindings
|
||||||
root.buttons(awful.util.table.join(
|
root.buttons(awful.util.table.join(
|
||||||
awful.button({ }, 3, function () awful.util.mymainmenu:toggle() end),
|
awful.button({ }, 3, function () awful.util.mymainmenu:toggle() end)
|
||||||
awful.button({ }, 4, awful.tag.viewnext),
|
|
||||||
awful.button({ }, 5, awful.tag.viewprev)
|
|
||||||
))
|
))
|
||||||
|
|
||||||
-- {{{ Key bindings
|
-- {{{ Key bindings
|
||||||
@ -285,14 +288,22 @@ globalkeys = awful.util.table.join(
|
|||||||
{description = "jump to urgent client", group = "client"}),
|
{description = "jump to urgent client", group = "client"}),
|
||||||
|
|
||||||
-- Window changing
|
-- Window changing
|
||||||
awful.key({ altkey, }, "Tab",
|
awful.key({ altkey }, "Tab", function ()
|
||||||
function ()
|
awful.client.focus.byidx(-1)
|
||||||
awful.client.focus.history.previous()
|
|
||||||
if client.focus then
|
if client.focus then
|
||||||
client.focus:raise()
|
client.focus:raise()
|
||||||
end
|
end
|
||||||
end,
|
end),
|
||||||
{description = "go back", group = "client"}),
|
|
||||||
|
awful.key({ altkey, "Shift" }, "Tab", function ()
|
||||||
|
awful.client.focus.byidx(1)
|
||||||
|
|
||||||
|
if client.focus then
|
||||||
|
client.focus:raise()
|
||||||
|
end
|
||||||
|
end),
|
||||||
|
|
||||||
awful.key({ modkey, }, "Tab", function () awful.spawn("rofi -show window") end,
|
awful.key({ modkey, }, "Tab", function () awful.spawn("rofi -show window") end,
|
||||||
{description = "go back", group = "client"}),
|
{description = "go back", group = "client"}),
|
||||||
|
|
||||||
@ -311,15 +322,13 @@ globalkeys = awful.util.table.join(
|
|||||||
awful.key({ altkey, "Control" }, "]", function () lain.util.useless_gaps_resize(-1) end),
|
awful.key({ altkey, "Control" }, "]", function () lain.util.useless_gaps_resize(-1) end),
|
||||||
|
|
||||||
-- Dynamic tagging
|
-- Dynamic tagging
|
||||||
awful.key({ modkey, "Shift" }, "n", function () lain.util.add_tag() end),
|
-- awful.key({ modkey, "Shift" }, "n", function () lain.util.add_tag() end, { group = "Tagging", description = "Add tag" }),
|
||||||
awful.key({ modkey, "Shift" }, "r", function () lain.util.rename_tag() end),
|
-- awful.key({ modkey, "Shift" }, "r", function () lain.util.rename_tag() end, { group = "Tagging", description = "Rename current tag" }),
|
||||||
awful.key({ modkey, "Shift" }, "Left", function () lain.util.move_tag(-1) end), -- move to previous tag
|
-- awful.key({ modkey, "Shift" }, "Left", function () lain.util.move_tag(-1) end, { group = "Tagging", description = "Move tag to left" }), -- move to previous tag
|
||||||
awful.key({ modkey, "Shift" }, "Right", function () lain.util.move_tag(1) end), -- move to next tag
|
-- awful.key({ modkey, "Shift" }, "Right", function () lain.util.move_tag(1) end, { group = "Tagging", description = "Move tag to right" }), -- move to next tag
|
||||||
awful.key({ modkey, "Shift" }, "d", function () lain.util.delete_tag() end),
|
-- awful.key({ modkey, "Shift" }, "d", function () lain.util.delete_tag() end, { group = "Tagging", description = "Remove crrent tag" }),
|
||||||
|
|
||||||
-- Standard program
|
-- Standard program
|
||||||
awful.key({ modkey, }, "Return", function () awful.spawn(terminal) end,
|
|
||||||
{description = "open a terminal", group = "launcher"}),
|
|
||||||
awful.key({ modkey, "Control" }, "r", awesome.restart,
|
awful.key({ modkey, "Control" }, "r", awesome.restart,
|
||||||
{description = "reload awesome", group = "awesome"}),
|
{description = "reload awesome", group = "awesome"}),
|
||||||
awful.key({ modkey, "Shift" }, "q", awesome.quit,
|
awful.key({ modkey, "Shift" }, "q", awesome.quit,
|
||||||
@ -353,9 +362,6 @@ globalkeys = awful.util.table.join(
|
|||||||
end,
|
end,
|
||||||
{description = "restore minimized", group = "client"}),
|
{description = "restore minimized", group = "client"}),
|
||||||
|
|
||||||
-- Dropdown application
|
|
||||||
awful.key({ modkey, }, "z", function () awful.screen.focused().quake:toggle() end),
|
|
||||||
|
|
||||||
-- Screenshots
|
-- Screenshots
|
||||||
awful.key({ }, "Print", function () awful.spawn("flameshot gui") end),
|
awful.key({ }, "Print", function () awful.spawn("flameshot gui") end),
|
||||||
|
|
||||||
@ -365,45 +371,43 @@ globalkeys = awful.util.table.join(
|
|||||||
|
|
||||||
-- Copy primary to clipboard (terminals to gtk)
|
-- Copy primary to clipboard (terminals to gtk)
|
||||||
awful.key({ modkey }, "c", function () awful.spawn("xsel | xsel -i -b") end),
|
awful.key({ modkey }, "c", function () awful.spawn("xsel | xsel -i -b") end),
|
||||||
|
|
||||||
-- Copy clipboard to primary (gtk to terminals)
|
-- Copy clipboard to primary (gtk to terminals)
|
||||||
awful.key({ modkey }, "v", function () awful.spawn("xsel -b | xsel") end),
|
awful.key({ modkey }, "v", function () awful.spawn("xsel -b | xsel") end),
|
||||||
|
|
||||||
-- User programs
|
-- User programs
|
||||||
awful.key({ modkey }, "e", function () awful.spawn(gui_editor) end),
|
awful.key({ modkey }, "c", function () awful.spawn(gui_editor) end, { group = "launcher", description = "Open GUI editor" }),
|
||||||
awful.key({ modkey }, "q", function () awful.spawn(browser) end),
|
awful.key({ modkey }, "e", function () awful.spawn("xdg-open .") end, { group = "launcher", description = "Open File Explorer" }),
|
||||||
|
awful.key({ modkey }, "q", function () awful.spawn(browser) end, { group = "launcher", description = "Open browser window" }),
|
||||||
|
awful.key({ modkey }, "Return", function () awful.spawn(terminal) end, { group = "launcher", description = "Open terminal" }),
|
||||||
|
|
||||||
|
awful.key({ }, "XF86Tools", function () awful.spawn("playerctl -p spotify play-pause") end, { group = "audio", description = "Play/Pause" }),
|
||||||
|
awful.key({ }, "XF86AudioMute", function () awful.spawn("amixer set Master toggle") end, { group = "audio", description = "Mute" }),
|
||||||
|
awful.key({ }, "XF86AudioRaiseVolume", function () awful.spawn("amixer set Master 3%+") end, { group = "audio", description = "Volume Up" }),
|
||||||
|
awful.key({ }, "XF86AudioLowerVolume", function () awful.spawn("amixer set Master 3%-") end, { group = "audio", description = "Volume Down" }),
|
||||||
|
awful.key({ }, "XF86Launch5", function () awful.spawn("amixer set Capture toggle") end, { group = "audio", description = "Mute toggle" }),
|
||||||
|
|
||||||
|
-- Dropdown application
|
||||||
|
awful.key({ modkey }, "`", function () awful.screen.focused().quake:toggle() end, { group = "launcher", description = "Open quake style terminal" }),
|
||||||
-- Prompt
|
-- Prompt
|
||||||
awful.key({ modkey }, "r", function () awful.spawn("rofi -show run") end,
|
awful.key({ modkey }, "r", function () awful.spawn("rofi -show run") end, { description = "program launcher", group = "launcher" }),
|
||||||
{ description = "program launcher", group = "launcher" }),
|
awful.key({ modkey, "Control" }, "s", function () awful.spawn("rofi -show ssh") end, { description = "ssh to ...", group = "launcher" })
|
||||||
|
|
||||||
-- awful.key({ modkey }, "tab", function () awful.spawn("rofi -show window") end,
|
|
||||||
-- { description = "show window selector", group = "launcher" }),
|
|
||||||
|
|
||||||
awful.key({ modkey }, "x",
|
|
||||||
function ()
|
|
||||||
awful.prompt.run {
|
|
||||||
prompt = "Run Lua code: ",
|
|
||||||
textbox = awful.screen.focused().mypromptbox.widget,
|
|
||||||
exe_callback = awful.util.eval,
|
|
||||||
history_path = awful.util.get_cache_dir() .. "/history_eval"
|
|
||||||
}
|
|
||||||
end,
|
|
||||||
{description = "lua execute prompt", group = "awesome"})
|
|
||||||
--]]
|
|
||||||
)
|
)
|
||||||
|
|
||||||
clientkeys = awful.util.table.join(
|
clientkeys = awful.util.table.join(
|
||||||
awful.key({ altkey, "Shift" }, "m", lain.util.magnify_client ),
|
awful.key({ altkey, "Shift" }, "m", lain.util.magnify_client, { group = "client", description = "magnify" }),
|
||||||
awful.key({ modkey, }, "f",
|
awful.key({ modkey, }, "f",
|
||||||
function (c)
|
function (c)
|
||||||
c.fullscreen = not c.fullscreen
|
c.fullscreen = not c.fullscreen
|
||||||
c:raise()
|
c:raise()
|
||||||
end,
|
end,
|
||||||
{description = "toggle fullscreen", group = "client"}),
|
{ description = "toggle fullscreen", group = "client" }),
|
||||||
awful.key({ modkey, "Shift" }, "c", function (c) c:kill() end,
|
awful.key({ modkey, "Shift" }, "c", function (c) c:kill() end,
|
||||||
{description = "close", group = "client"}),
|
{description = "close", group = "client"}),
|
||||||
awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle ,
|
awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle ,
|
||||||
{description = "toggle floating", group = "client"}),
|
{description = "toggle floating", group = "client"}),
|
||||||
|
awful.key({ modkey, altkey } , "space", awful.titlebar.toggle,
|
||||||
|
{description = "toggle titlebar", group = "client"}),
|
||||||
awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end,
|
awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end,
|
||||||
{description = "move to master", group = "client"}),
|
{description = "move to master", group = "client"}),
|
||||||
awful.key({ modkey, }, "o", function (c) c:move_to_screen() end,
|
awful.key({ modkey, }, "o", function (c) c:move_to_screen() end,
|
||||||
@ -478,27 +482,39 @@ end
|
|||||||
clientbuttons = awful.util.table.join(
|
clientbuttons = awful.util.table.join(
|
||||||
awful.button({ }, 1, function (c) client.focus = c; c:raise() end),
|
awful.button({ }, 1, function (c) client.focus = c; c:raise() end),
|
||||||
awful.button({ modkey }, 1, awful.mouse.client.move),
|
awful.button({ modkey }, 1, awful.mouse.client.move),
|
||||||
awful.button({ modkey }, 3, awful.mouse.client.resize))
|
awful.button({ modkey }, 3, awful.mouse.client.resize)
|
||||||
|
)
|
||||||
|
|
||||||
-- Set keys
|
-- Set keys
|
||||||
root.keys(globalkeys)
|
root.keys(globalkeys)
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
|
local client_colors = {
|
||||||
|
{ rule = { class = "firefoxdeveloperedition" }, color = "#1c1b22" },
|
||||||
|
{ rule = { class = "kitty" }, color = "#0d0f18e6" },
|
||||||
|
{ rule = { class = "jetbrains-toolbox" }, color = "#111314" },
|
||||||
|
{ rule = { class = "krita" }, color = "#323232" },
|
||||||
|
{ rule = { class = "Code" }, color = "#181a1f" },
|
||||||
|
{ rule = { class = "TelegramDesktop" }, color = "#17212B" },
|
||||||
|
{ rule_any = { class = { "jetbrains-phpstorm", "jetbrains-idea", "jetbrains-pycharm" } }, color = "#2b2d30" },
|
||||||
|
}
|
||||||
|
|
||||||
-- Rules to apply to new clients (through the "manage" signal).
|
-- Rules to apply to new clients (through the "manage" signal).
|
||||||
awful.rules.rules = {
|
awful.rules.rules = {
|
||||||
-- All clients will match this rule.
|
-- All clients will match this rule.
|
||||||
{ rule = { },
|
{ rule = { },
|
||||||
properties = { border_width = beautiful.border_width,
|
properties = {
|
||||||
|
border_width = beautiful.border_width,
|
||||||
border_color = beautiful.border_normal,
|
border_color = beautiful.border_normal,
|
||||||
focus = awful.client.focus.filter,
|
focus = awful.client.focus.filter,
|
||||||
raise = true,
|
raise = true,
|
||||||
keys = clientkeys,
|
keys = clientkeys,
|
||||||
buttons = clientbuttons,
|
buttons = clientbuttons,
|
||||||
screen = awful.screen.preferred,
|
screen = awful.screen.preferred,
|
||||||
placement = awful.placement.no_overlap+awful.placement.no_offscreen,
|
-- placement = awful.placement.no_overlap+awful.placement.no_offscreen,
|
||||||
size_hints_honor = false,
|
size_hints_honor = false,
|
||||||
floating = false,
|
floating = false,
|
||||||
|
allow_titlebars = true,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -506,25 +522,77 @@ awful.rules.rules = {
|
|||||||
{ rule_any = { type = { "dialog", "normal" } },
|
{ rule_any = { type = { "dialog", "normal" } },
|
||||||
properties = { titlebars_enabled = window_titlebar } },
|
properties = { titlebars_enabled = window_titlebar } },
|
||||||
|
|
||||||
{ rule = { class = "jetbrains-toolbox" },
|
|
||||||
properties = { tag = awful.util.tagnames[4], floating = false } },
|
|
||||||
|
|
||||||
{ rule = { class = "telegram-desktop" },
|
|
||||||
properties = { tag = awful.util.tagnames[4], floating = false } },
|
|
||||||
|
|
||||||
-- Set Firefox to always map on the first tag on screen 1.
|
-- Set Firefox to always map on the first tag on screen 1.
|
||||||
{ rule = { class = "Firefox" },
|
{ rule = { class = "Firefox" },
|
||||||
properties = { screen = 2, maximized = true, titlebars_enabled = false, switchtotag = true, tag = awful.util.tagnames[3] } },
|
properties = { maximized = true, tag = awful.util.tagnames[3] } },
|
||||||
|
|
||||||
-- Caja is floating with fixed sizes. Titelbar enabled for Caja
|
-- Jetbrains stuff
|
||||||
{ rule = { class = "jetbrains-phpstorm" },
|
{ rule_any = { class = { "jetbrains-phpstorm", "jetbrains-idea", "jetbrains-pycharm" } },
|
||||||
properties = { screen = 1, tag = awful.util.tagnames[1], floating = false } },
|
properties = { titlebars_enabled = false, maximized = false, screen = 1 } },
|
||||||
{ rule = { class = "jetbrains-idea" },
|
|
||||||
properties = { screen = 1, maximized = true, tag = awful.util.tagnames[2] } },
|
{ rule_any = { name = { "*Emulator*", "Emulator" } },
|
||||||
|
properties = { floating = true, titlebar_enabled = false, border_width = 0 } },
|
||||||
|
|
||||||
|
-- flameshot
|
||||||
|
{ rule = { class = "flameshot" },
|
||||||
|
properties = { titlebars_enabled = true, floating = true, focus = true } },
|
||||||
|
|
||||||
|
{ rule = { class = "Gcolor2" },
|
||||||
|
properties = { titlebars_enabled = true, floating = true, focus = true } },
|
||||||
|
|
||||||
|
-- messaging
|
||||||
|
{ rule = { class = "Thunderbird" },
|
||||||
|
properties = { tag = awful.util.tagnames[4] } },
|
||||||
|
|
||||||
|
{ rule = { class = "TelegramDesktop" },
|
||||||
|
properties = { tag = awful.util.tagnames[4], focusable = true, focus = true } },
|
||||||
|
|
||||||
|
{ rule = { class = "TelegramDesktop", name = "Media viewer" },
|
||||||
|
properties = { fullscreen = true } },
|
||||||
|
|
||||||
-- dialogs
|
-- dialogs
|
||||||
{ rule = { type = "dialog" },
|
{ rule = { type = "dialog" },
|
||||||
properties = { titlebars_enabled = true, floating = true, maximized = false, border_width = 1 } },
|
properties = { titlebars_enabled = true, floating = true, maximized = false, border_width = 1 } },
|
||||||
|
|
||||||
|
{ rule = { type = "utility" },
|
||||||
|
properties = { titlebars_enabled = true, floating = true, maximized = false, border_width = 1 } },
|
||||||
|
|
||||||
|
{ rule = { class = "gcr-prompter" },
|
||||||
|
properties = { titlebars_enabled = true, floating = true, maximized = false, border_width = 1 } },
|
||||||
|
|
||||||
|
{ rule = { type = "utility", class = "vlc" },
|
||||||
|
properties = { floating = true } },
|
||||||
|
|
||||||
|
-- jetbrains bugs
|
||||||
|
{ rule_any = { class = { "jetbrains-toolbox" } },
|
||||||
|
properties = { floating = true, sticky = true, maximized = false } },
|
||||||
|
|
||||||
|
{ rule = { class = "jetbrains-.*", name = "win.*" },
|
||||||
|
properties = { titlebars_enabled = false, allow_titlebars = false, focusable = false, floating = true } },
|
||||||
|
|
||||||
|
-- quake
|
||||||
|
{ rule = { class = "QuakeDD" },
|
||||||
|
properties = { allow_titlebars = false } },
|
||||||
|
|
||||||
|
-- keepassxc
|
||||||
|
{ rule = { class = "KeePassXC" },
|
||||||
|
properties = { titlebars_enabled = true, floating = true } },
|
||||||
|
|
||||||
|
-- games
|
||||||
|
{ rule = { class = "Minecraft.*" },
|
||||||
|
properties = { tag = awful.util.tagnames[6], focusable = true, focus = true, screen = 1 } },
|
||||||
|
|
||||||
|
{ rule_any = { name = { "Microsoft Teams Notification" } },
|
||||||
|
properties = {
|
||||||
|
titlebars_enabled = false,
|
||||||
|
floating = true,
|
||||||
|
focus = false,
|
||||||
|
draw_backdrop = false,
|
||||||
|
skip_decoration = true,
|
||||||
|
skip_taskbar = true,
|
||||||
|
ontop = true,
|
||||||
|
sticky = true }
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Signals
|
-- Signals
|
||||||
@ -534,6 +602,14 @@ client.connect_signal("manage", function (c)
|
|||||||
-- i.e. put it at the end of others instead of setting it master.
|
-- i.e. put it at the end of others instead of setting it master.
|
||||||
if not awesome.startup then awful.client.setslave(c) end
|
if not awesome.startup then awful.client.setslave(c) end
|
||||||
|
|
||||||
|
if c.floating then
|
||||||
|
c.border_width = 1
|
||||||
|
end
|
||||||
|
|
||||||
|
c.shape = function(cr,w,h)
|
||||||
|
gears.shape.rounded_rect(cr,w,h,3)
|
||||||
|
end
|
||||||
|
|
||||||
if awesome.startup and
|
if awesome.startup and
|
||||||
not c.size_hints.user_position
|
not c.size_hints.user_position
|
||||||
and not c.size_hints.program_position then
|
and not c.size_hints.program_position then
|
||||||
@ -566,22 +642,31 @@ client.connect_signal("request::titlebars", function(c)
|
|||||||
)
|
)
|
||||||
|
|
||||||
local title = awful.titlebar.widget.titlewidget(c)
|
local title = awful.titlebar.widget.titlewidget(c)
|
||||||
title.font = "Fira Code Regular 7"
|
title.font = "Fira Sans Medium 9"
|
||||||
|
|
||||||
awful.titlebar(c, { size = 16 }) : setup {
|
for index, rule in pairs(client_colors) do
|
||||||
|
if awful.rules.matches(c, rule) then
|
||||||
|
c.titlebar_color = rule.color
|
||||||
|
break
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
awful.titlebar(c, { size = 28, fg_focus = "#ffffff", bg_focus = c.titlebar_color or beautiful.titlebar_bg_focus }) : setup {
|
||||||
{ -- Left
|
{ -- Left
|
||||||
--awful.titlebar.widget.iconwidget(c),
|
awful.titlebar.widget.iconwidget(c),
|
||||||
-- Title
|
-- Title
|
||||||
{
|
|
||||||
align = "left",
|
|
||||||
widget = title,
|
|
||||||
left = 2
|
|
||||||
},
|
|
||||||
buttons = buttons,
|
buttons = buttons,
|
||||||
layout = wibox.container.margin,
|
layout = wibox.container.margin,
|
||||||
left = 4
|
left = 8,
|
||||||
|
right = 8,
|
||||||
|
top = 5,
|
||||||
|
bottom = 5,
|
||||||
},
|
},
|
||||||
{ -- Middle
|
{ -- Middle
|
||||||
|
{
|
||||||
|
align = "center",
|
||||||
|
widget = title,
|
||||||
|
},
|
||||||
buttons = buttons,
|
buttons = buttons,
|
||||||
layout = wibox.layout.flex.horizontal
|
layout = wibox.layout.flex.horizontal
|
||||||
},
|
},
|
||||||
@ -592,32 +677,26 @@ client.connect_signal("request::titlebars", function(c)
|
|||||||
awful.titlebar.widget.ontopbutton (c),
|
awful.titlebar.widget.ontopbutton (c),
|
||||||
awful.titlebar.widget.maximizedbutton(c),
|
awful.titlebar.widget.maximizedbutton(c),
|
||||||
awful.titlebar.widget.closebutton (c),
|
awful.titlebar.widget.closebutton (c),
|
||||||
layout = wibox.layout.fixed.horizontal(),
|
layout = wibox.layout.fixed.horizontal,
|
||||||
spacing = 2
|
spacing = 6
|
||||||
},
|
},
|
||||||
layout = wibox.layout.margin,
|
layout = wibox.layout.margin,
|
||||||
top = 2, bottom = 2, left = 2, right = 2
|
top = 4, bottom = 4, left = 4, right = 8
|
||||||
},
|
},
|
||||||
layout = wibox.layout.align.horizontal
|
layout = wibox.layout.align.horizontal
|
||||||
}
|
}
|
||||||
end)
|
end)
|
||||||
|
|
||||||
-- Enable sloppy focus, so that focus follows mouse.
|
client.connect_signal("property::floating", function (c)
|
||||||
client.connect_signal("mouse::enter", function(c)
|
if c.floating and not awful.rules.match(c, { name = "win.*" }) and c.allow_titlebars then
|
||||||
if awful.layout.get(c.screen) ~= awful.layout.suit.magnifier
|
if c.titlebar == nil then
|
||||||
and awful.client.focus.filter(c) then
|
c:emit_signal("request::titlebars", "rules", { })
|
||||||
client.focus = c
|
end
|
||||||
|
|
||||||
|
awful.titlebar.show(c)
|
||||||
|
c.border_width = 1
|
||||||
|
elseif not c.floating then
|
||||||
|
awful.titlebar.hide(c)
|
||||||
|
c.border_width = 0
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
-- No border for maximized clients
|
|
||||||
client.connect_signal("focus",
|
|
||||||
function(c)
|
|
||||||
if c.maximized then -- no borders if only 1 client visible
|
|
||||||
c.border_width = 0
|
|
||||||
elseif #awful.screen.focused().clients > 1 then
|
|
||||||
c.border_width = beautiful.border_width
|
|
||||||
c.border_color = beautiful.border_focus
|
|
||||||
end
|
|
||||||
end)
|
|
||||||
client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
|
|
||||||
|
Before Width: | Height: | Size: 171 B After Width: | Height: | Size: 171 B |
Before Width: | Height: | Size: 171 B After Width: | Height: | Size: 166 B |
Before Width: | Height: | Size: 178 B After Width: | Height: | Size: 171 B |
Before Width: | Height: | Size: 174 B After Width: | Height: | Size: 173 B |
Before Width: | Height: | Size: 174 B After Width: | Height: | Size: 170 B |
Before Width: | Height: | Size: 176 B After Width: | Height: | Size: 165 B |
Before Width: | Height: | Size: 166 B After Width: | Height: | Size: 168 B |
Before Width: | Height: | Size: 171 B After Width: | Height: | Size: 167 B |
Before Width: | Height: | Size: 172 B After Width: | Height: | Size: 165 B |
Before Width: | Height: | Size: 200 B After Width: | Height: | Size: 181 B |
Before Width: | Height: | Size: 178 B After Width: | Height: | Size: 164 B |
Before Width: | Height: | Size: 324 B After Width: | Height: | Size: 344 B |
Before Width: | Height: | Size: 176 B After Width: | Height: | Size: 165 B |
Before Width: | Height: | Size: 156 B After Width: | Height: | Size: 156 B |
Before Width: | Height: | Size: 162 B After Width: | Height: | Size: 160 B |
Before Width: | Height: | Size: 164 B After Width: | Height: | Size: 159 B |
Before Width: | Height: | Size: 159 B After Width: | Height: | Size: 163 B |
BIN
awesome/themes/kadet/icons/titlebar/close-hover.png
Normal file
After Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 285 B After Width: | Height: | Size: 2.1 KiB |
BIN
awesome/themes/kadet/icons/titlebar/close-press.png
Normal file
After Width: | Height: | Size: 8.7 KiB |
Before Width: | Height: | Size: 270 B After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 474 B After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 382 B After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 302 B After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 281 B After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 373 B After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 329 B After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 263 B After Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 250 B After Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 327 B After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 240 B After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 228 B After Width: | Height: | Size: 4.2 KiB |
BIN
awesome/themes/kadet/icons/widget/mic-off.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
awesome/themes/kadet/icons/widget/mic-on.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 328 B After Width: | Height: | Size: 2.2 KiB |
@ -5,85 +5,86 @@ local wibox = require("wibox")
|
|||||||
local os, math, string = os, math, string
|
local os, math, string = os, math, string
|
||||||
|
|
||||||
local fonts = {
|
local fonts = {
|
||||||
mono_regular = "Fira Code Regular 8",
|
mono_regular = "Jetbrains Mono Bold 8",
|
||||||
mono_bold = "Fira Code Bold 8"
|
mono_bold = "Jetbrains Mono ExtraBold 8"
|
||||||
}
|
}
|
||||||
|
|
||||||
fonts.widget = "Fira Code Bold 7"
|
fonts.widget = "Jetbrains Mono ExtraBold 8"
|
||||||
|
|
||||||
local colors = {
|
local colors = {
|
||||||
dark = "#161616",
|
dark = "#161616",
|
||||||
light = "#dedede",
|
light = "#dedede",
|
||||||
accent = "#003056",
|
accent = "#ff9700",
|
||||||
accent_fg = "#dedede",
|
|
||||||
attention = "#fc5d19",
|
attention = "#fc5d19",
|
||||||
transparent = "#00000000",
|
transparent = "#00000000",
|
||||||
|
|
||||||
transparency = "22",
|
transparency = "30",
|
||||||
}
|
}
|
||||||
|
|
||||||
colors.background = colors.dark .. colors.transparency
|
colors.background = colors.dark .. colors.transparency
|
||||||
colors.foreground = colors.light
|
colors.foreground = colors.dark
|
||||||
colors.widget_bg = colors.transparent
|
colors.widget_bg = colors.dark
|
||||||
|
|
||||||
local theme = {}
|
local theme = {}
|
||||||
theme.dir = os.getenv("HOME") .. "/.config/awesome/themes/kadet"
|
theme.dir = os.getenv("HOME") .. "/.config/awesome/themes/kadet"
|
||||||
theme.wallpaper = theme.dir .. "/wallpapers/make.jpg"
|
theme.wallpaper = theme.dir .. "/wallpapers/kadet.png"
|
||||||
theme.font = fonts.mono_regular
|
theme.font = fonts.mono_regular
|
||||||
theme.taglist_font = fonts.mono_bold
|
theme.taglist_font = fonts.mono_bold
|
||||||
theme.tasklist_font = fonts.mono_regular
|
theme.tasklist_font = fonts.mono_regular
|
||||||
|
|
||||||
theme.bg_systray = "#000000"
|
theme.bg_systray = colors.accent
|
||||||
theme.systray_icon_spacing = 3
|
theme.systray_icon_spacing = 8
|
||||||
theme.fg_normal = colors.light
|
theme.fg_normal = colors.light
|
||||||
theme.bg_normal = colors.dark .. "dd"
|
theme.bg_normal = colors.dark .. "dd"
|
||||||
theme.fg_wibar = colors.light
|
theme.fg_wibar = colors.dark
|
||||||
theme.bg_wibar = colors.background
|
theme.bg_wibar = colors.background
|
||||||
theme.fg_normal = colors.light
|
|
||||||
theme.bg_focus = colors.dark
|
theme.bg_focus = colors.dark
|
||||||
theme.fg_focus = colors.light
|
theme.fg_focus = colors.accent
|
||||||
theme.bg_urgent = colors.attention
|
theme.bg_urgent = colors.attention
|
||||||
theme.fg_urgent = colors.light
|
theme.fg_urgent = colors.dark
|
||||||
|
|
||||||
theme.fg_widget = colors.light
|
theme.fg_widget = colors.dark
|
||||||
|
|
||||||
theme.taglist_bg_focus = colors.dark .. "aa"
|
theme.taglist_bg_focus = colors.dark
|
||||||
theme.taglist_fg_focus = colors.acceng_fg
|
theme.taglist_fg_focus = colors.accent
|
||||||
theme.taglist_bg_occupied = colors.dark .. "66"
|
theme.taglist_bg_occupied = colors.dark .. "40"
|
||||||
theme.taglist_fg_occupied = colors.light
|
theme.taglist_fg_occupied = colors.dark
|
||||||
theme.taglist_bg_empty = colors.transparent
|
theme.taglist_bg_empty = colors.tramsparent
|
||||||
theme.taglist_fg_empty = colors.light
|
theme.taglist_fg_empty = colors.dark
|
||||||
theme.taglist_bg_urgent = "#C92132"
|
theme.taglist_bg_urgent = "#C92132"
|
||||||
theme.taglist_fg_urgent = "#282828"
|
theme.taglist_fg_urgent = "#282828"
|
||||||
|
|
||||||
theme.tasklist_bg_normal = "#32302f"
|
theme.tasklist_bg_normal = "#32302f"
|
||||||
theme.tasklist_fg_normal = "#ebdbb2"
|
theme.tasklist_fg_normal = colors.dark
|
||||||
theme.tasklist_bg_focus = "#32302f"
|
theme.tasklist_bg_focus = "#32302f"
|
||||||
theme.tasklist_fg_focus = "#ebdbb2"
|
theme.tasklist_fg_focus = colors.dark
|
||||||
theme.tasklist_bg_urgent = "#C92132"
|
theme.tasklist_bg_urgent = "#C92132"
|
||||||
theme.tasklist_fg_urgent = "#32302f"
|
theme.tasklist_fg_urgent = colors.attention
|
||||||
|
|
||||||
theme.border_width = 0
|
theme.border_width = 0
|
||||||
theme.border_normal = "#32302f"
|
theme.border_normal = "#111111"
|
||||||
theme.border_focus = "#3f3f3f"
|
theme.border_focus = "#000000"
|
||||||
theme.border_marked = "#CC9393"
|
theme.border_marked = "#CC9393"
|
||||||
|
|
||||||
theme.titlebar_bg_normal = "#161616"
|
theme.titlebar_bg_normal = "#212028"
|
||||||
|
theme.titlebar_bg_focus = "#1c1b22"
|
||||||
theme.titlebar_fg_normal = colors.white
|
theme.titlebar_fg_normal = colors.white
|
||||||
|
theme.titlebar_fg_focus = colors.white
|
||||||
|
|
||||||
theme.menu_height = 16
|
theme.menu_height = 24
|
||||||
theme.menu_width = 140
|
theme.menu_width = 200
|
||||||
|
|
||||||
theme.notification_font = fonts.mono_regular
|
theme.notification_font = fonts.mono_regular
|
||||||
theme.notification_bg = colors.dark .. "dd"
|
theme.notification_bg = colors.dark .. "dd"
|
||||||
theme.notification_fg = theme.fg_normal
|
theme.notification_fg = theme.fg_normal
|
||||||
theme.notification_border_width = 1
|
theme.notification_border_width = 0
|
||||||
theme.notification_border_color = colors.dark
|
theme.notification_border_color = colors.accent
|
||||||
-- theme.notification_shape = gears.shape.infobubble
|
theme.notification_shape = gears.shape.rectangle
|
||||||
theme.notification_opacity = 1
|
theme.notification_opacity = 1
|
||||||
theme.notification_margin = 30
|
theme.notification_margin = 30
|
||||||
--theme.warning = theme.dir .. "/icons/status/warning.png"
|
--theme.warning = theme.dir .. "/icons/status/warning.png"
|
||||||
--theme.notification_width = 300
|
theme.notification_max_width = 500
|
||||||
|
theme.notification_icon_size = 64
|
||||||
--theme.notification_height = 200
|
--theme.notification_height = 200
|
||||||
|
|
||||||
theme.menu_submenu_icon = theme.dir .. "/icons/submenu.png"
|
theme.menu_submenu_icon = theme.dir .. "/icons/submenu.png"
|
||||||
@ -108,12 +109,16 @@ theme.layout_cornersw = theme.dir .. "/icons/layout/co
|
|||||||
theme.layout_cornerne = theme.dir .. "/icons/layout/cprmerne.png"
|
theme.layout_cornerne = theme.dir .. "/icons/layout/cprmerne.png"
|
||||||
theme.layout_cornernw = theme.dir .. "/icons/layout/cornernw.png"
|
theme.layout_cornernw = theme.dir .. "/icons/layout/cornernw.png"
|
||||||
|
|
||||||
theme.tasklist_disable_icon = true
|
theme.tasklist_disable_icon = false
|
||||||
theme.useless_gap = 7
|
theme.tasklist_plain_task_name = true
|
||||||
|
theme.useless_gap = 3
|
||||||
|
theme.master_width_factor = 0.66
|
||||||
|
|
||||||
-- titlebar
|
-- titlebar
|
||||||
theme.titlebar_close_button_focus = theme.dir .. "/icons/titlebar/close.png"
|
theme.titlebar_close_button_focus = theme.dir .. "/icons/titlebar/close.png"
|
||||||
theme.titlebar_close_button_normal = theme.dir .. "/icons/titlebar/close-inactive.png"
|
theme.titlebar_close_button_normal = theme.dir .. "/icons/titlebar/close-inactive.png"
|
||||||
|
theme.titlebar_close_button_focus_hover = theme.dir .. "/icons/titlebar/close-hover.png"
|
||||||
|
theme.titlebar_close_button_focus_press = theme.dir .. "/icons/titlebar/close-press.png"
|
||||||
|
|
||||||
theme.titlebar_ontop_button_focus_active = theme.dir .. "/icons/titlebar/top.png"
|
theme.titlebar_ontop_button_focus_active = theme.dir .. "/icons/titlebar/top.png"
|
||||||
theme.titlebar_ontop_button_focus_inactive = theme.dir .. "/icons/titlebar/top-inactive.png"
|
theme.titlebar_ontop_button_focus_inactive = theme.dir .. "/icons/titlebar/top-inactive.png"
|
||||||
@ -129,7 +134,13 @@ theme.titlebar_maximized_button_focus_inactive = theme.dir .. "/icons/titlebar/
|
|||||||
|
|
||||||
local image = {}
|
local image = {}
|
||||||
|
|
||||||
function icon(dir, icon) return wibox.widget.imagebox(theme.dir .. "/icons/" .. dir .. "/" .. icon .. ".png") end
|
function icon(dir, icon)
|
||||||
|
return {
|
||||||
|
layout = wibox.layout.margin,
|
||||||
|
top = 3, bottom = 3, left = 1, right = 1,
|
||||||
|
wibox.widget.imagebox(theme.dir .. "/icons/" .. dir .. "/" .. icon .. ".png")
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
-- systray
|
-- systray
|
||||||
image.systray_start = icon("bar", "start")
|
image.systray_start = icon("bar", "start")
|
||||||
@ -140,8 +151,12 @@ image.icons = {
|
|||||||
hdd = icon("widget", "hdd"),
|
hdd = icon("widget", "hdd"),
|
||||||
mem = icon("widget", "memory"),
|
mem = icon("widget", "memory"),
|
||||||
temp = icon("widget", "temp"),
|
temp = icon("widget", "temp"),
|
||||||
|
mic_on = icon("widget", "mic-on"),
|
||||||
|
mic_off = icon("widget", "mic-off"),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
image.icons.mic = image.icons.mic_on
|
||||||
|
|
||||||
-- colors
|
-- colors
|
||||||
theme.green = "#00b159"
|
theme.green = "#00b159"
|
||||||
theme.red = "#d64d4d"
|
theme.red = "#d64d4d"
|
||||||
@ -159,17 +174,23 @@ theme.black = theme.bg_normal
|
|||||||
local markup = lain.util.markup
|
local markup = lain.util.markup
|
||||||
|
|
||||||
-- Widgets
|
-- Widgets
|
||||||
local clock = awful.widget.textclock("<span font=\"" .. fonts.widget .. "\" color=\"" .. colors.light .. "\"> %a %d %b %H:%M </span>")
|
local clock = awful.widget.textclock("<span font=\"" .. fonts.mono_bold .. "\" color=\"" .. colors.dark .. "\"> %H:%M </span>")
|
||||||
local clock_widget = wibox.container.background(wibox.container.margin(wibox.widget { clock, layout = wibox.layout.align.horizontal }, 0, 1), colors.widget_bg)
|
local clock_widget = wibox.container.background(wibox.container.margin(wibox.widget { clock, layout = wibox.layout.align.horizontal }, 0, 1), colors.transparent)
|
||||||
|
|
||||||
|
local date = awful.widget.textclock("<span font=\"" .. fonts.mono_bold .. "\" color=\"" .. colors.dark .. "\"> %a %d %b </span>")
|
||||||
|
local date_widget = wibox.container.background(wibox.container.margin(wibox.widget { date, layout = wibox.layout.align.horizontal }, 0, 1), colors.transparent)
|
||||||
|
|
||||||
-- Calendar
|
-- Calendar
|
||||||
local calendar = lain.widget.calendar({
|
local calendar = lain.widget.calendar({
|
||||||
cal = "cal -h",
|
cal = "cal --color=always",
|
||||||
attach_to = { clock_widget },
|
attach_to = { date_widget },
|
||||||
|
followtag = true,
|
||||||
notification_preset = {
|
notification_preset = {
|
||||||
font = fonts.mono_regular,
|
font = fonts.mono_regular,
|
||||||
fg = theme.fg_normal,
|
fg = theme.fg_normal,
|
||||||
bg = theme.bg_normal
|
bg = theme.bg_normal,
|
||||||
|
position = "top_middle",
|
||||||
|
screen = awful.mouse.screen,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -179,7 +200,7 @@ local mem = lain.widget.mem({
|
|||||||
widget:set_markup(markup.font(fonts.widget, markup.fg.color(theme.fg_widget, " " .. mem_now.used .. "MB [" .. mem_now.perc .. "%]")))
|
widget:set_markup(markup.font(fonts.widget, markup.fg.color(theme.fg_widget, " " .. mem_now.used .. "MB [" .. mem_now.perc .. "%]")))
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
local mem_widget = wibox.container.background(wibox.container.margin(wibox.widget { image.icons.mem, mem.widget, layout = wibox.layout.align.horizontal }, 0, 0), colors.widget_bg)
|
local mem_widget = wibox.widget { image.icons.mem, mem.widget, layout = wibox.layout.align.horizontal }
|
||||||
|
|
||||||
|
|
||||||
-- CPU
|
-- CPU
|
||||||
@ -188,50 +209,73 @@ local cpu = lain.widget.cpu({
|
|||||||
widget:set_markup(markup.font(fonts.widget, markup.fg.color(theme.fg_widget, " " .. cpu_now.usage .. "% ")))
|
widget:set_markup(markup.font(fonts.widget, markup.fg.color(theme.fg_widget, " " .. cpu_now.usage .. "% ")))
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
local cpu_widget = wibox.container.background(wibox.container.margin(wibox.widget { image.icons.cpu, cpu.widget, layout = wibox.layout.align.horizontal }, 0, 0), colors.widget_bg)
|
local cpu_widget = wibox.widget { image.icons.cpu, cpu.widget, layout = wibox.layout.align.horizontal }
|
||||||
|
|
||||||
|
|
||||||
-- Coretemp (lain, average)
|
-- Coretemp (lain, average)
|
||||||
local temp_icon = wibox.widget.imagebox(theme.widget_temp)
|
local temp_icon = wibox.widget.imagebox(theme.widget_temp)
|
||||||
local temp = lain.widget.temp({
|
local temp = lain.widget.temp({
|
||||||
|
tempfile = "/sys/class/thermal/thermal_zone2/temp",
|
||||||
settings = function()
|
settings = function()
|
||||||
widget:set_markup(markup.font(fonts.widget, markup.fg.color(theme.fg_widget, " " .. coretemp_now .. "° ")))
|
widget:set_markup(markup.font(fonts.widget, markup.fg.color(theme.fg_widget, string.format(" %.1f° ", coretemp_now))))
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
local temp_widget = wibox.container.background(wibox.container.margin(wibox.widget { image.icons.temp, temp.widget, layout = wibox.layout.align.horizontal }, 0, 0), colors.widget_bg)
|
local temp_widget = wibox.widget { image.icons.temp, temp.widget, layout = wibox.layout.align.horizontal }
|
||||||
|
|
||||||
|
|
||||||
-- FS
|
-- FS
|
||||||
-- local fs_icon = wibox.widget.imagebox(theme.widget_hdd)
|
local fs_icon = wibox.widget.imagebox(theme.widget_hdd)
|
||||||
-- local fs = lain.widget.fs({
|
local fs = lain.widget.fs({
|
||||||
-- notification_preset = { fg = theme.fg_normal, bg = theme.bg_normal, font = fonts.widget },
|
notification_preset = { fg = theme.fg_normal, bg = theme.bg_normal, font = fonts.widget },
|
||||||
-- settings = function()
|
followtag = true,
|
||||||
-- local fsp = string.format(" %3.2f %s ", fs_now["/home"].free, fs_now["/home"].units)
|
settings = function()
|
||||||
-- widget:set_markup(markup.font(fonts.widget, markup.fg.color(theme.fg_widget, fsp)))
|
local fsp = string.format(" %3.2f %s ", fs_now["/home"].free, fs_now["/home"].units)
|
||||||
-- end
|
widget:set_markup(markup.font(fonts.widget, markup.fg.color(theme.fg_widget, fsp)))
|
||||||
-- })
|
end
|
||||||
-- local fs_widget = wibox.container.background(wibox.container.margin(wibox.widget { image.icons.hdd, fs.widget, layout = wibox.layout.align.horizontal }, 0, 0), colors.widget_bg)
|
})
|
||||||
|
local fs_widget = wibox.widget { image.icons.hdd, fs.widget, layout = wibox.layout.align.horizontal }
|
||||||
|
|
||||||
|
-- -- Mic
|
||||||
|
local mic = lain.widget.alsa({
|
||||||
|
channel = "Capture",
|
||||||
|
settings = function ()
|
||||||
|
if volume_now.status == "on" then
|
||||||
|
image.icons.mic = image.icons.mic_on
|
||||||
|
else
|
||||||
|
image.icons.mic = image.icons.mic_off
|
||||||
|
end
|
||||||
|
|
||||||
|
widget:set_markup(markup.font(fonts.widget, markup.fg.color(theme.fg_widget, string.format(" %s [%d%%]", volume_now.status, volume_now.level))))
|
||||||
|
end
|
||||||
|
})
|
||||||
|
local mic_widget = wibox.widget { image.icons.mic, mic.widget, layout = wibox.layout.align.horizontal }
|
||||||
|
|
||||||
function theme.connect(s)
|
function theme.connect(s)
|
||||||
-- Quake application
|
-- Quake application
|
||||||
s.quake = lain.util.quake({ app = awful.util.terminal })
|
s.quake = lain.util.quake({
|
||||||
|
app = "ghostwriter",
|
||||||
|
followtag = true,
|
||||||
|
width = 0.5,
|
||||||
|
height = 1,
|
||||||
|
})
|
||||||
|
|
||||||
-- If wallpaper is a function, call it with the screen
|
-- If wallpaper is a function, call it with the screen
|
||||||
local wallpaper = theme.wallpaper
|
local wallpaper = theme.wallpaper
|
||||||
if type(wallpaper) == "function" then
|
if type(wallpaper) == "function" then
|
||||||
wallpaper = wallpaper(s)
|
wallpaper = wallpaper(s)
|
||||||
end
|
end
|
||||||
|
|
||||||
gears.wallpaper.maximized(wallpaper, s, true)
|
gears.wallpaper.maximized(wallpaper, s, true)
|
||||||
|
|
||||||
-- Tags
|
-- Tags
|
||||||
--awful.tag(awful.util.tagnames, s, awful.layout.layouts[1])
|
--awful.tag(awful.util.tagnames, s, awful.layout.layouts[1])
|
||||||
layout = {
|
layout = {
|
||||||
awful.layout.layouts[3],
|
awful.layout.layouts[1],
|
||||||
awful.layout.layouts[10],
|
awful.layout.layouts[1],
|
||||||
awful.layout.layouts[8],
|
awful.layout.layouts[8],
|
||||||
awful.layout.layouts[7],
|
awful.layout.layouts[7],
|
||||||
awful.layout.layouts[10],
|
awful.layout.layouts[6],
|
||||||
awful.layout.layouts[10],
|
awful.layout.layouts[1],
|
||||||
}
|
}
|
||||||
awful.tag({ " </> ", " >_ ", " web ", " & ", " etc ", " # " }, s, layout)
|
awful.tag({ " </> ", " >_ ", " web ", " & ", " etc ", " # " }, s, layout)
|
||||||
|
|
||||||
@ -246,28 +290,121 @@ function theme.connect(s)
|
|||||||
awful.button({ }, 4, function () awful.layout.inc( 1) end),
|
awful.button({ }, 4, function () awful.layout.inc( 1) end),
|
||||||
awful.button({ }, 5, function () awful.layout.inc(-1) end)))
|
awful.button({ }, 5, function () awful.layout.inc(-1) end)))
|
||||||
-- Create a taglist widget
|
-- Create a taglist widget
|
||||||
s.mytaglist = awful.widget.taglist(s, awful.widget.taglist.filter.all, awful.util.taglist_buttons)
|
s.mytaglist = awful.widget.taglist {
|
||||||
|
screen = s,
|
||||||
|
filter = awful.widget.taglist.filter.all,
|
||||||
|
style = {
|
||||||
|
shape = function(cr, width, height) return gears.shape.parallelogram(cr, width, height, width - 8) end
|
||||||
|
},
|
||||||
|
layout = {
|
||||||
|
spacing = 4,
|
||||||
|
layout = wibox.layout.fixed.horizontal,
|
||||||
|
},
|
||||||
|
widget_template = {
|
||||||
|
{
|
||||||
|
{
|
||||||
|
{
|
||||||
|
id = 'text_role',
|
||||||
|
widget = wibox.widget.textbox,
|
||||||
|
},
|
||||||
|
layout = wibox.layout.fixed.horizontal,
|
||||||
|
},
|
||||||
|
left = 16,
|
||||||
|
right = 16,
|
||||||
|
widget = wibox.container.margin
|
||||||
|
},
|
||||||
|
id = 'background_role',
|
||||||
|
widget = wibox.container.background,
|
||||||
|
},
|
||||||
|
buttons = awful.util.taglist_buttons
|
||||||
|
}
|
||||||
|
|
||||||
-- Create a tasklist widget
|
-- Create a tasklist widget
|
||||||
--s.mytasklist = awful.widget.tasklist(s, awful.widget.tasklist.filter.currenttags, awful.util.tasklist_buttons)
|
--s.mytasklist = awful.widget.tasklist(s, awful.widget.tasklist.filter.currenttags, awful.util.tasklist_buttons)
|
||||||
|
|
||||||
-- Create the wibox
|
-- Create the wibox
|
||||||
s.mywibox = awful.wibar({ position = "top", screen = s, height = 16, bg = theme.bg_wibar, fg = theme.fg_wibar, })
|
s.mywibox = awful.wibar({ position = "top", screen = s, height = 26, bg = theme.bg_wibar, fg = theme.fg_wibar, type = dock })
|
||||||
|
|
||||||
s.tray = wibox.widget.systray()
|
s.tray = wibox.widget.systray()
|
||||||
|
|
||||||
|
s.mytasklist = awful.widget.tasklist {
|
||||||
|
screen = s,
|
||||||
|
filter = awful.widget.tasklist.filter.focused,
|
||||||
|
layout = {
|
||||||
|
spacing = 10,
|
||||||
|
layout = wibox.layout.flex.horizontal
|
||||||
|
},
|
||||||
|
widget_template = {
|
||||||
|
{
|
||||||
|
{
|
||||||
|
{
|
||||||
|
id = 'icon_role',
|
||||||
|
widget = wibox.widget.imagebox,
|
||||||
|
},
|
||||||
|
top = 5,
|
||||||
|
bottom = 5,
|
||||||
|
right = 10,
|
||||||
|
widget = wibox.container.margin,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id = 'text_role',
|
||||||
|
widget = wibox.widget.textbox,
|
||||||
|
},
|
||||||
|
layout = wibox.layout.fixed.horizontal,
|
||||||
|
},
|
||||||
|
left = 20,
|
||||||
|
right = 20,
|
||||||
|
widget = wibox.container.margin
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
-- s.tray:setup {
|
||||||
|
-- layout = wibox.layout.margin,
|
||||||
|
-- widget = wibox.container.background,
|
||||||
|
-- bg = "#ff0000"
|
||||||
|
-- }
|
||||||
|
|
||||||
-- Add widgets to the wibox
|
-- Add widgets to the wibox
|
||||||
s.mywibox:setup {
|
s.mywibox:setup {
|
||||||
layout = wibox.layout.align.horizontal,
|
layout = wibox.layout.align.horizontal,
|
||||||
|
widget = wibox.container.background,
|
||||||
|
bg = "#ffa90060",
|
||||||
|
expand = 'none',
|
||||||
{ -- Left widgets
|
{ -- Left widgets
|
||||||
|
layout = wibox.layout.margin,
|
||||||
|
left = 8,
|
||||||
|
{
|
||||||
layout = wibox.layout.fixed.horizontal,
|
layout = wibox.layout.fixed.horizontal,
|
||||||
s.mytaglist,
|
s.mytaglist,
|
||||||
|
s.mytasklist,
|
||||||
s.mypromptbox,
|
s.mypromptbox,
|
||||||
|
}
|
||||||
},
|
},
|
||||||
-- s.mytasklist, -- Middle widget
|
-- s.mytasklist, -- Middle widget
|
||||||
nil,
|
{
|
||||||
{ -- Right widgets
|
|
||||||
layout = wibox.layout.fixed.horizontal,
|
layout = wibox.layout.fixed.horizontal,
|
||||||
|
date_widget,
|
||||||
|
},
|
||||||
|
{ -- Right widgets
|
||||||
|
layout = wibox.layout.margin,
|
||||||
|
top = 2, bottom = 2,
|
||||||
|
{
|
||||||
|
layout = wibox.layout.fixed.horizontal,
|
||||||
|
spacing = 8,
|
||||||
|
-- stat
|
||||||
|
{
|
||||||
|
widget = wibox.container.background,
|
||||||
|
shape = function (cr, w, h) gears.shape.rounded_rect(cr, w, h, 4) end,
|
||||||
|
color = "#000000",
|
||||||
|
bg = "#00000000",
|
||||||
|
{
|
||||||
|
layout = wibox.layout.margin,
|
||||||
|
left = 8, right = 8,
|
||||||
|
{
|
||||||
|
layout = wibox.layout.fixed.horizontal,
|
||||||
|
spacing = 8,
|
||||||
|
-- Mic widget
|
||||||
|
mic_widget,
|
||||||
-- Fs widget
|
-- Fs widget
|
||||||
fs_widget,
|
fs_widget,
|
||||||
-- Temp
|
-- Temp
|
||||||
@ -276,19 +413,44 @@ function theme.connect(s)
|
|||||||
cpu_widget,
|
cpu_widget,
|
||||||
-- Mem widget
|
-- Mem widget
|
||||||
mem_widget,
|
mem_widget,
|
||||||
-- Clock
|
}
|
||||||
clock_widget,
|
}
|
||||||
-- tray
|
},
|
||||||
image.systray_start,
|
-- tray
|
||||||
{
|
{
|
||||||
s.tray,
|
widget = wibox.container.background,
|
||||||
layout = wibox.layout.margin,
|
shape = function (cr, w, h) gears.shape.rounded_rect(cr, w, h, 4) end,
|
||||||
color = "#000000",
|
bg = "#FF9800",
|
||||||
left = 5, right = 5
|
{
|
||||||
|
layout = wibox.layout.margin,
|
||||||
|
left = 8, right = 8, top = 2, bottom = 2,
|
||||||
|
{
|
||||||
|
layout = wibox.layout.fixed.horizontal,
|
||||||
|
spacing = 8,
|
||||||
|
s.tray,
|
||||||
|
clock_widget,
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
image.systray_end,
|
|
||||||
-- Layout box
|
-- Layout box
|
||||||
|
{
|
||||||
|
layout = wibox.layout.margin,
|
||||||
|
right = 8,
|
||||||
|
{
|
||||||
|
widget = wibox.container.background,
|
||||||
|
bg = "#00000000",
|
||||||
|
shape = function (cr, w, h) gears.shape.rounded_rect(cr, w, h, 4) end,
|
||||||
|
{
|
||||||
|
layout = wibox.layout.margin,
|
||||||
s.mylayoutbox,
|
s.mylayoutbox,
|
||||||
|
left = 8,
|
||||||
|
right = 8,
|
||||||
|
top = 2,
|
||||||
|
bottom = 2,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
BIN
awesome/themes/kadet/wallpapers/kadet.png
Normal file
After Width: | Height: | Size: 906 KiB |
Before Width: | Height: | Size: 757 KiB |
27
install.sh
@ -9,19 +9,20 @@ curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
|
|||||||
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
|
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
|
||||||
|
|
||||||
# install zsh plugins
|
# install zsh plugins
|
||||||
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
||||||
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
|
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
|
||||||
|
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
|
||||||
mkdir -p ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/themes
|
|
||||||
|
|
||||||
git clone https://github.com/ergenekonyigit/lambda-gitster.git
|
|
||||||
cp lambda-gitster/*.zsh-theme ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/themes
|
|
||||||
|
|
||||||
# symlinks
|
# symlinks
|
||||||
ln -s $DIR/.vimrc ~/.vimrc
|
ln -sf $DIR/.vimrc ~/.vimrc
|
||||||
ln -s $DIR/.ideavimrc ~/.ideavimrc
|
ln -sf $DIR/.ideavimrc ~/.ideavimrc
|
||||||
ln -s $DIR/.gitconfig ~/.gitconfig
|
ln -sf $DIR/.gitconfig ~/.gitconfig
|
||||||
ln -s $DIR/.zshrc ~/.zshrc
|
ln -sf $DIR/.zshrc ~/.zshrc
|
||||||
ln -s $DIR/.Xdefaults ~/.Xdefaults
|
ln -sf $DIR/.Xdefaults ~/.Xdefaults
|
||||||
|
ln -sf $DIR/.p10k.zsh ~/.p10k.zsh
|
||||||
|
ln -sf $DIR/picom.conf ~/.config/picom.conf
|
||||||
|
|
||||||
ln -s $DIR/awesome/ ~/.config/awesome/
|
ln -sf $DIR/awesome/ ~/.config/awesome/
|
||||||
|
ln -sf $DIR/kitty/ ~/.config/kitty/
|
||||||
|
ln -sf $DIR/nvim/ ~/.config/nvim/
|
||||||
|
ln -sf $DIR/rofi/ ~/.config/rofi/
|
||||||
|
32
kitty/kitty.conf
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
font_family Fira Code Medium
|
||||||
|
font_size 9.0
|
||||||
|
|
||||||
|
adjust_column_width -1
|
||||||
|
|
||||||
|
disable_ligratures never
|
||||||
|
|
||||||
|
window_padding_width 7
|
||||||
|
|
||||||
|
background_opacity 0.9
|
||||||
|
|
||||||
|
background #0d0f18
|
||||||
|
foreground #fffaf3
|
||||||
|
cursor #fffaf3
|
||||||
|
selection_background #002a3a
|
||||||
|
color0 #222222
|
||||||
|
color8 #444444
|
||||||
|
color1 #ff000f
|
||||||
|
color9 #ff273f
|
||||||
|
color2 #8ce00a
|
||||||
|
color10 #abe05a
|
||||||
|
color3 #ffb900
|
||||||
|
color11 #ffd141
|
||||||
|
color4 #008df8
|
||||||
|
color12 #0092ff
|
||||||
|
color5 #6c43a5
|
||||||
|
color13 #9a5feb
|
||||||
|
color6 #00d7eb
|
||||||
|
color14 #67ffef
|
||||||
|
color7 #ffffff
|
||||||
|
color15 #ffffff
|
||||||
|
selection_foreground #0d0f18
|
6
nvim/ginit.vim
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
" Author : kadet
|
||||||
|
" Created : 19/02/2019
|
||||||
|
" License : MIT
|
||||||
|
" Description :
|
||||||
|
|
||||||
|
:set guifont=Fira\ Mono\ Medium:h9
|
218
nvim/init.vim
Normal file
@ -0,0 +1,218 @@
|
|||||||
|
if has('win32') || has ('win64')
|
||||||
|
let $VIMHOME = $HOME."/vimfiles"
|
||||||
|
|
||||||
|
set backupdir=$TEMP//
|
||||||
|
set directory=$TEMP//
|
||||||
|
else
|
||||||
|
let $VIMHOME = $HOME."/.vim"
|
||||||
|
endif
|
||||||
|
|
||||||
|
let g:vimtex_compiler_progname = "nvr"
|
||||||
|
let g:vimtex_view_method = 'zathura'
|
||||||
|
" let g:vimtex_latexmk_options = '-pdf -bibtex -pdflatex="xelatex -synctex=1 \%S \%O" -verbose -file-line-error -interaction=nonstopmode'
|
||||||
|
let g:deoplete#enable_at_startup = 1
|
||||||
|
|
||||||
|
set mouse=a
|
||||||
|
|
||||||
|
let g:tmpl_search_paths = [ $VIMHOME.'/templates' ]
|
||||||
|
|
||||||
|
call plug#begin($VIMHOME.'/plugged')
|
||||||
|
" Plug 'terryma/vim-multiple-cursors'
|
||||||
|
Plug 'thinca/vim-localrc'
|
||||||
|
Plug 'vim-airline/vim-airline'
|
||||||
|
Plug 'vim-airline/vim-airline-themes'
|
||||||
|
Plug 'rafi/awesome-vim-colorschemes'
|
||||||
|
Plug 'lervag/vimtex'
|
||||||
|
Plug 'tpope/vim-surround'
|
||||||
|
Plug 'airblade/vim-gitgutter'
|
||||||
|
Plug 'tpope/vim-commentary'
|
||||||
|
Plug 'tpope/vim-repeat'
|
||||||
|
Plug 'tibabit/vim-templates'
|
||||||
|
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||||
|
Plug 'gootorov/q-sharp.vim'
|
||||||
|
Plug 'tpope/vim-fugitive'
|
||||||
|
Plug 'junegunn/fzf.vim'
|
||||||
|
Plug 'simnalamburt/vim-mundo'
|
||||||
|
Plug 'autozimu/LanguageClient-neovim', {
|
||||||
|
\ 'branch': 'next',
|
||||||
|
\ 'do': 'bash install.sh',
|
||||||
|
\ }
|
||||||
|
|
||||||
|
" load local plugins
|
||||||
|
if filereadable("~/.local-plugins.vimrc")
|
||||||
|
source "~/.local-plugins.vimrc"
|
||||||
|
endif
|
||||||
|
call plug#end()
|
||||||
|
|
||||||
|
let g:deoplete#enable_at_startup = 1
|
||||||
|
let g:deoplete#disable_auto_complete = 1
|
||||||
|
|
||||||
|
let g:LanguageClient_serverCommands = {
|
||||||
|
\ 'python': ['/home/kadet/.config/nvim/venv/env/bin/pyls'],
|
||||||
|
\ 'c': ['clangd'],
|
||||||
|
\ }
|
||||||
|
|
||||||
|
call deoplete#custom#var('omni', 'input_patterns', {
|
||||||
|
\ 'tex': g:vimtex#re#deoplete
|
||||||
|
\})
|
||||||
|
|
||||||
|
set colorcolumn=80,120
|
||||||
|
set t_Co=256
|
||||||
|
set diffopt+=vertical
|
||||||
|
|
||||||
|
"
|
||||||
|
" My own config
|
||||||
|
"
|
||||||
|
|
||||||
|
" one time settings
|
||||||
|
if !exists("g:running")
|
||||||
|
" " Conemu specific settings
|
||||||
|
" if !has('gui_running') && !has('nvim')
|
||||||
|
" set term=xterm
|
||||||
|
|
||||||
|
" inoremap <Char-0x07F> <BS>
|
||||||
|
" nnoremap <Char-0x07F> <BS>
|
||||||
|
|
||||||
|
" let &t_AB="\e[48;5;%dm"
|
||||||
|
" let &t_AF="\e[38;5;%dm"
|
||||||
|
|
||||||
|
" inoremap <Esc>[62~ <C-X><C-E>
|
||||||
|
" inoremap <Esc>[63~ <C-X><C-Y>
|
||||||
|
" nnoremap <Esc>[62~ <C-E>
|
||||||
|
" nnoremap <Esc>[63~ <C-Y>
|
||||||
|
" endif
|
||||||
|
|
||||||
|
if has('gui_running')
|
||||||
|
set guifont=Fira_Code_Medium:h9:cANSI:qDRAFT
|
||||||
|
set guioptions=
|
||||||
|
|
||||||
|
set columns=200
|
||||||
|
set lines=58
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
let g:running = 1
|
||||||
|
|
||||||
|
" UTF-8 support
|
||||||
|
if has("multi_byte")
|
||||||
|
if &termencoding == ""
|
||||||
|
let &termencoding = &encoding
|
||||||
|
endif
|
||||||
|
set enc=utf-8
|
||||||
|
set encoding=utf-8
|
||||||
|
setglobal fileencoding=utf-8
|
||||||
|
" setglobal bomb
|
||||||
|
" set fileencodings=ucs-bom,utf-8,latin1
|
||||||
|
endif
|
||||||
|
|
||||||
|
" undo
|
||||||
|
set undofile
|
||||||
|
set undodir=$VIMHOME/undo
|
||||||
|
set undolevels=1000
|
||||||
|
|
||||||
|
" i like to have ctrl-x menu
|
||||||
|
set shortmess-=c
|
||||||
|
|
||||||
|
" Required for operations modifying multiple buffers like rename.
|
||||||
|
set hidden
|
||||||
|
set splitbelow
|
||||||
|
set shellslash
|
||||||
|
|
||||||
|
" set backspace=2
|
||||||
|
set autoindent
|
||||||
|
|
||||||
|
" tabs
|
||||||
|
set expandtab
|
||||||
|
set tabstop=4
|
||||||
|
set shiftwidth=4
|
||||||
|
|
||||||
|
" syntax
|
||||||
|
syntax on
|
||||||
|
set number
|
||||||
|
|
||||||
|
" colors
|
||||||
|
set termguicolors
|
||||||
|
colorscheme molokai
|
||||||
|
|
||||||
|
" disable bells
|
||||||
|
set noeb vb t_vb=
|
||||||
|
|
||||||
|
let &t_SI = "\<Esc>[6 q"
|
||||||
|
let &t_SR = "\<Esc>[6 q"
|
||||||
|
let &t_EI = "\<Esc>[2 q"
|
||||||
|
|
||||||
|
" filetypes
|
||||||
|
" autocmd FileType c,cpp :compiler cl
|
||||||
|
au FileType asm :set ft=masm
|
||||||
|
au FileType tex :set tw=120 spell spelllang=pl ft=tex
|
||||||
|
|
||||||
|
" airline
|
||||||
|
let g:airline_powerline_fonts = 0
|
||||||
|
let g:airline_theme = "powerlineish"
|
||||||
|
let g:airline#extensions#tabline#enabled = 1
|
||||||
|
|
||||||
|
" ctrlp
|
||||||
|
let g:ctrlp_switch_buffer = 'Et'
|
||||||
|
|
||||||
|
" ycm config
|
||||||
|
let g:ycm_confirm_extra_conf = 0
|
||||||
|
|
||||||
|
" vim surround
|
||||||
|
let g:surround_{char2nr('c')} = "\\\1command\1{\r}"
|
||||||
|
|
||||||
|
" no arrows
|
||||||
|
nnoremap <Left> <Nop>
|
||||||
|
nnoremap <Right> <Nop>
|
||||||
|
nnoremap <Up> <Nop>
|
||||||
|
nnoremap <Down> <Nop>
|
||||||
|
|
||||||
|
set completeopt=longest,menuone
|
||||||
|
|
||||||
|
" remapings
|
||||||
|
nnoremap YY :%y+<CR>
|
||||||
|
|
||||||
|
nnoremap <leader><cr> :nohlsearch<cr>
|
||||||
|
|
||||||
|
noremap <leader>y "*y
|
||||||
|
noremap <leader>Y "*Y
|
||||||
|
noremap <leader>p "*p
|
||||||
|
noremap <leader>P "*P
|
||||||
|
noremap <leader>q gq<cr>
|
||||||
|
|
||||||
|
nnoremap <c-s-tab> gT
|
||||||
|
nnoremap <c-tab> gt
|
||||||
|
|
||||||
|
nnoremap <space>a ggVG
|
||||||
|
|
||||||
|
vnoremap > >gv
|
||||||
|
vnoremap < <gv
|
||||||
|
|
||||||
|
nnoremap gd< :diffget //2 | diffupdate
|
||||||
|
nnoremap gd> :diffget //3 | diffupdate
|
||||||
|
|
||||||
|
command! SetCwd :cd %:p:h
|
||||||
|
nnoremap <F4> :call LanguageClient_contextMenu()<CR>
|
||||||
|
|
||||||
|
nnoremap <F6> :SetCwd<CR>
|
||||||
|
|
||||||
|
map <F5> :set rnu!<CR>
|
||||||
|
map <C-F5> :source ~/.vimrc<CR>
|
||||||
|
|
||||||
|
vnoremap gO "py<Esc>:e <C-R>p<CR>
|
||||||
|
vnoremap gT "py<Esc>:tabe <C-R>p<CR>
|
||||||
|
|
||||||
|
inoremap <silent><expr> <C-Space>
|
||||||
|
\ pumvisible() ? "\<C-n>" :
|
||||||
|
\ <SID>check_back_space() ? "\<TAB>" :
|
||||||
|
\ deoplete#manual_complete()
|
||||||
|
function! s:check_back_space() abort "{{{
|
||||||
|
let col = col('.') - 1
|
||||||
|
return !col || getline('.')[col - 1] =~ '\s'
|
||||||
|
endfunction"}}}
|
||||||
|
|
||||||
|
nmap \\ :Files<CR>
|
||||||
|
|
||||||
|
" local settings
|
||||||
|
if filereadable("~/.local.vimrc")
|
||||||
|
source "~/.local.vimrc"
|
||||||
|
endif
|
63
nvim/spell/pl.utf-8.add
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
progowaniem
|
||||||
|
progowaniu
|
||||||
|
progowanie
|
||||||
|
progowania
|
||||||
|
Lakunarność
|
||||||
|
Perlina
|
||||||
|
unaturalnić
|
||||||
|
Minecraft
|
||||||
|
Bourke
|
||||||
|
Kena
|
||||||
|
predefiniowanych
|
||||||
|
turowych
|
||||||
|
Fortune
|
||||||
|
Woronoja
|
||||||
|
Delone
|
||||||
|
Delaunay
|
||||||
|
teselacją
|
||||||
|
implementacyjne
|
||||||
|
samoprzecinania
|
||||||
|
parkietaż
|
||||||
|
wypozycjonowaniu
|
||||||
|
parametryzowalność
|
||||||
|
parametryzowalnych
|
||||||
|
parametryzacji
|
||||||
|
Parametryzacja
|
||||||
|
podgraf
|
||||||
|
ustrukturyzowane
|
||||||
|
ustrukturyzowanych
|
||||||
|
nieustrukturyzowane
|
||||||
|
podgrafem
|
||||||
|
podgrafami
|
||||||
|
podgrafów
|
||||||
|
Konceptualnie
|
||||||
|
podgrafy
|
||||||
|
ustandaryzowanym
|
||||||
|
konceptualnie
|
||||||
|
implementacyjnie
|
||||||
|
implementacyjnym
|
||||||
|
zasobochłonności
|
||||||
|
ustandaryzowany
|
||||||
|
komentowalne
|
||||||
|
etykietowalne
|
||||||
|
przetwarzalne
|
||||||
|
niekomercyjność
|
||||||
|
bezstanowość
|
||||||
|
uruchomieniowego
|
||||||
|
uruchomieniowe
|
||||||
|
konkluzywny
|
||||||
|
percentyl
|
||||||
|
percentyla
|
||||||
|
#ediwresum
|
||||||
|
#ediwresum
|
||||||
|
fediwersum
|
||||||
|
Mastodon
|
||||||
|
usłogodawca
|
||||||
|
przetwarzalnej
|
||||||
|
inicjalizacji
|
||||||
|
kolejkowania
|
||||||
|
inicjalizację
|
||||||
|
inicjalizacją
|
||||||
|
uruchomieniowych
|
||||||
|
wirtualizacji
|
||||||
|
zwirtualizowanego
|
BIN
nvim/spell/pl.utf-8.add.spl
Normal file
133
picom.conf
Normal file
@ -0,0 +1,133 @@
|
|||||||
|
fading = false;
|
||||||
|
fade-in-step = 0.2;
|
||||||
|
fade-out-step = 0.2;
|
||||||
|
|
||||||
|
#################################
|
||||||
|
#
|
||||||
|
# Shadows
|
||||||
|
#
|
||||||
|
#################################
|
||||||
|
|
||||||
|
# Enabled client-side shadows on windows.
|
||||||
|
shadow = true;
|
||||||
|
# The blur radius for shadows. (default 12)
|
||||||
|
shadow-radius = 18;
|
||||||
|
# The left offset for shadows. (default -15)
|
||||||
|
shadow-offset-x = -16;
|
||||||
|
# The top offset for shadows. (default -15)
|
||||||
|
shadow-offset-y = -16;
|
||||||
|
# The translucency for shadows. (default .75)
|
||||||
|
shadow-opacity = 0.45;
|
||||||
|
|
||||||
|
# Set if you want different colour shadows
|
||||||
|
# shadow-red = 0.0;
|
||||||
|
# shadow-green = 0.0;
|
||||||
|
# shadow-blue = 0.0;
|
||||||
|
|
||||||
|
# The shadow exclude options are helpful if you have shadows enabled. Due to the way compton draws its shadows, certain applications will have visual glitches
|
||||||
|
# (most applications are fine, only apps that do weird things with xshapes or argb are affected).
|
||||||
|
# This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher.
|
||||||
|
shadow-exclude = [
|
||||||
|
"! name~=''",
|
||||||
|
"name = 'Notification'",
|
||||||
|
"name = 'Plank'",
|
||||||
|
"name = 'Docky'",
|
||||||
|
"name = 'Kupfer'",
|
||||||
|
"name = 'xfce4-notifyd'",
|
||||||
|
"name *= 'VLC'",
|
||||||
|
"name *= 'compton'",
|
||||||
|
"name *= 'Chromium'",
|
||||||
|
"name *= 'Chrome'",
|
||||||
|
"name *= 'wrapper-2.0'",
|
||||||
|
"class_g = 'firefoxdeveloperedition' && argb",
|
||||||
|
"class_g = 'firefoxdeveloperedition' && window_type *= 'menu'",
|
||||||
|
"class_g = 'Conky'",
|
||||||
|
"class_g = 'Kupfer'",
|
||||||
|
"class_g = 'Synapse'",
|
||||||
|
"class_g ?= 'Notify-osd'",
|
||||||
|
"class_g ?= 'Cairo-dock'",
|
||||||
|
"class_g ?= 'Xfce4-notifyd'",
|
||||||
|
"class_g ?= 'Xfce4-power-manager'",
|
||||||
|
"_GTK_FRAME_EXTENTS@:c",
|
||||||
|
"class_g = 'Peek'",
|
||||||
|
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
|
||||||
|
];
|
||||||
|
|
||||||
|
blur-background-exclude = [
|
||||||
|
"! name~=''",
|
||||||
|
"name = 'Notification'",
|
||||||
|
"name = 'Plank'",
|
||||||
|
"name = 'Docky'",
|
||||||
|
"name = 'Kupfer'",
|
||||||
|
"name = 'xfce4-notifyd'",
|
||||||
|
"name *= 'VLC'",
|
||||||
|
"name *= 'compton'",
|
||||||
|
"name *= 'Chromium'",
|
||||||
|
"name *= 'Chrome'",
|
||||||
|
"name *= 'wrapper-2.0'",
|
||||||
|
"class_g = 'firefoxdeveloperedition' && argb",
|
||||||
|
"class_g = 'firefoxdeveloperedition' && window_type *= 'menu'",
|
||||||
|
"class_g = 'Conky'",
|
||||||
|
"class_g = 'Kupfer'",
|
||||||
|
"class_g = 'Synapse'",
|
||||||
|
"class_g ?= 'Notify-osd'",
|
||||||
|
"class_g ?= 'Cairo-dock'",
|
||||||
|
"class_g ?= 'Xfce4-notifyd'",
|
||||||
|
"class_g ?= 'Xfce4-power-manager'",
|
||||||
|
"_GTK_FRAME_EXTENTS@:c",
|
||||||
|
"class_g = 'Peek'",
|
||||||
|
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
|
||||||
|
];
|
||||||
|
|
||||||
|
fade-exclude = [
|
||||||
|
"class_g = 'Peek'"
|
||||||
|
];
|
||||||
|
|
||||||
|
focus-exclude = [
|
||||||
|
"class_g = 'Peek'"
|
||||||
|
];
|
||||||
|
|
||||||
|
opacity-rule = [
|
||||||
|
"99:class_g = 'Peek'"
|
||||||
|
];
|
||||||
|
|
||||||
|
# Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners)
|
||||||
|
|
||||||
|
unredir-if-possible = false;
|
||||||
|
|
||||||
|
wintypes:
|
||||||
|
{
|
||||||
|
tooltip =
|
||||||
|
{
|
||||||
|
fade = false;
|
||||||
|
shadow = false;
|
||||||
|
opacity = 1;
|
||||||
|
focus = true;
|
||||||
|
};
|
||||||
|
menu =
|
||||||
|
{
|
||||||
|
fade = false;
|
||||||
|
shadow = false;
|
||||||
|
opacity = 1;
|
||||||
|
focus = true;
|
||||||
|
blur-background = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
dropdown_menu = { shadow = false; };
|
||||||
|
popup_menu = { shadow = false; };
|
||||||
|
|
||||||
|
blur-background = true;
|
||||||
|
blur-background-frame = true;
|
||||||
|
blur-background-fixed = true;
|
||||||
|
blur-kern = "7x7box";
|
||||||
|
blur-method = "kernel";
|
||||||
|
|
||||||
|
backend = "xrender";
|
||||||
|
|
||||||
|
|
||||||
|
glx-no-stencil = true;
|
||||||
|
glx-copy-from-front = false;
|
||||||
|
glx-no-rebind-pixmap = true;
|
||||||
|
|
||||||
|
|
141
rofi/config.rasi
Normal file
@ -0,0 +1,141 @@
|
|||||||
|
configuration {
|
||||||
|
/* modi: "window,run,ssh";*/
|
||||||
|
/* width: 50;*/
|
||||||
|
/* lines: 15;*/
|
||||||
|
/* columns: 1;*/
|
||||||
|
/* font: "mono 12";*/
|
||||||
|
/* bw: 1;*/
|
||||||
|
/* location: 0;*/
|
||||||
|
/* padding: 5;*/
|
||||||
|
/* yoffset: 0;*/
|
||||||
|
/* xoffset: 0;*/
|
||||||
|
/* fixed-num-lines: true;*/
|
||||||
|
/* show-icons: false;*/
|
||||||
|
/* terminal: "rofi-sensible-terminal";*/
|
||||||
|
/* ssh-client: "ssh";*/
|
||||||
|
ssh-command: "kitty -e kitty +kitten {ssh-client} {host}";
|
||||||
|
/* run-command: "{cmd}";*/
|
||||||
|
/* run-list-command: "";*/
|
||||||
|
/* run-shell-command: "{terminal} -e {cmd}";*/
|
||||||
|
/* window-command: "xkill -id {window}";*/
|
||||||
|
/* window-match-fields: "all";*/
|
||||||
|
/* drun-icon-theme: ;*/
|
||||||
|
/* drun-match-fields: "name,generic,exec,categories";*/
|
||||||
|
/* disable-history: false;*/
|
||||||
|
/* sort: false;*/
|
||||||
|
/* levenshtein-sort: false;*/
|
||||||
|
/* case-sensitive: false;*/
|
||||||
|
/* cycle: true;*/
|
||||||
|
/* sidebar-mode: false;*/
|
||||||
|
/* eh: 1;*/
|
||||||
|
/* auto-select: false;*/
|
||||||
|
/* parse-hosts: false;*/
|
||||||
|
/* parse-known-hosts: true;*/
|
||||||
|
/* combi-modi: "window,run";*/
|
||||||
|
/* matching: "normal";*/
|
||||||
|
/* tokenize: true;*/
|
||||||
|
/* m: "-5";*/
|
||||||
|
/* line-margin: 2;*/
|
||||||
|
/* line-padding: 1;*/
|
||||||
|
/* filter: ;*/
|
||||||
|
/* separator-style: "dash";*/
|
||||||
|
/* hide-scrollbar: false;*/
|
||||||
|
/* fullscreen: false;*/
|
||||||
|
/* fake-transparency: false;*/
|
||||||
|
/* dpi: -1;*/
|
||||||
|
/* threads: 0;*/
|
||||||
|
/* scrollbar-width: 8;*/
|
||||||
|
/* scroll-method: 0;*/
|
||||||
|
/* fake-background: "screenshot";*/
|
||||||
|
/* window-format: "{w} {i}{c} {t}";*/
|
||||||
|
/* click-to-exit: true;*/
|
||||||
|
/* show-match: true;*/
|
||||||
|
/* theme: "kadet"; */
|
||||||
|
/* color-normal: ;*/
|
||||||
|
/* color-urgent: ;*/
|
||||||
|
/* color-active: ;*/
|
||||||
|
/* color-window: ;*/
|
||||||
|
/* max-history-size: 25;*/
|
||||||
|
/* combi-hide-mode-prefix: false;*/
|
||||||
|
/* pid: "/run/user/1000/rofi.pid";*/
|
||||||
|
/* display-window: ;*/
|
||||||
|
/* display-windowcd: ;*/
|
||||||
|
/* display-run: ;*/
|
||||||
|
/* display-ssh: ;*/
|
||||||
|
/* display-drun: ;*/
|
||||||
|
/* display-combi: ;*/
|
||||||
|
/* display-keys: ;*/
|
||||||
|
/* kb-primary-paste: "Control+V,Shift+Insert";*/
|
||||||
|
/* kb-secondary-paste: "Control+v,Insert";*/
|
||||||
|
/* kb-clear-line: "Control+w";*/
|
||||||
|
/* kb-move-front: "Control+a";*/
|
||||||
|
/* kb-move-end: "Control+e";*/
|
||||||
|
/* kb-move-word-back: "Alt+b";*/
|
||||||
|
/* kb-move-word-forward: "Alt+f";*/
|
||||||
|
/* kb-move-char-back: "Left,Control+b";*/
|
||||||
|
/* kb-move-char-forward: "Right,Control+f";*/
|
||||||
|
/* kb-remove-word-back: "Control+Alt+h,Control+BackSpace";*/
|
||||||
|
/* kb-remove-word-forward: "Control+Alt+d";*/
|
||||||
|
/* kb-remove-char-forward: "Delete,Control+d";*/
|
||||||
|
/* kb-remove-char-back: "BackSpace,Control+h";*/
|
||||||
|
/* kb-remove-to-eol: "Control+k";*/
|
||||||
|
/* kb-remove-to-sol: "Control+u";*/
|
||||||
|
/* kb-accept-entry: "Control+j,Control+m,Return,KP_Enter";*/
|
||||||
|
/* kb-accept-custom: "Control+Return";*/
|
||||||
|
/* kb-accept-alt: "Shift+Return";*/
|
||||||
|
/* kb-delete-entry: "Shift+Delete";*/
|
||||||
|
/* kb-mode-next: "Shift+Right,Control+Tab";*/
|
||||||
|
/* kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab";*/
|
||||||
|
/* kb-row-left: "Control+Page_Up";*/
|
||||||
|
/* kb-row-right: "Control+Page_Down";*/
|
||||||
|
/* kb-row-up: "Up,Control+p,ISO_Left_Tab";*/
|
||||||
|
/* kb-row-down: "Down,Control+n";*/
|
||||||
|
/* kb-row-tab: "Tab";*/
|
||||||
|
/* kb-page-prev: "Page_Up";*/
|
||||||
|
/* kb-page-next: "Page_Down";*/
|
||||||
|
/* kb-row-first: "Home,KP_Home";*/
|
||||||
|
/* kb-row-last: "End,KP_End";*/
|
||||||
|
/* kb-row-select: "Control+space";*/
|
||||||
|
/* kb-screenshot: "Alt+S";*/
|
||||||
|
/* kb-toggle-case-sensitivity: "grave,dead_grave";*/
|
||||||
|
/* kb-toggle-sort: "Alt+grave";*/
|
||||||
|
/* kb-cancel: "Escape,Control+g,Control+bracketleft";*/
|
||||||
|
/* kb-custom-1: "Alt+1";*/
|
||||||
|
/* kb-custom-2: "Alt+2";*/
|
||||||
|
/* kb-custom-3: "Alt+3";*/
|
||||||
|
/* kb-custom-4: "Alt+4";*/
|
||||||
|
/* kb-custom-5: "Alt+5";*/
|
||||||
|
/* kb-custom-6: "Alt+6";*/
|
||||||
|
/* kb-custom-7: "Alt+7";*/
|
||||||
|
/* kb-custom-8: "Alt+8";*/
|
||||||
|
/* kb-custom-9: "Alt+9";*/
|
||||||
|
/* kb-custom-10: "Alt+0";*/
|
||||||
|
/* kb-custom-11: "Alt+exclam";*/
|
||||||
|
/* kb-custom-12: "Alt+at";*/
|
||||||
|
/* kb-custom-13: "Alt+numbersign";*/
|
||||||
|
/* kb-custom-14: "Alt+dollar";*/
|
||||||
|
/* kb-custom-15: "Alt+percent";*/
|
||||||
|
/* kb-custom-16: "Alt+dead_circumflex";*/
|
||||||
|
/* kb-custom-17: "Alt+ampersand";*/
|
||||||
|
/* kb-custom-18: "Alt+asterisk";*/
|
||||||
|
/* kb-custom-19: "Alt+parenleft";*/
|
||||||
|
/* kb-select-1: "Super+1";*/
|
||||||
|
/* kb-select-2: "Super+2";*/
|
||||||
|
/* kb-select-3: "Super+3";*/
|
||||||
|
/* kb-select-4: "Super+4";*/
|
||||||
|
/* kb-select-5: "Super+5";*/
|
||||||
|
/* kb-select-6: "Super+6";*/
|
||||||
|
/* kb-select-7: "Super+7";*/
|
||||||
|
/* kb-select-8: "Super+8";*/
|
||||||
|
/* kb-select-9: "Super+9";*/
|
||||||
|
/* kb-select-10: "Super+0";*/
|
||||||
|
/* ml-row-left: "ScrollLeft";*/
|
||||||
|
/* ml-row-right: "ScrollRight";*/
|
||||||
|
/* ml-row-up: "ScrollUp";*/
|
||||||
|
/* ml-row-down: "ScrollDown";*/
|
||||||
|
/* me-select-entry: "MousePrimary";*/
|
||||||
|
/* me-accept-entry: "MouseDPrimary";*/
|
||||||
|
/* me-accept-custom: "Control+MouseDPrimary";*/
|
||||||
|
}
|
||||||
|
//@theme "/usr/share/rofi/themes/Monokai.rasi"
|
||||||
|
@theme "/home/kadet/.local/share/rofi/themes/material.rasi"
|
147
rofi/kadet.rasi
Normal file
@ -0,0 +1,147 @@
|
|||||||
|
/**
|
||||||
|
* ROFI Color theme
|
||||||
|
* User: mbfraga
|
||||||
|
* Copyright: Martin B. Fraga
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* global settings and color variables */
|
||||||
|
* {
|
||||||
|
maincolor: #ed8712;
|
||||||
|
highlight: bold #ed8712;
|
||||||
|
urgentcolor: #e53714;
|
||||||
|
|
||||||
|
fgwhite: #cfcfcf;
|
||||||
|
blackdarkest: #1d1d1d;
|
||||||
|
blackwidget: #262626;
|
||||||
|
blackentry: #292929;
|
||||||
|
blackselect: #303030;
|
||||||
|
darkgray: #848484;
|
||||||
|
scrollbarcolor: #505050;
|
||||||
|
font: "Fira Code 9";
|
||||||
|
background-color: @blackdarkest;
|
||||||
|
}
|
||||||
|
|
||||||
|
window {
|
||||||
|
background-color: @blackdarkest;
|
||||||
|
anchor: north;
|
||||||
|
location: north;
|
||||||
|
y-offset: 20%;
|
||||||
|
}
|
||||||
|
|
||||||
|
mainbox {
|
||||||
|
background-color: @blackdarkest;
|
||||||
|
spacing:0px;
|
||||||
|
children: [inputbar, message, mode-switcher, listview];
|
||||||
|
}
|
||||||
|
|
||||||
|
message {
|
||||||
|
padding: 6px 10px;
|
||||||
|
background-color:@blackwidget;
|
||||||
|
}
|
||||||
|
|
||||||
|
textbox {
|
||||||
|
text-color:@darkgray;
|
||||||
|
background-color:@blackwidget;
|
||||||
|
}
|
||||||
|
|
||||||
|
listview {
|
||||||
|
fixed-height: false;
|
||||||
|
dynamic: true;
|
||||||
|
scrollbar: true;
|
||||||
|
spacing: 0px;
|
||||||
|
padding: 1px 0px 0px 0px;
|
||||||
|
margin: 0px 0px 1px 0px;
|
||||||
|
background: @blackdarkest;
|
||||||
|
}
|
||||||
|
|
||||||
|
element {
|
||||||
|
padding: 2px 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal.normal {
|
||||||
|
padding: 0px 15px;
|
||||||
|
background-color: @blackentry;
|
||||||
|
text-color: @fgwhite;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal.urgent {
|
||||||
|
background-color: @blackentry;
|
||||||
|
text-color: @urgentcolor;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal.active {
|
||||||
|
background-color: @blackentry;
|
||||||
|
text-color: @maincolor;
|
||||||
|
}
|
||||||
|
|
||||||
|
element selected.normal {
|
||||||
|
background-color: @blackselect;
|
||||||
|
text-color: @fgwhite;
|
||||||
|
}
|
||||||
|
|
||||||
|
element selected.urgent {
|
||||||
|
background-color: @urgentcolor;
|
||||||
|
text-color: @blackdarkest;
|
||||||
|
}
|
||||||
|
|
||||||
|
element selected.active {
|
||||||
|
background-color: @maincolor;
|
||||||
|
text-color: @blackdarkest;
|
||||||
|
}
|
||||||
|
|
||||||
|
element alternate.normal {
|
||||||
|
background-color: @blackentry;
|
||||||
|
text-color: @fgwhite;
|
||||||
|
}
|
||||||
|
|
||||||
|
element alternate.urgent {
|
||||||
|
background-color: @blackentry;
|
||||||
|
text-color: @urgentcolor;
|
||||||
|
}
|
||||||
|
|
||||||
|
element alternate.active {
|
||||||
|
background-color: @blackentry;
|
||||||
|
text-color: @maincolor;
|
||||||
|
}
|
||||||
|
|
||||||
|
scrollbar {
|
||||||
|
background-color: @blackwidget;
|
||||||
|
handle-color: @darkgray;
|
||||||
|
handle-width: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
mode-switcher {
|
||||||
|
background-color: @blackwidget;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
background-color: @blackwidget;
|
||||||
|
text-color: @darkgray;
|
||||||
|
}
|
||||||
|
|
||||||
|
button selected {
|
||||||
|
text-color: @maincolor;
|
||||||
|
}
|
||||||
|
|
||||||
|
inputbar {
|
||||||
|
background-color: @blackdarkest;
|
||||||
|
spacing: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
prompt {
|
||||||
|
padding:6px 9px;
|
||||||
|
background-color: @maincolor;
|
||||||
|
text-color:@blackwidget;
|
||||||
|
}
|
||||||
|
|
||||||
|
entry {
|
||||||
|
padding:6px 10px;
|
||||||
|
background-color:@blackwidget;
|
||||||
|
text-color:@fgwhite;
|
||||||
|
}
|
||||||
|
|
||||||
|
case-indicator {
|
||||||
|
padding:6px 10px;
|
||||||
|
text-color:@maincolor;
|
||||||
|
background-color:@blackwidget;
|
||||||
|
}
|