├── debian ├── .Xresources ├── .config │ ├── gtk-3.0 │ │ ├── gtkcss │ │ └── settings.ini │ └── systemd │ │ └── user │ │ ├── default.target.wants │ │ └── ipfs.service │ │ └── ipfs.service ├── .fonts │ ├── SpaceMono-Bold.ttf │ ├── VT323-Regular.ttf │ ├── Inconsolata-Bold.ttf │ ├── Pacifico-Regular.ttf │ ├── SpaceMono-Italic.ttf │ ├── SpaceMono-Regular.ttf │ ├── DancingScript-Bold.ttf │ ├── Inconsolata-Regular.ttf │ ├── SpaceMono-BoldItalic.ttf │ ├── DancingScript-Regular.ttf │ └── SansForgetica-Regular.otf ├── .gtkrc-2.0 ├── .screenlayout │ ├── single.sh │ └── dual.sh ├── .xinitrc ├── .Xresources-light ├── .Xresources-dark ├── .profile ├── .mailcap └── .bashrc ├── tridactyl └── .config │ └── tridactyl │ ├── tridactylrc │ └── themes │ └── quakery.css ├── nix ├── .dictrc ├── .config │ ├── gtk-3.0 │ │ ├── bookmarks │ │ └── settings.ini │ ├── systemd │ │ └── user │ │ │ ├── default.target.wants │ │ │ ├── emacs.service │ │ │ └── ipfs.service │ │ │ ├── ipfs.service │ │ │ └── emacs.service │ └── alacritty.yml ├── .gtkrc-2.0 └── configuration.nix ├── commit.sh ├── vim ├── .vim │ ├── doc │ │ ├── jedi-vim.txt │ │ └── tags │ ├── plugin │ │ └── jedi.vim │ ├── autoload │ │ ├── jedi.vim │ │ └── health │ │ │ └── jedi.vim │ ├── pythonx │ │ ├── jedi_vim.py │ │ └── jedi_vim_debug.py │ ├── after │ │ ├── syntax │ │ │ └── python.vim │ │ └── ftplugin │ │ │ ├── python │ │ │ └── jedi.vim │ │ │ ├── markdown.vim │ │ │ ├── cpp.vim │ │ │ └── tex.vim │ ├── ftplugin │ │ └── python │ │ │ └── jedi.vim │ ├── gvimrc │ ├── scripts.vim │ └── vimrc └── .cache │ └── vim │ ├── swap │ └── .gitignore │ ├── undo │ └── .gitignore │ └── backup │ └── .gitignore ├── dev ├── .guile ├── .ackrc ├── .config │ └── pip │ │ └── pip.conf ├── .drirc ├── .pypirc ├── .gitconfig └── .hgrc ├── mutt └── .mutt │ ├── mailcap │ ├── muttrc │ └── colors ├── nixos-screenshot.png ├── debian-screenshot.png ├── fedora-screenshot.png ├── emacs ├── .swank.lisp └── .emacs.d │ └── init.el ├── .gitmodules ├── awesome └── .config │ └── awesome │ ├── themes │ ├── srcery │ │ ├── arrows │ │ │ ├── 0.png │ │ │ ├── 1.png │ │ │ ├── 2.png │ │ │ ├── 3.png │ │ │ ├── 4.png │ │ │ ├── 5.png │ │ │ └── 6.png │ │ ├── awesome.png │ │ ├── submenu.png │ │ ├── layouts │ │ │ ├── max.png │ │ │ ├── fairh.png │ │ │ ├── fairv.png │ │ │ ├── tile.png │ │ │ ├── cornerne.png │ │ │ ├── cornernw.png │ │ │ ├── cornerse.png │ │ │ ├── cornersw.png │ │ │ ├── dwindle.png │ │ │ ├── floating.png │ │ │ ├── spiral.png │ │ │ ├── tileleft.png │ │ │ ├── tiletop.png │ │ │ ├── fullscreen.png │ │ │ ├── magnifier.png │ │ │ └── tilebottom.png │ │ ├── taglist │ │ │ ├── square.png │ │ │ └── squaref.png │ │ ├── titlebar │ │ │ ├── close.png │ │ │ ├── normal.png │ │ │ ├── minimize.png │ │ │ ├── ontop_active.png │ │ │ ├── ontop_inactive.png │ │ │ ├── sticky_active.png │ │ │ ├── floating_active.png │ │ │ ├── floating_inactive.png │ │ │ ├── maximized_active.png │ │ │ ├── sticky_inactive.png │ │ │ └── maximized_inactive.png │ │ ├── background-2048x1152.png │ │ ├── background-2048x1280.png │ │ ├── background-2048x1536.png │ │ ├── README.md │ │ └── theme.lua │ ├── gruvbox-dark │ │ ├── awesome.png │ │ ├── submenu.png │ │ ├── arrows │ │ │ ├── 0.png │ │ │ ├── 1.png │ │ │ ├── 2.png │ │ │ ├── 3.png │ │ │ ├── 4.png │ │ │ ├── 5.png │ │ │ └── 6.png │ │ ├── layouts │ │ │ ├── max.png │ │ │ ├── tile.png │ │ │ ├── dwindle.png │ │ │ ├── fairh.png │ │ │ ├── fairv.png │ │ │ ├── spiral.png │ │ │ ├── tiletop.png │ │ │ ├── cornerne.png │ │ │ ├── cornernw.png │ │ │ ├── cornerse.png │ │ │ ├── cornersw.png │ │ │ ├── floating.png │ │ │ ├── magnifier.png │ │ │ ├── tileleft.png │ │ │ ├── fullscreen.png │ │ │ └── tilebottom.png │ │ ├── taglist │ │ │ ├── square.png │ │ │ └── squaref.png │ │ ├── titlebar │ │ │ ├── close.png │ │ │ ├── normal.png │ │ │ ├── minimize.png │ │ │ ├── ontop_active.png │ │ │ ├── sticky_active.png │ │ │ ├── floating_active.png │ │ │ ├── maximized_active.png │ │ │ ├── ontop_inactive.png │ │ │ ├── sticky_inactive.png │ │ │ ├── floating_inactive.png │ │ │ └── maximized_inactive.png │ │ ├── background-2048x1152.png │ │ ├── background-2048x1280.png │ │ ├── background-2048x1536.png │ │ ├── README.md │ │ └── theme.lua │ └── gruvbox-light │ │ ├── arrows │ │ ├── 0.png │ │ ├── 1.png │ │ ├── 2.png │ │ ├── 3.png │ │ ├── 4.png │ │ ├── 5.png │ │ └── 6.png │ │ ├── awesome.png │ │ ├── submenu.png │ │ ├── layouts │ │ ├── max.png │ │ ├── fairh.png │ │ ├── fairv.png │ │ ├── spiral.png │ │ ├── tile.png │ │ ├── cornerne.png │ │ ├── cornernw.png │ │ ├── cornerse.png │ │ ├── cornersw.png │ │ ├── dwindle.png │ │ ├── floating.png │ │ ├── tileleft.png │ │ ├── tiletop.png │ │ ├── fullscreen.png │ │ ├── magnifier.png │ │ └── tilebottom.png │ │ ├── taglist │ │ ├── square.png │ │ └── squaref.png │ │ ├── titlebar │ │ ├── close.png │ │ ├── normal.png │ │ ├── minimize.png │ │ ├── ontop_active.png │ │ ├── floating_active.png │ │ ├── ontop_inactive.png │ │ ├── sticky_active.png │ │ ├── sticky_inactive.png │ │ ├── floating_inactive.png │ │ ├── maximized_active.png │ │ └── maximized_inactive.png │ │ ├── background-2048x1152.png │ │ ├── background-2048x1280.png │ │ ├── background-2048x1536.png │ │ ├── README.md │ │ └── theme.lua │ └── rc.lua ├── .gitignore ├── audio ├── .config │ └── pulse │ │ └── daemon.conf └── .alsoftrc ├── fedora ├── .bash_profile └── .bashrc ├── README.md ├── cmus └── .config │ └── cmus │ └── comp.theme ├── zathura └── .config │ └── zathura │ └── zathurarc ├── luakit └── .config │ └── luakit │ ├── theme-dark.lua │ ├── theme-light.lua │ ├── theme.lua │ └── rc.lua └── ranger └── .config └── ranger ├── commands.py ├── scope.sh ├── rifle.conf └── rc.conf /debian/.Xresources: -------------------------------------------------------------------------------- 1 | .Xresources-dark -------------------------------------------------------------------------------- /tridactyl/.config/tridactyl/tridactylrc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /nix/.dictrc: -------------------------------------------------------------------------------- 1 | server 127.0.0.1 2 | server dict.org -------------------------------------------------------------------------------- /nix/.config/gtk-3.0/bookmarks: -------------------------------------------------------------------------------- 1 | file:///home/cee/Sources 2 | -------------------------------------------------------------------------------- /commit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | git commit -am "Update $(date -I)" 3 | -------------------------------------------------------------------------------- /vim/.vim/doc/jedi-vim.txt: -------------------------------------------------------------------------------- 1 | /usr/share/vim/addons/doc/jedi-vim.txt -------------------------------------------------------------------------------- /vim/.vim/plugin/jedi.vim: -------------------------------------------------------------------------------- 1 | /usr/share/vim/addons/plugin/jedi.vim -------------------------------------------------------------------------------- /vim/.vim/autoload/jedi.vim: -------------------------------------------------------------------------------- 1 | /usr/share/vim/addons/autoload/jedi.vim -------------------------------------------------------------------------------- /dev/.guile: -------------------------------------------------------------------------------- 1 | (use-modules (ice-9 readline)) 2 | (activate-readline) 3 | -------------------------------------------------------------------------------- /vim/.vim/pythonx/jedi_vim.py: -------------------------------------------------------------------------------- 1 | /usr/share/vim/addons/pythonx/jedi_vim.py -------------------------------------------------------------------------------- /vim/.vim/after/syntax/python.vim: -------------------------------------------------------------------------------- 1 | /usr/share/vim/addons/after/syntax/python.vim -------------------------------------------------------------------------------- /mutt/.mutt/mailcap: -------------------------------------------------------------------------------- 1 | text/html; w3m -I %{charset} -T text/html; copiousoutput; 2 | -------------------------------------------------------------------------------- /vim/.vim/autoload/health/jedi.vim: -------------------------------------------------------------------------------- 1 | /usr/share/vim/addons/autoload/health/jedi.vim -------------------------------------------------------------------------------- /vim/.vim/ftplugin/python/jedi.vim: -------------------------------------------------------------------------------- 1 | /usr/share/vim/addons/ftplugin/python/jedi.vim -------------------------------------------------------------------------------- /vim/.vim/pythonx/jedi_vim_debug.py: -------------------------------------------------------------------------------- 1 | /usr/share/vim/addons/pythonx/jedi_vim_debug.py -------------------------------------------------------------------------------- /dev/.ackrc: -------------------------------------------------------------------------------- 1 | --color 2 | --ignore-directory=is:.tox 3 | --ignore-directory=is:.mypy_cache 4 | -------------------------------------------------------------------------------- /nixos-screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/nixos-screenshot.png -------------------------------------------------------------------------------- /vim/.vim/after/ftplugin/python/jedi.vim: -------------------------------------------------------------------------------- 1 | /usr/share/vim/addons/after/ftplugin/python/jedi.vim -------------------------------------------------------------------------------- /debian-screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/debian-screenshot.png -------------------------------------------------------------------------------- /debian/.config/gtk-3.0/gtkcss: -------------------------------------------------------------------------------- 1 | .window-frame { 2 | box-shadow: none; 3 | margin: 0; 4 | } 5 | -------------------------------------------------------------------------------- /dev/.config/pip/pip.conf: -------------------------------------------------------------------------------- 1 | [global] 2 | use-feature = 3 | 2020-resolver 4 | fast-deps 5 | -------------------------------------------------------------------------------- /fedora-screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/fedora-screenshot.png -------------------------------------------------------------------------------- /nix/.config/systemd/user/default.target.wants/emacs.service: -------------------------------------------------------------------------------- 1 | /home/cee/.config/systemd/user/emacs.service -------------------------------------------------------------------------------- /nix/.config/systemd/user/default.target.wants/ipfs.service: -------------------------------------------------------------------------------- 1 | /home/cee/.config/systemd/user/ipfs.service -------------------------------------------------------------------------------- /debian/.config/systemd/user/default.target.wants/ipfs.service: -------------------------------------------------------------------------------- 1 | /home/cnx/.config/systemd/user/ipfs.service -------------------------------------------------------------------------------- /emacs/.swank.lisp: -------------------------------------------------------------------------------- 1 | (setf swank:*globally-redirect-io* t) 2 | (setf swank:*communication-style* :fd-handler) 3 | -------------------------------------------------------------------------------- /debian/.fonts/SpaceMono-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/debian/.fonts/SpaceMono-Bold.ttf -------------------------------------------------------------------------------- /debian/.fonts/VT323-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/debian/.fonts/VT323-Regular.ttf -------------------------------------------------------------------------------- /nix/.gtkrc-2.0: -------------------------------------------------------------------------------- 1 | gtk-font-name="Latin Modern Sans 12" 2 | gtk-key-theme-name="Emacs" 3 | gtk-modules=appmenu-gtk-module -------------------------------------------------------------------------------- /vim/.cache/vim/swap/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /vim/.cache/vim/undo/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /debian/.fonts/Inconsolata-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/debian/.fonts/Inconsolata-Bold.ttf -------------------------------------------------------------------------------- /debian/.fonts/Pacifico-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/debian/.fonts/Pacifico-Regular.ttf -------------------------------------------------------------------------------- /debian/.fonts/SpaceMono-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/debian/.fonts/SpaceMono-Italic.ttf -------------------------------------------------------------------------------- /debian/.fonts/SpaceMono-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/debian/.fonts/SpaceMono-Regular.ttf -------------------------------------------------------------------------------- /vim/.cache/vim/backup/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /debian/.fonts/DancingScript-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/debian/.fonts/DancingScript-Bold.ttf -------------------------------------------------------------------------------- /debian/.fonts/Inconsolata-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/debian/.fonts/Inconsolata-Regular.ttf -------------------------------------------------------------------------------- /debian/.fonts/SpaceMono-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/debian/.fonts/SpaceMono-BoldItalic.ttf -------------------------------------------------------------------------------- /vim/.vim/after/ftplugin/markdown.vim: -------------------------------------------------------------------------------- 1 | setlocal shiftwidth=4 2 | inoremap ≤ 3 | inoremap ≥ 4 | "inoremap ... … 5 | -------------------------------------------------------------------------------- /debian/.fonts/DancingScript-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/debian/.fonts/DancingScript-Regular.ttf -------------------------------------------------------------------------------- /debian/.fonts/SansForgetica-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/debian/.fonts/SansForgetica-Regular.otf -------------------------------------------------------------------------------- /debian/.gtkrc-2.0: -------------------------------------------------------------------------------- 1 | gtk-font-name = "Latin Modern Sans 12" 2 | gtk-theme-name = "CleanIce-Marble" 3 | gtk-key-theme-name = "Emacs" 4 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "debian/.urxvt/ext"] 2 | path = debian/.urxvt/ext 3 | url = https://github.com/majutsushi/urxvt-font-size 4 | -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/arrows/0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/arrows/0.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/arrows/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/arrows/1.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/arrows/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/arrows/2.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/arrows/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/arrows/3.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/arrows/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/arrows/4.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/arrows/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/arrows/5.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/arrows/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/arrows/6.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/awesome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/awesome.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/submenu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/submenu.png -------------------------------------------------------------------------------- /vim/.vim/after/ftplugin/cpp.vim: -------------------------------------------------------------------------------- 1 | " GNU Coding Standards 2 | setlocal cindent 3 | setlocal cinoptions=>4,n-2,{2,^-2,:2,=2,g0,h2,p5,t0,+2,(0,u0,w1,m1 4 | -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/layouts/max.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/layouts/max.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/awesome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/awesome.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/submenu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/submenu.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/layouts/fairh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/layouts/fairh.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/layouts/fairv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/layouts/fairv.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/layouts/tile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/layouts/tile.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/arrows/0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/arrows/0.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/arrows/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/arrows/1.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/arrows/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/arrows/2.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/arrows/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/arrows/3.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/arrows/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/arrows/4.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/arrows/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/arrows/5.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/arrows/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/arrows/6.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/arrows/0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/arrows/0.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/arrows/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/arrows/1.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/arrows/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/arrows/2.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/arrows/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/arrows/3.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/arrows/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/arrows/4.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/arrows/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/arrows/5.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/arrows/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/arrows/6.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/awesome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/awesome.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/submenu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/submenu.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/layouts/cornerne.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/layouts/cornerne.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/layouts/cornernw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/layouts/cornernw.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/layouts/cornerse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/layouts/cornerse.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/layouts/cornersw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/layouts/cornersw.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/layouts/dwindle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/layouts/dwindle.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/layouts/floating.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/layouts/floating.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/layouts/spiral.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/layouts/spiral.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/layouts/tileleft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/layouts/tileleft.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/layouts/tiletop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/layouts/tiletop.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/taglist/square.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/taglist/square.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/taglist/squaref.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/taglist/squaref.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/titlebar/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/titlebar/close.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/titlebar/normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/titlebar/normal.png -------------------------------------------------------------------------------- /debian/.config/gtk-3.0/settings.ini: -------------------------------------------------------------------------------- 1 | [Settings] 2 | gtk-font-name = Latin Modern Sans 12 3 | gtk-application-prefer-dark-theme = true 4 | gtk-key-theme-name = Emacs 5 | -------------------------------------------------------------------------------- /dev/.drirc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | -------------------------------------------------------------------------------- /vim/.vim/gvimrc: -------------------------------------------------------------------------------- 1 | runtime ftplugin/man.vim 2 | nmap K :Man 3 | set guifont=Latin\ Modern\ Mono\ 12 4 | set guioptions=cdi 5 | set guicursor+=a:blinkon0 6 | -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/layouts/max.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/layouts/max.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/layouts/tile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/layouts/tile.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/layouts/max.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/layouts/max.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/layouts/fullscreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/layouts/fullscreen.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/layouts/magnifier.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/layouts/magnifier.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/layouts/tilebottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/layouts/tilebottom.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/titlebar/minimize.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/titlebar/minimize.png -------------------------------------------------------------------------------- /debian/.screenlayout/single.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | xrandr --output DP1 --off --output HDMI1 --off --output eDP1 --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI2 --off 3 | -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/layouts/dwindle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/layouts/dwindle.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/layouts/fairh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/layouts/fairh.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/layouts/fairv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/layouts/fairv.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/layouts/spiral.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/layouts/spiral.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/layouts/tiletop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/layouts/tiletop.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/taglist/square.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/taglist/square.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/taglist/squaref.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/taglist/squaref.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/titlebar/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/titlebar/close.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/titlebar/normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/titlebar/normal.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/layouts/fairh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/layouts/fairh.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/layouts/fairv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/layouts/fairv.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/layouts/spiral.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/layouts/spiral.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/layouts/tile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/layouts/tile.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/taglist/square.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/taglist/square.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/titlebar/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/titlebar/close.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/background-2048x1152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/background-2048x1152.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/background-2048x1280.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/background-2048x1280.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/background-2048x1536.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/background-2048x1536.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/titlebar/ontop_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/titlebar/ontop_active.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/layouts/cornerne.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/layouts/cornerne.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/layouts/cornernw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/layouts/cornernw.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/layouts/cornerse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/layouts/cornerse.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/layouts/cornersw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/layouts/cornersw.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/layouts/floating.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/layouts/floating.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/layouts/magnifier.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/layouts/magnifier.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/layouts/tileleft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/layouts/tileleft.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/titlebar/minimize.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/titlebar/minimize.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/layouts/cornerne.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/layouts/cornerne.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/layouts/cornernw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/layouts/cornernw.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/layouts/cornerse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/layouts/cornerse.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/layouts/cornersw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/layouts/cornersw.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/layouts/dwindle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/layouts/dwindle.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/layouts/floating.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/layouts/floating.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/layouts/tileleft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/layouts/tileleft.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/layouts/tiletop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/layouts/tiletop.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/taglist/squaref.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/taglist/squaref.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/titlebar/normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/titlebar/normal.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/titlebar/ontop_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/titlebar/ontop_inactive.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/titlebar/sticky_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/titlebar/sticky_active.png -------------------------------------------------------------------------------- /nix/.config/gtk-3.0/settings.ini: -------------------------------------------------------------------------------- 1 | [Settings] 2 | gtk-font-name=Latin Modern Sans 12 3 | gtk-key-theme-name=Emacs 4 | gtk-modules=appmenu-gtk-module 5 | gtk-shell-shows-menubar=1 6 | -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/background-2048x1152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/background-2048x1152.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/background-2048x1280.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/background-2048x1280.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/background-2048x1536.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/background-2048x1536.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/layouts/fullscreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/layouts/fullscreen.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/layouts/tilebottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/layouts/tilebottom.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/layouts/fullscreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/layouts/fullscreen.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/layouts/magnifier.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/layouts/magnifier.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/layouts/tilebottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/layouts/tilebottom.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/titlebar/minimize.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/titlebar/minimize.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/titlebar/floating_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/titlebar/floating_active.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/titlebar/floating_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/titlebar/floating_inactive.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/titlebar/maximized_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/titlebar/maximized_active.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/titlebar/sticky_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/titlebar/sticky_inactive.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/titlebar/ontop_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/titlebar/ontop_active.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/titlebar/sticky_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/titlebar/sticky_active.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/background-2048x1152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/background-2048x1152.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/background-2048x1280.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/background-2048x1280.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/background-2048x1536.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/background-2048x1536.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/titlebar/ontop_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/titlebar/ontop_active.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/titlebar/maximized_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/srcery/titlebar/maximized_inactive.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/titlebar/floating_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/titlebar/floating_active.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/titlebar/maximized_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/titlebar/maximized_active.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/titlebar/ontop_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/titlebar/ontop_inactive.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/titlebar/sticky_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/titlebar/sticky_inactive.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/titlebar/floating_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/titlebar/floating_active.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/titlebar/ontop_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/titlebar/ontop_inactive.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/titlebar/sticky_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/titlebar/sticky_active.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/titlebar/sticky_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/titlebar/sticky_inactive.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | vim/.cache/vim/viminfo 2 | vim/.vim/.netrwhist 3 | vim/.vim/plugged 4 | awesome/.config/awesome/vicious/ 5 | nix/.config/gtk-3.0/settings.ini 6 | nix/.gtkrc-2.0 7 | __pycache__ 8 | .uuid 9 | -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/titlebar/floating_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/titlebar/floating_inactive.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/titlebar/maximized_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-dark/titlebar/maximized_inactive.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/titlebar/floating_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/titlebar/floating_inactive.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/titlebar/maximized_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/titlebar/maximized_active.png -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/titlebar/maximized_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/McSinyx/dotfiles/HEAD/awesome/.config/awesome/themes/gruvbox-light/titlebar/maximized_inactive.png -------------------------------------------------------------------------------- /audio/.config/pulse/daemon.conf: -------------------------------------------------------------------------------- 1 | realtime-priority = 9 2 | resample-method = soxr-vhq 3 | enable-remixing = yes 4 | default-sample-format = float32le 5 | rlimit-rtprio = 9 6 | default-fragment-size-msec = 125 7 | -------------------------------------------------------------------------------- /vim/.vim/after/ftplugin/tex.vim: -------------------------------------------------------------------------------- 1 | "setlocal conceallevel=2 2 | "setlocal listchars=eol:$ ambiwidth=double 3 | "let g:tex_conceal='abdmg' 4 | let g:tex_flavor='latex' 5 | let g:vimtex_indent_enabled=0 6 | let g:vimtex_quickfix_mode=0 7 | -------------------------------------------------------------------------------- /debian/.screenlayout/dual.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | xrandr --output eDP1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP1 --mode 1600x900 --pos 1920x0 --rotate normal --output HDMI1 --off --output HDMI2 --off --output VIRTUAL1 --off 3 | -------------------------------------------------------------------------------- /nix/.config/systemd/user/ipfs.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=IPFS daemon 3 | After=network.target 4 | 5 | [Service] 6 | ExecStart=/run/current-system/sw/bin/ipfs daemon 7 | Restart=on-failure 8 | 9 | [Install] 10 | WantedBy=default.target 11 | -------------------------------------------------------------------------------- /debian/.config/systemd/user/ipfs.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=IPFS daemon 3 | After=network.target 4 | 5 | [Service] 6 | ExecStart=/home/cnx/.local/share/go/bin/ipfs daemon 7 | Restart=on-failure 8 | 9 | [Install] 10 | WantedBy=default.target 11 | -------------------------------------------------------------------------------- /dev/.pypirc: -------------------------------------------------------------------------------- 1 | [distutils] 2 | index-servers = 3 | pypi 4 | testpypi 5 | 6 | [pypi] 7 | repository = https://upload.pypi.org/legacy/ 8 | username = McSinyx 9 | 10 | [testpypi] 11 | repository = https://test.pypi.org/legacy/ 12 | username = McSinyx 13 | -------------------------------------------------------------------------------- /debian/.xinitrc: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | $HOME/.screenlayout/dual.sh 3 | redshift-gtk -l 21.028333:105.854167 & 4 | mate-power-manager & 5 | ibus-daemon -drx 6 | blueman-applet & 7 | nm-applet & 8 | keynav & 9 | diodon & 10 | audacious & 11 | . /etc/X11/Xsession 12 | exec awesome 13 | -------------------------------------------------------------------------------- /fedora/.bash_profile: -------------------------------------------------------------------------------- 1 | # .bash_profile 2 | 3 | # Get the aliases and functions 4 | if [ -f ~/.bashrc ]; then 5 | . ~/.bashrc 6 | fi 7 | 8 | # User specific environment and startup programs 9 | export GOPATH=$HOME/.local/share/go 10 | export PATH=$PATH:$HOME/.local/bin:$GOPATH/bin:$HOME/.cargo/bin 11 | -------------------------------------------------------------------------------- /audio/.alsoftrc: -------------------------------------------------------------------------------- 1 | [general] 2 | drivers = pulse 3 | stereo-mode = speakers 4 | layout_STEREO = fl=-90, fr=90 5 | format = AL_FORMAT_STEREO32 6 | frequency = 44100 7 | stereodup = false 8 | 9 | [decoder] 10 | hq-mode = true 11 | distance-comp = true 12 | nfc = true 13 | 14 | [pulse] 15 | allow-moves = true 16 | -------------------------------------------------------------------------------- /dev/.gitconfig: -------------------------------------------------------------------------------- 1 | [user] 2 | email = mcsinyx@disroot.org 3 | name = Nguyễn Gia Phong 4 | [diff] 5 | tool = vimdiff 6 | guitool = gvimdiff 7 | [github] 8 | user = McSinyx 9 | 10 | [filter "lfs"] 11 | clean = git-lfs clean -- %f 12 | smudge = git-lfs smudge -- %f 13 | process = git-lfs filter-process 14 | required = true 15 | [color] 16 | ui = auto 17 | [pull] 18 | rebase = true 19 | [init] 20 | defaultBranch = main 21 | -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/README.md: -------------------------------------------------------------------------------- 1 | # Gruvbox awesome theme by McSinyx 2 | 3 | ## A few side notes 4 | 5 | * The backgrounds are pixel-based, for best result please resize them using a 6 | proper algorithim, e.g. in GIMP use *None* or *Linear* interpolation. 7 | 8 | * Titlebar and wibox use some pixel arts, so please keep theme at the size of 9 | 22px. 10 | 11 | * I added some 22-pixel high arrows to the theme. You might wanna use them to 12 | rice your desktop in the *powerarrow* way. 13 | -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/README.md: -------------------------------------------------------------------------------- 1 | # Gruvbox awesome theme by McSinyx 2 | 3 | ## A few side notes 4 | 5 | * The backgrounds are pixel-based, for best result please resize them using a 6 | proper algorithim, e.g. in GIMP use *None* or *Linear* interpolation. 7 | 8 | * Titlebar and wibox use some pixel arts, so please keep theme at the size of 9 | 22px. 10 | 11 | * I added some 22-pixel high arrows to the theme. You might wanna use them to 12 | rice your desktop in the *powerarrow* way. 13 | -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/README.md: -------------------------------------------------------------------------------- 1 | # srcery awesome theme by McSinyx 2 | 3 | ## A few side notes 4 | 5 | * First 9 colors in srcery palette along with orange are exposed for convenient 6 | theming. 7 | * The backgrounds are pixel-based, for best result please resize them using a 8 | proper algorithim, e.g. in GIMP use *None* or *Linear* interpolation. 9 | * Titlebar and wibox use some pixel arts, so please keep theme at the size of 10 | 22px. 11 | * I added some 22-pixel high arrows to the theme. You might wanna use them to 12 | rice your desktop in the *powerarrow* way. 13 | -------------------------------------------------------------------------------- /mutt/.mutt/muttrc: -------------------------------------------------------------------------------- 1 | set ssl_starttls = yes 2 | set ssl_force_tls = yes 3 | set imap_user = 'vn.mcsinyx@gmail.com' 4 | set from = 'vn.mcsinyx@gmail.com' 5 | set realname = 'Nguyễn Gia Phong' 6 | set folder = imaps://imap.gmail.com/ 7 | set spoolfile = imaps://imap.gmail.com/INBOX 8 | set postponed = "imaps://imap.gmail.com/[Gmail]/Drafts" 9 | set header_cache = "~/.mutt/cache/headers" 10 | set message_cachedir = "~/.mutt/cache/bodies" 11 | set certificate_file = "~/.mutt/certificates" 12 | set smtp_url = 'smtps://vn.mcsinyx@gmail.com@smtp.gmail.com:465/' 13 | set move = no 14 | set imap_keepalive = 900 15 | set quit=ask-yes 16 | 17 | source "~/.mutt/colors" 18 | -------------------------------------------------------------------------------- /debian/.Xresources-light: -------------------------------------------------------------------------------- 1 | *background: #fbf1c7 2 | *foreground: #3c3836 3 | *color0: #fbf1c7 4 | *color1: #cc241d 5 | *color2: #98971a 6 | *color3: #d79921 7 | *color4: #458588 8 | *color5: #b16286 9 | *color6: #689d6a 10 | *color7: #7c6f64 11 | *color8: #928374 12 | *color9: #9d0006 13 | *color10: #79740e 14 | *color11: #b57614 15 | *color12: #076678 16 | *color13: #8f3f71 17 | *color14: #427b58 18 | *color15: #3c3836 19 | *loginShell: true 20 | *scrollBar: false 21 | *saveLines: 65535 22 | *cursorBlink: false 23 | *jumpScroll: true 24 | URxvt.font: xft:Latin Modern Mono:size=12 25 | URxvt.termName: rxvt 26 | -------------------------------------------------------------------------------- /mutt/.mutt/colors: -------------------------------------------------------------------------------- 1 | # Palette for use with the Linux console. Black background. 2 | 3 | color hdrdefault green black 4 | color quoted green black 5 | color signature green black 6 | color attachment red black 7 | color prompt brightmagenta black 8 | color message brightred black 9 | color error brightred black 10 | color indicator black red 11 | color status brightwhite cyan 12 | color tree white black 13 | color normal brightwhite black 14 | color markers red black 15 | color search white black 16 | color tilde brightmagenta black 17 | color index green black ~F 18 | color index red black "~N|~O" 19 | 20 | #color body brightwhite black '\*+[^*]+\*+' 21 | #color body brightwhite black '_+[^_]+_+' 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # dotfiles 2 | 3 | Dotfiles of my Debian testing, Fedora workstation and NixOS unstable, 4 | managed by GNU Stow. 5 | 6 | ![Debian testing](debian-screenshot.png) 7 | 8 | The Debian desktop uses awesome, bash, Git, Firefox, ranger, Vim, URxvt 9 | and Zathura. Most of these applications are themed with the 10 | [srcery](https://github.com/srcery-colors/srcery-vim) colorscheme. 11 | 12 | ![Fedora workstation](fedora-screenshot.png) 13 | 14 | The Fedora desktop is vanilla GNOME with Emacs. Yes you can run four systems 15 | in parallel: GNU/Linux, systemd, GNOME JS VM and Emacs. 16 | 17 | ![NixOS unstable](nixos-screenshot.png) 18 | 19 | The NixOS uses KDE Plasma with Emacs and Alacritty. Nothing really special 20 | other than the Nix itself. 21 | -------------------------------------------------------------------------------- /debian/.Xresources-dark: -------------------------------------------------------------------------------- 1 | *.cursorColor: #fce8c3 2 | *.pointerColor: #fce8c3 3 | *.foreground: #fce8c3 4 | *.background: #1c1b19 5 | *.color0: #1c1b19 6 | *.color1: #ef2f27 7 | *.color2: #519f50 8 | *.color3: #fbb829 9 | *.color4: #2c78bf 10 | *.color5: #e02c6d 11 | *.color6: #0aaeb3 12 | *.color7: #d0bfa1 13 | *.color8: #918175 14 | *.color9: #f75341 15 | *.color10: #98bc37 16 | *.color11: #fed06e 17 | *.color12: #68A8E4 18 | *.color13: #ff5c8f 19 | *.color14: #53fde9 20 | *.color15: #fce8c3 21 | 22 | URxvt.loginShell: true 23 | URxvt.scrollBar: false 24 | URxvt.saveLines: 65535 25 | URxvt.cursorBlink: false 26 | URxvt.visualBell: true 27 | URxvt.jumpScroll: true 28 | 29 | URxvt.font: xft:Latin Modern Mono:size=12:autohint=true 30 | URxvt.termName: rxvt-unicode-256color 31 | URxvt.perl-ext-common: default,font-size 32 | -------------------------------------------------------------------------------- /cmus/.config/cmus/comp.theme: -------------------------------------------------------------------------------- 1 | # cmus colorscheme based on comp (Curses Omni Media Player), 2 | # which is healivily inspired by cmus. 3 | set color_cmdline_bg=default 4 | set color_cmdline_fg=default 5 | set color_error=lightred 6 | set color_info=lightyellow 7 | set color_separator=green 8 | set color_statusline_bg=cyan 9 | set color_statusline_fg=default 10 | set color_titleline_bg=blue 11 | set color_titleline_fg=default 12 | set color_win_bg=default 13 | set color_win_cur=lightyellow 14 | set color_win_cur_sel_bg=yellow 15 | set color_win_cur_sel_fg=white 16 | set color_win_dir=lightblue 17 | set color_win_fg=default 18 | set color_win_inactive_cur_sel_bg=magenta 19 | set color_win_inactive_cur_sel_fg=white 20 | set color_win_inactive_sel_bg=default 21 | set color_win_inactive_sel_fg=lightmagenta 22 | set color_win_sel_bg=gray 23 | set color_win_sel_fg=white 24 | set color_win_title_bg=green 25 | set color_win_title_fg=white 26 | -------------------------------------------------------------------------------- /fedora/.bashrc: -------------------------------------------------------------------------------- 1 | # .bashrc 2 | 3 | # Source global definitions 4 | if [ -f /etc/bashrc ]; then 5 | . /etc/bashrc 6 | fi 7 | 8 | # Uncomment the following line if you don't like systemctl's auto-paging feature: 9 | # export SYSTEMD_PAGER= 10 | 11 | # User specific aliases and functions 12 | alias stow='stow -t /home/436e58' 13 | alias gcc='gcc -Wall -Werror -O2 -lm' 14 | alias g++='g++ -Wall -Werror -O2 -lm' 15 | alias fpc='fpc -O1 -XS -gl' 16 | alias raku='rlwrap perl6' 17 | alias backup='rsync -avh --delete /home/ /data/Home/' 18 | 19 | PATH="/home/436e58/perl5/bin${PATH:+:${PATH}}"; export PATH; 20 | PERL5LIB="/home/436e58/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB; 21 | PERL_LOCAL_LIB_ROOT="/home/436e58/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT; 22 | PERL_MB_OPT="--install_base \"/home/436e58/perl5\""; export PERL_MB_OPT; 23 | PERL_MM_OPT="INSTALL_BASE=/home/436e58/perl5"; export PERL_MM_OPT; 24 | -------------------------------------------------------------------------------- /debian/.profile: -------------------------------------------------------------------------------- 1 | # ~/.profile: executed by the command interpreter for login shells. 2 | # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login 3 | # exists. 4 | # see /usr/share/doc/bash/examples/startup-files for examples. 5 | # the files are located in the bash-doc package. 6 | 7 | # the default umask is set in /etc/profile; for setting the umask 8 | # for ssh logins, install and configure the libpam-umask package. 9 | #umask 022 10 | 11 | export GOPATH="$HOME/.local/share/go" 12 | export PATH="$HOME/.local/bin:$GOPATH/bin:$HOME/.cargo/bin:$HOME/.luarocks/bin:$PATH" 13 | export MANPATH="$HOME/.local/share/man:$MANPATH" 14 | export RUST_SRC_PATH="$(rustc --print sysroot)/lib/rustlib/src/rust/src" 15 | export XMODIFIERS=@im=ibus 16 | export QT_QPA_PLATFORMTHEME=qt5ct 17 | 18 | # if running bash 19 | if [ -n "$BASH_VERSION" ]; then 20 | # include .bashrc if it exists 21 | if [ -f "$HOME/.bashrc" ]; then 22 | . "$HOME/.bashrc" 23 | fi 24 | fi 25 | 26 | # OPAM configuration 27 | . /home/cnx/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true 28 | -------------------------------------------------------------------------------- /dev/.hgrc: -------------------------------------------------------------------------------- 1 | [ui] 2 | username = Nguyễn Gia Phong 3 | 4 | [extensions] 5 | color = 6 | histedit = 7 | pager = 8 | rebase = 9 | strip = 10 | 11 | [pager] 12 | pager = LESS='FSRX' less 13 | attend = help, annotate, cat, diff, export, glog, log, outgoing, incoming 14 | 15 | [diff] 16 | showfunc = True 17 | 18 | [color] 19 | mode = terminfo 20 | 21 | ## Custom colors 22 | color.gray = 244 23 | color.orange = 202 24 | color.lightyellow = 191 25 | color.darkorange = 220 26 | color.brightyellow = 226 27 | 28 | status.modified = magenta bold 29 | status.added = green bold 30 | status.removed = red bold 31 | status.deleted = cyan bold 32 | status.unknown = gray bold 33 | status.ignored = gray bold 34 | 35 | ## Colours for each label 36 | log.branch = cyan 37 | log.summary = lightyellow 38 | log.description = lightyellow 39 | log.bookmark = green 40 | log.tag = darkorange 41 | log.graph = blue 42 | 43 | ## Colors for each phase 44 | changeset.secret = blue bold 45 | changeset.draft = red bold 46 | changeset.public = orange 47 | 48 | desc.here = bold blue_background 49 | 50 | [bookmarks] 51 | track.current = True 52 | 53 | [alias] 54 | glog = log --graph 55 | top = log --graph -l 56 | -------------------------------------------------------------------------------- /zathura/.config/zathura/zathurarc: -------------------------------------------------------------------------------- 1 | set completion-bg \#1c1b19 2 | set completion-fg \#fce8c3 3 | set completion-group-bg \#1c1b19 4 | set completion-group-fg \#519f50 5 | set completion-highlight-bg \#e02c6d 6 | set completion-highlight-fg \#fce8c3 7 | set default-bg \#353535 8 | set default-fg \#fce8c3 9 | set font Latin\ Modern\ Mono\ 12 10 | set inputbar-bg \#1c1b19 11 | set inputbar-fg \#fce8c3 12 | set notification-bg \#1c1b19 13 | set notification-fg \#fbb829 14 | set notification-error-bg \#ef2f27 15 | set notification-error-fg \#fce8c3 16 | set notification-warning-bg \#fce8c3 17 | set notification-warning-fg \#1c1b19 18 | set statusbar-bg \#2d2c29 19 | set statusbar-fg \#fce8c3 20 | set adjust-open width 21 | set incremental-search false 22 | set highlight-color \#519f50 23 | set highlight-active-color \#0aaeb3 24 | set recolor true 25 | set recolor-keephue true 26 | set recolor-lightcolor \#1c1b19 27 | set recolor-darkcolor \#fce8c3 28 | set render-loading-bg \#1c1b19 29 | set render-loading-fg \#fce8c3 30 | set index-bg \#1c1b19 31 | set index-fg \#98bc37 32 | set index-active-bg \#98bc37 33 | set index-active-fg \#1c1b19 34 | set guioptions '' 35 | set show-recent 0 36 | set smooth-scroll true 37 | set statusbar-home-tilde true 38 | set window-title-home-tilde true 39 | -------------------------------------------------------------------------------- /nix/.config/systemd/user/emacs.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Emacs: the extensible, self-documenting text editor 3 | 4 | [Service] 5 | Environment="LOCALE_ARCHIVE=/nix/store/l4qnw7z34dv4kbn2wnckq0bdjlyzxrmx-glibc-locales-2.27/lib/locale/locale-archive" 6 | Environment="PATH=/nix/store/j0lhk5xkky410h5v9af98sz6kd8cbp40-coreutils-8.31/bin:/nix/store/kmc865qs56czqk5k5vr0nj4zvfijlq7n-findutils-4.7.0/bin:/nix/store/20b535jb98hy7k4z8vkrlkjma212a3l5-gnugrep-3.3/bin:/nix/store/dv52knazq6pb1zv9pazzj666zg550zni-gnused-4.7/bin:/nix/store/jy856r03m1jk299wkk2zm3dan8gqj64s-systemd-243/bin:/nix/store/j0lhk5xkky410h5v9af98sz6kd8cbp40-coreutils-8.31/sbin:/nix/store/kmc865qs56czqk5k5vr0nj4zvfijlq7n-findutils-4.7.0/sbin:/nix/store/20b535jb98hy7k4z8vkrlkjma212a3l5-gnugrep-3.3/sbin:/nix/store/dv52knazq6pb1zv9pazzj666zg550zni-gnused-4.7/sbin:/nix/store/jy856r03m1jk299wkk2zm3dan8gqj64s-systemd-243/sbin" 7 | Environment="TZDIR=/nix/store/27ils7qkz0rkhq02bq104gyj9s10vaf6-tzdata-2019b/share/zoneinfo" 8 | 9 | ExecStart=/nix/store/b34zjdmq5l8k6rwdykjx55yl9r9isl8k-bash-4.4-p23/bin/bash -c 'source /nix/store/j68zvm2dnkgmflcn128la1c51bpka127-set-environment; exec /nix/store/47jy4mm9262hx88k88b8acrlb9w86z9m-emacs-26.3/bin/emacs --daemon' 10 | ExecStop=/nix/store/47jy4mm9262hx88k88b8acrlb9w86z9m-emacs-26.3/bin/emacsclient --eval (kill-emacs) 11 | Restart=always 12 | Type=forking 13 | 14 | [Install] 15 | WantedBy=default.target 16 | -------------------------------------------------------------------------------- /tridactyl/.config/tridactyl/themes/quakery.css: -------------------------------------------------------------------------------- 1 | :root { 2 | /* Generic */ 3 | --tridactyl-bg: #1c1b19; 4 | --tridactyl-fg: #fce8c3; 5 | --tridactyl-font-family: "Latin Modern Mono", monospace; 6 | --tridactyl-font-size: 12pt; 7 | 8 | /* Mode indicator */ 9 | --tridactyl-status-font-family: var(--tridactyl-font-family); 10 | --tridactyl-status-font-size: var(--tridactyl-font-size); 11 | --tridactyl-status-border: 2px var(--tridactyl-bg) solid; 12 | --tridactyl-status-border-radius: 6px; 13 | 14 | /* Search highlight */ 15 | --tridactyl-search-highlight-color: #fbb829; 16 | 17 | /* Hint character tags */ 18 | --tridactyl-hintspan-font-family: var(--tridactyl-font-family); 19 | --tridactyl-hintspan-font-size: var(--tridactyl-font-size); 20 | --tridactyl-hintspan-font-weight: normal; 21 | --tridactyl-hintspan-bg: var(--tridactyl-bg); 22 | --tridactyl-hintspan-fg: var(--tridactyl-fg); 23 | --tridactyl-hintspan-border-color: var(--tridactyl-bg); 24 | --tridactyl-hintspan-border-width: 2px; 25 | 26 | /* Element highlights */ 27 | --tridactyl-hint-active-fg: var(--tridactyl-fg); 28 | --tridactyl-hint-active-bg: #fbb829; 29 | --tridactyl-hint-active-outline: 1px solid #ef2f27; 30 | 31 | --tridactyl-hint-bg: #fbb82940; 32 | --tridactyl-hint-outline: 1px solid #ff5f00; 33 | 34 | /*commandline*/ 35 | --tridactyl-cmdl-font-family: var(--tridactyl-font-family); 36 | --tridactyl-cmdl-font-size: var(--tridactyl-font-size); 37 | --tridactyl-cmplt-border-top: 0px; 38 | } 39 | 40 | :root #completions .sectionHeader { 41 | display: none; 42 | } 43 | 44 | :root #completions .focused, 45 | :root #completions .focused .url { 46 | background: var(--tridactyl-bg); 47 | text-decoration: underline; 48 | } 49 | 50 | :root #cmdline_iframe { 51 | position: fixed !important; 52 | bottom: unset; 53 | top: 10% !important; 54 | left: 10% !important; 55 | width: 80% !important; 56 | box-shadow: #00000080 0px 0px 12px !important; 57 | } 58 | -------------------------------------------------------------------------------- /vim/.vim/scripts.vim: -------------------------------------------------------------------------------- 1 | " Additional scripts' filetype detections 2 | 3 | " This file is called by an autocommand for every file that has just been 4 | " loaded into a buffer. It checks if the type of file can be recognized by 5 | " the file contents. The autocommand is in $VIMRUNTIME/filetype.vim. 6 | " 7 | " Note that the pattern matches are done with =~# to avoid the value of the 8 | " 'ignorecase' option making a difference. Where case is to be ignored use 9 | " =~? instead. Do not use =~ anywhere. 10 | 11 | " Only do the rest when the FileType autocommand has not been triggered yet. 12 | if did_filetype() 13 | finish 14 | endif 15 | 16 | " Line continuation is used here, remove 'C' from 'cpoptions' 17 | let s:cpo_save = &cpo 18 | set cpo&vim 19 | 20 | let s:line1 = getline(1) 21 | if s:line1 =~# "^#!" 22 | " A script that starts with "#!". 23 | " Check for a line like "#!/usr/bin/env VAR=val bash". Turn it into 24 | " "#!/usr/bin/bash" to make matching easier. 25 | if s:line1 =~# '^#!\s*\S*\' 39 | let s:name = substitute(s:line1, '^#!.*\\s\+\(\i\+\).*', '\1', '') 40 | elseif s:line1 =~# '^#!\s*[^/\\ ]*\>\([^/\\]\|$\)' 41 | let s:name = substitute(s:line1, '^#!\s*\([^/\\ ]*\>\).*', '\1', '') 42 | else 43 | let s:name = substitute(s:line1, '^#!\s*\S*[/\\]\(\i\+\).*', '\1', '') 44 | endif 45 | 46 | " GNU Octave 47 | if s:name =~# 'octave' 48 | set ft=octave 49 | endif 50 | unlet s:name 51 | endif 52 | 53 | " Restore 'cpoptions' 54 | let &cpo = s:cpo_save 55 | unlet s:cpo_save s:line1 56 | -------------------------------------------------------------------------------- /vim/.vim/vimrc: -------------------------------------------------------------------------------- 1 | set nocompatible 2 | set undodir=~/.cache/vim/undo 3 | set directory=~/.cache/vim/swap 4 | set backupdir=~/.cache/vim/backup 5 | set viminfo+=n~/.cache/vim/viminfo 6 | set clipboard=unnamedplus autochdir 7 | set showcmd noshowmode ruler wildmenu confirm number relativenumber 8 | set nostartofline 9 | if has("patch-7.4.710") 10 | set list listchars+=space:·,tab:\ \ 11 | endif 12 | set tabstop=8 expandtab shiftwidth=4 softtabstop=-1 smarttab 13 | set ignorecase infercase dictionary=/usr/share/dict/words 14 | set keymap=vietnamese-telex imdisable iminsert=0 imsearch=-1 15 | set omnifunc=syntaxcomplete#Complete 16 | set diffopt+=algorithm:patience 17 | 18 | augroup vimrc 19 | autocmd! 20 | autocmd BufNewFile,BufRead *.PAS setlocal filetype=pascal 21 | autocmd BufNewFile,BufRead *.sql setlocal filetype=mysql 22 | autocmd BufNewFile,BufRead *.m setlocal filetype=octave 23 | autocmd FileType asm,c,h,go,glsl 24 | \ setlocal cindent cinoptions=(0 noexpandtab shiftwidth=8 25 | autocmd FileType vim,sh,lua,tex,cmake,cpp,mysql,html,octave,pascal 26 | \ setlocal shiftwidth=2 27 | autocmd FileType rst setlocal shiftwidth=3 28 | autocmd FileType java setlocal omnifunc=javacomplete#Complete 29 | autocmd BufWinEnter * 30 | \ if &filetype ==# 'python' || &filetype ==# 'cython' 31 | \ | let w:m1=matchadd('ColorColumn', '\%<80v.\%>73v', -1) | 32 | \ else 33 | \ | let w:m1=matchadd('ColorColumn', '\%<81v.\%>80v', -1) | 34 | \ endif 35 | augroup END 36 | 37 | let g:netrw_banner = 0 38 | let g:netrw_liststyle = 3 39 | let g:srcery_italic = 1 40 | let g:jedi#popup_on_dot = 0 41 | let g:jedi#popup_select_first = 0 42 | let g:jedi#show_call_signatures = 2 43 | let g:jedi#smart_auto_mappings = 0 44 | let g:polyglot_disabled = ['latex'] 45 | 46 | call plug#begin('~/.vim/plugged') 47 | Plug 'https://github.com/vim/killersheep' 48 | Plug 'https://github.com/francoiscabrol/ranger.vim' 49 | Plug 'https://github.com/sheerun/vim-polyglot' 50 | Plug 'https://github.com/srcery-colors/srcery-vim' 51 | Plug 'https://github.com/knsh14/vim-github-link' 52 | Plug 'https://github.com/lervag/vimtex', {'for': 'tex'} 53 | Plug 'https://github.com/kovisoft/slimv', {'for': 'lisp'} 54 | Plug 'https://github.com/anntzer/vim-cython', {'for': 'cython'} 55 | Plug 'https://github.com/racer-rust/vim-racer', {'for': 'rust'} 56 | Plug 'https://github.com/rhysd/rust-doc.vim', {'for': 'rust'} 57 | call plug#end() 58 | source /usr/share/doc/fzf/examples/fzf.vim 59 | 60 | set t_Co=256 61 | colorscheme srcery 62 | map Q gq 63 | command Q q 64 | command W w 65 | -------------------------------------------------------------------------------- /vim/.vim/doc/tags: -------------------------------------------------------------------------------- 1 | :Pyimport jedi-vim.txt /*:Pyimport* 2 | g:jedi#auto_close_doc jedi-vim.txt /*g:jedi#auto_close_doc* 3 | g:jedi#auto_initialization jedi-vim.txt /*g:jedi#auto_initialization* 4 | g:jedi#auto_vim_configuration jedi-vim.txt /*g:jedi#auto_vim_configuration* 5 | g:jedi#completions_command jedi-vim.txt /*g:jedi#completions_command* 6 | g:jedi#completions_enabled jedi-vim.txt /*g:jedi#completions_enabled* 7 | g:jedi#documentation_command jedi-vim.txt /*g:jedi#documentation_command* 8 | g:jedi#force_py_version jedi-vim.txt /*g:jedi#force_py_version* 9 | g:jedi#goto_assignments_command jedi-vim.txt /*g:jedi#goto_assignments_command* 10 | g:jedi#goto_command jedi-vim.txt /*g:jedi#goto_command* 11 | g:jedi#goto_stubs_command jedi-vim.txt /*g:jedi#goto_stubs_command* 12 | g:jedi#popup_on_dot jedi-vim.txt /*g:jedi#popup_on_dot* 13 | g:jedi#popup_select_first jedi-vim.txt /*g:jedi#popup_select_first* 14 | g:jedi#rename_command jedi-vim.txt /*g:jedi#rename_command* 15 | g:jedi#show_call_signatures jedi-vim.txt /*g:jedi#show_call_signatures* 16 | g:jedi#show_call_signatures_delay jedi-vim.txt /*g:jedi#show_call_signatures_delay* 17 | g:jedi#smart_auto_mappings jedi-vim.txt /*g:jedi#smart_auto_mappings* 18 | g:jedi#squelch_py_warning jedi-vim.txt /*g:jedi#squelch_py_warning* 19 | g:jedi#usages_command jedi-vim.txt /*g:jedi#usages_command* 20 | g:jedi#use_splits_not_buffers jedi-vim.txt /*g:jedi#use_splits_not_buffers* 21 | g:jedi#use_tabs_not_buffers jedi-vim.txt /*g:jedi#use_tabs_not_buffers* 22 | g:jedi#use_tag_stack jedi-vim.txt /*g:jedi#use_tag_stack* 23 | jedi-vim-configuration jedi-vim.txt /*jedi-vim-configuration* 24 | jedi-vim-contents jedi-vim.txt /*jedi-vim-contents* 25 | jedi-vim-contributing jedi-vim.txt /*jedi-vim-contributing* 26 | jedi-vim-installation jedi-vim.txt /*jedi-vim-installation* 27 | jedi-vim-installation-manually jedi-vim.txt /*jedi-vim-installation-manually* 28 | jedi-vim-installation-pathogen jedi-vim.txt /*jedi-vim-installation-pathogen* 29 | jedi-vim-installation-repos jedi-vim.txt /*jedi-vim-installation-repos* 30 | jedi-vim-installation-requirements jedi-vim.txt /*jedi-vim-installation-requirements* 31 | jedi-vim-installation-vundle jedi-vim.txt /*jedi-vim-installation-vundle* 32 | jedi-vim-introduction jedi-vim.txt /*jedi-vim-introduction* 33 | jedi-vim-keybindings jedi-vim.txt /*jedi-vim-keybindings* 34 | jedi-vim-license jedi-vim.txt /*jedi-vim-license* 35 | jedi-vim-support jedi-vim.txt /*jedi-vim-support* 36 | jedi-vim-testing jedi-vim.txt /*jedi-vim-testing* 37 | jedi-vim-usage jedi-vim.txt /*jedi-vim-usage* 38 | jedi-vim.txt jedi-vim.txt /*jedi-vim.txt* 39 | -------------------------------------------------------------------------------- /luakit/.config/luakit/theme-dark.lua: -------------------------------------------------------------------------------- 1 | ------------------------------- 2 | -- Dark gruvbox luakit theme -- 3 | ------------------------------- 4 | 5 | local theme = {} 6 | 7 | -- Default settings 8 | theme.font = "12pt Latin Modern Mono" 9 | theme.fg = "#ebdbb2" 10 | theme.bg = "#282828" 11 | 12 | -- General colours 13 | theme.success_fg = "#b8bb26" 14 | theme.loaded_fg = "#83a598" 15 | theme.error_fg = theme.fg 16 | theme.error_bg = "#cc241d" 17 | 18 | -- Warning colours 19 | theme.warning_fg = "fb4934" 20 | theme.warning_bg = theme.bg 21 | 22 | -- Notification colours 23 | theme.notif_fg = "#a89984" 24 | theme.notif_bg = theme.bg 25 | 26 | -- Menu colours 27 | theme.menu_fg = theme.fg 28 | theme.menu_bg = "#504945" 29 | theme.menu_selected_fg = theme.menu_bg 30 | theme.menu_selected_bg = "#83a598" 31 | theme.menu_title_bg = "#3c3836" 32 | theme.menu_primary_title_fg = theme.fg 33 | theme.menu_secondary_title_fg = theme.fg 34 | 35 | theme.menu_disabled_fg = "#928374" 36 | theme.menu_disabled_bg = theme.menu_bg 37 | theme.menu_enabled_fg = theme.menu_fg 38 | theme.menu_enabled_bg = theme.menu_bg 39 | theme.menu_active_fg = "#b8bb26" 40 | theme.menu_active_bg = theme.menu_bg 41 | 42 | -- Proxy manager 43 | theme.proxy_active_menu_fg = theme.fg 44 | theme.proxy_active_menu_bg = theme.bg 45 | theme.proxy_inactive_menu_fg = '#928374' 46 | theme.proxy_inactive_menu_bg = theme.bg 47 | 48 | -- Statusbar specific 49 | theme.sbar_fg = theme.fg 50 | theme.sbar_bg = theme.bg 51 | 52 | -- Downloadbar specific 53 | theme.dbar_fg = theme.fg 54 | theme.dbar_bg = theme.bg 55 | theme.dbar_error_fg = "#fb4934" 56 | 57 | -- Input bar specific 58 | theme.ibar_fg = theme.fg 59 | theme.ibar_bg = theme.bg 60 | 61 | -- Tab label 62 | theme.tab_fg = theme.fg 63 | theme.tab_bg = "#504945" 64 | theme.tab_hover_bg = "#3c3836" 65 | theme.tab_ntheme = "#a89984" 66 | theme.selected_fg = theme.fg 67 | theme.selected_bg = theme.bg 68 | theme.selected_ntheme = "#a89984" 69 | theme.loading_fg = theme.loaded_fg 70 | theme.loading_bg = theme.loaded_bg 71 | 72 | theme.selected_private_tab_bg = "#b16296" 73 | theme.private_tab_bg = "#8f3f71" 74 | 75 | -- Trusted/untrusted ssl colours 76 | theme.trust_fg = "#b8bb26" 77 | theme.notrust_fg = "#fb4934" 78 | 79 | -- General colour pairings 80 | theme.ok = { fg = theme.fg, bg = theme.bg } 81 | theme.warn = { fg = "#fb4934", bg = theme.bg } 82 | theme.error = { fg = theme.fg, bg = "#cc241d" } 83 | 84 | return theme 85 | 86 | -- vim: et:sw=4:ts=8:sts=4:tw=80 87 | -------------------------------------------------------------------------------- /luakit/.config/luakit/theme-light.lua: -------------------------------------------------------------------------------- 1 | -------------------------------- 2 | -- Light gruvbox luakit theme -- 3 | ------------------------------- 4 | 5 | local theme = {} 6 | 7 | -- Default settings 8 | theme.font = "12pt Latin Modern Mono" 9 | theme.fg = "#3c3836" 10 | theme.bg = "#fbf1c7" 11 | 12 | -- General colours 13 | theme.success_fg = "#79740e" 14 | theme.loaded_fg = "#076678" 15 | theme.error_fg = theme.fg 16 | theme.error_bg = "#cc241d" 17 | 18 | -- Warning colours 19 | theme.warning_fg = "9d0006" 20 | theme.warning_bg = theme.bg 21 | 22 | -- Notification colours 23 | theme.notif_fg = "#7c6f64" 24 | theme.notif_bg = theme.bg 25 | 26 | -- Menu colours 27 | theme.menu_fg = theme.fg 28 | theme.menu_bg = "#d5c4a1" 29 | theme.menu_selected_fg = theme.menu_bg 30 | theme.menu_selected_bg = "#076678" 31 | theme.menu_title_bg = "#ebdbb2" 32 | theme.menu_primary_title_fg = theme.fg 33 | theme.menu_secondary_title_fg = theme.fg 34 | 35 | theme.menu_disabled_fg = "#928374" 36 | theme.menu_disabled_bg = theme.menu_bg 37 | theme.menu_enabled_fg = theme.menu_fg 38 | theme.menu_enabled_bg = theme.menu_bg 39 | theme.menu_active_fg = "#79740e" 40 | theme.menu_active_bg = theme.menu_bg 41 | 42 | -- Proxy manager 43 | theme.proxy_active_menu_fg = theme.fg 44 | theme.proxy_active_menu_bg = theme.bg 45 | theme.proxy_inactive_menu_fg = '#928374' 46 | theme.proxy_inactive_menu_bg = theme.bg 47 | 48 | -- Statusbar specific 49 | theme.sbar_fg = theme.fg 50 | theme.sbar_bg = theme.bg 51 | 52 | -- Downloadbar specific 53 | theme.dbar_fg = theme.fg 54 | theme.dbar_bg = theme.bg 55 | theme.dbar_error_fg = "#9d0006" 56 | 57 | -- Input bar specific 58 | theme.ibar_fg = theme.fg 59 | theme.ibar_bg = theme.bg 60 | 61 | -- Tab label 62 | theme.tab_fg = theme.fg 63 | theme.tab_bg = "#d5c4a1" 64 | theme.tab_hover_bg = "#ebdbb2" 65 | theme.tab_ntheme = "#7c6f64" 66 | theme.selected_fg = theme.fg 67 | theme.selected_bg = theme.bg 68 | theme.selected_ntheme = "#7c6f64" 69 | theme.loading_fg = theme.loaded_fg 70 | theme.loading_bg = theme.loaded_bg 71 | 72 | theme.selected_private_tab_bg = "#b16296" 73 | theme.private_tab_bg = "#d3869b" 74 | 75 | -- Trusted/untrusted ssl colours 76 | theme.trust_fg = "#79740e" 77 | theme.notrust_fg = "#9d0006" 78 | 79 | -- General colour pairings 80 | theme.ok = { fg = theme.fg, bg = theme.bg } 81 | theme.warn = { fg = "#9d0006", bg = theme.bg } 82 | theme.error = { fg = theme.fg, bg = "#cc241d" } 83 | 84 | return theme 85 | 86 | -- vim: et:sw=4:ts=8:sts=4:tw=80 87 | -------------------------------------------------------------------------------- /ranger/.config/ranger/commands.py: -------------------------------------------------------------------------------- 1 | # This is a sample commands.py. You can add your own commands here. 2 | # 3 | # Please refer to commands_full.py for all the default commands and a complete 4 | # documentation. Do NOT add them all here, or you may end up with defunct 5 | # commands when upgrading ranger. 6 | 7 | # You always need to import ranger.api.commands here to get the Command class: 8 | from ranger.api.commands import * 9 | 10 | # A simple command for demonstration purposes follows. 11 | # ----------------------------------------------------------------------------- 12 | 13 | # You can import any python module as needed. 14 | import os 15 | 16 | # Any class that is a subclass of "Command" will be integrated into ranger as a 17 | # command. Try typing ":my_edit" in ranger! 18 | 19 | 20 | class my_edit(Command): 21 | # The so-called doc-string of the class will be visible in the built-in 22 | # help that is accessible by typing "?c" inside ranger. 23 | """:my_edit 24 | 25 | A sample command for demonstration purposes that opens a file in an editor. 26 | """ 27 | 28 | # The execute method is called when you run this command in ranger. 29 | def execute(self): 30 | # self.arg(1) is the first (space-separated) argument to the function. 31 | # This way you can write ":my_edit somefilename". 32 | if self.arg(1): 33 | # self.rest(1) contains self.arg(1) and everything that follows 34 | target_filename = self.rest(1) 35 | else: 36 | # self.fm is a ranger.core.filemanager.FileManager object and gives 37 | # you access to internals of ranger. 38 | # self.fm.thisfile is a ranger.container.file.File object and is a 39 | # reference to the currently selected file. 40 | target_filename = self.fm.thisfile.path 41 | 42 | # This is a generic function to print text in ranger. 43 | self.fm.notify("Let's edit the file " + target_filename + "!") 44 | 45 | # Using bad=True in fm.notify allows you to print error messages: 46 | if not os.path.exists(target_filename): 47 | self.fm.notify("The given file does not exist!", bad=True) 48 | return 49 | 50 | # This executes a function from ranger.core.acitons, a module with a 51 | # variety of subroutines that can help you construct commands. 52 | # Check out the source, or run "pydoc ranger.core.actions" for a list. 53 | self.fm.edit_file(target_filename) 54 | 55 | # The tab method is called when you press tab, and should return a list of 56 | # suggestions that the user will tab through. 57 | # tabnum is 1 for and -1 for by default 58 | def tab(self, tabnum): 59 | # This is a generic tab-completion function that iterates through the 60 | # content of the current directory. 61 | return self._tab_directory_content() 62 | -------------------------------------------------------------------------------- /emacs/.emacs.d/init.el: -------------------------------------------------------------------------------- 1 | ;; Added by Package.el. This must come before configurations of 2 | ;; installed packages. Don't delete this line. If you don't want it, 3 | ;; just comment it out by adding a semicolon to the start of the line. 4 | ;; You may delete these explanatory comments. 5 | (require 'package) 6 | (add-to-list 'package-archives (cons "melpa" "https://melpa.org/packages/") t) 7 | (package-initialize) 8 | (pdf-tools-install) 9 | 10 | (require 'slime) 11 | (setq inferior-lisp-program "sbcl --noinform" 12 | slime-contribs '(slime-fancy)) 13 | (require 'geiser) 14 | (setq-default geiser-active-implementations '(guile racket)) 15 | (setq-default geiser-repl-use-other-window nil) 16 | (setq-default geiser-repl-query-on-kill-p nil) 17 | 18 | (custom-set-variables 19 | ;; custom-set-variables was added by Custom. 20 | ;; If you edit it by hand, you could mess it up, so be careful. 21 | ;; Your init file should contain only one such instance. 22 | ;; If there is more than one, they won't work right. 23 | '(ac-auto-show-menu nil) 24 | '(ac-auto-start nil) 25 | '(ac-expand-on-auto-complete nil) 26 | '(ac-trigger-key "M-RET") 27 | '(ansi-color-names-vector 28 | ["#242424" "#e5786d" "#95e454" "#cae682" 29 | "#8ac6f2" "#333366" "#ccaa8f" "#f6f3e8"]) 30 | '(column-number-mode t) 31 | '(custom-enabled-themes (quote (tango))) 32 | '(erc-nick "cnx") 33 | '(package-selected-packages 34 | (quote 35 | (cython-mode glsl-mode lua-mode markdown-mode nix-mode perl6-mode yaml-mode 36 | auctex geiser slime pdf-tools 37 | fireplace magit sane-term smart-tabs-mode wordnut))) 38 | '(safe-local-variable-values (quote ((Syntax . Common-Lisp)))) 39 | '(scroll-bar-mode nil) 40 | '(show-paren-mode t) 41 | '(tool-bar-mode nil) 42 | '(vc-follow-symlinks t) 43 | '(whitespace-style 44 | (quote 45 | (face trailing spaces newline space-mark newline-mark)))) 46 | (custom-set-faces 47 | ;; custom-set-faces was added by Custom. 48 | ;; If you edit it by hand, you could mess it up, so be careful. 49 | ;; Your init file should contain only one such instance. 50 | ;; If there is more than one, they won't work right. 51 | '(default ((t (:family "Latin Modern Mono" :foundry "UKWN" 52 | :slant normal :weight normal :height 120 :width normal)))) 53 | '(whitespace-space ((t (:foreground "gray"))))) 54 | 55 | (savehist-mode 1) 56 | (setq-default inhibit-splash-screen t) 57 | (find-file-noselect "/usr/share/dict/words") 58 | (setq-default fill-column 79) 59 | (add-hook 'prog-mode-hook 'ruler-mode) 60 | (setq-default indent-tabs-mode nil) 61 | (add-hook 'find-file-hook 'whitespace-mode) 62 | (global-set-key (kbd "C-") (lambda () (interactive) (other-window -1))) 63 | (global-set-key (kbd "C-") #'cua-rectangle-mark-mode) 64 | 65 | (smart-tabs-insinuate 'c) 66 | (setq c-default-style '((c-mode-hook "linux") 67 | (c++-mode-hook "gnu") 68 | (java-mode-hook "gnu"))) 69 | (add-hook 'python-mode-hook (lambda () (setq comment-fill-column 72))) 70 | (add-hook 'lua-mode-hook (lambda () (setq lua-indent-level 4))) 71 | ;(add-hook 'LaTeX-mode-hook 'prettify-symbols-mode) 72 | (add-hook 'LaTeX-mode-hook 73 | (lambda () (when (fboundp 'electric-indent-mode) 74 | (electric-indent-mode -1)))) 75 | (add-hook 'pdf-tools-enabled-hook 'auto-revert-mode) 76 | 77 | (add-to-list 'default-frame-alist '(width . 80)) 78 | (add-to-list 'default-frame-alist '(height . 24)) 79 | -------------------------------------------------------------------------------- /debian/.mailcap: -------------------------------------------------------------------------------- 1 | # Example mailcap file for Reddit Terminal Viewer 2 | # https://github.com/michael-lazar/rtv/ 3 | # 4 | # Copy the contents of this file to {HOME}/.mailcap, or point to using $MAILCAPS 5 | # Then launch RTV using the --enable-media flag. All shell commands defined in 6 | # this file depend on external programs that must be installed on your system. 7 | # 8 | # HELP REQUESTED! If you come up with your own commands (especially for OS X) 9 | # and would like to share, please post an issue on the GitHub tracker and we 10 | # can get them added to this file as references. 11 | # 12 | # 13 | # Mailcap 101 14 | # - The first entry with a matching MIME type will be executed, * is a wildcard 15 | # - %s will be replaced with the image or video url 16 | # - Add ``test=test -n "$DISPLAY"`` if your command opens a new window 17 | # - Add ``needsterminal`` for commands that use the terminal 18 | # - Add ``copiousoutput`` for commands that dump text to stdout 19 | 20 | ############################################################################### 21 | # Commands below this point will open media in a separate window without 22 | # pausing execution of RTV. 23 | ############################################################################### 24 | 25 | # Feh is a simple and effective image viewer 26 | # Note that rtv returns a list of urls for imgur albums, so we don't put quotes 27 | # around the `%s` 28 | image/x-imgur-album; feh %s; test=test -n "$DISPLAY" 29 | image/gif; mpv '%s' --loop=inf; test=test -n "$DISPLAY" 30 | image/*; feh '%s'; test=test -n "$DISPLAY" 31 | 32 | # Youtube videos are assigned a custom mime-type, which can be streamed with 33 | # vlc or youtube-dl. 34 | video/x-youtube; mpv '%s'; test=test -n "$DISPLAY" 35 | 36 | # Mpv is a simple and effective video streamer 37 | video/*; mpv '%s' --loop=inf; test=test -n "$DISPLAY" 38 | 39 | ############################################################################### 40 | # Commands below this point will attempt to display media directly in the 41 | # terminal when X is not available. 42 | ############################################################################### 43 | 44 | # View images directly in your terminal with iTerm2 45 | # curl -L https://iterm2.com/misc/install_shell_integration_and_utilities.sh | bash 46 | # image/*; curl -s %s | ~/.iterm2/imgcat && read -n 1; needsterminal 47 | 48 | # View true images in the terminal, supported by rxvt-unicode, xterm and st 49 | # Requires the w3m-img package 50 | image/*; w3m -o 'ext_image_viewer=off' '%s'; needsterminal 51 | 52 | # Don't have a solution for albums yet 53 | image/x-imgur-album; echo 54 | 55 | # 256 color images using half-width unicode characters 56 | # Much higher quality that img2txt, but must be built from source 57 | # https://github.com/rossy/img2xterm 58 | #image/*; curl -s '%s' | convert -resize 80x80 - jpg:/tmp/rtv.jpg && img2xterm /tmp/rtv.jpg; needsterminal; copiousoutput 59 | 60 | # Display images in classic ascii using img2txt and lib-caca 61 | image/*; curl -s '%s' | convert - jpg:/tmp/rtv.jpg && img2txt -f utf8 /tmp/rtv.jpg; needsterminal; copiousoutput 62 | 63 | # Full motion videos - requires a framebuffer to view 64 | video/x-youtube; mpv -vo drm -quiet '%s'; needsterminal 65 | video/*; mpv -vo drm -quiet '%s'; needsterminal 66 | 67 | # Ascii videos 68 | # video/x-youtube; youtube-dl -q -o - '%s' | mplayer -cache 8192 -vo caca -quiet -; needsterminal 69 | # video/*; wget '%s' -O - | mplayer -cache 8192 -vo caca -quiet -; needsterminal 70 | -------------------------------------------------------------------------------- /luakit/.config/luakit/theme.lua: -------------------------------------------------------------------------------- 1 | -- srcery luakit theme 2 | -- Copyright (C) 2019 Nguyễn Gia Phong 3 | -- 4 | -- This program is free software: you can redistribute it and/or modify 5 | -- it under the terms of the GNU General Public License as published by 6 | -- the Free Software Foundation, either version 3 of the License, or 7 | -- (at your option) any later version. 8 | -- 9 | -- This program is distributed in the hope that it will be useful, 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | -- GNU General Public License for more details. 13 | -- 14 | -- You should have received a copy of the GNU General Public License 15 | -- along with this program. If not, see . 16 | 17 | local theme = {} 18 | local color = {black = '#1C1B19', red = '#EF2F27', green = '#519F50', 19 | yellow = '#FBB829', blue = '#2C78BF', magenta = '#E02C6D', 20 | cyan = '#0AAEB3', white = '#918175', orange = '#ff5f00', 21 | brightblack = '#2D2C29', brightred = '#F75341', 22 | brightgreen = '#98BC37', brightyellow = '#FED06E', 23 | brightblue = '#68A8E4', brightmagenta = '#FF5C8F', 24 | brightcyan = '#53FDE9', brightwhite = '#FCE8C3'} 25 | 26 | 27 | -- Default settings 28 | theme.font = '12pt Latin Modern Mono' 29 | theme.fg = color.brightwhite 30 | theme.bg = color.black 31 | 32 | -- General colours 33 | theme.success_fg = color.brightgreen 34 | theme.loaded_fg = color.brightblue 35 | theme.error_fg = theme.fg 36 | theme.error_bg = color.red 37 | 38 | -- Warning colours 39 | theme.warning_fg = color.orange 40 | theme.warning_bg = theme.bg 41 | 42 | -- Notification colours 43 | theme.notif_fg = color.yellow 44 | theme.notif_bg = theme.bg 45 | 46 | -- Menu colours 47 | theme.menu_fg = theme.fg 48 | theme.menu_bg = color.brightblack 49 | theme.menu_selected_fg = theme.menu_fg 50 | theme.menu_selected_bg = color.magenta 51 | theme.menu_title_bg = theme.menu_bg 52 | theme.menu_primary_title_fg = color.green 53 | theme.menu_secondary_title_fg = color.cyan 54 | 55 | theme.menu_disabled_fg = color.white 56 | theme.menu_disabled_bg = theme.menu_bg 57 | theme.menu_enabled_fg = theme.menu_fg 58 | theme.menu_enabled_bg = theme.menu_bg 59 | theme.menu_active_fg = color.red 60 | theme.menu_active_bg = theme.menu_bg 61 | 62 | -- Proxy manager 63 | theme.proxy_active_menu_fg = theme.fg 64 | theme.proxy_active_menu_bg = theme.bg 65 | theme.proxy_inactive_menu_fg = color.green 66 | theme.proxy_inactive_menu_bg = theme.bg 67 | 68 | -- Statusbar specific 69 | theme.sbar_fg = theme.fg 70 | theme.sbar_bg = theme.bg 71 | 72 | -- Downloadbar specific 73 | theme.dbar_fg = theme.fg 74 | theme.dbar_bg = theme.bg 75 | theme.dbar_error_fg = color.red 76 | 77 | -- Input bar specific 78 | theme.ibar_fg = theme.fg 79 | theme.ibar_bg = theme.bg 80 | 81 | -- Tab label 82 | theme.tab_fg = theme.fg 83 | theme.tab_bg = color.brightblack 84 | theme.tab_hover_bg = color.blue 85 | theme.tab_ntheme = color.white 86 | theme.selected_fg = theme.fg 87 | theme.selected_bg = theme.bg 88 | theme.selected_ntheme = color.white 89 | theme.loading_fg = theme.loaded_fg 90 | theme.loading_bg = theme.loaded_bg 91 | 92 | theme.selected_private_tab_bg = color.brightmagenta 93 | theme.private_tab_bg = color.magenta 94 | 95 | -- Trusted/untrusted ssl colours 96 | theme.trust_fg = color.brightgreen 97 | theme.notrust_fg = color.brightred 98 | 99 | -- General colour pairings 100 | theme.ok = {fg = theme.fg, bg = theme.bg} 101 | theme.warn = {fg = color.orange, bg = theme.bg} 102 | theme.error = {fg = theme.fg, bg = color.red} 103 | 104 | return theme 105 | -------------------------------------------------------------------------------- /nix/configuration.nix: -------------------------------------------------------------------------------- 1 | # Edit this configuration file to define what should be installed on 2 | # your system. Help is available in the configuration.nix(5) man page 3 | # and in the NixOS manual (accessible by running ‘nixos-help’). 4 | 5 | { config, pkgs, ... }: 6 | 7 | { 8 | imports = 9 | [ # Include the results of the hardware scan. 10 | ./hardware-configuration.nix 11 | ]; 12 | 13 | # Use the systemd-boot EFI boot loader. 14 | boot.loader.systemd-boot.enable = true; 15 | 16 | networking.hostName = "nix"; # Define your hostname. 17 | # Enables wireless support via wpa_supplicant. 18 | # networking.wireless.enable = true; 19 | 20 | # The global useDHCP flag is deprecated, 21 | # therefore explicitly set to false here. 22 | # Per-interface useDHCP will be mandatory in the future, 23 | # so this generated config replicates the default behaviour. 24 | networking.useDHCP = false; 25 | networking.interfaces.enp1s0.useDHCP = true; 26 | networking.interfaces.wlp2s0.useDHCP = true; 27 | 28 | # Configure network proxy if necessary 29 | # networking.proxy.default = "http://user:password@proxy:port/"; 30 | # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; 31 | 32 | # Enable NetworkManager 33 | networking.networkmanager.enable = true; 34 | 35 | # Select internationalisation properties. 36 | i18n = { 37 | defaultLocale = "en_US.UTF-8"; 38 | inputMethod = { 39 | enabled = "ibus"; 40 | ibus.engines = with pkgs.ibus-engines; [ table table-others 41 | typing-booster ]; 42 | }; 43 | }; 44 | 45 | console = { 46 | font = "Lat2-Terminus16"; 47 | keyMap = "us"; 48 | }; 49 | 50 | # Set your time zone. 51 | time.timeZone = "Asia/Ho_Chi_Minh"; 52 | 53 | # List packages installed in system profile. To search, run: 54 | # $ nix search wget 55 | environment.systemPackages = with pkgs; with kdeApplications; [ 56 | ack htop mc stow zip 57 | alacritty emacs git nix-prefetch-scripts pkg-config 58 | alure2 libogg libsndfile libvorbis openal opusfile 59 | aria2 curl firefox ipfs thunderbird w3m wget 60 | ark ktorrent libreoffice okular spectacle 61 | audaciousQt5 ffmpeg-full mpv zbar 62 | azimuth duckmarines freedink gweled liquidwar lugaru tbe xonotic 63 | blender frei0r glfw gmic-qt-krita kdenlive krita simplescreenrecorder 64 | cmake gcc gdb man-pages posix_man_pages 65 | dict dictdDBs.eng2fra dictdDBs.fra2eng dictdDBs.wiktionary dictdDBs.wordnet 66 | efibootmgr refind 67 | go guile jdk12 lua octave rakudo rlwrap sbcl 68 | lmodern texlive.combined.scheme-full 69 | (python38.withPackages(ps: with ps; [ 70 | flake8 pip setuptools tox twine wheel 71 | cython numpy moderngl pillow pygame ])) 72 | ]; 73 | 74 | # Some programs need SUID wrappers, can be configured further or are 75 | # started in user sessions. 76 | programs.mtr.enable = true; 77 | programs.gnupg.agent = { enable = true; enableSSHSupport = true; }; 78 | 79 | # List services that you want to enable: 80 | services.dictd.enable = true; 81 | services.dictd.DBs = with pkgs.dictdDBs; [ eng2fra fra2eng 82 | wiktionary wordnet ]; 83 | 84 | # Emacs daemon 85 | services.emacs.enable = false; 86 | services.emacs.install = true; 87 | services.emacs.defaultEditor = true; 88 | 89 | # Enable the OpenSSH daemon. 90 | # services.openssh.enable = true; 91 | 92 | # Open ports in the firewall. 93 | # networking.firewall.allowedTCPPorts = [ ... ]; 94 | # networking.firewall.allowedUDPPorts = [ ... ]; 95 | # Or disable the firewall altogether. 96 | # networking.firewall.enable = false; 97 | 98 | # Enable CUPS to print documents. 99 | services.printing.enable = true; 100 | 101 | # Enable sound. 102 | sound.enable = true; 103 | hardware.pulseaudio.enable = true; 104 | 105 | # Enable the X11 windowing system. 106 | services.xserver.enable = true; 107 | services.xserver.layout = "us"; 108 | services.xserver.xkbOptions = "caps:ctrl_modifier,compose:ralt"; 109 | 110 | # Enable touchpad support. 111 | services.xserver.libinput.enable = true; 112 | 113 | # Enable the KDE Desktop Environment. 114 | services.xserver.displayManager.sddm.enable = true; 115 | services.xserver.desktopManager.plasma5.enable = true; 116 | 117 | # Define a user account. Don't forget to set a password with ‘passwd’. 118 | users.users.cee = { 119 | isNormalUser = true; 120 | extraGroups = [ "wheel" "networkmanager" ]; 121 | }; 122 | 123 | # This value determines the NixOS release with which your system is to be 124 | # compatible, in order to avoid breaking some software such as database 125 | # servers. You should change this only after NixOS release notes say you 126 | # should. 127 | system.stateVersion = "20.03"; # Did you read the comment? 128 | } 129 | -------------------------------------------------------------------------------- /debian/.bashrc: -------------------------------------------------------------------------------- 1 | # ~/.bashrc: executed by bash(1) for non-login shells. 2 | # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) 3 | # for examples 4 | 5 | # If not running interactively, don't do anything 6 | [[ $- != *i* ]] && return 7 | 8 | # don't put duplicate lines or lines starting with space in the history. 9 | # See bash(1) for more options 10 | HISTCONTROL=ignoreboth 11 | 12 | # append to the history file, don't overwrite it 13 | shopt -s histappend 14 | 15 | # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) 16 | HISTSIZE=32767 17 | HISTFILESIZE=65536 18 | 19 | # check the window size after each command and, if necessary, 20 | # update the values of LINES and COLUMNS. 21 | shopt -s checkwinsize 22 | 23 | # If set, the pattern "**" used in a pathname expansion context will 24 | # match all files and zero or more directories and subdirectories. 25 | shopt -s globstar 26 | 27 | # make less more friendly for non-text input files, see lesspipe(1) 28 | [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" 29 | 30 | # set variable identifying the chroot you work in (used in the prompt below) 31 | if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then 32 | debian_chroot=$(cat /etc/debian_chroot) 33 | fi 34 | 35 | # set a fancy prompt (non-color, unless we know we "want" color) 36 | case "$TERM" in 37 | xterm-color|*-256color) color_prompt=yes;; 38 | esac 39 | 40 | # uncomment for a colored prompt, if the terminal has the capability; turned 41 | # off by default to not distract the user: the focus in a terminal window 42 | # should be on the output of commands, not on the prompt 43 | force_color_prompt=yes 44 | 45 | if [ -n "$force_color_prompt" ]; then 46 | if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then 47 | # We have color support; assume it's compliant with Ecma-48 48 | # (ISO/IEC-6429). (Lack of such support is extremely rare, and such 49 | # a case would tend to support setf rather than setaf.) 50 | color_prompt=yes 51 | else 52 | color_prompt= 53 | fi 54 | fi 55 | 56 | if [ "$color_prompt" = yes ]; then 57 | PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' 58 | else 59 | PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' 60 | fi 61 | unset color_prompt force_color_prompt 62 | 63 | # If this is an xterm set the title to user@host:dir 64 | case "$TERM" in 65 | xterm*|rxvt*) PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1";; 66 | *);; 67 | esac 68 | 69 | # enable color support of ls and also add handy aliases 70 | if [ -x /usr/bin/dircolors ]; then 71 | test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" 72 | alias ls='ls --color=auto' 73 | alias dir='dir --color=auto' 74 | alias vdir='vdir --color=auto' 75 | 76 | alias grep='grep --color=auto' 77 | alias fgrep='fgrep --color=auto' 78 | alias egrep='egrep --color=auto' 79 | fi 80 | 81 | # colored GCC warnings and errors 82 | export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' 83 | 84 | # some more ls aliases 85 | alias ll='exa -l' 86 | alias la='exa -a' 87 | 88 | # Alias definitions. 89 | # You may want to put all your additions into a separate file like 90 | # ~/.bash_aliases, instead of adding them here directly. 91 | # See /usr/share/doc/bash-doc/examples in the bash-doc package. 92 | alias l='$(fc -ln -1) | less -r' 93 | alias r=ranger 94 | alias v='vim $(fzf)' 95 | alias fd=fdfind 96 | alias cdid='cd $HOME/Sources/pip/src/pip/_internal' 97 | alias pwip='python3 $HOME/Sources/pip/src/pip' 98 | alias gcc='gcc -Wall -Wextra -pedantic -O2 -lm' 99 | alias g++='g++ -Wall -Wextra -pedantic -O2 -lm' 100 | alias fpc='fpc -O1 -XS -gl' 101 | alias x='cd $HOME && startx && cd -' 102 | alias backup='rsync -avh --delete /home/ /data/Home/' 103 | eval $(thefuck --alias) 104 | 105 | function ipfs-cors { 106 | ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["http://127.0.0.1:8080", "http://127.0.0.1:5001", "https://webui.ipfs.io"]' 107 | ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '["PUT", "GET", "POST"]' 108 | systemctl restart --user ipfs 109 | } 110 | 111 | # enable programmable completion features (you don't need to enable 112 | # this, if it's already enabled in /etc/bash.bashrc and /etc/profile 113 | # sources /etc/bash.bashrc). 114 | if ! shopt -oq posix; then 115 | if [ -f /usr/share/bash-completion/bash_completion ]; then 116 | . /usr/share/bash-completion/bash_completion 117 | elif [ -f /etc/bash_completion ]; then 118 | . /etc/bash_completion 119 | fi 120 | fi 121 | 122 | # fzf ** completion 123 | source /usr/share/doc/fzf/examples/completion.bash 124 | 125 | stty -ixon 126 | # emacs input 127 | set -o emacs 128 | 129 | export EDITOR=vim 130 | export PAGER=less 131 | export IRCSERVER=irc.freenode.net 132 | -------------------------------------------------------------------------------- /ranger/.config/ranger/scope.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | # ranger supports enhanced previews. If the option "use_preview_script" 3 | # is set to True and this file exists, this script will be called and its 4 | # output is displayed in ranger. ANSI color codes are supported. 5 | 6 | # NOTES: This script is considered a configuration file. If you upgrade 7 | # ranger, it will be left untouched. (You must update it yourself.) 8 | # Also, ranger disables STDIN here, so interactive scripts won't work properly 9 | 10 | # Meanings of exit codes: 11 | # code | meaning | action of ranger 12 | # -----+------------+------------------------------------------- 13 | # 0 | success | success. display stdout as preview 14 | # 1 | no preview | failure. display no preview at all 15 | # 2 | plain text | display the plain content of the file 16 | # 3 | fix width | success. Don't reload when width changes 17 | # 4 | fix height | success. Don't reload when height changes 18 | # 5 | fix both | success. Don't ever reload 19 | # 6 | image | success. display the image $cached points to as an image preview 20 | # 7 | image | success. display the file directly as an image 21 | 22 | # Meaningful aliases for arguments: 23 | path="$1" # Full path of the selected file 24 | width="$2" # Width of the preview pane (number of fitting characters) 25 | height="$3" # Height of the preview pane (number of fitting characters) 26 | cached="$4" # Path that should be used to cache image previews 27 | preview_images="$5" # "True" if image previews are enabled, "False" otherwise. 28 | 29 | maxln=200 # Stop after $maxln lines. Can be used like ls | head -n $maxln 30 | 31 | # Find out something about the file: 32 | mimetype=$(file --mime-type -Lb "$path") 33 | extension=$(/bin/echo "${path##*.}" | awk '{print tolower($0)}') 34 | 35 | # Functions: 36 | # runs a command and saves its output into $output. Useful if you need 37 | # the return value AND want to use the output in a pipe 38 | try() { output=$(eval '"$@"'); } 39 | 40 | # writes the output of the previously used "try" command 41 | dump() { /bin/echo "$output"; } 42 | 43 | # a common post-processing function used after most commands 44 | trim() { head -n "$maxln"; } 45 | 46 | # wraps highlight to treat exit code 141 (killed by SIGPIPE) as success 47 | safepipe() { "$@"; test $? = 0 -o $? = 141; } 48 | 49 | # Image previews, if enabled in ranger. 50 | if [ "$preview_images" = "True" ]; then 51 | case "$mimetype" in 52 | # Image previews for SVG files, disabled by default. 53 | ###image/svg+xml) 54 | ### convert "$path" "$cached" && exit 6 || exit 1;; 55 | # Image previews for image files. w3mimgdisplay will be called for all 56 | # image files (unless overriden as above), but might fail for 57 | # unsupported types. 58 | image/*) 59 | exit 7;; 60 | # Image preview for video, disabled by default.: 61 | ###video/*) 62 | ### ffmpegthumbnailer -i "$path" -o "$cached" -s 0 && exit 6 || exit 1;; 63 | esac 64 | fi 65 | 66 | case "$extension" in 67 | # Archive extensions: 68 | a|ace|alz|arc|arj|bz|bz2|cab|cpio|deb|gz|jar|lha|lz|lzh|lzma|lzo|\ 69 | rpm|rz|t7z|tar|tbz|tbz2|tgz|tlz|txz|tZ|tzo|war|xpi|xz|Z|zip) 70 | try als "$path" && { dump | trim; exit 0; } 71 | try acat "$path" && { dump | trim; exit 3; } 72 | try bsdtar -lf "$path" && { dump | trim; exit 0; } 73 | exit 1;; 74 | rar) 75 | # avoid password prompt by providing empty password 76 | try unrar -p- lt "$path" && { dump | trim; exit 0; } || exit 1;; 77 | 7z) 78 | # avoid password prompt by providing empty password 79 | try 7z -p l "$path" && { dump | trim; exit 0; } || exit 1;; 80 | # PDF documents: 81 | pdf) 82 | try pdftotext -l 10 -nopgbrk -q "$path" - && \ 83 | { dump | trim | fmt -s -w $width; exit 0; } || exit 1;; 84 | # BitTorrent Files 85 | torrent) 86 | try transmission-show "$path" && { dump | trim; exit 5; } || exit 1;; 87 | # ODT Files 88 | odt|ods|odp|sxw) 89 | try odt2txt "$path" && { dump | trim; exit 5; } || exit 1;; 90 | # HTML Pages: 91 | htm|html|xhtml) 92 | try w3m -dump "$path" && { dump | trim | fmt -s -w $width; exit 4; } 93 | try lynx -dump "$path" && { dump | trim | fmt -s -w $width; exit 4; } 94 | try elinks -dump "$path" && { dump | trim | fmt -s -w $width; exit 4; } 95 | ;; # fall back to highlight/cat if the text browsers fail 96 | esac 97 | 98 | case "$mimetype" in 99 | # Syntax highlight for text files: 100 | text/* | */xml) 101 | if [ "$(tput colors)" -ge 256 ]; then 102 | pygmentize_format=terminal256 103 | highlight_format=xterm256 104 | else 105 | pygmentize_format=terminal 106 | highlight_format=ansi 107 | fi 108 | try safepipe highlight --out-format=${highlight_format} "$path" && { dump | trim; exit 5; } 109 | try safepipe pygmentize -f ${pygmentize_format} "$path" && { dump | trim; exit 5; } 110 | exit 2;; 111 | # Ascii-previews of images: 112 | image/*) 113 | img2txt --gamma=0.6 --width="$width" "$path" && exit 4 || exit 1;; 114 | # Display information about media files: 115 | video/* | audio/*) 116 | exiftool "$path" && exit 5 117 | # Use sed to remove spaces so the output fits into the narrow window 118 | try mediainfo "$path" && { dump | trim | sed 's/ \+:/: /;'; exit 5; } || exit 1;; 119 | esac 120 | 121 | exit 1 122 | -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-dark/theme.lua: -------------------------------------------------------------------------------- 1 | -- gruvbox awesome theme, dark variant 2 | -- Copyright (C) 2016-2019 Nguyễn Gia Phong 3 | -- 4 | -- This program is free software: you can redistribute it and/or modify 5 | -- it under the terms of the GNU General Public License as published by 6 | -- the Free Software Foundation, either version 3 of the License, or 7 | -- (at your option) any later version. 8 | -- 9 | -- This program is distributed in the hope that it will be useful, 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | -- GNU General Public License for more details. 13 | -- 14 | -- You should have received a copy of the GNU General Public License 15 | -- along with this program. If not, see . 16 | 17 | local theme = {} 18 | 19 | -- Working directory (where you place this theme) 20 | theme.wd = "~/.config/awesome/themes/gruvbox-dark/" 21 | 22 | theme.font = "Latin Modern Mono Caps 12" 23 | theme.hotkeys_font = "Latin Modern Mono Bold 12" 24 | theme.hotkeys_description_font = theme.font 25 | 26 | theme.bg_normal = "#282828" 27 | theme.bg_focus = "#3c3836" 28 | theme.bg_urgent = theme.bg_normal 29 | theme.bg_minimize = theme.bg_focus 30 | theme.bg_systray = theme.bg_normal 31 | theme.hotkeys_bg = theme.bg_normal 32 | 33 | theme.fg_normal = "#ebdbb2" 34 | theme.fg_focus = theme.fg_normal 35 | theme.fg_urgent = "#d3869b" 36 | theme.fg_minimize = theme.fg_normal 37 | theme.hotkeys_fg = theme.fg_normal 38 | 39 | theme.useless_gap = 0 40 | theme.border_width = 2 41 | theme.border_normal = "#353535" 42 | theme.border_focus = "#b16286" 43 | theme.border_marked = "#cc241d" 44 | 45 | theme.hotkeys_border_color = theme.border_focus 46 | theme.hotkeys_border_width = theme.border_width 47 | theme.hotkeys_modifiers_fg = theme.fg_urgent 48 | 49 | -- There are other variable sets 50 | -- overriding the default one when 51 | -- defined, the sets are: 52 | -- taglist_[bg|fg]_[focus|urgent|occupied|empty] 53 | -- tasklist_[bg|fg]_[focus|urgent] 54 | -- titlebar_[bg|fg]_[normal|focus] 55 | -- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color] 56 | -- mouse_finder_[color|timeout|animate_timeout|radius|factor] 57 | theme.titlebar_bg_normal = theme.bg_normal 58 | theme.titlebar_bg_focus = theme.bg_normal 59 | 60 | -- Display the taglist squares 61 | theme.taglist_squares_sel = theme.wd .. "taglist/squaref.png" 62 | theme.taglist_squares_unsel = theme.wd .. "taglist/square.png" 63 | 64 | -- Variables set for theming the menu: 65 | -- menu_[bg|fg]_[normal|focus] 66 | -- menu_[border_color|border_width] 67 | theme.menu_submenu_icon = theme.wd .. "submenu.png" 68 | theme.menu_height = 22 69 | theme.menu_width = 160 70 | 71 | -- You can add as many variables as 72 | -- you wish and access them by using 73 | -- beautiful.variable in your rc.lua 74 | --theme.bg_widget = "#cc0000" 75 | 76 | -- Define the image to load 77 | theme.titlebar_close_button_normal = theme.wd .. "titlebar/normal.png" 78 | theme.titlebar_close_button_focus = theme.wd .. "titlebar/close.png" 79 | 80 | theme.titlebar_minimize_button_normal = theme.wd .. "titlebar/normal.png" 81 | theme.titlebar_minimize_button_focus = theme.wd .. "titlebar/minimize.png" 82 | 83 | theme.titlebar_ontop_button_normal_inactive = theme.wd .. "titlebar/normal.png" 84 | theme.titlebar_ontop_button_focus_inactive = theme.wd .. "titlebar/ontop_inactive.png" 85 | theme.titlebar_ontop_button_normal_active = theme.wd .. "titlebar/normal.png" 86 | theme.titlebar_ontop_button_focus_active = theme.wd .. "titlebar/ontop_active.png" 87 | 88 | theme.titlebar_sticky_button_normal_inactive = theme.wd .. "titlebar/normal.png" 89 | theme.titlebar_sticky_button_focus_inactive = theme.wd .. "titlebar/sticky_inactive.png" 90 | theme.titlebar_sticky_button_normal_active = theme.wd .. "titlebar/normal.png" 91 | theme.titlebar_sticky_button_focus_active = theme.wd .. "titlebar/sticky_active.png" 92 | 93 | theme.titlebar_floating_button_normal_inactive = theme.wd .. "titlebar/normal.png" 94 | theme.titlebar_floating_button_focus_inactive = theme.wd .. "titlebar/floating_inactive.png" 95 | theme.titlebar_floating_button_normal_active = theme.wd .. "titlebar/normal.png" 96 | theme.titlebar_floating_button_focus_active = theme.wd .. "titlebar/floating_active.png" 97 | 98 | theme.titlebar_maximized_button_normal_inactive = theme.wd .. "titlebar/normal.png" 99 | theme.titlebar_maximized_button_focus_inactive = theme.wd .. "titlebar/maximized_inactive.png" 100 | theme.titlebar_maximized_button_normal_active = theme.wd .. "titlebar/normal.png" 101 | theme.titlebar_maximized_button_focus_active = theme.wd .. "titlebar/maximized_active.png" 102 | 103 | --theme.wallpaper = theme.wd .. "background.png" 104 | 105 | -- You can use your own layout icons like this: 106 | theme.layout_fairh = theme.wd .. "layouts/fairh.png" 107 | theme.layout_fairv = theme.wd .. "layouts/fairv.png" 108 | theme.layout_floating = theme.wd .. "layouts/floating.png" 109 | theme.layout_magnifier = theme.wd .. "layouts/magnifier.png" 110 | theme.layout_max = theme.wd .. "layouts/max.png" 111 | theme.layout_fullscreen = theme.wd .. "layouts/fullscreen.png" 112 | theme.layout_tilebottom = theme.wd .. "layouts/tilebottom.png" 113 | theme.layout_tileleft = theme.wd .. "layouts/tileleft.png" 114 | theme.layout_tile = theme.wd .. "layouts/tile.png" 115 | theme.layout_tiletop = theme.wd .. "layouts/tiletop.png" 116 | theme.layout_spiral = theme.wd .. "layouts/spiral.png" 117 | theme.layout_dwindle = theme.wd .. "layouts/dwindle.png" 118 | theme.layout_cornernw = theme.wd .. "layouts/cornernw.png" 119 | theme.layout_cornerne = theme.wd .. "layouts/cornerne.png" 120 | theme.layout_cornersw = theme.wd .. "layouts/cornersw.png" 121 | theme.layout_cornerse = theme.wd .. "layouts/cornerse.png" 122 | 123 | theme.awesome_icon = theme.wd .. "awesome.png" 124 | 125 | -- Define the icon theme for application icons. If not set then the icons 126 | -- from /usr/share/icons and /usr/share/icons/hicolor will be used. 127 | theme.icon_theme = nil 128 | 129 | -- Arrows 130 | theme.arrow0 = theme.wd .. "arrows/0.png" 131 | theme.arrow1 = theme.wd .. "arrows/1.png" 132 | theme.arrow2 = theme.wd .. "arrows/2.png" 133 | theme.arrow3 = theme.wd .. "arrows/3.png" 134 | theme.arrow4 = theme.wd .. "arrows/4.png" 135 | theme.arrow5 = theme.wd .. "arrows/5.png" 136 | theme.arrow6 = theme.wd .. "arrows/6.png" 137 | 138 | return theme 139 | -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/gruvbox-light/theme.lua: -------------------------------------------------------------------------------- 1 | -- gruvbox awesome theme, light variant 2 | -- Copyright (C) 2016-2019 Nguyễn Gia Phong 3 | -- 4 | -- This program is free software: you can redistribute it and/or modify 5 | -- it under the terms of the GNU General Public License as published by 6 | -- the Free Software Foundation, either version 3 of the License, or 7 | -- (at your option) any later version. 8 | -- 9 | -- This program is distributed in the hope that it will be useful, 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | -- GNU General Public License for more details. 13 | -- 14 | -- You should have received a copy of the GNU General Public License 15 | -- along with this program. If not, see . 16 | 17 | local theme = {} 18 | 19 | -- Working directory (where you place this theme) 20 | theme.wd = "~/.config/awesome/themes/gruvbox-light/" 21 | 22 | theme.font = "Latin Modern Mono Caps 12" 23 | theme.hotkeys_font = "Latin Modern Mono Bold 12" 24 | theme.hotkeys_description_font = theme.font 25 | 26 | theme.bg_normal = "#fbf1c7" 27 | theme.bg_focus = "#ebdbb2" 28 | theme.bg_urgent = theme.bg_normal 29 | theme.bg_minimize = theme.bg_focus 30 | theme.bg_systray = theme.bg_normal 31 | theme.hotkeys_bg = theme.bg_normal 32 | 33 | theme.fg_normal = "#3c3836" 34 | theme.fg_focus = theme.fg_normal 35 | theme.fg_urgent = "#8f3f71" 36 | theme.fg_minimize = theme.fg_normal 37 | theme.hotkeys_fg = theme.fg_normal 38 | 39 | theme.useless_gap = 0 40 | theme.border_width = 2 41 | theme.border_normal = theme.bg_focus 42 | theme.border_focus = "#b16286" 43 | theme.border_marked = "#cc241d" 44 | 45 | theme.hotkeys_border_color = theme.border_focus 46 | theme.hotkeys_border_width = theme.border_width 47 | theme.hotkeys_modifiers_fg = theme.fg_urgent 48 | 49 | -- There are other variable sets 50 | -- overriding the default one when 51 | -- defined, the sets are: 52 | -- taglist_[bg|fg]_[focus|urgent|occupied|empty] 53 | -- tasklist_[bg|fg]_[focus|urgent] 54 | -- titlebar_[bg|fg]_[normal|focus] 55 | -- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color] 56 | -- mouse_finder_[color|timeout|animate_timeout|radius|factor] 57 | theme.titlebar_bg_normal = theme.bg_normal 58 | theme.titlebar_bg_focus = theme.bg_normal 59 | 60 | -- Display the taglist squares 61 | theme.taglist_squares_sel = theme.wd .. "taglist/squaref.png" 62 | theme.taglist_squares_unsel = theme.wd .. "taglist/square.png" 63 | 64 | -- Variables set for theming the menu: 65 | -- menu_[bg|fg]_[normal|focus] 66 | -- menu_[border_color|border_width] 67 | theme.menu_submenu_icon = theme.wd .. "submenu.png" 68 | theme.menu_height = 22 69 | theme.menu_width = 160 70 | 71 | -- You can add as many variables as 72 | -- you wish and access them by using 73 | -- beautiful.variable in your rc.lua 74 | --theme.bg_widget = "#cc0000" 75 | 76 | -- Define the image to load 77 | theme.titlebar_close_button_normal = theme.wd .. "titlebar/normal.png" 78 | theme.titlebar_close_button_focus = theme.wd .. "titlebar/close.png" 79 | 80 | theme.titlebar_minimize_button_normal = theme.wd .. "titlebar/normal.png" 81 | theme.titlebar_minimize_button_focus = theme.wd .. "titlebar/minimize.png" 82 | 83 | theme.titlebar_ontop_button_normal_inactive = theme.wd .. "titlebar/normal.png" 84 | theme.titlebar_ontop_button_focus_inactive = theme.wd .. "titlebar/ontop_inactive.png" 85 | theme.titlebar_ontop_button_normal_active = theme.wd .. "titlebar/normal.png" 86 | theme.titlebar_ontop_button_focus_active = theme.wd .. "titlebar/ontop_active.png" 87 | 88 | theme.titlebar_sticky_button_normal_inactive = theme.wd .. "titlebar/normal.png" 89 | theme.titlebar_sticky_button_focus_inactive = theme.wd .. "titlebar/sticky_inactive.png" 90 | theme.titlebar_sticky_button_normal_active = theme.wd .. "titlebar/normal.png" 91 | theme.titlebar_sticky_button_focus_active = theme.wd .. "titlebar/sticky_active.png" 92 | 93 | theme.titlebar_floating_button_normal_inactive = theme.wd .. "titlebar/normal.png" 94 | theme.titlebar_floating_button_focus_inactive = theme.wd .. "titlebar/floating_inactive.png" 95 | theme.titlebar_floating_button_normal_active = theme.wd .. "titlebar/normal.png" 96 | theme.titlebar_floating_button_focus_active = theme.wd .. "titlebar/floating_active.png" 97 | 98 | theme.titlebar_maximized_button_normal_inactive = theme.wd .. "titlebar/normal.png" 99 | theme.titlebar_maximized_button_focus_inactive = theme.wd .. "titlebar/maximized_inactive.png" 100 | theme.titlebar_maximized_button_normal_active = theme.wd .. "titlebar/normal.png" 101 | theme.titlebar_maximized_button_focus_active = theme.wd .. "titlebar/maximized_active.png" 102 | 103 | --theme.wallpaper = theme.wd .. "background.png" 104 | 105 | -- You can use your own layout icons like this: 106 | theme.layout_fairh = theme.wd .. "layouts/fairh.png" 107 | theme.layout_fairv = theme.wd .. "layouts/fairv.png" 108 | theme.layout_floating = theme.wd .. "layouts/floating.png" 109 | theme.layout_magnifier = theme.wd .. "layouts/magnifier.png" 110 | theme.layout_max = theme.wd .. "layouts/max.png" 111 | theme.layout_fullscreen = theme.wd .. "layouts/fullscreen.png" 112 | theme.layout_tilebottom = theme.wd .. "layouts/tilebottom.png" 113 | theme.layout_tileleft = theme.wd .. "layouts/tileleft.png" 114 | theme.layout_tile = theme.wd .. "layouts/tile.png" 115 | theme.layout_tiletop = theme.wd .. "layouts/tiletop.png" 116 | theme.layout_spiral = theme.wd .. "layouts/spiral.png" 117 | theme.layout_dwindle = theme.wd .. "layouts/dwindle.png" 118 | theme.layout_cornernw = theme.wd .. "layouts/cornernw.png" 119 | theme.layout_cornerne = theme.wd .. "layouts/cornerne.png" 120 | theme.layout_cornersw = theme.wd .. "layouts/cornersw.png" 121 | theme.layout_cornerse = theme.wd .. "layouts/cornerse.png" 122 | 123 | theme.awesome_icon = theme.wd .. "awesome.png" 124 | 125 | -- Define the icon theme for application icons. If not set then the icons 126 | -- from /usr/share/icons and /usr/share/icons/hicolor will be used. 127 | theme.icon_theme = nil 128 | 129 | -- Arrows 130 | theme.arrow0 = theme.wd .. "arrows/0.png" 131 | theme.arrow1 = theme.wd .. "arrows/1.png" 132 | theme.arrow2 = theme.wd .. "arrows/2.png" 133 | theme.arrow3 = theme.wd .. "arrows/3.png" 134 | theme.arrow4 = theme.wd .. "arrows/4.png" 135 | theme.arrow5 = theme.wd .. "arrows/5.png" 136 | theme.arrow6 = theme.wd .. "arrows/6.png" 137 | 138 | return theme 139 | -------------------------------------------------------------------------------- /awesome/.config/awesome/themes/srcery/theme.lua: -------------------------------------------------------------------------------- 1 | -- srcery awesome theme 2 | -- Copyright (C) 2019 Nguyễn Gia Phong 3 | -- 4 | -- This program is free software: you can redistribute it and/or modify 5 | -- it under the terms of the GNU General Public License as published by 6 | -- the Free Software Foundation, either version 3 of the License, or 7 | -- (at your option) any later version. 8 | -- 9 | -- This program is distributed in the hope that it will be useful, 10 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | -- GNU General Public License for more details. 13 | -- 14 | -- You should have received a copy of the GNU General Public License 15 | -- along with this program. If not, see . 16 | 17 | local gears = require'gears' 18 | 19 | local theme = {} 20 | -- Working directory (where you place this theme) 21 | local wd = '~/.config/awesome/themes/srcery/' 22 | local function abspath(relative) return wd .. relative end 23 | 24 | theme.font = 'Latin Modern Mono Caps 12' 25 | theme.hotkeys_font = 'Latin Modern Mono Bold 12' 26 | theme.hotkeys_description_font = theme.font 27 | 28 | -- Auxiliary colors 29 | theme.black = '#1c1b19' 30 | theme.gray = '#2d2c29' 31 | theme.red = '#ef2f27' 32 | theme.orange = '#ff5f00' 33 | theme.yellow = '#fbb829' 34 | theme.green = '#519f50' 35 | theme.cyan = '#0aaeb3' 36 | theme.blue = '#2c78bf' 37 | theme.magenta = '#e02c6d' 38 | theme.grey = '#918175' 39 | theme.white = '#fce8c3' 40 | 41 | theme.bg_normal = theme.black 42 | theme.bg_focus = theme.gray 43 | theme.bg_urgent = theme.bg_normal 44 | theme.bg_minimize = theme.bg_focus 45 | theme.bg_systray = theme.bg_normal 46 | theme.hotkeys_bg = theme.bg_normal 47 | 48 | theme.fg_normal = theme.white 49 | theme.fg_focus = theme.fg_normal 50 | theme.fg_urgent = theme.grey 51 | theme.fg_minimize = theme.fg_normal 52 | theme.hotkeys_fg = theme.fg_normal 53 | 54 | theme.useless_gap = 0 55 | theme.border_width = 2 56 | theme.border_normal = '#353535' 57 | theme.border_focus = theme.orange 58 | theme.border_marked = theme.red 59 | 60 | theme.hotkeys_border_color = theme.border_focus 61 | theme.hotkeys_border_width = theme.border_width 62 | theme.hotkeys_modifiers_fg = theme.fg_urgent 63 | 64 | -- There are other variable sets 65 | -- overriding the default one when 66 | -- defined, the sets are: 67 | -- taglist_[bg|fg]_[focus|urgent|occupied|empty] 68 | -- tasklist_[bg|fg]_[focus|urgent] 69 | -- titlebar_[bg|fg]_[normal|focus] 70 | -- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color] 71 | -- mouse_finder_[color|timeout|animate_timeout|radius|factor] 72 | theme.titlebar_bg_normal = theme.bg_normal 73 | theme.titlebar_bg_focus = theme.bg_normal 74 | 75 | -- Display the taglist squares 76 | theme.taglist_squares_sel = abspath'taglist/squaref.png' 77 | theme.taglist_squares_unsel = abspath'taglist/square.png' 78 | 79 | -- Variables set for theming the menu: 80 | -- menu_[bg|fg]_[normal|focus] 81 | -- menu_[border_color|border_width] 82 | theme.menu_submenu_icon = abspath'submenu.png' 83 | theme.menu_height = 22 84 | theme.menu_width = 160 85 | 86 | -- You can add as many variables as 87 | -- you wish and access them by using 88 | -- beautiful.variable in your rc.lua 89 | --theme.bg_widget = '#cc0000' 90 | 91 | -- Define the image to load 92 | local function titlebar(button) 93 | return abspath('titlebar/' .. button .. '.png') 94 | end 95 | theme.titlebar_close_button_normal = titlebar'normal' 96 | theme.titlebar_close_button_focus = titlebar'close' 97 | 98 | theme.titlebar_minimize_button_normal = titlebar'normal' 99 | theme.titlebar_minimize_button_focus = titlebar'minimize' 100 | 101 | theme.titlebar_ontop_button_normal_inactive = titlebar'normal' 102 | theme.titlebar_ontop_button_focus_inactive = titlebar'ontop_inactive' 103 | theme.titlebar_ontop_button_normal_active = titlebar'normal' 104 | theme.titlebar_ontop_button_focus_active = titlebar'ontop_active' 105 | 106 | theme.titlebar_sticky_button_normal_inactive = titlebar'normal' 107 | theme.titlebar_sticky_button_focus_inactive = titlebar'sticky_inactive' 108 | theme.titlebar_sticky_button_normal_active = titlebar'normal' 109 | theme.titlebar_sticky_button_focus_active = titlebar'sticky_active' 110 | 111 | theme.titlebar_floating_button_normal_inactive = titlebar'normal' 112 | theme.titlebar_floating_button_focus_inactive = titlebar'floating_inactive' 113 | theme.titlebar_floating_button_normal_active = titlebar'normal' 114 | theme.titlebar_floating_button_focus_active = titlebar'floating_active' 115 | 116 | theme.titlebar_maximized_button_normal_inactive = titlebar'normal' 117 | theme.titlebar_maximized_button_focus_inactive = titlebar'maximized_inactive' 118 | theme.titlebar_maximized_button_normal_active = titlebar'normal' 119 | theme.titlebar_maximized_button_focus_active = titlebar'maximized_active' 120 | 121 | -- Desktop background 122 | function theme.wallpaper() gears.wallpaper.set(theme.black) end 123 | 124 | -- You can use your own layout icons like this: 125 | local function layout(icon) 126 | return abspath('layouts/' .. icon .. '.png') 127 | end 128 | theme.layout_fairh = layout'fairh' 129 | theme.layout_fairv = layout'fairv' 130 | theme.layout_floating = layout'floating' 131 | theme.layout_magnifier = layout'magnifier' 132 | theme.layout_max = layout'max' 133 | theme.layout_fullscreen = layout'fullscreen' 134 | theme.layout_tilebottom = layout'tilebottom' 135 | theme.layout_tileleft = layout'tileleft' 136 | theme.layout_tile = layout'tile' 137 | theme.layout_tiletop = layout'tiletop' 138 | theme.layout_spiral = layout'spiral' 139 | theme.layout_dwindle = layout'dwindle' 140 | theme.layout_cornernw = layout'cornernw' 141 | theme.layout_cornerne = layout'cornerne' 142 | theme.layout_cornersw = layout'cornersw' 143 | theme.layout_cornerse = layout'cornerse' 144 | 145 | theme.awesome_icon = abspath'awesome.png' 146 | 147 | -- Define the icon theme for application icons. If not set then the icons 148 | -- from /usr/share/icons and /usr/share/icons/hicolor will be used. 149 | theme.icon_theme = nil 150 | 151 | -- Arrows 152 | theme.arrow0 = abspath'arrows/0.png' 153 | theme.arrow1 = abspath'arrows/1.png' 154 | theme.arrow2 = abspath'arrows/2.png' 155 | theme.arrow3 = abspath'arrows/3.png' 156 | theme.arrow4 = abspath'arrows/4.png' 157 | theme.arrow5 = abspath'arrows/5.png' 158 | theme.arrow6 = abspath'arrows/6.png' 159 | 160 | return theme 161 | -------------------------------------------------------------------------------- /luakit/.config/luakit/rc.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------ 2 | -- luakit configuration file, more information at https://luakit.github.io/ -- 3 | ------------------------------------------------------------------------------ 4 | 5 | require "lfs" 6 | 7 | require "unique_instance" 8 | 9 | -- Set the number of web processes to use. A value of 0 means 'no limit'. 10 | luakit.process_limit = 0 11 | -- Set the cookie storage location 12 | soup.cookies_storage = luakit.data_dir .. "/cookies.db" 13 | 14 | -- Load library of useful functions for luakit 15 | local lousy = require "lousy" 16 | 17 | -- Load users theme 18 | -- ("$XDG_CONFIG_HOME/luakit/theme.lua" or "/etc/xdg/luakit/theme.lua") 19 | lousy.theme.init(lousy.util.find_config("theme.lua")) 20 | assert(lousy.theme.get(), "failed to load theme") 21 | 22 | -- Load users window class 23 | -- ("$XDG_CONFIG_HOME/luakit/window.lua" or "/etc/xdg/luakit/window.lua") 24 | local window = require "window" 25 | 26 | -- Load users webview class 27 | -- ("$XDG_CONFIG_HOME/luakit/webview.lua" or "/etc/xdg/luakit/webview.lua") 28 | local webview = require "webview" 29 | 30 | webview.add_signal("init", function (view) 31 | view:add_signal("navigation-request", function (v, uri) 32 | if string.match(string.lower(uri), "^magnet:") then 33 | luakit.spawn(string.format("%s %q", "transmission-gtk", uri)) 34 | return false 35 | end 36 | end) 37 | end) 38 | 39 | -- Add luakit://log/ chrome page 40 | local log_chrome = require "log_chrome" 41 | 42 | window.add_signal("build", function (w) 43 | local widgets, l, r = require "lousy.widget", w.sbar.l, w.sbar.r 44 | 45 | -- Left-aligned status bar widgets 46 | l.layout:pack(widgets.uri()) 47 | l.layout:pack(widgets.hist()) 48 | l.layout:pack(widgets.progress()) 49 | 50 | -- Right-aligned status bar widgets 51 | r.layout:pack(widgets.buf()) 52 | r.layout:pack(log_chrome.widget()) 53 | r.layout:pack(widgets.ssl()) 54 | r.layout:pack(widgets.tabi()) 55 | r.layout:pack(widgets.scroll()) 56 | end) 57 | 58 | -- Load luakit binds and modes 59 | local modes = require "modes" 60 | local binds = require "binds" 61 | 62 | -- Play embedded video in mpv 63 | modes.add_binds("normal", { { "v", "Play video in page", function (w) 64 | local view = w.view 65 | local uri = view.hovered_uri or view.uri 66 | if uri then luakit.spawn(string.format("mpv %s", uri)) end 67 | end } }) 68 | 69 | local settings = require "settings" 70 | settings.window.home_page = "luakit://newtab" 71 | settings.window.close_with_last_tab = true 72 | --settings.window.search_engines["debian"] = "https://packages.debian.org/search?keywords=%s" 73 | settings.window.search_engines["youtube"] = "https://www.youtube.com/results?search_query=%s" 74 | settings.window.search_engines["neoitem"] = "https://items.jellyneo.net/search/?name=%s" 75 | settings.window.default_search_engine = "duckduckgo" 76 | require "settings_chrome" 77 | 78 | require "undoclose" 79 | settings.undoclose.max_saved_tabs = 4 80 | 81 | ---------------------------------- 82 | -- Optional user script loading -- 83 | ---------------------------------- 84 | 85 | -- Add adblock 86 | local adblock = require "adblock" 87 | local adblock_chrome = require "adblock_chrome" 88 | 89 | local webinspector = require "webinspector" 90 | 91 | -- Add uzbl-like form filling 92 | local formfiller = require "formfiller" 93 | 94 | -- Add proxy support & manager 95 | local proxy = require "proxy" 96 | 97 | -- Add quickmarks support & manager 98 | local quickmarks = require "quickmarks" 99 | 100 | -- Add session saving/loading support 101 | local session = require "session" 102 | 103 | -- Add command to list closed tabs & bind to open closed tabs 104 | local undoclose = require "undoclose" 105 | 106 | -- Add command to list tab history items 107 | local tabhistory = require "tabhistory" 108 | 109 | -- Add greasemonkey-like javascript userscript support 110 | local userscripts = require "userscripts" 111 | 112 | -- Add bookmarks support 113 | local bookmarks = require "bookmarks" 114 | local bookmarks_chrome = require "bookmarks_chrome" 115 | 116 | -- Add download support 117 | local downloads = require "downloads" 118 | local downloads_chrome = require "downloads_chrome" 119 | 120 | -- Add automatic PDF downloading and opening 121 | local viewpdf = require "viewpdf" 122 | 123 | -- Example using xdg-open for opening downloads / showing download folders 124 | downloads.add_signal("open-file", function (file) 125 | luakit.spawn(string.format("xdg-open %q", file)) 126 | return true 127 | end) 128 | 129 | -- Add vimperator-like link hinting & following 130 | local follow = require "follow" 131 | 132 | -- Add command history 133 | local cmdhist = require "cmdhist" 134 | 135 | -- Add search mode & binds 136 | local search = require "search" 137 | 138 | -- Add ordering of new tabs 139 | local taborder = require "taborder" 140 | 141 | -- Save web history 142 | local history = require "history" 143 | local history_chrome = require "history_chrome" 144 | 145 | local help_chrome = require "help_chrome" 146 | local binds_chrome = require "binds_chrome" 147 | 148 | -- Add command completion 149 | local completion = require "completion" 150 | 151 | -- Press Control-E while in insert mode to edit the contents of the currently 152 | -- focused