├── .gitignore ├── LICENSE.md ├── README.md ├── alacritty └── .alacritty.yml ├── apvlv └── .apvlvrc ├── ascii_art └── .ascii_art │ ├── docker │ ├── doge │ ├── et │ ├── floppy │ ├── gnu │ ├── lambda │ ├── music │ ├── octocat │ ├── pacman │ ├── rust │ ├── skull │ └── spacecraft ├── astyle └── .astylerc ├── avrdude └── .avrduderc ├── btop └── .config │ └── btop │ └── btop.conf ├── ccze └── .cczerc ├── cron └── alx ├── ctags └── .ctags ├── dependencies.md ├── dotfiles.md ├── dwm └── config.h ├── emacs └── .emacs ├── firefox ├── stylus.json └── vimium-options.json ├── fish └── .config │ └── fish │ ├── config.fish │ ├── fish_variables │ └── functions │ ├── fish_prompt.fish │ ├── fish_user_key_bindings.fish │ └── fzf_key_bindings.fish ├── ghci └── .ghci ├── gimp └── .gimp-2.8 │ └── gimprc ├── git ├── .config │ └── git │ │ └── ignore └── .gitconfig ├── gpg └── .gnupg │ ├── gpg-agent.conf │ └── gpg.conf ├── gtk ├── .config │ └── gtk-3.0 │ │ └── settings.ini └── .gtkrc-2.0 ├── haskeline └── .haskeline ├── hindent └── .hindent.yaml ├── ideavim └── .ideavimrc ├── inkscape └── usr │ └── share │ └── inkscape │ └── templates │ └── default.svg ├── install.md ├── kitty └── .config │ └── kitty │ └── kitty.conf ├── mbsync └── .mbsyncrc ├── mimi └── .config │ └── mimi │ └── mime.conf ├── modprobe └── etc │ └── modprobe.d │ └── nobeep.conf ├── mongodb └── .mongorc.js ├── mozrepl └── .mozrepl │ ├── select_tab.expect │ └── select_tab.js ├── mpd └── .mpd │ ├── mpd.conf │ └── playlists │ ├── 2000er.radio.m3u │ ├── 80-90-collection.m3u │ ├── AFI.m3u │ ├── Adele.m3u │ ├── Aerosmith.m3u │ ├── Alanis Morriseth.m3u │ ├── Apocalyptica.m3u │ ├── Beach Boys.m3u │ ├── Britney Spears.m3u │ ├── Caravan Palace.m3u │ ├── Carpenters.m3u │ ├── Celin Dion.m3u │ ├── Coldplay.m3u │ ├── Cramberries.m3u │ ├── Daft Punk.m3u │ ├── Diablo Swing Orchestra.m3u │ ├── Don Ellis.m3u │ ├── Epica.m3u │ ├── Estradasphere.m3u │ ├── Evanescence.m3u │ ├── Green Day.m3u │ ├── Haggard.m3u │ ├── Hilary Duff.m3u │ ├── Jazz & Blues.m3u │ ├── Jesse & Joy.m3u │ ├── Lacrimosa.m3u │ ├── Lacuna Coil.m3u │ ├── Leona Lewis.m3u │ ├── Lindsey Stirling.m3u │ ├── Linkin Park.m3u │ ├── Mariah Carey.m3u │ ├── Megadeth.m3u │ ├── Metalica.m3u │ ├── Nightwish.m3u │ ├── No Doubt.m3u │ ├── Offspting.m3u │ ├── Oreja de Van Gogh.m3u │ ├── Panic at the disco.m3u │ ├── Paramore.m3u │ ├── Radiohead.m3u │ ├── Rahpsody of fire.m3u │ ├── Rasmus.m3u │ ├── Slipknot.m3u │ ├── Steam Powered Giraffe.m3u │ ├── Therion.m3u │ ├── Three days grace.m3u │ ├── Whitney Houston.m3u │ ├── Within Temptation.m3u │ ├── Zack Hemsey.m3u │ ├── asterisk.radio.m3u │ ├── electro_swing.radio.m3u │ ├── ethereal.radio.m3u │ ├── fromyoutube.m3u │ ├── gothique.radio.m3u │ ├── heart.uk.radio.m3u │ ├── i_love_chillhop.radio.m3u │ ├── lofi_24-7.radio.m3u │ ├── lofi_girl.m3u │ ├── lofitest.m3u │ ├── lounge.radio.m3u │ ├── nfs.m3u │ ├── radio.lclhst.net.radio.m3u │ ├── regenbogen.radio.m3u │ ├── relaxing.m3u │ ├── smooth.uk.radio.m3u │ ├── sunshine.radio.m3u │ ├── trance.radio.m3u │ ├── wbgo.radio.m3u │ └── wumb.radio.m3u ├── mplayer └── .mplayer │ ├── config │ └── input.conf ├── mpv └── .config │ └── mpv │ ├── input.conf │ ├── mpv.conf │ └── watch_later │ └── 385B4630E199208F1184319979C23C46 ├── msmtp └── .msmtprc ├── mutt └── .mutt │ ├── gpg.rc │ ├── mailcap │ ├── muttrc │ └── signature ├── mysql └── .my.cnf ├── ncmpcpp └── .ncmpcpp │ ├── bindings │ ├── config │ └── error.log ├── nethack └── .nethackrc ├── newsboat └── .newsboat │ ├── config │ └── urls ├── nitrogen └── .config │ └── nitrogen │ ├── bg-saved.cfg │ ├── nitrogen.cfg │ └── wood.jpg ├── npm └── .npmrc ├── octave └── .octaverc ├── odyssey └── .odyssey │ └── conf ├── openbox └── .config │ └── openbox │ ├── menu.xml │ └── rc.xml ├── pacman └── etc │ └── pacman.conf ├── pandoc └── .csl │ ├── apa.csl │ ├── iso690-author-date-en.csl │ ├── iso690-author-date-es.csl │ └── journal-of-the-acm.csl ├── postgres └── .psqlrc ├── qmk └── keyboards │ └── venabili │ ├── config.h │ ├── keyboard.json │ ├── keymaps │ └── default │ │ └── keymap.c │ └── readme.md ├── qutebrowser └── .config │ └── qutebrowser │ ├── config.py │ └── styles │ ├── azlyrics.css │ ├── fb.css │ ├── medium.css │ ├── metrolyrics.css │ └── quora.css ├── r └── .Rprofile ├── ratpoison └── .ratpoisonrc ├── readline └── .inputrc ├── redshift └── .config │ └── redshift │ └── redshift.conf ├── rofi └── .config │ └── rofi │ ├── config.rasi │ ├── solarized_light.rasi │ └── tmp ├── rtv └── .config │ └── rtv │ └── rtv.cfg ├── rusty_tools.jpg ├── scripts └── .scripts │ ├── .gitignore │ ├── backup.sh │ ├── builder_edit.sh │ ├── cams.sh │ ├── copy_shot.sh │ ├── dict │ ├── en_thesaurus │ ├── es.sh │ └── es_thesaurus │ ├── echo_info.sh │ ├── et_phone_home.sh │ ├── fancy.sh │ ├── fix_git_commiter.sh │ ├── generate_report.sh │ ├── git.sh │ ├── home.sh │ ├── html2hamlet.sh │ ├── huion_setup.sh │ ├── img │ └── et.png │ ├── install_deps.sh │ ├── keyboard_setup.sh │ ├── keyboard_setup_udev.sh │ ├── mem.sh │ ├── network │ ├── echo_lab_ip.sh │ ├── echo_net_info.sh │ ├── echo_pub_ip.sh │ ├── et_phone_home.sh │ ├── ether.sh │ ├── routeros_netwatch_notify │ ├── watchdog.sh │ └── wifi.sh │ ├── open.sh │ ├── pacman.sh │ ├── projector.sh │ ├── pulp.sh │ ├── qr_generator.sh │ ├── ratpoison │ ├── abort.sh │ ├── app_select.sh │ ├── backlight_control.sh │ ├── calculator.sh │ ├── clipboard_stack.sh │ ├── firefox.sh │ ├── frame-mon_navigator.sh │ ├── lock.sh │ ├── music_control.sh │ ├── rat_tmux-navigator.sh │ ├── restore_ratpoison.sh │ ├── select_rat_frame.sh │ ├── snippets.sh │ ├── task_control.sh │ ├── translate.sh │ ├── volume_control.sh │ └── window_select.sh │ ├── refresh_firefox.sh │ ├── replicate_term.sh │ ├── setup.sh │ ├── stack.sh │ ├── trackball_setup.sh │ ├── update.sh │ ├── url_view.sh │ ├── utility.sh │ ├── vinfo │ ├── volume.sh │ ├── wacom_setup.sh │ ├── wgetit.sh │ ├── yesodevel.sh │ ├── youtube_mplayer.sh │ ├── youtube_music_download.sh │ └── zigbee │ ├── blinds_control.sh │ ├── button_listener.sh │ ├── illumination.sh │ ├── light_switch_listener.sh │ ├── motion_listener.sh │ ├── shade.sh │ └── window_listener.sh ├── sshrc └── .sshrc ├── stack └── .stack │ └── config.yaml ├── stylish-haskell └── .stylish-haskell.yaml ├── sxiv └── .config │ └── sxiv │ └── exec │ ├── image-info │ └── key-handler ├── systemd_user └── .config │ └── systemd │ └── user │ ├── mbsync.service │ └── mbsync.timer ├── taskwarrior └── .taskrc ├── tilda └── .tilda │ └── config_0 ├── tmux └── .tmux.conf ├── udev └── etc │ └── udev │ └── rules.d │ ├── 69-hdparm.rules │ ├── 95-usb-stlink-v2.rules │ ├── 96-zigbee-zonoff-bridge.rules │ └── 99-venabili.rules ├── vim ├── .vim │ ├── .gitignore │ ├── UltiSnips │ │ ├── angularjs.snippets │ │ ├── bib.snippets │ │ ├── blade.snippets │ │ ├── bootstrap.snippets │ │ ├── c.snippets │ │ ├── c_like_comments.snippets │ │ ├── cpp.snippets │ │ ├── css.snippets │ │ ├── dtd.snippets │ │ ├── hakyll.snippets │ │ ├── haml.snippets │ │ ├── hamlet.snippets │ │ ├── haskell.snippets │ │ ├── hspec.snippets │ │ ├── html.snippets │ │ ├── java.snippets │ │ ├── javascript.snippets │ │ ├── kotlin.snippets │ │ ├── kotling.snippets │ │ ├── laravel.snippets │ │ ├── markdown.snippets │ │ ├── perl.snippets │ │ ├── php.snippets │ │ ├── phpunit.snippets │ │ ├── rmd.snippets │ │ ├── rust.snippets │ │ ├── scheme.snippets │ │ ├── sh.snippets │ │ ├── swift.snippets │ │ ├── xml.snippets │ │ ├── xsd.snippets │ │ └── yesod.snippets │ ├── after │ │ └── ftplugin │ │ │ ├── dart.vim │ │ │ ├── rmd.vim │ │ │ └── swift.vim │ ├── colors │ │ └── minimal.vim │ ├── ftdetect │ │ ├── kotlin.vim │ │ └── swift.vim │ ├── ftplugin │ │ ├── asciidoc.vim │ │ ├── asm.vim │ │ ├── c.vim │ │ ├── cabal.vim │ │ ├── cassius.vim │ │ ├── css.vim │ │ ├── gitcommit.vim │ │ ├── hamlet.vim │ │ ├── haskell.vim │ │ ├── help.vim │ │ ├── html.vim │ │ ├── java.vim │ │ ├── javascript.vim │ │ ├── json.vim │ │ ├── julius.vim │ │ ├── kotlin.vim │ │ ├── mail.vim │ │ ├── man.vim │ │ ├── markdown.vim │ │ ├── octave.vim │ │ ├── pager.vim │ │ ├── php.vim │ │ ├── po.vim │ │ ├── purescript.vim │ │ ├── qf.vim │ │ ├── rust.vim │ │ ├── sass.vim │ │ ├── sh.vim │ │ ├── tex.vim │ │ ├── vim.vim │ │ ├── xml.vim │ │ └── xquery.vim │ └── syntax │ │ ├── c.vim │ │ ├── cabal.vim │ │ ├── dart.vim │ │ ├── haskell.vim │ │ ├── java.vim │ │ ├── javascript.vim │ │ ├── julius.vim │ │ ├── kotlin.vim │ │ ├── mail.vim │ │ ├── man.vim │ │ ├── markdown.vim │ │ ├── php.vim │ │ ├── rust.vim │ │ ├── swift.vim │ │ ├── vim.vim │ │ ├── xml.vim │ │ └── yesod.vim └── .vimrc ├── vimfx └── .vimfx │ ├── config.js │ └── frame.js ├── vimium └── vimium-options.json ├── vimperator └── .vimperatorrc ├── w3m └── .w3m │ └── config ├── weechat └── .weechat │ ├── alias.conf │ ├── aspell.conf │ ├── buffers.conf │ ├── buflist.conf │ ├── charset.conf │ ├── exec.conf │ ├── fifo.conf │ ├── fset.conf │ ├── guile.conf │ ├── irc.conf │ ├── iset.conf │ ├── logger.conf │ ├── lua.conf │ ├── perl.conf │ ├── perl │ ├── autoload │ │ ├── buffers.pl │ │ ├── chanmon.pl │ │ └── nickregain.pl │ ├── buffers.pl │ ├── chanmon.pl │ └── nickregain.pl │ ├── plugins.conf │ ├── python.conf │ ├── python │ ├── autoload │ │ ├── go.py │ │ └── urlscan.py │ └── go.py │ ├── relay.conf │ ├── rmodifier.conf │ ├── ruby.conf │ ├── ruby │ └── url_hinter_xdg.rb │ ├── script.conf │ ├── script │ └── plugins.xml.gz │ ├── spell.conf │ ├── tcl.conf │ ├── trigger.conf │ ├── weechat.conf │ └── xfer.conf ├── x ├── .Xresources ├── .xbindkeysrc └── .xinitrc ├── xmodmap └── .xmodmap ├── xmonad └── .xmonad │ ├── .gitignore │ ├── build │ ├── xmonad-alx.cabal │ └── xmonad.hs ├── zathura └── .config │ └── zathura │ └── zathurarc └── zsh ├── .zshrc └── .zshrc_alt /.gitignore: -------------------------------------------------------------------------------- 1 | tags 2 | mpd/.mpd/pid 3 | mpd/.mpd/log 4 | mpd/.mpd/state 5 | mpd/.mpd/database 6 | mpd/.mpd/sticker.sql 7 | ncmpcpp/.ncmpcpp/error.log 8 | mutt/.mutt/pass 9 | mutt/.mutt/aliases 10 | weechat/.weechat/sec.conf 11 | weechat/.weechat/weechat.log 12 | weechat/.weechat/weechat_fifo* 13 | weechat/.weechat/logs 14 | newsboat/.newsboat/cache.db 15 | newsboat/.newsboat/cache.db.lock 16 | newsboat/.newsboat/history.cmdline 17 | newsboat/.newsboat/history.search 18 | w3m/.w3m/cookie 19 | w3m/.w3m/history 20 | w3m/.w3m/passwd 21 | xmonad/.xmonad/xmonad.errors 22 | xmonad/.xmonad/xmonad.hi 23 | xmonad/.xmonad/xmonad.o 24 | mpv/.config/mpv/watch_later 25 | gpg/.gnupg/private* 26 | gpg/.gnupg/pubring.kbx* 27 | gpg/.gnupg/random_seed 28 | gpg/.gnupg/tofu.db 29 | gpg/.gnupg/trustdb.gpg 30 | gpg/.gnupg/opengpg-revocs* 31 | gpg/.gnupg/crls.d 32 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | Copyright 2019 by Daniel Campoverde Carrión [alx741] 2 | 3 | Author: *Daniel Campoverde Carrión* *[alx741]* 4 | 5 | [Silly Bytes](http://www.sillybytes.net) 6 | 7 | mailto: alx@sillybytes.net 8 | 9 | 10 | These `dotfiles` are free software: you can redistribute it and/or modify it 11 | under the terms of the GNU General Public License as published by the Free 12 | Software Foundation, either version 3 of the License, or (at your option) any 13 | later version. 14 | 15 | This program is distributed in the hope that it will be useful, but WITHOUT ANY 16 | WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 17 | PARTICULAR PURPOSE. See the GNU General Public License for more details. 18 | 19 | You should have received a copy of the GNU General Public License along with 20 | this program. If not, see . 21 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Dotfiles 2 | 3 | ![Rusty Tools](rusty_tools.jpg) 4 | 5 | Daniel Campoverde Carrión [alx741] 6 | 7 | GPG key id: 12622B78 (keys.gnupg.net) 8 | 9 | Http: [SillyBytes](http://www.sillybytes.net) 10 | 11 | License: https://github.com/alx741/dotfiles/blob/master/LICENSE.md 12 | -------------------------------------------------------------------------------- /alacritty/.alacritty.yml: -------------------------------------------------------------------------------- 1 | window: 2 | padding: 3 | x: 6 4 | y: 4 5 | dynamic_padding: true 6 | decorations: none 7 | startup_mode: Fullscreen 8 | title: Alacritty 9 | dynamic_title: false 10 | 11 | 12 | scrolling: 13 | history: 0 14 | multiplier: 3 15 | 16 | 17 | font: 18 | draw_bold_text_with_bright_colors: false 19 | 20 | normal: 21 | family: FiraCode 22 | style: Regular 23 | 24 | bold: 25 | family: FiraCode 26 | style: Bold 27 | 28 | italic: 29 | family: FiraCode 30 | style: Italic 31 | 32 | bold_italic: 33 | family: FiraCode 34 | style: Bold Italic 35 | 36 | size: 10.0 37 | 38 | offset: 39 | x: 0 40 | y: 2 41 | 42 | 43 | colors: 44 | primary: 45 | background: '0xfdf6e3' 46 | foreground: '0x657b83' 47 | 48 | normal: 49 | black: '0x073642' 50 | red: '0xdc322f' 51 | green: '0x859900' 52 | yellow: '0xb58900' 53 | blue: '0x268bd2' 54 | magenta: '0xd33682' 55 | cyan: '0x2aa198' 56 | white: '0xeee8d5' 57 | 58 | bright: 59 | black: '0x002b36' 60 | red: '0xcb4b16' 61 | green: '0x586e75' 62 | yellow: '0x657b83' 63 | blue: '0x839496' 64 | magenta: '0x6c71c4' 65 | cyan: '0x93a1a1' 66 | white: '0xfdf6e3' 67 | 68 | 69 | mouse: 70 | hide_when_typing: true 71 | 72 | 73 | window.opacity: 1.0 74 | live_config_reload: true 75 | -------------------------------------------------------------------------------- /apvlv/.apvlvrc: -------------------------------------------------------------------------------- 1 | set fullscreen = yes 2 | set zoom = normal 3 | set content = no 4 | set continuos = no 5 | set continuouspad = 10 6 | set noinfo = no 7 | set cache = yes 8 | set scrollbar = no 9 | set visualmode = no 10 | set doubleclick = none 11 | -------------------------------------------------------------------------------- /ascii_art/.ascii_art/docker: -------------------------------------------------------------------------------- 1 | ## . 2 | ## ## ## == 3 | ## ## ## ## === 4 | /""""""""""""""""\___/ === 5 | ~~~ {~~ ~~~~ ~~~ ~~~~ ~~ ~ / ===- ~~~ 6 | \______ o __/ 7 | \ \ __/ 8 | \____\______/ 9 | -------------------------------------------------------------------------------- /ascii_art/.ascii_art/doge: -------------------------------------------------------------------------------- 1 | ▄ ▄ 2 | ▌▒█ ▄▀▒▌ 3 | ▌▒▒█ ▄▀▒▒▒▐ 4 | WOW! ▐▄▀▒▒▀▀▀▀▄▄▄▀▒▒▒▒▒▐ 5 | ▄▄▀▒░▒▒▒▒▒▒▒▒▒█▒▒▄█▒▐ 6 | ▄▀▒▒▒░░░▒▒▒░░░▒▒▒▀██▀▒▌ 7 | ▐▒▒▒▄▄▒▒▒▒░░░▒▒▒▒▒▒▒▀▄▒▒▌ 8 | Very Fail ▌░░▌█▀▒▒▒▒▒▄▀█▄▒▒▒▒▒▒▒█▒▐ 9 | ▐░░░▒▒▒▒▒▒▒▒▌██▀▒▒░░░▒▒▒▀▄▌ 10 | ▌░▒▄██▄▒▒▒▒▒▒▒▒▒░░░░░░▒▒▒▒▌ 11 | ▌▒▀▐▄█▄█▌▄░▀▒▒░░░░░░░░░░▒▒▒▐ 12 | ▐▒▒▐▀▐▀▒░▄▄▒▄▒▒▒▒▒▒░▒░▒░▒▒▒▒▌ 13 | Such Clumsy ▐▒▒▒▀▀▄▄▒▒▒▄▒▒▒▒▒▒▒▒░▒░▒░▒▒▐ 14 | ▌▒▒▒▒▒▒▀▀▀▒▒▒▒▒▒░▒░▒░▒░▒▒▒▌ 15 | ▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒░▒░▒░▒▒▄▒▒▐ 16 | ▀▄▒▒▒▒▒▒▒▒▒▒▒░▒░▒░▒▄▒▒▒▒▌ 17 | WOW! ▀▄▒▒▒▒▒▒▒▒▒▒▄▄▄▀▒▒▒▒▄▀ 18 | ▀▄▄▄▄▄▄▀▀▀▒▒▒▒▒▄▄▀ 19 | ▒▒▒▒▒▒▒▒▒▒▀▀ 20 | -------------------------------------------------------------------------------- /ascii_art/.ascii_art/floppy: -------------------------------------------------------------------------------- 1 | .---------------------------------. 2 | | .---------------------------. | 3 | |[]| |[]| 4 | | | | | 5 | | | | | 6 | | | | | 7 | | | | | 8 | | | | | 9 | | | | | 10 | | | | | 11 | | | | | 12 | | `---------------------------' | 13 | | __________________ _____ | 14 | | | ___ | | | 15 | | | | | | | | 16 | | | | | | | | 17 | | | | | | | | 18 | | | |___| | | | 19 | \_____|__________________|_____|__| 20 | -------------------------------------------------------------------------------- /ascii_art/.ascii_art/gnu: -------------------------------------------------------------------------------- 1 | _-`````-, ,- '- . 2 | .' .- - | | - . `. 3 | /.' / `. \ 4 | :/ : _... ..._ `` : 5 | :: : /._ .`:'_.._\. || : 6 | :: `._ ./ ,` : \ . _.'' . 7 | `:. | | -. \-. \\_ / 8 | \:._ _/ ..' .@) \@) ` `\ ,.' 9 | _/,--' .- .\,-.`--`. 10 | ,'/'' (( \ ` ) 11 | /'/' \ `-' ( 12 | '/'' `._,-----' Good bye and... 13 | ''/' .,---' 14 | ''/' ;: ...Happy Hackig 15 | ''/'' ''/ 16 | ''/''/'' 17 | '/'/' 18 | `; 19 | -------------------------------------------------------------------------------- /ascii_art/.ascii_art/lambda: -------------------------------------------------------------------------------- 1 | :::::: ####### 2 | :::::: ####### 3 | :::::: ####### 4 | :::::: ####### 5 | :::::: ####### ########### 6 | :::::: ####### ########## 7 | :::::: ####### 8 | :::::: ######### ######## 9 | :::::: ##### ##### ###### 10 | :::::: ##### ##### 11 | :::::: ##### ##### 12 | :::::: ##### ##### 13 | :::::: ##### ##### 14 | -------------------------------------------------------------------------------- /ascii_art/.ascii_art/music: -------------------------------------------------------------------------------- 1 | ────███ 2 | ────█─██ 3 | ────█──██ 4 | ────█───█───────────────────♫─────██ 5 | ────█───█────────────♫────────────█─█──█ 6 | ────█───██─────♫──────────────────█──██ 7 | ────██───█────────────────────────█ 8 | ────██──██────────████████─────████ 9 | ─────█──█─────────█──────█────██░▒██ 10 | ─────█─██─────────█──────██────████ 11 | ─────███──────────██──────█ 12 | ───██─█────────────█───████ 13 | ──██──████──────████──██░▒██ 14 | ─██──███─███───██░▒██──████__ 15 | ██──██─█──▒██───████ 16 | █────█─██─░▒█ 17 | ██─────██─░▒█ 18 | ─██─────█─▒██ 19 | ──█████─████ 20 | ──────████ 21 | -------------------------------------------------------------------------------- /ascii_art/.ascii_art/octocat: -------------------------------------------------------------------------------- 1 | .mmMMMMMMMMMMMMMmm. 2 | .mMMMMMMMMMMMMMMMMMMMMMMMm. 3 | .mMMMMMMMMMMMMMMMMMMMMMMMMMMMMMm. 4 | .MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM. 5 | .MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM. 6 | MMMMMMMM' `"MMMMM"""""""MMMM""` 'MMMMMMMM 7 | MMMMMMMMM MMMMMMMMM 8 | MMMMMMMMMM: :MMMMMMMMM 9 | .MMMMMMMMMM MMMMMMMMMM. 10 | MMMMMMMMM" "MMMMMMMMM 11 | MMMMMMMMM MMMMMMMMM 12 | MMMMMMMMM MMMMMMMMM 13 | MMMMMMMMMM MMMMMMMMMM 14 | `MMMMMMMMMM MMMMMMMMMM` 15 | MMMMMMMMMMMM. .MMMMMMMMMMMM 16 | MMMMMM MMMMMMMMMM MMMMMMMMMMMMMMMMMM 17 | MMMMMM 'MMMMMMM MMMMMMMMMMMMMMMM 18 | `MMMMMM "MMMMM MMMMMMMMMMMMMM` 19 | `MMMMMm MMMMMMMMMMMM` 20 | `"MMMMMMMMM MMMMMMMMM"` 21 | `"MMMMMM MMMMMM"` 22 | `""M M""` 23 | -------------------------------------------------------------------------------- /ascii_art/.ascii_art/pacman: -------------------------------------------------------------------------------- 1 | ─────▒▒▒▒▒────────▒▒▒▒▒─────────▒▒▒▒▒──────────▄████▄────── 2 | ────▒─▄▒─▄▒──────▒─▄▒─▄▒───────▒─▄▒─▄▒────────███▄█▀─────── 3 | ────▒▒▒▒▒▒▒──────▒▒▒▒▒▒▒───────▒▒▒▒▒▒▒───────▐████──█──█─── 4 | ────▒▒▒▒▒▒▒──────▒▒▒▒▒▒▒───────▒▒▒▒▒▒▒────────█████▄─────── 5 | ────▒─▒─▒─▒──────▒─▒─▒─▒───────▒─▒─▒─▒─────────▀████▀────── 6 | -------------------------------------------------------------------------------- /ascii_art/.ascii_art/rust: -------------------------------------------------------------------------------- 1 | /N Mh mo 2 | /MM NMMMMmMMMMMhNMs 3 | MMMMMMMMM MMMMMMMMMM 4 | NNmMMMMN \mNm/ MMMMmNM 5 | dMMMM NMMMN++ 6 | MMMMMMMMMMMMMMMMMMMMMMMMM MMMMM 7 | MMMMMMMMMMMMMMMMMMMMMMMMMMN NMMMy+ 8 | hMMmdM MMMMMMMmmmmmNMMMMMMMM M MM 9 | NMN m MMMMMM MMMMMM m NMMds 10 | sMMMMho MMMMMMMhhhhhhmMMMMMN dMMMM 11 | NMMMh MMMMMMMMMMMMMMMMMM sMMMMh 12 | MMd MMMMMM MMMMMM hmMMM 13 | NMMMM MMMMMM MMMMMMN dMMMMMNs 14 | MMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMM 15 | NMMMMMMMMMMMMMMMMM MMMMMMMMMMMMMMM 16 | NMMMM MMMM 17 | MMMMMMddNM NNddNMMMMM 18 | MMM Nh hM MMMN 19 | NMMMMMNdyo+///+oshNMMMNMM 20 | MMMMMMMMMMMMMMMMMMMMM 21 | y/dM MMM MN sm 22 | o h + 23 | -------------------------------------------------------------------------------- /ascii_art/.ascii_art/skull: -------------------------------------------------------------------------------- 1 | ____ 2 | __,---' `--.__ 3 | ,-' ; `. 4 | ,' `--.`--. 5 | ,' `._ `-. 6 | ; ; `-- ; 7 | ,-'-_ _,-~~-. ,-- `. 8 | ;; `-,; ,'~`.__ ,;;; ; ; 9 | ;; ;,' ,;; `, ;;; `. ; 10 | `: ,' `:; __/ `.; ; ; 11 | ;~~^. `. `---'~~ ;; ; ; 12 | `,' `. `. .;;; ;' 13 | ,',^. `. `._ __ `:; ,' 14 | `-' `--' ~`--'~~`--. ~ ,' 15 | /;`-;_ ; ;. /. / ; ~~`-. ; 16 | ; ; ; `,;`-;__;---; `----' 17 | ``-`-;__;: ; ;__; 18 | `-- `-' 19 | -------------------------------------------------------------------------------- /ascii_art/.ascii_art/spacecraft: -------------------------------------------------------------------------------- 1 | .---. 2 | = _/__~0_\_ 3 | = = = (_________) 4 | -------------------------------------------------------------------------------- /astyle/.astylerc: -------------------------------------------------------------------------------- 1 | ### Artistic Style configuration 2 | 3 | # Allman brackets style 4 | --style=allman 5 | 6 | # 4 spaces indentation 7 | --indent=spaces 8 | -s4 9 | 10 | # Entire class block is indented (C++) 11 | --indent-classes 12 | 13 | # Entire switch-case block is indented 14 | --indent-switches 15 | 16 | # Indent multi-line defines 17 | --indent-preproc-define 18 | 19 | # Indent comments to corresponding indentation level 20 | --indent-col1-comments 21 | 22 | # Space padding around operators 23 | --pad-oper 24 | 25 | # Space padding between header and paren. 26 | --pad-header 27 | 28 | # Remove paren internal padding 29 | --unpad-paren 30 | 31 | # Align pointers operators to variable name (right) 32 | --align-pointer=name 33 | 34 | # One line conditional statement has brackets 35 | --add-brackets 36 | 37 | # Max code length is 80 characters 38 | --max-code-length=80 39 | -------------------------------------------------------------------------------- /avrdude/.avrduderc: -------------------------------------------------------------------------------- 1 | default_programmer = "usbasp"; 2 | -------------------------------------------------------------------------------- /ccze/.cczerc: -------------------------------------------------------------------------------- 1 | numbers green 2 | size yellow 3 | -------------------------------------------------------------------------------- /cron/alx: -------------------------------------------------------------------------------- 1 | # */30 * * * * task sync &> /dev/null 2 | */5 * * * * mbsync -V -a &> /dev/null 3 | 0 18 * * * /home/alx/.scripts/backup.sh critical &> /dev/null 4 | 20 18 * * 5 /home/alx/.scripts/backup.sh noncritical 5 | 30 18 * * 5 /home/alx/.scripts/backup.sh local 6 | 00 17 * * 5 doas fstrim / 7 | -------------------------------------------------------------------------------- /ctags/.ctags: -------------------------------------------------------------------------------- 1 | --sort=yes 2 | --c++-kinds=+p 3 | --fields=+iaS 4 | --extra=+q 5 | -------------------------------------------------------------------------------- /dependencies.md: -------------------------------------------------------------------------------- 1 | # Dependencies 2 | 3 | Scripts depend on other binaries that can be installed using the system package 4 | manager. This is a non-exhaustive list: 5 | 6 | * acpi 7 | * alsa-utils 8 | * ccze 9 | * dhclient 10 | * diff-so-fancy 11 | * expect 12 | * figlet 13 | * firefox 14 | * hsColour 15 | * id3v2 16 | * lolcat 17 | * mpc 18 | * qrencode 19 | * scrot 20 | * task 21 | * unclutter 22 | * vmenu 23 | * xcape 24 | * xclip 25 | * xcowsay 26 | * xdotool 27 | * youtube-dl 28 | -------------------------------------------------------------------------------- /dotfiles.md: -------------------------------------------------------------------------------- 1 | # Dotfiles 2 | 3 | - Alacritty 4 | - Astyle 5 | - Avrdude 6 | - Btop 7 | - Ccze 8 | - Cron 9 | - Ctags 10 | - Firefox Add-ons 11 | - Fish 12 | - Ghci 13 | - Gimp 14 | - Git 15 | - Gpg 16 | - Gtk 17 | - Haskeline 18 | - Hindent 19 | - Ideavim 20 | - Inkscape 21 | - Kitty 22 | - Mbsync 23 | - Mimi 24 | - Modprobe 25 | - MongoDB 26 | - Mozrepl 27 | - Mpd 28 | - Mplayer 29 | - Mpv 30 | - Msmtp 31 | - Mutt 32 | - MySQL/MariaDB 33 | - Ncmpcpp 34 | - NeoVim 35 | - Nethack 36 | - Newsboat 37 | - Nitrogen 38 | - Npm 39 | - Octave 40 | - Odyssey 41 | - Openbox 42 | - Pacman 43 | - Pandoc 44 | - PostgreSQL 45 | - Qutebrowser 46 | - R 47 | - Ratpoison 48 | - Readline 49 | - Redshift 50 | - Rofi 51 | - Rtv 52 | - Sshrc 53 | - Stack 54 | - Stylish-haskell 55 | - Sxiv 56 | - Systemd 57 | - Taskwarrior 58 | - Tmux 59 | - Udev 60 | - Urxvt 61 | - Vim 62 | - Vimium 63 | - Vmenu 64 | - W3M 65 | - Weechat 66 | - X11 67 | - Xmodmap 68 | - Xmonad 69 | - Zathura 70 | - Zsh 71 | 72 | 73 | # Deprecated 74 | 75 | These dotfiles are abandoned 76 | 77 | - Apvlv 78 | - Dwm 79 | - Emacs 80 | - Tilda 81 | - VimFx 82 | - Vimperator 83 | -------------------------------------------------------------------------------- /firefox/vimium-options.json: -------------------------------------------------------------------------------- 1 | { 2 | "settingsVersion": "1.65.1", 3 | "exclusionRules": [ 4 | { 5 | "pattern": "https?://www.youtube.com/*", 6 | "passKeys": "f" 7 | }, 8 | { 9 | "pattern": "https?://www.youtube.com/*", 10 | "passKeys": "k" 11 | }, 12 | { 13 | "pattern": "https?://www.netflix.com/*", 14 | "passKeys": "f" 15 | }, 16 | { 17 | "pattern": "https?://docs.google.com/*", 18 | "passKeys": "" 19 | } 20 | ], 21 | "filterLinkHints": false, 22 | "waitForEnterForFilteredHints": true, 23 | "hideHud": false, 24 | "keyMappings": "map h previousTab\nmap l nextTab\nmap e scrollDown\nmap scrollPageDown\nmap scrollPageUp\nmap goBack\nmap goForward\nmap gl visitPreviousTab", 25 | "linkHintCharacters": "asdfghjkl", 26 | "linkHintNumbers": "asdfghjkl", 27 | "newTabUrl": "about:newtab", 28 | "nextPatterns": "next,more,newer,>,›,→,»,≫,>>", 29 | "previousPatterns": "prev,previous,back,older,<,‹,←,«,≪,<<", 30 | "regexFindMode": false, 31 | "ignoreKeyboardLayout": false, 32 | "scrollStepSize": 60, 33 | "smoothScroll": true, 34 | "grabBackFocus": true, 35 | "searchEngines": "y: https://www.youtube.com/results?search_query=%s Youtube\n\n# More examples.\n#\n# (Vimium supports search completion Wikipedia, as\n# above, and for these.)\n#\n# g: https://www.google.com/search?q=%s Google\n# l: https://www.google.com/search?q=%s&btnI I'm feeling lucky...\n#w: https://www.wikipedia.org/w/index.php?title=Special:Search&search=%s Wikipedia\n# gm: https://www.google.com/maps?q=%s Google maps\n# b: https://www.bing.com/search?q=%s Bing\n# d: https://duckduckgo.com/?q=%s DuckDuckGo\n# az: https://www.amazon.com/s/?field-keywords=%s Amazon\n# qw: https://www.qwant.com/?q=%s Qwant", 36 | "searchUrl": "https://duckduckgo.com/?q=", 37 | "userDefinedLinkHintCss": "div > .vimiumHintMarker {\n/* linkhint boxes */\nbackground: none !important;\nbackground-color: #fdf6e3 !important;\nborder: 1px solid #073642 !important;\npadding: 2px;\n}\n\ndiv > .vimiumHintMarker span {\n/* linkhint text */\ncolor: #657b83;\nfont-weight: bold;\nfont-size: 12px;\n}\n\ndiv > .vimiumHintMarker > .matchingCharacter {\n}" 38 | } -------------------------------------------------------------------------------- /fish/.config/fish/functions/fish_prompt.fish: -------------------------------------------------------------------------------- 1 | function fish_prompt 2 | echo "( ͡° ͜ʖ ͡°) " 3 | end 4 | -------------------------------------------------------------------------------- /fish/.config/fish/functions/fish_user_key_bindings.fish: -------------------------------------------------------------------------------- 1 | function fish_user_key_bindings 2 | fzf_key_bindings 3 | end 4 | -------------------------------------------------------------------------------- /fish/.config/fish/functions/fzf_key_bindings.fish: -------------------------------------------------------------------------------- 1 | /home/alx/.fzf/shell/key-bindings.fish -------------------------------------------------------------------------------- /ghci/.ghci: -------------------------------------------------------------------------------- 1 | :set -DDEVELOPMENT 2 | :set -O0 3 | :set -fobject-code 4 | :set -fno-warn-type-defaults 5 | 6 | import Prelude 7 | 8 | :set prompt "\n \ESC[35mλ\ESC[m\STX " 9 | :def! hoogle \s -> return $ ":! hoogle --count=25 --color \"" ++ s ++ "\"" 10 | :def! doc \s -> return $ ":! hoogle --count=15 --info --color \"" ++ s ++ "\"" 11 | 12 | :def! yesodreload \_ -> return (":l app/DevelMain.hs\nDevelMain.update\n") 13 | -------------------------------------------------------------------------------- /gimp/.gimp-2.8/gimprc: -------------------------------------------------------------------------------- 1 | (can-change-accels yes) 2 | (user-manual-online yes) 3 | (num-processors 2) 4 | (tile-cache-size 2G) 5 | (undo-levels 20) 6 | (undo-size 300M) 7 | (toolbox-wilber no) 8 | (use-help no) 9 | 10 | (default-image 11 | (width 1000) 12 | (height 1000) 13 | (xresolution 72.000) 14 | (yresolution 72.000) 15 | (resolution-unit millimeters) 16 | (image-type rgb) 17 | (fill-type transparent-fill) 18 | (comment "")) 19 | -------------------------------------------------------------------------------- /git/.config/git/ignore: -------------------------------------------------------------------------------- 1 | tags 2 | TAGS 3 | codex.tags 4 | *.tags 5 | -------------------------------------------------------------------------------- /git/.gitconfig: -------------------------------------------------------------------------------- 1 | [user] 2 | name = Daniel Campoverde 3 | email = alx@sillybytes.net 4 | [color] 5 | ui = true 6 | [core] 7 | editor = vim 8 | [push] 9 | default = simple 10 | [help] 11 | autocorrect = 1 12 | [credentials] 13 | helper = store 14 | [credential] 15 | helper = store 16 | -------------------------------------------------------------------------------- /gpg/.gnupg/gpg-agent.conf: -------------------------------------------------------------------------------- 1 | no-grab 2 | pinentry-program /usr/bin/pinentry-tty 3 | -------------------------------------------------------------------------------- /gpg/.gnupg/gpg.conf: -------------------------------------------------------------------------------- 1 | no-greeting 2 | require-cross-certification 3 | charset utf-8 4 | keyserver keys.opengp.org 5 | keyserver-options auto-key-retrieve no-include-revoked 6 | -------------------------------------------------------------------------------- /gtk/.config/gtk-3.0/settings.ini: -------------------------------------------------------------------------------- 1 | [Settings] 2 | gtk-key-theme-name = Emacs 3 | -------------------------------------------------------------------------------- /gtk/.gtkrc-2.0: -------------------------------------------------------------------------------- 1 | gtk-key-theme-name=Emacs 2 | -------------------------------------------------------------------------------- /haskeline/.haskeline: -------------------------------------------------------------------------------- 1 | editMode: Vi 2 | bellStyle: NoBell 3 | completionType: ListCompletion 4 | historyDuplicates: IgnoreAll 5 | bind: ctrl-p up 6 | bind: ctrl-n down 7 | -------------------------------------------------------------------------------- /hindent/.hindent.yaml: -------------------------------------------------------------------------------- 1 | indent-size: 4 2 | line-length: 80 3 | force-trailing-newline: true 4 | -------------------------------------------------------------------------------- /ideavim/.ideavimrc: -------------------------------------------------------------------------------- 1 | set surround 2 | set commentary 3 | set textobj-indent 4 | set vim-paragraph-motion 5 | set matchit 6 | set incsearch 7 | set ignorecase 8 | set smartcase 9 | set hlsearch 10 | set wrapscan 11 | set showmode 12 | set ruler 13 | set clipboard+=unnamed 14 | set clipboard+=ideaput 15 | 16 | onoremap h vh 17 | onoremap l vl 18 | onoremap b vb 19 | onoremap B vB 20 | onoremap F vF 21 | onoremap T vT 22 | onoremap ^ v^ 23 | onoremap g^ vg^ 24 | onoremap + v+ 25 | onoremap g+ vg+ 26 | onoremap ( v( 27 | onoremap ` v` 28 | 29 | nnoremap j gj 30 | nnoremap k gk 31 | nnoremap 0 g0 32 | nnoremap g0 0 33 | nnoremap ^ g^ 34 | nnoremap ^ g^ 35 | nnoremap $ g$ 36 | nnoremap g$ $ 37 | nnoremap gs :up 38 | nnoremap :noh 39 | nnoremap gp `[v`] 40 | nnoremap go gvo 41 | nnoremap 2O OO 42 | nnoremap 2o oo 43 | nnoremap dtp yapgP 44 | nnoremap gd :action GotoDeclaration 45 | nnoremap g; :action JumpToLastChange 46 | nnoremap g, :action JumpToNextChange 47 | nnoremap :action ToggleDistractionFreeMode 48 | nnoremap h 49 | nnoremap l 50 | nnoremap j 51 | nnoremap k 52 | nnoremap :action PreviousTab 53 | nnoremap :action NextTab 54 | -------------------------------------------------------------------------------- /inkscape/usr/share/inkscape/templates/default.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 19 | 21 | 41 | 43 | 44 | 46 | image/svg+xml 47 | 49 | 50 | 51 | 52 | 53 | 57 | 58 | -------------------------------------------------------------------------------- /install.md: -------------------------------------------------------------------------------- 1 | # Install 2 | 3 | * GNU/Linux 4 | 5 | $ stow -t ~ vim 6 | 7 | * FreeBSD 8 | 9 | $ xstow vim 10 | -------------------------------------------------------------------------------- /mbsync/.mbsyncrc: -------------------------------------------------------------------------------- 1 | IMAPAccount sillybytes 2 | Host mail.privateemail.com 3 | User alx@sillybytes.net 4 | PassCmd "cat ~/.sec/alx@sillybytes.net" 5 | SSLType IMAPS 6 | SSLVersions TLSv1.2 TLSv1.3 7 | 8 | IMAPStore sillybytes-remote 9 | Account sillybytes 10 | 11 | MaildirStore sillybytes-local 12 | SubFolders Verbatim 13 | Path ~/.mail/ 14 | Inbox ~/.mail/inbox 15 | 16 | Channel sillybytes-inbox 17 | Far :sillybytes-remote:INBOX 18 | Near :sillybytes-local: 19 | MaxMessages 500 20 | Create Both 21 | Expunge Both 22 | Sync All 23 | SyncState * 24 | 25 | Channel sillybytes-sent 26 | Far :sillybytes-remote:"Sent" 27 | Near :sillybytes-local:"sent" 28 | Create Both 29 | Expunge Both 30 | Sync All 31 | SyncState * 32 | 33 | 34 | Channel sillybytes-spam 35 | Far :sillybytes-remote:"Spam" 36 | Near :sillybytes-local:"spam" 37 | MaxMessages 50 38 | ExpireUnread yes 39 | Create Near 40 | Expunge Both 41 | Sync All 42 | SyncState * 43 | 44 | 45 | Channel sillybytes-trash 46 | Far :sillybytes-remote:"Trash" 47 | Near :sillybytes-local:"trash" 48 | MaxMessages 50 49 | Create Near 50 | Expunge Both 51 | Sync All 52 | SyncState * 53 | 54 | 55 | Group sillybytes 56 | Channel sillybytes-inbox 57 | Channel sillybytes-sent 58 | Channel sillybytes-spam 59 | Channel sillybytes-trash 60 | -------------------------------------------------------------------------------- /mimi/.config/mimi/mime.conf: -------------------------------------------------------------------------------- 1 | text/: urxvt -e vim 2 | text/html: urxvt -e url_view.sh 3 | application/pdf: zathura 4 | video/: mpv 5 | image/: sxiv 6 | audio/: vlc 7 | inode/directory: urxvt -e ranger 8 | -------------------------------------------------------------------------------- /modprobe/etc/modprobe.d/nobeep.conf: -------------------------------------------------------------------------------- 1 | blacklist pcspkr 2 | -------------------------------------------------------------------------------- /mongodb/.mongorc.js: -------------------------------------------------------------------------------- 1 | EDITOR="vim" 2 | 3 | prompt = function(){ 4 | var datab = ""; 5 | 6 | if (typeof db == 'undefined'){ 7 | datab = "NO DB"; 8 | }else{ 9 | datab = db; 10 | } 11 | 12 | // If this comment is removed, mongo breaks. WTF? 13 | return "\n[" + datab + "] (╯°□°)╯- ┻━┻ "; 14 | }; 15 | -------------------------------------------------------------------------------- /mozrepl/.mozrepl/select_tab.expect: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect 2 | 3 | set page [lindex $argv 0] 4 | set port 4242 5 | 6 | set file [open "select_tab.js"] 7 | set content [split [read $file] "\n"] 8 | close $file 9 | 10 | spawn telnet localhost $port 11 | 12 | foreach line $content { 13 | send "$line\r" 14 | } 15 | send "selectTab(\"$page\");\r" 16 | expect "repl> " 17 | 18 | expect { 19 | "true" { 20 | exit 0 21 | } 22 | "false" { 23 | exit 1 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /mozrepl/.mozrepl/select_tab.js: -------------------------------------------------------------------------------- 1 | function selectTab(page) 2 | { 3 | var numTabs=gBrowser.browsers.length; 4 | var url=""; 5 | for(i=numTabs-1; i>0; i--) 6 | { 7 | url=gBrowser.browsers[i].contentDocument.location.href; 8 | if(url.search(page) != -1) 9 | { 10 | gBrowser.tabContainer.selectedIndex=i; 11 | return true; 12 | } 13 | } 14 | 15 | return false; 16 | } 17 | -------------------------------------------------------------------------------- /mpd/.mpd/mpd.conf: -------------------------------------------------------------------------------- 1 | #{{{ Files and directories 2 | music_directory "~/music" 3 | playlist_directory "~/.mpd/playlists" 4 | db_file "~/.mpd/database" 5 | log_file "~/.mpd/log" 6 | pid_file "~/.mpd/pid" 7 | state_file "~/.mpd/state" 8 | sticker_file "~/.mpd/sticker.sql" 9 | #}}} 10 | 11 | #{{{ General music daemon options 12 | bind_to_address "any" 13 | port "6600" 14 | log_level "default" 15 | restore_paused "yes" 16 | save_absolute_paths_in_playlists "no" 17 | metadata_to_use "artist,album,title,track,name,date" 18 | #}}} 19 | 20 | #{{{ Symbolic link behavior 21 | follow_outside_symlinks "no" 22 | follow_inside_symlinks "yes" 23 | #}}} 24 | 25 | #{{{ Input 26 | input { 27 | plugin "curl" 28 | } 29 | #}}} 30 | 31 | #{{{ Audio Output 32 | audio_output { 33 | type "pulse" 34 | name "audio" 35 | } 36 | #}}} 37 | 38 | 39 | # vim:fdm=marker 40 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/2000er.radio.m3u: -------------------------------------------------------------------------------- 1 | http://stream.104.6rtl.com/2000er/mp3-192/liveonlineradio.net/” 2 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/Aerosmith.m3u: -------------------------------------------------------------------------------- 1 | Aerosmith/CD 1/Mama Kin.mp3 2 | Aerosmith/CD 1/Dream On.mp3 3 | Aerosmith/CD 1/Same Old Song And Dance.mp3 4 | Aerosmith/CD 1/Seasons Of Winter.mp3 5 | Aerosmith/CD 1/Walk This Way.mp3 6 | Aerosmith/CD 1/Big Ten Inch Record.mp3 7 | Aerosmith/CD 1/Sweet Emotion.mp3 8 | Aerosmith/CD 1/Last Child.mp3 9 | Aerosmith/CD 1/Back In The Saddle.mp3 10 | Aerosmith/CD 1/Draw the Line.mp3 11 | Aerosmith/CD 1/Dude.mp3 12 | Aerosmith/CD 1/Angel.mp3 13 | Aerosmith/CD 1/Rag Doll.mp3 14 | Aerosmith/CD 1/Janie's Got a Gun.mp3 15 | Aerosmith/CD 1/Love in an Elevator.mp3 16 | Aerosmith/CD 1/What It Takes.mp3 17 | Aerosmith/CD 2/The Other Side.mp3 18 | Aerosmith/CD 2/Livin' on the Edge.mp3 19 | Aerosmith/CD 2/Cryin'.mp3 20 | Aerosmith/CD 2/Amazing.mp3 21 | Aerosmith/CD 2/Deuces are Wild.mp3 22 | Aerosmith/CD 2/Crazy.mp3 23 | Aerosmith/CD 2/Failling In Love.mp3 24 | Aerosmith/CD 2/Pink.mp3 25 | Aerosmith/CD 2/I Don't Want to Miss a Thing.mp3 26 | Aerosmith/CD 2/Jaded.mp3 27 | Aerosmith/CD 2/Just Push Place.mp3 28 | Aerosmith/CD 2/Walk This Way (Performed By Run-D.M.C).mp3 29 | Aerosmith/CD 2/Girls of Summer.mp3 30 | Aerosmith/CD 2/Lay It Down.mp3 31 | Aerosmith/CD 2/Come Together.mp3 32 | Aerosmith/CD 2/Theme From Spider Man.mp3 33 | Aerosmith/CD 2/Toysin the Attic.mp3 34 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/Alanis Morriseth.m3u: -------------------------------------------------------------------------------- 1 | Alanis Morriseth/Alanis Morrisete - Thank you.mp3 2 | Alanis Morriseth/ALANIS_MORISSETTE___YOU_OUG.MP3 3 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/Caravan Palace.m3u: -------------------------------------------------------------------------------- 1 | caravan_palace-caravan_palace/01 Dragons.Flac 2 | caravan_palace-caravan_palace/02 Star Scat.Flac 3 | caravan_palace-caravan_palace/03 Ended With The Night.Flac 4 | caravan_palace-caravan_palace/04 Jolie Coquine.Flac 5 | caravan_palace-caravan_palace/05 Oooh.Flac 6 | caravan_palace-caravan_palace/06 Suzy.Flac 7 | caravan_palace-caravan_palace/07 Je M'Amuse.Flac 8 | caravan_palace-caravan_palace/08 Violente Valse.Flac 9 | caravan_palace-caravan_palace/09 Brotherswing.Flac 10 | caravan_palace-caravan_palace/10 L'Envol.Flac 11 | caravan_palace-caravan_palace/11 Sofa.Flac 12 | caravan_palace-caravan_palace/12 Bambous.Flac 13 | caravan_palace-caravan_palace/13 Lazy Place.Flac 14 | caravan_palace-caravan_palace/14 We Can Dance.Flac 15 | caravan_palace-caravan_palace/15 La Caravane.Flac 16 | caravan_palace-caravan_palace/01 Dragons.Flac 17 | caravan_palace-caravan_palace/02 Star Scat.Flac 18 | caravan_palace-caravan_palace/03 Ended With The Night.Flac 19 | caravan_palace-caravan_palace/04 Jolie Coquine.Flac 20 | caravan_palace-caravan_palace/05 Oooh.Flac 21 | caravan_palace-caravan_palace/06 Suzy.Flac 22 | caravan_palace-caravan_palace/07 Je M'Amuse.Flac 23 | caravan_palace-caravan_palace/08 Violente Valse.Flac 24 | caravan_palace-caravan_palace/09 Brotherswing.Flac 25 | caravan_palace-caravan_palace/10 L'Envol.Flac 26 | caravan_palace-caravan_palace/12 Bambous.Flac 27 | caravan_palace-caravan_palace/13 Lazy Place.Flac 28 | caravan_palace-caravan_palace/14 We Can Dance.Flac 29 | caravan_palace-caravan_palace/11 Sofa.Flac 30 | caravan_palace-caravan_palace/15 La Caravane.Flac 31 | caravan_palace-panic/01 Queens.flac 32 | caravan_palace-panic/02 Maniac.flac 33 | caravan_palace-panic/03 The dirty side of the street.flac 34 | caravan_palace-panic/04 12 June 3049.flac 35 | caravan_palace-panic/05 Rock it for me.flac 36 | caravan_palace-panic/06 Clash.flac 37 | caravan_palace-panic/07 Newbop.flac 38 | caravan_palace-panic/08 Glory of Nelly.flac 39 | caravan_palace-panic/09 Dramophone.flac 40 | caravan_palace-panic/10 Cotton Heads.flac 41 | caravan_palace-panic/11 Panic.flac 42 | caravan_palace-panic/13 Beatophone.flac 43 | caravan_palace-panic/02 Maniac.flac 44 | caravan_palace-panic/14 Sydney.flac 45 | caravan_palace-panic/01 Queens.flac 46 | caravan_palace-panic/12 Pirates.flac 47 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/Celin Dion.m3u: -------------------------------------------------------------------------------- 1 | celin_dion/celin dion - celine dione - titanic(2).mp3 2 | celin_dion/celin dion - titanic.mp3 3 | celin_dion/01 - The Power Of Love (Live).mp3 4 | celin_dion/02 - Do You Hear What I Hear (Live).mp3 5 | celin_dion/03 - O Holy Night (Live).mp3 6 | celin_dion/04 - Because You Loved Me (Live).mp3 7 | celin_dion/05 - Let's Talk About Love (Live).mp3 8 | celin_dion/06 - The First Time I Ever Saw Your Face (Live).mp3 9 | celin_dion/07 - My Heart Will Go On (Live).mp3 10 | celin_dion/08 - The Prayer (Live).mp3 11 | celin_dion/09 - Ave Maria (Live).mp3 12 | celin_dion/10 - End Creditsfeliz Navidad (Live).mp3 13 | celin_dion/Falling Into You/AudioTrack 01.mp3 14 | celin_dion/Falling Into You/AudioTrack 02.mp3 15 | celin_dion/Falling Into You/AudioTrack 03.mp3 16 | celin_dion/Falling Into You/AudioTrack 04.mp3 17 | celin_dion/Falling Into You/AudioTrack 05.mp3 18 | celin_dion/Falling Into You/AudioTrack 06.mp3 19 | celin_dion/Falling Into You/AudioTrack 07.mp3 20 | celin_dion/Falling Into You/AudioTrack 08.mp3 21 | celin_dion/Falling Into You/AudioTrack 09.mp3 22 | celin_dion/Falling Into You/AudioTrack 10.mp3 23 | celin_dion/Falling Into You/AudioTrack 11.mp3 24 | celin_dion/Falling Into You/AudioTrack 12.mp3 25 | celin_dion/Falling Into You/AudioTrack 13.mp3 26 | celin_dion/Falling Into You/AudioTrack 14.mp3 27 | celin_dion/Falling Into You/AudioTrack 15.mp3 28 | celin_dion/Falling Into You/AudioTrack 16.mp3 29 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/Don Ellis.m3u: -------------------------------------------------------------------------------- 1 | don_ellis/01 - Variations For Trumpet.flac 2 | don_ellis/02 - Scratt And Fluggs.flac 3 | don_ellis/03 - Pussy Wiggle Stomp.flac 4 | don_ellis/04 - K. C. Blues.flac 5 | don_ellis/05 - Child Of Ecstasy.flac 6 | don_ellis/06 - Indian Lady.flac 7 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/Green Day.m3u: -------------------------------------------------------------------------------- 1 | Green Day/Green Day - She(1).mp3 2 | Green Day/I Walk Alone.mp3 3 | Green Day/King For A Day.mp3 4 | Green Day/Know Your Enemy.mp3 5 | Green Day/Minority.mp3 6 | Green Day/Nice Guys Finish Last.mp3 7 | Green Day/Paranoid.mp3 8 | Green Day/St.Jimmy.mp3 9 | Green Day/Summer of 69.mp3 10 | Green Day/When I Come Around.mp3 11 | Green Day/Working Class Hero.mp3 12 | Green Day/Paranoia.mp3 13 | Green Day/21st Century Breakdown.mp3 14 | Green Day/Viva La Gloria (Little Girl).mp3 15 | Green Day/Christians Inferno.mp3 16 | Green Day/Last night on earth.mp3 17 | Green Day/East Jesus nowhere.mp3 18 | Green Day/Peacemaker.mp3 19 | Green Day/Last of the american girls.mp3 20 | Green Day/Green Day - Murder City.mp3 21 | Green Day/13-restless_heart_syndrome.mp3 22 | Green Day/015-green_day-the_static_age.mp3 23 | Green Day/21 Guns.mp3 24 | Green Day/American Idiot.mp3 25 | Green Day/Holiday.mp3 26 | Green Day/Boulevard Of Broken Dreams.mp3 27 | Green Day/Boulavard of Broken Dreams.mp3 28 | Green Day/Wake Me Up When September Ends.mp3 29 | Green Day/Having a blast.mp3 30 | Green Day/Brain Stew.mp3 31 | Green Day/Boulevard of Broken Dreams (acoustic).mp3 32 | Green Day/Green Day - She(1).mp3 33 | Green Day/I Walk Alone.mp3 34 | Green Day/King For A Day.mp3 35 | Green Day/Know Your Enemy.mp3 36 | Green Day/Minority.mp3 37 | Green Day/Nice Guys Finish Last.mp3 38 | Green Day/Paranoid.mp3 39 | Green Day/St.Jimmy.mp3 40 | Green Day/Summer of 69.mp3 41 | Green Day/When I Come Around.mp3 42 | Green Day/Working Class Hero.mp3 43 | Green Day/Paranoia.mp3 44 | Green Day/21st Century Breakdown.mp3 45 | Green Day/Viva La Gloria (Little Girl).mp3 46 | Green Day/Christians Inferno.mp3 47 | Green Day/Last night on earth.mp3 48 | Green Day/East Jesus nowhere.mp3 49 | Green Day/Peacemaker.mp3 50 | Green Day/Last of the american girls.mp3 51 | Green Day/Green Day - Murder City.mp3 52 | Green Day/13-restless_heart_syndrome.mp3 53 | Green Day/015-green_day-the_static_age.mp3 54 | Green Day/21 Guns.mp3 55 | Green Day/American Idiot.mp3 56 | Green Day/Holiday.mp3 57 | Green Day/Boulevard Of Broken Dreams.mp3 58 | Green Day/Boulavard of Broken Dreams.mp3 59 | Green Day/Wake Me Up When September Ends.mp3 60 | Green Day/Having a blast.mp3 61 | Green Day/Brain Stew.mp3 62 | Green Day/Boulevard of Broken Dreams (acoustic).mp3 63 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/Haggard.m3u: -------------------------------------------------------------------------------- 1 | Haggard/2000 - Awaking The Centuries/01. Intro - Rachmaninov Choir.mp3 2 | Haggard/2000 - Awaking The Centuries/02. Intro - Pestilencia.mp3 3 | Haggard/2000 - Awaking The Centuries/03. Chapter I - Heavenly Damnation.mp3 4 | Haggard/2000 - Awaking The Centuries/04. Chapter II - The Final Victory.mp3 5 | Haggard/2000 - Awaking The Centuries/05. Chapter II - Saltorella La Manuelina.mp3 6 | Haggard/2000 - Awaking The Centuries/06. Chapter III - Awaking The Centuries.mp3 7 | Haggard/2000 - Awaking The Centuries/07. Chapter III - Statement Zur Lage Der Musica.mp3 8 | Haggard/2000 - Awaking The Centuries/08. Chapter IV - In A Fullmoon Procession.mp3 9 | Haggard/2000 - Awaking The Centuries/09. Chapter IV - Menuett.mp3 10 | Haggard/2000 - Awaking The Centuries/10. Chapter V - (Part I) Prophecy Fullfiled; (Part II) And The Dark Night Entered.mp3 11 | Haggard/2000 - Awaking The Centuries/11. Chapter V - Courante.mp3 12 | Haggard/2000 - Awaking The Centuries/12. Chapter V - Rachmaninov Choir.mp3 13 | Haggard/2000 - Awaking The Centuries/13. Lost (Robin's Song) (Bonus Track).mp3 14 | Haggard/2004 - Eppur Si Muove (Limited Edition)/01. All'inizio E La Morte.mp3 15 | Haggard/2004 - Eppur Si Muove (Limited Edition)/02. Menuetto In Fa-Minore.mp3 16 | Haggard/2004 - Eppur Si Muove (Limited Edition)/03. Per Aspera Ad Astra.mp3 17 | Haggard/2004 - Eppur Si Muove (Limited Edition)/04. Of A Might Divine.mp3 18 | Haggard/2004 - Eppur Si Muove (Limited Edition)/05. Gavotta In Si-Minore.mp3 19 | Haggard/2004 - Eppur Si Muove (Limited Edition)/06. Herr Mannelig.mp3 20 | Haggard/2004 - Eppur Si Muove (Limited Edition)/07. The Observer.mp3 21 | Haggard/2004 - Eppur Si Muove (Limited Edition)/08. Eppur Si Muove.mp3 22 | Haggard/2004 - Eppur Si Muove (Limited Edition)/09. Largetto Epilogo Adagio.mp3 23 | Haggard/2004 - Eppur Si Muove (Limited Edition)/10. Herr Mannelig (Short Version).mp3 24 | Haggard/2004 - Eppur Si Muove (Limited Edition)/11. De La Morte Noir (Live In Wacken Open Air 1998).mp3 25 | Haggard/2004 - Eppur Si Muove (Limited Edition)/12. Robin's Song (Live In Wacken Open Air 1998).mp3 26 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/Hilary Duff.m3u: -------------------------------------------------------------------------------- 1 | hilary duff/play with fire(2).mp3 2 | hilary duff/Hilary Duff - Come Clean.mp3 3 | hilary duff/Wake Up.wma 4 | hilary duff/The Getaway.wma 5 | hilary duff/Beat Of My Heart.wma 6 | hilary duff/Come Clean REMIX 2005.wma 7 | hilary duff/05 Track 5.wma 8 | hilary duff/So Yesterday.wma 9 | hilary duff/Methamorphosis.wma 10 | hilary duff/08 Track 8.wma 11 | hilary duff/09 Track 9.wma 12 | hilary duff/11 Track 11.wma 13 | hilary duff/12 Track 12.wma 14 | hilary duff/Why Not.wma 15 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/Jesse & Joy.m3u: -------------------------------------------------------------------------------- 1 | Jesse & Joy/Esto Es Lo Que Soy/AudioTrack 01.mp3 2 | Jesse & Joy/Esto Es Lo Que Soy/AudioTrack 02.mp3 3 | Jesse & Joy/Esto Es Lo Que Soy/AudioTrack 03.mp3 4 | Jesse & Joy/Esto Es Lo Que Soy/AudioTrack 04.mp3 5 | Jesse & Joy/Esto Es Lo Que Soy/Esto es lo que soy.mp3 6 | Jesse & Joy/Esto Es Lo Que Soy/AudioTrack 06.mp3 7 | Jesse & Joy/Esto Es Lo Que Soy/AudioTrack 07.mp3 8 | Jesse & Joy/Esto Es Lo Que Soy/AudioTrack 08.mp3 9 | Jesse & Joy/Esto Es Lo Que Soy/AudioTrack 09.mp3 10 | Jesse & Joy/Esto Es Lo Que Soy/AudioTrack 10.mp3 11 | Jesse & Joy/Esto Es Lo Que Soy/AudioTrack 11.mp3 12 | Jesse & Joy/Esto Es Lo Que Soy/AudioTrack 12.mp3 13 | Jesse & Joy/Esto Es Lo Que Soy/AudioTrack 13.mp3 14 | Jesse & Joy/Esto Es Lo Que Soy/AudioTrack 14.mp3 15 | Jesse & Joy/Esto Es Lo Que Soy/AudioTrack 15.mp3 16 | Jesse & Joy/Esto Es Lo Que Soy/AudioTrack 16.mp3 17 | Jesse & Joy/Esto Es Lo Que Soy/AudioTrack 17.mp3 18 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/Lacrimosa.m3u: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alx741/dotfiles/283292359099ca1ddfa539cf17a018eb73ed98ef/mpd/.mpd/playlists/Lacrimosa.m3u -------------------------------------------------------------------------------- /mpd/.mpd/playlists/Leona Lewis.m3u: -------------------------------------------------------------------------------- 1 | leona_lewis/All By Myself.mp3 2 | leona_lewis/Bleeding Love.mp3 3 | leona_lewis/Happy.mp3 4 | leona_lewis/Private Party.mp3 5 | leona_lewis/I'm You.mp3 6 | leona_lewis/Angel.mp3 7 | leona_lewis/Leona Lewis - Whatever it Takes.mp3 8 | leona_lewis/Better In Time .mp3 9 | leona_lewis/Better In Time.mp3 10 | leona_lewis/Forgive Me.mp3 11 | leona_lewis/Yesterday.mp3 12 | leona_lewis/The Best You Never Had.mp3 13 | leona_lewis/Forgive Me ft. Akon.mp3 14 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/Metalica.m3u: -------------------------------------------------------------------------------- 1 | Metalica/Death Magnetic/AudioTrack 01.mp3 2 | Metalica/Death Magnetic/AudioTrack 02.mp3 3 | Metalica/Death Magnetic/AudioTrack 03.mp3 4 | Metalica/Death Magnetic/AudioTrack 04.mp3 5 | Metalica/Death Magnetic/AudioTrack 05.mp3 6 | Metalica/Death Magnetic/AudioTrack 06.mp3 7 | Metalica/Death Magnetic/AudioTrack 07.mp3 8 | Metalica/Death Magnetic/AudioTrack 08.mp3 9 | Metalica/Death Magnetic/AudioTrack 09.mp3 10 | Metalica/Death Magnetic/AudioTrack 10.mp3 11 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/Offspting.m3u: -------------------------------------------------------------------------------- 1 | The Offspring/All I Want.mp3 2 | The Offspring/Gone Away.mp3 3 | The Offspring/Keep Em Seperated.mp3 4 | The Offspring/Self Esteem.mp3 5 | The Offspring/The Kids Aren't Alright(1).mp3 6 | The Offspring/One Fine Day.mp3 7 | The Offspring/Hit That.mp3 8 | The Offspring/You're Gonna Go Far, Kid.mp3 9 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/Paramore.m3u: -------------------------------------------------------------------------------- 1 | Paramore/Brick By Boring Brick.mp3 2 | Paramore/Ignorance.mp3 3 | Paramore/Misery Business.mp3 4 | Paramore/Paramore - Adore.mp3 5 | Paramore/Paramore - All I Wanted.mp3 6 | Paramore/Paramore - Asleep All Day.mp3 7 | Paramore/Paramore - Born for this.mp3 8 | Paramore/Paramore - Careful.mp3 9 | Paramore/Paramore - Emergency.mp3 10 | Paramore/Paramore - Feeling Sorry.mp3 11 | Paramore/Paramore - Fences.mp3 12 | Paramore/Paramore - For a Pessimist, I_m Pretty Optimistic.mp3 13 | Paramore/Paramore - I Caught Myself.mp3 14 | Paramore/The Crazy Frog Song.mp3 15 | Paramore/We Are Broken.mp3 16 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/Radiohead.m3u: -------------------------------------------------------------------------------- 1 | radiohead/The Best Of Radiohead Disc 1/01 - Just.mp3 2 | radiohead/The Best Of Radiohead Disc 1/02 - Paranoid Android.mp3 3 | radiohead/The Best Of Radiohead Disc 1/03 - Karma Police.mp3 4 | radiohead/The Best Of Radiohead Disc 1/04 - Creep.mp3 5 | radiohead/The Best Of Radiohead Disc 1/05 - No Surprise.mp3 6 | radiohead/The Best Of Radiohead Disc 1/06 - High & Dry.mp3 7 | radiohead/The Best Of Radiohead Disc 1/07 - My Iron Lung.mp3 8 | radiohead/The Best Of Radiohead Disc 1/08 - There There.mp3 9 | radiohead/The Best Of Radiohead Disc 1/09 - Lucky.mp3 10 | radiohead/The Best Of Radiohead Disc 1/10 - Optimistic.mp3 11 | radiohead/The Best Of Radiohead Disc 1/11 - Fake Plastic Tree.mp3 12 | radiohead/The Best Of Radiohead Disc 1/12 - Idioteque.mp3 13 | radiohead/The Best Of Radiohead Disc 1/13 - 2+2 = 5.mp3 14 | radiohead/The Best Of Radiohead Disc 1/14 - The Bends.mp3 15 | radiohead/The Best Of Radiohead Disc 1/15 - Pyramid Song.mp3 16 | radiohead/The Best Of Radiohead Disc 1/16 - Street Spirit (Fade Out).mp3 17 | radiohead/The Best Of Radiohead Disc 1/17 - Everything In Its Right Place.mp3 18 | radiohead/The Best Of Radiohead Disc 2/01 - Airbag.mp3 19 | radiohead/The Best Of Radiohead Disc 2/02 - I Might Be Wrong.mp3 20 | radiohead/The Best Of Radiohead Disc 2/03 - Go To Sleep.mp3 21 | radiohead/The Best Of Radiohead Disc 2/04 - Let Down.mp3 22 | radiohead/The Best Of Radiohead Disc 2/05 - Planet Telex.mp3 23 | radiohead/The Best Of Radiohead Disc 2/06 - Exit Music (For A Film).mp3 24 | radiohead/The Best Of Radiohead Disc 2/07 - The National Anthem.mp3 25 | radiohead/The Best Of Radiohead Disc 2/08 - Knives Out.mp3 26 | radiohead/The Best Of Radiohead Disc 2/09 - Talk Show Host.mp3 27 | radiohead/The Best Of Radiohead Disc 2/10 - You.mp3 28 | radiohead/The Best Of Radiohead Disc 2/11 - Anyone Can Play Guitar.mp3 29 | radiohead/The Best Of Radiohead Disc 2/12 - How To Disappear Completely.mp3 30 | radiohead/The Best Of Radiohead Disc 2/13 - True Love Waits.mp3 31 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/Rasmus.m3u: -------------------------------------------------------------------------------- 1 | the rasmus daed letters/01 - guilty.mp3 2 | the rasmus daed letters/02 - in the shadows.mp3 3 | the rasmus daed letters/03 - first day of my life.mp3 4 | the rasmus daed letters/07 - not like the other girls .mp3 5 | the rasmus daed letters/10 - funeral songs .mp3 6 | the rasmus daed letters/04 - still standing.mp3 7 | the rasmus daed letters/08 - the one i love .mp3 8 | the rasmus daed letters/05 - in my life .mp3 9 | the rasmus daed letters/06 - time to burn.mp3 10 | the rasmus daed letters/09 - back in the picture.mp3 11 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/Slipknot.m3u: -------------------------------------------------------------------------------- 1 | SLIPKNOT/Queen Of The Damned JON DAVIS .mp3 2 | SLIPKNOT/Slip Knot - Diluted.mp3 3 | SLIPKNOT/Slip Knot - Do Nothing, Bitchslap.mp3 4 | SLIPKNOT/Slip Knot- Eyeless.mp3 5 | SLIPKNOT/Slipknot - Iowa - Deathride.mp3 6 | SLIPKNOT/Slipknot - My Plague.mp3 7 | SLIPKNOT/Slipknot - Sic.mp3 8 | SLIPKNOT/Slipknot - Surfacing.mp3 9 | SLIPKNOT/Slipknot - The Heretic Anthem.mp3 10 | SLIPKNOT/Slipknot - Wait and Bleed.mp3 11 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/Whitney Houston.m3u: -------------------------------------------------------------------------------- 1 | whitney-houston/CD1/01 Whitney Houston - Saving All My Love For You.mp3 2 | whitney-houston/CD1/02 Whitney Houston - Greatest Love Of All.mp3 3 | whitney-houston/CD1/03 Whitney Houston - One Moment In Time.mp3 4 | whitney-houston/CD1/04 Whitney Houston - I Have Nothing.mp3 5 | whitney-houston/CD1/05 Whitney Houston - I Always Will Love You.mp3 6 | whitney-houston/CD1/06 Whitney Houston - Run To You.mp3 7 | whitney-houston/CD1/07 Whitney Houston - You Give Good Love.mp3 8 | whitney-houston/CD1/08 Whitney Houston - All At Once.mp3 9 | whitney-houston/CD1/09 Whitney Houston - Where Do Broken Hearts Go.mp3 10 | whitney-houston/CD1/10 Whitney Houston - If You Say My Eyes Are Beautiful.mp3 11 | whitney-houston/CD1/11 Whitney Houston - Didn´t We Almost Have It All.mp3 12 | whitney-houston/CD1/12 Whitney Houston - All The Man That I Need.mp3 13 | whitney-houston/CD1/13 Whitney Houston - Exhale (Shoop Shoop).mp3 14 | whitney-houston/CD1/14 Whitney Houston - Count On Me.mp3 15 | whitney-houston/CD1/15 Whitney Houston - I Believe In You And Me.mp3 16 | whitney-houston/CD1/16 Whitney Houston - I Learned From The Best.mp3 17 | whitney-houston/CD1/17 Whitney Houston - Same Script, Different Cast.mp3 18 | whitney-houston/CD1/18 Whitney Houston - Could I Have This Kiss Forever.mp3 19 | whitney-houston/CD2/01 Whitney Houston - If I Told You That (Feat. George Michael).mp3 20 | whitney-houston/CD2/02 Whitney Houston - Fine.mp3 21 | whitney-houston/CD2/03 Whitney Houston - My Love Is Your Love.mp3 22 | whitney-houston/CD2/04 Whitney Houston - It's Not Right But It's Okay.mp3 23 | whitney-houston/CD2/05 Whitney Houston - Heartbreak Hotel.mp3 24 | whitney-houston/CD2/06 Whitney Houston - Step By Step.mp3 25 | whitney-houston/CD2/07 Whitney Houston - Queen Of The Night (Cj Mackintosh Mix).mp3 26 | whitney-houston/CD2/08 Whitney Houston - I'm Every Woman.mp3 27 | whitney-houston/CD2/09 Whitney Houston - Love Will Save The Day.mp3 28 | whitney-houston/CD2/10 Whitney Houston - I'm Your Baby Tonight.mp3 29 | whitney-houston/CD2/11 Whitney Houston - So Emotional.mp3 30 | whitney-houston/CD2/12 Whitney Houston - I Wanna Dance With Somebody (Who Loves Me).mp3 31 | whitney-houston/CD2/13 Whitney Houston - How Will I Know.mp3 32 | whitney-houston/CD2/14 Whitney Houston - I Will Always Love You (Hex Hector Mix).mp3 33 | whitney-houston/CD2/15 Whitney Houston - Greatest Love Of All (Club 69 Mix).mp3 34 | whitney-houston/CD2/16 Whitney Houston - It's Not Right But It's Okay (Thunderpuss Mix).mp3 35 | whitney-houston/CD2/17 Whitney Houston - I'm Your Baby Tonight (Dronez Mix).mp3 36 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/Zack Hemsey.m3u: -------------------------------------------------------------------------------- 1 | zack_hemsey-the_way/01. Vengeance.mp3 2 | zack_hemsey-the_way/02. Redemption.mp3 3 | zack_hemsey-the_way/03. Facing Demons.mp3 4 | zack_hemsey-the_way/04. The Calling.mp3 5 | zack_hemsey-the_way/05. Graven Image.mp3 6 | zack_hemsey-the_way/06. Waiting Between Worlds.mp3 7 | zack_hemsey-the_way/07. End Of An Era.mp3 8 | zack_hemsey-the_way/08. This Is Our Legacy.mp3 9 | zack_hemsey-the_way/09. See What I've Become.mp3 10 | zack_hemsey-the_way/10. The Way.mp3 11 | zack_hemsey-the_way/11. Vengeance (Instrumental).mp3 12 | zack_hemsey-the_way/12. Vengeance (lyrical mix).mp3 13 | zack_hemsey-the_way/13. Vengeance (lyrical mix) (Instrumental).mp3 14 | zack_hemsey-the_way/14. Redemption (One Chance).mp3 15 | zack_hemsey-the_way/15. Graven Images.mp3 16 | zack_hemsey-the_way/17. Waiting Between Worlds (lyrical mix).mp3 17 | zack_hemsey-the_way/18. Waiting Between Worlds (lyrical mix) (Instrumental).mp3 18 | zack_hemsey-the_way/16. Waiting Between Worlds (Instrumental).mp3 19 | zack_hemsey-the_way/19. End Of An Era (Our Humanity).mp3 20 | zack_hemsey-the_way/20 . See What I've Become (Many Worlds).mp3 21 | zack_hemsey-the_way/21. The Way (Instrumental).mp3 22 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/asterisk.radio.m3u: -------------------------------------------------------------------------------- 1 | http://s10.voscast.com:9826 2 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/electro_swing.radio.m3u: -------------------------------------------------------------------------------- 1 | https://streamer.radio.co/s2c3cc784b/listen?DIST=TuneIn&TGT=TuneIn&maxServers=2&gdpr=0&us_privacy=1YNY&partnertok=eyJhbGciOiJIUzI1NiIsImtpZCI6InR1bmVpbiIsInR5cCI6IkpXVCJ9.eyJ0cnVzdGVkX3BhcnRuZXIiOnRydWUsImlhdCI6MTY0MTQwMDAwNCwiaXNzIjoidGlzcnYifQ.1i_OyC7-UfK5_2a9KsO1EE-Noa8tSi71OBouqszRmmw 2 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/ethereal.radio.m3u: -------------------------------------------------------------------------------- 1 | http://us4.internet-radio.com:8073/live 2 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/gothique.radio.m3u: -------------------------------------------------------------------------------- 1 | http://144.217.253.136:8535/stream 2 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/heart.uk.radio.m3u: -------------------------------------------------------------------------------- 1 | http://ice-sov.musicradio.com/HeartLondonMP3 2 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/i_love_chillhop.radio.m3u: -------------------------------------------------------------------------------- 1 | https://streams.ilovemusic.de/iloveradio17.mp3?DIST=TuneIn&TGT=TuneIn&maxServers=2&gdpr=0&us_privacy=1YNY&partnertok=eyJhbGciOiJIUzI1NiIsImtpZCI6InR1bmVpbiIsInR5cCI6IkpXVCJ9.eyJ0cnVzdGVkX3BhcnRuZXIiOnRydWUsImlhdCI6MTYyODQ0MTYwMiwiaXNzIjoidGlzcnYifQ.NUOxRp9sxnVIv7KaQ8ARcsXQzfHsPxlgRaXao9UsovI 2 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/lofi_24-7.radio.m3u: -------------------------------------------------------------------------------- 1 | http://usa9.fastcast4u.com/proxy/jamz?mp=/1&DIST=TuneIn&TGT=TuneIn&maxServers=2&gdpr=0&us_privacy=1YNY&partnertok=eyJhbGciOiJIUzI1NiIsImtpZCI6InR1bmVpbiIsInR5cCI6IkpXVCJ9.eyJ0cnVzdGVkX3BhcnRuZXIiOnRydWUsImlhdCI6MTYyODQ0MTk1NywiaXNzIjoidGlzcnYifQ.RJcDjI_y30kBhj7BK_rcPGrFDwqsZiki_hhGOnhsyUs 2 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/lofi_girl.m3u: -------------------------------------------------------------------------------- 1 | https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1616647730/ei/0cFbYLTiPLf2j-8P5aW3sA4/ip/186.178.108.68/id/5qap5aO4i9A.0/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r2---sn-jou-j0xl.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/3490/mh/30/mm/44/mn/sn-jou-j0xl/ms/lva/mv/m/mvi/2/pl/24/dover/11/keepalive/yes/fexp/24001373,24007246/mt/1616625389/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRAIgG5EtBnnDxhDhFpYpSveCuevMsFhVpsnUGrmV-l5XCksCIH3ba6iHa6TZKotHBYacCSUC8R8r8hiEvUTTMB1xXRSD/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pl/lsig/AG3C_xAwRgIhAN2h5ZBCs3FR81J1XHf_gt57B0MShvFL-MpL6kkKojiaAiEAy7DR-5oYSteKU9M-8LEdM4ewZRv3RcS0j012n9KHakU%3D/playlist/index.m3u8 2 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/lofitest.m3u: -------------------------------------------------------------------------------- 1 | https://www.youtube.com/watch?v=FFdNyGs9bYo 2 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/lounge.radio.m3u: -------------------------------------------------------------------------------- 1 | https://stream.laut.fm/lounge?ref=radiode 2 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/nfs.m3u: -------------------------------------------------------------------------------- 1 | nfs/[nfsu2] need for speed underground 2 - helmet - crashing foreign cars.mp3 2 | nfs/01 - overseer - doomsday.mp3 3 | nfs/07 switch_twitch.mp3 4 | nfs/11-freeland_-_mind_killer(jagz_kooner_remix)-ost-2004-djn.mp3 5 | nfs/13-sonic_animation-e_ville.mp3 6 | nfs/17 - the bronx - notice of eviction(3).mp3 7 | nfs/21 septembre - i am weightless ( ost need for speed ii).mp3 8 | nfs/5-xzibit - need for speed underground 2 - lax.mp3 9 | nfs/capone - need for speed underground 2 exclusive - i need speed.mp3 10 | nfs/chingy - i do - copia.mp3 11 | nfs/felix da housecat - need for speed underground 2 soundtrack - rocket ride (soulwax rock it r.mp3 12 | nfs/killing joke - the death and resurrection show.mp3 13 | nfs/killradio - need for speed underground 2 - scavenger126.mp3 14 | nfs/mudvayne - determined.mp3 15 | nfs/need for speed 8 underground 2 - christopher lawrence - rush hour.mp3 16 | nfs/need for speed underground 2 - sly boogy - thatz my name.mp3 17 | nfs/need rise against - rock against bush (vol 1) - give it all(2)(2)23469.mp3 18 | nfs/no _w_.mp3 19 | nfs/queens of the stone age - lullabies to paralyze - in my head.mp3 20 | nfs/skindred - babylon - nobody.mp3 21 | nfs/snoop dogg feat the doors - need for speed underground 2 - riders on the storm120.mp3 22 | nfs/spiderbait-black betty.mp3 23 | nfs/terror squad feat fat joe & remy - lean back.mp3 24 | nfs/the crystal method - need for speed underground soundtrack - born too slow.mp3 25 | nfs/unwritten law - the way - the celebration song.mp3 26 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/radio.lclhst.net.radio.m3u: -------------------------------------------------------------------------------- 1 | #EXTM3U 2 | #EXTINF:-1,radio.lclhst.net CHANNEL/r1 (192kbps/EUROPE) 3 | http://s1.radio.lclhst.net:1437/r1 4 | #EXTINF:-1,radio.lclhst.net CHANNEL/r2 (128kbps/EUROPE) 5 | http://s1.radio.lclhst.net:1437/r2 6 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/regenbogen.radio.m3u: -------------------------------------------------------------------------------- 1 | http://streams.regenbogen.de/rr-90er-128-mp3?usid=0-0-H-M-V-02 2 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/relaxing.m3u: -------------------------------------------------------------------------------- 1 | /home/alx/music/from_youtube/Daughter-Dreams of William.mp3 2 | /home/alx/music/from_youtube/Daughter-No Care.mp3 3 | /home/alx/music/from_youtube/Daughter-"Burn It Down".mp3 4 | /home/alx/music/from_youtube/Daughter-Departure.mp3 5 | /home/alx/music/from_youtube/Daughter-Voices.mp3 6 | /home/alx/music/from_youtube/Daughter-Glass.mp3 7 | /home/alx/music/from_youtube/Daughter-Hope.mp3 8 | /home/alx/music/from_youtube/Daughter-All I Wanted.mp3 9 | /home/alx/music/from_youtube/Daughter-Winter.mp3 10 | /home/alx/music/from_youtube/Daughter-Witches.mp3 11 | /home/alx/music/from_youtube/Daughter-I Can't Live Here Anymore.mp3 12 | /home/alx/music/from_youtube/Daughter-Flaws.mp3 13 | /home/alx/music/from_youtube/Daughter-A Hole in the Earth.mp3 14 | /home/alx/music/from_youtube/Daughter-Numbers.mp3 15 | /home/alx/music/from_youtube/Foals-Spanish Sahara.mp3 16 | /home/alx/music/from_youtube/Mogwai-Take Me Somewhere Nice.mp3 17 | /home/alx/music/from_youtube/Mogwai-Kids Will Be Skeletons.mp3 18 | /home/alx/music/from_youtube/Message to Bears-The Lower Heat.mp3 19 | /home/alx/music/from_youtube/Message To Bears-You Are a Memory.mp3 20 | /home/alx/music/from_youtube/Message To Bears-Mountains.mp3 21 | /home/alx/music/from_youtube/Amanda Palmer-In my mind.mp3 22 | /home/alx/music/from_youtube/Mud Flow-Monkey Doll.mp3 23 | /home/alx/music/from_youtube/Mud Flow-Panic.mp3 24 | /home/alx/music/from_youtube/Lua-Bright eyes.mp3 25 | /home/alx/music/from_youtube/Mud Flow-The Sense Of Me.mp3 26 | /home/alx/music/from_youtube/alt-j-Something good.mp3 27 | /home/alx/music/from_youtube/Local Natives-Mt. Washington.mp3 28 | /home/alx/music/from_youtube/Sparklehorse-Piano fire.mp3 29 | /home/alx/music/from_youtube/Syd Matters-Obstacles.mp3 30 | /home/alx/music/from_youtube/Angus & Julia Stone-Santa Monica Dream.mp3 31 | /home/alx/music/from_youtube/José González-Crosses.mp3 32 | /home/alx/music/from_youtube/Syd Matters-To All of You.mp3 33 | /home/alx/music/from_youtube/José González-Stay Alive.mp3 34 | /home/alx/music/from_youtube/Mazzy Star-Fade Into You.mp3 35 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/smooth.uk.radio.m3u: -------------------------------------------------------------------------------- 1 | http://media-ice.musicradio.com/SmoothLondonMP3 2 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/sunshine.radio.m3u: -------------------------------------------------------------------------------- 1 | http://sunshinelive.hoerradar.de/sunshinelive-90er-mp3-hq?sABC=5psrp871%230%2397r44n24osr67050s8s403p4n0n9rqqr%23gharva&amsparams=playerid:tunein;skey:1560201329 2 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/trance.radio.m3u: -------------------------------------------------------------------------------- 1 | http://regulatedbeats.antload.net/Trance3 2 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/wbgo.radio.m3u: -------------------------------------------------------------------------------- 1 | http://wbgo.streamguys.net/wbgo128 2 | -------------------------------------------------------------------------------- /mpd/.mpd/playlists/wumb.radio.m3u: -------------------------------------------------------------------------------- 1 | http://wumb.streamguys1.com/wumb919fast 2 | -------------------------------------------------------------------------------- /mplayer/.mplayer/config: -------------------------------------------------------------------------------- 1 | #{{{ General options 2 | msgcolor=no 3 | msglevel="all=1" 4 | really-quiet=yes 5 | #}}} 6 | 7 | #{{{ Stream 8 | cache=50000 9 | cache-min=5 10 | #}}} 11 | 12 | #{{{ Audio 13 | ao=alsa 14 | mixer-channel="Master" 15 | #}}} 16 | 17 | #{{{ Video 18 | border=no 19 | fs=yes 20 | name=mplayer 21 | title=mplayer 22 | #}}} 23 | 24 | 25 | # vim:fdm=marker 26 | -------------------------------------------------------------------------------- /mplayer/.mplayer/input.conf: -------------------------------------------------------------------------------- 1 | k seek +10 2 | j seek -10 3 | l seek +60 4 | h seek -60 5 | L seek +200 6 | H seek -200 7 | > pt_step 1 8 | < pt_step -1 9 | = volume +1 10 | - volume -1 11 | m mute 12 | } audio_delay 0.100 13 | { audio_delay -0.100 14 | [ sub_delay -0.1 15 | ] sub_delay +0.1 16 | q ignore 17 | ESC ignore 18 | ENTER ignore 19 | q quit 20 | SPACE pause 21 | i osd_show_property_text "${filename}" 22 | p osd_show_progression 23 | d ignore 24 | r ignore 25 | t ignore 26 | y ignore 27 | g ignore 28 | -------------------------------------------------------------------------------- /mpv/.config/mpv/input.conf: -------------------------------------------------------------------------------- 1 | k seek +10 2 | j seek -10 3 | l seek +60 4 | h seek -60 5 | L seek +200 6 | H seek -200 7 | > playlist-next 8 | < playlist-prev 9 | = add volume +1 10 | - add volume -1 11 | m cycle mute 12 | } add audio_delay 0.100 13 | { add audio_delay -0.100 14 | q ignore 15 | ESC ignore 16 | ENTER ignore 17 | q quit 18 | SPACE cycle pause 19 | i show-text "${filename}" 20 | p show-progress 21 | d ignore 22 | r ignore 23 | t ignore 24 | y ignore 25 | g ignore 26 | s ignore 27 | ctrl+s ignore 28 | K add video-zoom 0.25 29 | J add video-zoom -0.25 30 | Alt+h add video-pan-x 0.05 31 | Alt+l add video-pan-x -0.05 32 | Alt+k add video-pan-y 0.05 33 | Alt+j add video-pan-y -0.05 34 | -------------------------------------------------------------------------------- /mpv/.config/mpv/mpv.conf: -------------------------------------------------------------------------------- 1 | #{{{ General options 2 | msg-color=no 3 | osc=no 4 | really-quiet 5 | save-position-on-quit 6 | #}}} 7 | 8 | #{{{ Stream 9 | cache=auto 10 | #}}} 11 | 12 | #{{{ Audio 13 | ao=alsa 14 | volume-max=150 15 | af=acompressor 16 | #}}} 17 | 18 | #{{{ Video 19 | border=no 20 | fs=yes 21 | title=mplayer 22 | vo=gpu 23 | hwdec=auto-safe 24 | #}}} 25 | 26 | 27 | #{{{ youtube-dl 28 | ytdl-format=bestvideo[height<=?1080]+bestaudio/best 29 | #}}} 30 | 31 | 32 | # vim:fdm=marker 33 | -------------------------------------------------------------------------------- /mpv/.config/mpv/watch_later/385B4630E199208F1184319979C23C46: -------------------------------------------------------------------------------- 1 | start=13.513500 2 | sub-visibility=no 3 | -------------------------------------------------------------------------------- /msmtp/.msmtprc: -------------------------------------------------------------------------------- 1 | defaults 2 | tls on 3 | auth on 4 | tls_starttls off 5 | 6 | account demerezel 7 | host mail.privateemail.com 8 | from demerezel@sillybytes.net 9 | user demerezel@sillybytes.net 10 | passwordeval "cat ~/.sec/demerezel@sillybytes.net" 11 | 12 | account default: demerezel 13 | -------------------------------------------------------------------------------- /mutt/.mutt/gpg.rc: -------------------------------------------------------------------------------- 1 | set pgp_decode_command="gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f" 2 | set pgp_verify_command="gpg --status-fd=2 --no-verbose --quiet --batch --output - --verify %s %f" 3 | set pgp_decrypt_command="gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f" 4 | set pgp_sign_command="gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --detach-sign --textmode %?a?-u %a? %f" 5 | set pgp_clearsign_command="gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --textmode --clearsign %?a?-u %a? %f" 6 | set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f" 7 | set pgp_encrypt_sign_command="pgpewrap gpg %?p?--passphrase-fd 0? --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" 8 | set pgp_import_command="gpg --no-verbose --import %f" 9 | set pgp_export_command="gpg --no-verbose --export --armor %r" 10 | set pgp_verify_key_command="gpg --verbose --batch --fingerprint --check-sigs %r" 11 | set pgp_list_pubring_command="gpg --no-verbose --batch --quiet --with-colons --list-keys %r" 12 | set pgp_list_secring_command="gpg --no-verbose --batch --quiet --with-colons --list-secret-keys %r" 13 | set pgp_good_sign="^\\[GNUPG:\\] GOODSIG" 14 | -------------------------------------------------------------------------------- /mutt/.mutt/mailcap: -------------------------------------------------------------------------------- 1 | text/plain; less %s 2 | text/html; firefox --new-tab %s & sleep 3; needsterminal; 3 | text/html; vimb -i %s >/dev/null 2>&1; needsterminal 4 | text/html; w3m -I %{charset} -T text/html; copiousoutput; 5 | 6 | image/jpg; sxiv %s 7 | image/jpeg; sxiv %s 8 | image/pjpeg; sxiv %s 9 | image/png; sxiv %s 10 | image/gif; sxiv %s 11 | 12 | application/pdf; zathura %s 13 | image/pdf; zathura %s 14 | 15 | application/msword; libreoffice %s 16 | application/vnd.openxmlformats-officedocument.wordprocessingml.document; libreoffice %s 17 | -------------------------------------------------------------------------------- /mutt/.mutt/signature: -------------------------------------------------------------------------------- 1 | Daniel Campoverde Carrión [alx741] 2 | GPG key id: 76450F22 3 | https://sillybytes.net 4 | -------------------------------------------------------------------------------- /mysql/.my.cnf: -------------------------------------------------------------------------------- 1 | [client] 2 | 3 | user = alx 4 | password 5 | no-beep 6 | sigint-ignore 7 | auto-vertical-output 8 | auto-rehash 9 | pager = "ccze -A | less -RSFXin" 10 | prompt="\n[\d] (╯°□°)╯- ┻━┻ " 11 | -------------------------------------------------------------------------------- /ncmpcpp/.ncmpcpp/bindings: -------------------------------------------------------------------------------- 1 | # Vim like bindings 2 | 3 | def_key "k" 4 | scroll_up 5 | 6 | def_key "j" 7 | scroll_down 8 | 9 | def_key "ctrl-u" 10 | page_up 11 | 12 | def_key "ctrl-d" 13 | page_down 14 | 15 | def_key "g" 16 | move_home 17 | 18 | def_key "G" 19 | move_end 20 | 21 | def_key "l" 22 | next_column 23 | 24 | def_key "l" 25 | slave_screen 26 | 27 | def_key "l" 28 | volume_up 29 | 30 | def_key "h" 31 | previous_column 32 | 33 | def_key "h" 34 | master_screen 35 | 36 | def_key "h" 37 | volume_down 38 | 39 | def_key "L" 40 | seek_forward 41 | 42 | def_key "H" 43 | seek_backward 44 | 45 | def_key "/" 46 | start_searching 47 | -------------------------------------------------------------------------------- /ncmpcpp/.ncmpcpp/config: -------------------------------------------------------------------------------- 1 | #{{{ connection settings 2 | mpd_host = localhost 3 | mpd_port = 6600 4 | mpd_connection_timeout = 5 5 | mpd_music_dir = ~/music 6 | mpd_crossfade_time = 5 7 | #}}} 8 | 9 | #{{{ song format 10 | song_list_format = {%a - }{%t}|{$8%f$9}$R{$3(%l)$9} 11 | song_status_format = {{%a{ "%b"{ (%y)}} - }{%t}}|{%f} 12 | song_library_format = {%n - }{%t}|{%f} 13 | # tag_editor_album_format = {(%y) }%b 14 | now_playing_prefix = ">" 15 | now_playing_suffix = "" 16 | #}}} 17 | 18 | #{{{ various settings 19 | execute_on_song_change = "~/.scripts/music_control.sh information" 20 | autocenter_mode = yes 21 | centered_cursor = yes 22 | progressbar_look = => 23 | default_place_to_search_in = database 24 | user_interface = classic 25 | media_library_primary_tag = artist 26 | header_visibility = yes 27 | statusbar_visibility = yes 28 | titles_visibility = yes 29 | allow_for_physical_item_deletion = no 30 | lastfm_preferred_language = en 31 | startup_screen = playlist 32 | clock_display_seconds = yes 33 | display_volume_level = yes 34 | external_editor = vim 35 | use_console_editor = yes 36 | #}}} 37 | 38 | #{{{ colors definitions 39 | colors_enabled = yes 40 | empty_tag_color = cyan 41 | header_window_color = default 42 | volume_color = default 43 | state_line_color = default 44 | state_flags_color = default 45 | main_window_color = yellow 46 | color1 = white 47 | color2 = green 48 | main_window_highlight_color = yellow 49 | progressbar_color = black 50 | progressbar_elapsed_color = green 51 | statusbar_color = default 52 | alternative_ui_separator_color = black 53 | active_column_color = red 54 | visualizer_color = yellow 55 | window_border_color = green 56 | active_window_border = red 57 | #}}} 58 | 59 | 60 | # vim:fdm=marker 61 | -------------------------------------------------------------------------------- /ncmpcpp/.ncmpcpp/error.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alx741/dotfiles/283292359099ca1ddfa539cf17a018eb73ed98ef/ncmpcpp/.ncmpcpp/error.log -------------------------------------------------------------------------------- /nethack/.nethackrc: -------------------------------------------------------------------------------- 1 | OPTIONS=align:neutral, !autopickup, autoquiver, catname:Detra, checkpoint 2 | OPTIONS=confirm, dogname:Detra, gender:male, horsename:Detra, legacy 3 | OPTIONS=name:Alx, safe_pet, showexp, showrace, showscore, silent, time 4 | OPTIONS=color 5 | -------------------------------------------------------------------------------- /newsboat/.newsboat/config: -------------------------------------------------------------------------------- 1 | #{{{ General 2 | refresh-on-startup yes 3 | auto-reload yes 4 | browser firefox 5 | #}}} 6 | 7 | #{{{ Vi like 8 | bind-key k up 9 | bind-key j down 10 | bind-key ^U pageup 11 | bind-key ^D pagedown 12 | #}}} 13 | 14 | #{{{ Color 15 | color background default default 16 | color listnormal default default 17 | color listnormal_unread default default 18 | color listfocus white yellow bold 19 | color listfocus_unread white yellow bold 20 | color info default white 21 | color article default default 22 | 23 | highlight article "^(Title):.*$" blue default 24 | highlight article "https?://[^ ]+" red default 25 | highlight article "\\[image\\ [0-9]+\\]" green default 26 | #}}} 27 | 28 | 29 | # vim:fdm=marker 30 | -------------------------------------------------------------------------------- /newsboat/.newsboat/urls: -------------------------------------------------------------------------------- 1 | https://stallman.org/rss/rss.xml "~Richard M. Stallman" rms 2 | http://vimcasts.org/feeds/ogg.rss "~Vim casts" vim casts 3 | http://www.pensamientoscomputables.com/rss/rss.xml "~Pensamientos computables" 4 | http://feeds.feedburner.com/TheGeekStuff "~The Geek Stuff" 5 | http://feeds.howtogeek.com/howtogeek "~How to Geek" 6 | http://feeds.cyberciti.biz/Nixcraft-LinuxFreebsdSolarisTipsTricks "~NixCraft" 7 | https://news.ycombinator.com/rssa "~Y combinator" 8 | http://feeds.feedburner.com/codinghorror "~Coding Horror" 9 | http://thunk.org/tytso/blog/feed/ "~Theodore Ts'o" 10 | http://www.joelonsoftware.com/rss.xml "~Joel on Software" 11 | http://herbsutter.com/feed/ "~Herbsutter" 12 | http://feeds.feedburner.com/SteveysBlogRants "~Steveys blog" 13 | http://feeds.feedburner.com/stevelosh?format=xml "~Steve Losh" 14 | http://rss.acm.org/technews/technews.xml "~ACM Tech News" 15 | http://blog.rust-lang.org/feed.xml "~Rust blog" 16 | https://haskellembedded.github.io/rss.xml "~Haskell Embedded" 17 | https://interrupt.memfault.com/blog/feed.xml "~Interrupt" 18 | -------------------------------------------------------------------------------- /nitrogen/.config/nitrogen/bg-saved.cfg: -------------------------------------------------------------------------------- 1 | [xin_-1] 2 | file=/home/alx/.config/nitrogen/wood.jpg 3 | mode=1 4 | bgcolor=#000000 5 | -------------------------------------------------------------------------------- /nitrogen/.config/nitrogen/nitrogen.cfg: -------------------------------------------------------------------------------- 1 | [geometry] 2 | posx=1366 3 | posy=0 4 | sizex=1356 5 | sizey=764 6 | 7 | [nitrogen] 8 | view=icon 9 | icon_caps=false 10 | dirs=/home/alx/.config/nitrogen; 11 | -------------------------------------------------------------------------------- /nitrogen/.config/nitrogen/wood.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alx741/dotfiles/283292359099ca1ddfa539cf17a018eb73ed98ef/nitrogen/.config/nitrogen/wood.jpg -------------------------------------------------------------------------------- /npm/.npmrc: -------------------------------------------------------------------------------- 1 | prefix=/home/alx/.npm-packages 2 | registry=https://registry.npmjs.org/ 3 | -------------------------------------------------------------------------------- /octave/.octaverc: -------------------------------------------------------------------------------- 1 | edit mode async 2 | -------------------------------------------------------------------------------- /odyssey/.odyssey/conf: -------------------------------------------------------------------------------- 1 | [io] 2 | driver=linuxppdev 3 | port=0 4 | 5 | # Uncomment the following to add propagation delays 6 | # see setup.txt section 4 7 | #[signaldelay] 8 | #default=1000 9 | 10 | clkpin=3 11 | rdatapin=10 12 | wdatapin=2 13 | vpppin=-6 14 | pwrpin=4 #No usado en este circuito 15 | 16 | 17 | -------------------------------------------------------------------------------- /openbox/.config/openbox/menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | ~/.scripts/ratpoison/restore_ratpoison.sh 9 | yes 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /pacman/etc/pacman.conf: -------------------------------------------------------------------------------- 1 | #{{{ General options 2 | [options] 3 | HoldPkg = pacman glibc 4 | CleanMethod = KeepInstalled 5 | Architecture = auto 6 | #}}} 7 | 8 | #{{{ Ignore 9 | #}}} 10 | 11 | #{{{ Misc options 12 | UseSyslog 13 | Color 14 | TotalDownload 15 | CheckSpace 16 | VerbosePkgLists 17 | ILoveCandy 18 | #}}} 19 | 20 | #{{{ Trust 21 | SigLevel = Required DatabaseOptional 22 | LocalFileSigLevel = Optional 23 | RemoteFileSigLevel = Required 24 | #}}} 25 | 26 | #{{{ Repositories 27 | [core] 28 | Include = /etc/pacman.d/mirrorlist 29 | 30 | [extra] 31 | Include = /etc/pacman.d/mirrorlist 32 | 33 | [community] 34 | Include = /etc/pacman.d/mirrorlist 35 | 36 | [multilib] 37 | Include = /etc/pacman.d/mirrorlist 38 | #}}} 39 | 40 | 41 | # vim:fdm=marker 42 | -------------------------------------------------------------------------------- /pandoc/.csl/journal-of-the-acm.csl: -------------------------------------------------------------------------------- 1 | 2 | 19 | -------------------------------------------------------------------------------- /postgres/.psqlrc: -------------------------------------------------------------------------------- 1 | \timing 2 | \x auto 3 | 4 | \set QUIET 1 5 | \set VERBOSITY verbose 6 | \set HISTCONTROL ignoredups 7 | \set COMP_KEYWORD_CASE upper 8 | \set PROMPT1 '\n[%/] (╯°□°)╯- ┻━┻ ' 9 | \set PROMPT2 'go on (>\'_\')> ' 10 | 11 | \pset linestyle unicode 12 | \pset border 2 13 | \pset format wrapped 14 | \pset null 'NULL' 15 | 16 | 17 | \l 18 | -------------------------------------------------------------------------------- /qmk/keyboards/venabili/config.h: -------------------------------------------------------------------------------- 1 | #define TAPPING_TERM 130 2 | #define HOLD_ON_OTHER_KEY_PRESS 3 | -------------------------------------------------------------------------------- /qmk/keyboards/venabili/readme.md: -------------------------------------------------------------------------------- 1 | # venabili 2 | 3 | ![venabili](imgur.com image replace me!) 4 | 5 | *A short description of the keyboard/project* 6 | 7 | * Keyboard Maintainer: [Daniel Campoverde](https://github.com/alx741) 8 | * Hardware Supported: *The PCBs, controllers supported* 9 | * Hardware Availability: *Links to where you can find this hardware* 10 | 11 | Make example for this keyboard (after setting up your build environment): 12 | 13 | make venabili:default 14 | 15 | Flashing example for this keyboard: 16 | 17 | make venabili:default:flash 18 | 19 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). 20 | 21 | ## Bootloader 22 | 23 | Enter the bootloader in 3 ways: 24 | 25 | * **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard 26 | * **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead 27 | * **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available 28 | -------------------------------------------------------------------------------- /qutebrowser/.config/qutebrowser/styles/azlyrics.css: -------------------------------------------------------------------------------- 1 | body, .container, .main-page { 2 | background-color: white; 3 | } 4 | -------------------------------------------------------------------------------- /qutebrowser/.config/qutebrowser/styles/fb.css: -------------------------------------------------------------------------------- 1 | #pagelet_ego_pane, 2 | #pagelet_rhc_footer, 3 | #fb_stories_card_root, 4 | #pagelet_ego_pane, 5 | #u_ps_0_7_0, 6 | #pagelet_marketplace_recently_viewed_rhc, 7 | .ego_section, 8 | .ego_unit_container, 9 | ._5qtp, 10 | ._5xmp i 11 | { 12 | overflow: hidden; 13 | visibility: hidden; 14 | height: 0px; 15 | } 16 | 17 | #bluebarRoot > div { 18 | background-color: #e9ebee; 19 | color: #ccc; 20 | border-bottom: none; 21 | } 22 | 23 | ._585-, _42ft { 24 | border: none; 25 | background-color: #e9ebee; 26 | color: #fff; 27 | } 28 | 29 | ._585- ._4w98, ._2md { 30 | display: none; 31 | } 32 | 33 | #leftCol { 34 | visibility: hidden; 35 | } 36 | 37 | #profile_pic_header_100006626628858 { 38 | visibility: hidden; 39 | } 40 | 41 | ._2n_9, ._59fb, #userNavigationLabel { 42 | filter: contrast(1%) opacity(30%); 43 | } 44 | 45 | ._mp3, ._38vo { 46 | display: none; 47 | } 48 | -------------------------------------------------------------------------------- /qutebrowser/.config/qutebrowser/styles/medium.css: -------------------------------------------------------------------------------- 1 | .u-fixed, .metabar, .overlay-dialog { 2 | display: none; 3 | } 4 | -------------------------------------------------------------------------------- /qutebrowser/.config/qutebrowser/styles/metrolyrics.css: -------------------------------------------------------------------------------- 1 | .video-container, 2 | .driver-related, 3 | .driver-photos, 4 | .mid-song-wrap, 5 | .page-header, 6 | .js-col1, 7 | .explicit, 8 | .note, 9 | .ad, 10 | .sharing, 11 | .writers, 12 | footer 13 | { 14 | visibility: hidden; 15 | display: none; 16 | } 17 | .content .verse { 18 | font-size: 1.5em; 19 | } 20 | -------------------------------------------------------------------------------- /qutebrowser/.config/qutebrowser/styles/quora.css: -------------------------------------------------------------------------------- 1 | .BelowQuestionAddPrompt, .NonMemberSiteHeader { 2 | display: none; 3 | } 4 | -------------------------------------------------------------------------------- /r/.Rprofile: -------------------------------------------------------------------------------- 1 | options(scipen=10) 2 | options(editor="vim") 3 | options(menu.graphics=FALSE) 4 | options(prompt="> ") 5 | options(continue="go on (>'_')> ") 6 | -------------------------------------------------------------------------------- /readline/.inputrc: -------------------------------------------------------------------------------- 1 | set editing-mode vi 2 | set show-mode-in-prompt on 3 | 4 | set vi-ins-mode-string " " 5 | set vi-cmd-mode-string "@ " 6 | 7 | $if mysql 8 | set editing-mode vi 9 | $endif 10 | 11 | $if octave 12 | set editing-mode vi 13 | $endif 14 | 15 | $if mode=vi 16 | set keymap vi-insert 17 | "\C-o": clear-screen 18 | "\C-p": history-search-backward 19 | "\C-n": history-search-forward 20 | "\C-w": kill-word 21 | "\C-y": "\C-[^i?\C-m" 22 | 23 | set keymap vi-command 24 | "ciw": "lbcw" 25 | "ciW": "lBcW" 26 | "diw": "lBdw" 27 | "diW": "lBdW" 28 | "yiw": "lbyw" 29 | "yiW": "lByW" 30 | "gg": beginning-of-history 31 | "G": end-of-history 32 | "\C-y": "\C-[^i?\C-m" 33 | $endif 34 | -------------------------------------------------------------------------------- /redshift/.config/redshift/redshift.conf: -------------------------------------------------------------------------------- 1 | [redshift] 2 | temp-day=6500 3 | temp-night=3500 4 | fade=1 5 | brightness-day=1 6 | brightness-night=0.8 7 | adjustment-method=randr 8 | dawn-time=6:00-8:00 9 | dusk-time=18:00-20:00 10 | 11 | ; Cuenca, Ecuador 12 | location-provider=manual 13 | [manual] 14 | lat=-2.90 15 | lon=-79.0 16 | 17 | ; Use randr to adjust all screens 18 | ; [randr] 19 | ; screen=0 20 | -------------------------------------------------------------------------------- /rofi/.config/rofi/config.rasi: -------------------------------------------------------------------------------- 1 | configuration { 2 | font: "FireCode 11"; 3 | } 4 | 5 | @theme "./solarized_light.rasi" 6 | -------------------------------------------------------------------------------- /rtv/.config/rtv/rtv.cfg: -------------------------------------------------------------------------------- 1 | #{{{ General Settings 2 | [rtv] 3 | ascii = False 4 | subreddit = front 5 | persistent = True 6 | clear_auth = False 7 | history_size = 200 8 | #}}} 9 | 10 | #{{{ OAuth Settings 11 | oauth_client_id = E2oEtRQfdfAfNQ 12 | oauth_client_secret = praw_gapfill 13 | oauth_redirect_uri = http://127.0.0.1:65000/ 14 | oauth_redirect_port = 65000 15 | oauth_scope = edit,history,identity,mysubreddits,privatemessages,read,report,save,submit,subscribe,vote 16 | #}}} 17 | 18 | #{{{ Key Bindings 19 | [bindings] 20 | ; Base page 21 | EXIT = q 22 | FORCE_EXIT = Q 23 | HELP = ? 24 | SORT_HOT = 1 25 | SORT_TOP = 2 26 | SORT_RISING = 3 27 | SORT_NEW = 4 28 | SORT_CONTROVERSIAL = 5 29 | MOVE_UP = k, 30 | MOVE_DOWN = j, 31 | PAGE_UP = m, , 32 | PAGE_DOWN = n, , 33 | UPVOTE = a 34 | DOWNVOTE = z 35 | LOGIN = u 36 | DELETE = d 37 | EDIT = e 38 | INBOX = i 39 | REFRESH = r, 40 | 41 | ; Submission page 42 | SUBMISSION_TOGGLE_COMMENT = 0x20 43 | SUBMISSION_OPEN_IN_BROWSER = o, , 44 | SUBMISSION_POST = c 45 | SUBMISSION_EXIT = h, 46 | SUBMISSION_OPEN_IN_PAGER = l, 47 | 48 | ; Subreddit page 49 | SUBREDDIT_SEARCH = f 50 | SUBREDDIT_PROMPT = / 51 | SUBREDDIT_POST = c 52 | SUBREDDIT_OPEN = l, 53 | SUBREDDIT_OPEN_IN_BROWSER = o, , , 54 | SUBREDDIT_OPEN_SUBSCRIPTIONS = s 55 | 56 | ; Subscription page 57 | SUBSCRIPTION_SELECT = l, , , 58 | SUBSCRIPTION_EXIT = h, s, , 59 | #}}} 60 | 61 | 62 | # vim:fdm=marker 63 | -------------------------------------------------------------------------------- /rusty_tools.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alx741/dotfiles/283292359099ca1ddfa539cf17a018eb73ed98ef/rusty_tools.jpg -------------------------------------------------------------------------------- /scripts/.scripts/.gitignore: -------------------------------------------------------------------------------- 1 | *.hi 2 | *.o 3 | build 4 | -------------------------------------------------------------------------------- /scripts/.scripts/copy_shot.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [[ "$1" == "" ]]; then 4 | echo "Shot name?" 5 | exit 1 6 | fi 7 | 8 | SHOTS_PATH=~/.shots 9 | LATEST_SHOT=$(ls -1 -r "$SHOTS_PATH" | head -n 1) 10 | cp "$SHOTS_PATH/$LATEST_SHOT" "./$1.jpg" 11 | -------------------------------------------------------------------------------- /scripts/.scripts/dict/es.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Spanish [ES] dictionary access 4 | # 5 | # Synonyms, antonyms and related words 6 | 7 | WORD_RAW="$1" 8 | 9 | WORD=$(echo "$WORD_RAW" | sed \ 10 | 's/a/\[\[=a=\]\]/g 11 | ;s/á/\[\[=a=\]\]/g 12 | ;s/e/\[\[=e=\]\]/g 13 | ;s/é/\[\[=e=\]\]/g 14 | ;s/i/\[\[=i=\]\]/g 15 | ;s/í/\[\[=i=\]\]/g 16 | ;s/o/\[\[=o=\]\]/g 17 | ;s/ó/\[\[=o=\]\]/g 18 | ;s/u/\[\[=u=\]\]/g 19 | ;s/ú/\[\[=u=\]\]/g 20 | ;s/ü/\[\[=u=\]\]/g 21 | ') 22 | 23 | entry_raw=$(grep -i "^$WORD" "$(dirname "$0")/es_thesaurus") 24 | entry_word=$(echo "$entry_raw" | cut -d ',' -f1) 25 | entry=$(echo "$entry_raw" | cut -d ',' --complement -f1) 26 | 27 | echo "$entry_word" 28 | echo 29 | 30 | for i in $(seq 5) 31 | do 32 | related_entry=$(echo "$entry|" | cut -s -d '|' -f "$i" | sed 's/,/, /g'\ 33 | | sed 's/\[ant\]/\n Antónimos: /' \ 34 | | sed 's/\[par\]/\n Parónimos: /' \ 35 | | sed 's/\.//g' ) 36 | 37 | if [ "$related_entry" != "" ]; then 38 | echo -e "- $related_entry" 39 | fi 40 | done 41 | -------------------------------------------------------------------------------- /scripts/.scripts/echo_info.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | date=$(date "+%a %b/%d %l:%M ") 4 | sound_state=$($(dirname "$0")/volume.sh info) 5 | 6 | # battery_capacity=$(cat /sys/class/power_supply/BAT0/capacity) 7 | # battery_state=$(cat /sys/class/power_supply/BAT0/status \ 8 | # | sed 's/Full/F/;s/Charging/⚡/;s/Discharging/⚠/;s/Unknown/U/;s/^ //') 9 | 10 | # echo "$sound_state | $battery_state $battery_capacity | $date" 11 | echo "$sound_state | $date" 12 | tmux refresh-client -S 13 | -------------------------------------------------------------------------------- /scripts/.scripts/et_phone_home.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | xcowsay --image ~/.scripts/img/et.png "ET phone home..." --think & 4 | ~/.scripts/ratpoison/app_select.sh terminal 5 | tmux new-window -c ~ -n "hades" ~/.scripts/network/et_phone_home.sh 6 | -------------------------------------------------------------------------------- /scripts/.scripts/fancy.sh: -------------------------------------------------------------------------------- 1 | function displayInfo { 2 | echo -e "\e[46m\e[37m[•]\e[0m \e[36m$1\e[0m" 3 | } 4 | 5 | function displaySuccess { 6 | echo -e "\e[42m\e[37m[✓]\e[0m \e[32m$1\e[0m" 7 | } 8 | 9 | function displayWarning { 10 | echo -e "\e[43m\e[37m[⚠]\e[0m \e[33m$1\e[0m" 11 | } 12 | 13 | function displayError { 14 | echo -e "\e[41m\e[37m[x]\e[0m \e[31m$1\e[0m" 15 | } 16 | -------------------------------------------------------------------------------- /scripts/.scripts/fix_git_commiter.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | git filter-branch --env-filter ' 4 | WRONG_EMAIL="some@email.com" 5 | NEW_NAME="Daniel Campoverde" 6 | NEW_EMAIL="alx@sillybytes.net" 7 | 8 | if [ "$GIT_COMMITTER_EMAIL" = "$WRONG_EMAIL" ] 9 | then 10 | export GIT_COMMITTER_NAME="$NEW_NAME" 11 | export GIT_COMMITTER_EMAIL="$NEW_EMAIL" 12 | fi 13 | if [ "$GIT_AUTHOR_EMAIL" = "$WRONG_EMAIL" ] 14 | then 15 | export GIT_AUTHOR_NAME="$NEW_NAME" 16 | export GIT_AUTHOR_EMAIL="$NEW_EMAIL" 17 | fi 18 | ' --tag-name-filter cat -- --branches --tags 19 | -------------------------------------------------------------------------------- /scripts/.scripts/generate_report.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | source "$(dirname "$0")/fancy.sh" 4 | 5 | [ -f report.md ] && displayWarning "A report already exists!" && exit 1 6 | 7 | made markdown || exit 1 8 | 9 | # Report template 10 | cat < report.md 11 | --- 12 | title: 13 | author: Daniel Campoverde C. 14 | date: $(date +'%B %Y') 15 | lang: es 16 | bibliography: bibliography.bib 17 | abstract: | 18 | Some Abstract here 19 | numbersections: true 20 | ... 21 | 22 | \tableofcontents 23 | 24 | # Bibliografía 25 | EOF 26 | 27 | 28 | # Bibliography template 29 | cat < bibliography.bib 30 | @online{some, 31 | title={}, 32 | journal={}, 33 | author={Last, Given}, 34 | year={2015}, 35 | month={1}, 36 | url={}, 37 | urldate={2020-01} 38 | } 39 | 40 | @article{some, 41 | title={}, 42 | journal={}, 43 | author={Last, Given}, 44 | year={2015} 45 | } 46 | EOF 47 | 48 | 49 | # gitignore template 50 | cat < .gitignore 51 | report.pdf 52 | EOF 53 | 54 | mkdir img 55 | -------------------------------------------------------------------------------- /scripts/.scripts/home.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | # Toggle laptop between: 4 | # 5 | # Setup 1: 6 | # External monitors 7 | # Ethernet connection 8 | # 9 | # Setup 2: 10 | # Laptop monitor 11 | # Wifi connection 12 | 13 | source "$(dirname "$0")/utility.sh" 14 | 15 | if [[ "$1" == "out" ]]; 16 | then 17 | sudo ifconfig enp3s0 down 18 | ~/.scripts/network/wifi.sh 19 | xrandr --output LVDS1 --mode 1366x768 20 | xrandr --output HDMI1 --off 21 | xrandr --output VGA1 --off 22 | xbacklight -set 100 23 | ratpoison -c "restart" 24 | elif [[ "$1" == "in" ]]; 25 | then 26 | if am_i_at_home 27 | then 28 | sudo ifconfig wlp2s0 down 29 | xrandr --output LVDS1 --off 30 | xrandr --output HDMI1 --mode 1360x768 31 | xrandr --output VGA1 --mode 1366x768 --left-of HDMI1 32 | xbacklight -set 0 33 | amixer set Master unmute 34 | amixer set Master 100% 35 | ~/.scripts/network/ether.sh 36 | ratpoison -c "restart" 37 | else 38 | echo 39 | echo "Engage first!" 40 | echo 41 | fi 42 | else 43 | echo 44 | echo "$0 [in/out]" 45 | echo 46 | fi 47 | -------------------------------------------------------------------------------- /scripts/.scripts/html2hamlet.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | perl -pe 'chomp' "$1" | xmllint --format --encode UTF-8 - | perl -pe 's#]+>##g' > "$2" 4 | -------------------------------------------------------------------------------- /scripts/.scripts/huion_setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ## Requires Digimend: digimend-drivers-git-dkms (AUR) 4 | 5 | HUION_PEN="HUION Huion Tablet stylus" 6 | HUION_PAD="HUION Huion Tablet Pad pad" 7 | HUION_STRIP="HUION Huion Tablet Touch Strip pad" 8 | MAIN_SCREEN="DisplayPort-1" 9 | 10 | xsetwacom set "$HUION_PEN" MapToOutput "DisplayPort-1" 11 | xsetwacom set "$HUION_PEN" Button 2 2 12 | xsetwacom set "$HUION_PEN" Button 3 "Button 3" 13 | xsetwacom set "$HUION_PEN" Area 0 0 55880 31433 # 1920x1080 screen aspect ratio 14 | xsetwacom set "$HUION_PEN" PressureCurve 0 0 60 100 15 | 16 | xsetwacom set "$HUION_PAD" Button 1 "key +ctrl 0 -ctrl" 17 | xsetwacom set "$HUION_PAD" Button 2 "key +ctrl" 18 | xsetwacom set "$HUION_PAD" Button 3 "key +shift" 19 | xsetwacom set "$HUION_PAD" Button 8 "key +ctrl +shift R -shift -ctrl" 20 | xsetwacom set "$HUION_PAD" Button 9 "key +ctrl z -ctrl" 21 | xsetwacom set "$HUION_PAD" Button 10 "key +ctrl y -ctrl" 22 | xsetwacom set "$HUION_PAD" Button 11 "key +v" 23 | 24 | xsetwacom set "$HUION_STRIP" Suppress 0 25 | xsetwacom set "$HUION_STRIP" AbsWheelDown "button 4 4" 26 | xsetwacom set "$HUION_STRIP" AbsWheelUp "button 5 5" 27 | -------------------------------------------------------------------------------- /scripts/.scripts/img/et.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alx741/dotfiles/283292359099ca1ddfa539cf17a018eb73ed98ef/scripts/.scripts/img/et.png -------------------------------------------------------------------------------- /scripts/.scripts/keyboard_setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # builtin_id=$(xinput -list | grep -i 'AT Translated' | grep -oh 'id=[0-9]*' | cut -d'=' -f 2) 4 | # venabili_id=$(xinput -list | grep -i 'Venabili' | tail -n 1 | grep -oh 'id=[0-9]*' | cut -d'=' -f 2) 5 | 6 | # $(dirname "$0")/keyboard_setup_udev.sh 7 | setxkbmap us -variant altgr-intl 8 | xset r rate 200 50 9 | killall xbindkeys xcape 2&> /dev/null 10 | xbindkeys& 11 | xcape -e 'Super_L=Control_L|G|bracketleft'& 12 | xcape -e 'Super_R=Control_R|G|bracketright'& 13 | # xmodmap ~/.xmodmap& 14 | 15 | # Host has builtin keyboard 16 | # if [ ! -z "$builtin_id" ]; 17 | # then 18 | # setxkbmap -device "$builtin_id" -option ctrl:swapcaps& 19 | # setxkbmap -option ctrl:swapcaps& 20 | # xcape -t 250 -e 'Control_L=Escape' 21 | # fi 22 | -------------------------------------------------------------------------------- /scripts/.scripts/keyboard_setup_udev.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | export HOME=/home/alx 4 | export XAUTHORITY=$HOME/.Xauthority 5 | export DISPLAY=:0 6 | 7 | /usr/bin/su alx -c "setxkbmap us -variant altgr-intl; xset r rate 200 50"& 8 | -------------------------------------------------------------------------------- /scripts/.scripts/mem.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | DEV="dev/sdc" 4 | MOUNT_DIR="/mnt/mem" 5 | 6 | echo 7 | cat ~/.ascii_art/floppy 8 | echo 9 | 10 | if [[ $# -eq 1 ]]; 11 | then 12 | DEV="/dev/sdc1" 13 | MOUNT_DIR="$MOUNT_DIR""1" 14 | else 15 | DEV="/dev/sdc$2" 16 | MOUNT_DIR="$MOUNT_DIR""$2" 17 | fi 18 | 19 | if [[ "$1" == "mount" ]]; 20 | then 21 | sudo mount "$DEV" "$MOUNT_DIR" -o rw,user,umask=0000,uid=`id -u`,gid=`id -g` -t vfat 22 | echo Mounted "$DEV" 23 | echo 24 | elif [[ "$1" == "eject" ]]; 25 | then 26 | echo Syncing "$DEV" ... 27 | echo 28 | sudo eject $MOUNT_DIR 29 | fi 30 | -------------------------------------------------------------------------------- /scripts/.scripts/network/echo_lab_ip.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo `ping -W 1 -c 1 $HADES | head -n 1 | awk '{print $3}'\ 4 | | tr -d "()"` 5 | -------------------------------------------------------------------------------- /scripts/.scripts/network/echo_net_info.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | enp3s0_addr=`ifconfig enp3s0 | grep inet | head -n 1 | awk '{print $2}'` 4 | wlp2s0_addr=`ifconfig wlp2s0 | grep inet | head -n 1 | awk '{print $2}'` 5 | essid=`iwconfig wlp2s0 | grep ESSID | awk '{print $4}' | cut -d : -f 2` 6 | public_ip=`~/.scripts/network/echo_pub_ip.sh` 7 | hades_ip=`~/.scripts/network/echo_lab_ip.sh` 8 | 9 | printf "enp3s0: $enp3s0_addr\n" 10 | printf "wlp2s0: $wlp2s0_addr\n" 11 | printf "essid: $essid\n" 12 | printf "public: $public_ip\n" 13 | printf "hades: $hades_ip\n" 14 | -------------------------------------------------------------------------------- /scripts/.scripts/network/echo_pub_ip.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo `curl -s http://myip.dnsdynamic.org/` 4 | -------------------------------------------------------------------------------- /scripts/.scripts/network/et_phone_home.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | clear 4 | cat ~/.ascii_art/et 5 | echo 6 | figlet ET phone home 7 | echo 8 | ssh -l $USER $HADES -p 2222 9 | -------------------------------------------------------------------------------- /scripts/.scripts/network/ether.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | if="$1" 4 | 5 | amy_addr="192.168.1.50/24" 6 | gw="192.168.1.1" 7 | 8 | sudo ip address add "$amy_addr" dev "$if" 9 | sudo ip link set "$if" up 10 | sudo ip route add default via "$gw" dev "$if" 11 | 12 | # Njalla public DNS (TRR) 13 | # DoH: https://dns.njal.la 14 | # echo 'nameserver 192.168.1.1' | sudo tee /etc/resolv.conf 15 | # echo 'nameserver 95.215.19.53' | sudo tee /etc/resolv.conf 16 | # echo 'nameserver 1.1.1.1' | sudo tee /etc/resolv.conf 17 | # echo 'nameserver 8.8.8.8' | sudo tee /etc/resolv.conf 18 | # echo 'nameserver 8.8.4.4' | sudo tee /etc/resolv.conf 19 | -------------------------------------------------------------------------------- /scripts/.scripts/network/routeros_netwatch_notify: -------------------------------------------------------------------------------- 1 | # Email settings 2 | :global emailFrom "demerezel@sillybytes.net" 3 | :global emailTo "alx@sillybytes.net" 4 | :global snmpHost "mail.privateemail.com" 5 | :global snmpPort "587" 6 | :global snmpUser "demerezel@sillybytes.net" 7 | :global snmpPasswd "283hzJ5wB2k7jTe" 8 | 9 | # Monitor settings 10 | :global interval "3m" 11 | :global timeout "15s" 12 | 13 | # Hosts to monitor 14 | # Grab from .sec/netwatch_hosts 15 | :global hosts { 16 | } 17 | 18 | /tool e-mail set address=$snmpHost from=$emailFrom password=$snmpPasswd user=$snmpUser port=$snmpPort start-tls=yes 19 | 20 | :foreach host,ip in=$hosts do={ 21 | /tool netwatch add host=$ip interval=$interval timeout=$timeout \ 22 | comment=$host \ 23 | up-script="/tool e-mail send to=$emailTo subject=\"$host is back online\" body=\"$host is back online\"" \ 24 | down-script="/tool e-mail send to=$emailTo subject=\"$host seems down\" body=\"$host found dead\"" 25 | } 26 | -------------------------------------------------------------------------------- /scripts/.scripts/network/watchdog.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ############################################## 4 | # Deprecated in favor of Mikrotik's netwatch 5 | ############################################## 6 | 7 | WATCH_HOSTS_FILE=$HOME/.watch_hosts 8 | LOG_FILE=$HOME/.watch_hosts.log 9 | 10 | 11 | 12 | # Requires SSMTP to be properly configured 13 | function notify_host_down() 14 | { 15 | echo "[$(date '+%a %b/%d %l:%M')] Dead: $host" >> "$LOG_FILE" 16 | echo -e "Subject: $1 seems down\n\n$1 found dead at $(date '+%a %b/%d %l:%M')" | /usr/bin/sendmail 'alx@sillybytes.net' 17 | } 18 | 19 | 20 | while read host; do 21 | ping -4 -c 2 -W 2 -q "$host" || notify_host_down "$host" 22 | done < "$WATCH_HOSTS_FILE" 23 | -------------------------------------------------------------------------------- /scripts/.scripts/network/wifi.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | . "$(dirname "$0")/../utility.sh" 4 | 5 | IF=wlp2s0 6 | 7 | 8 | function exists_home_wifi 9 | { 10 | wifi_scan=$(sudo iwlist "$IF" scan | grep -i "helicon") 11 | if [[ $wifi_scan == "" ]]; then return 1; else return 0; fi 12 | } 13 | 14 | function exists_u_wifi 15 | { 16 | wifi_scan=$(sudo iwlist "$IF" scan | grep -i "UCWIFI") 17 | if [[ $wifi_scan == "" ]]; then return 1; else return 0; fi 18 | } 19 | 20 | function creat_adhoc 21 | { 22 | sudo ifconfig "$IF" down 23 | sudo iwconfig "$IF" mode ad-hoc 24 | sudo iwconfig "$IF" essid "ushare" key "ushare10" 25 | sudo ifconfig "$IF" 192.168.5.1 26 | sudo iptables -t nat -A POSTROUTING -o enp3s0 -j MASQUERADE 27 | sudo sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward" 28 | } 29 | 30 | function wifi_list 31 | { 32 | sudo ifconfig "$IF" up 33 | data=$(sudo iwlist scanning 2> /dev/null) 34 | 35 | echo 36 | while read -r line; do 37 | [[ "$line" =~ \(Channel ]] && { 38 | chn=${line##*nel } 39 | chn=${chn:0:$((${#chn}-1))} 40 | } 41 | [[ "$line" =~ Quality ]] && { 42 | qual=${line##*ity=} 43 | qual=${qual%% *} 44 | } 45 | [[ "$line" =~ WEP ]] && enc="WEP" 46 | [[ "$line" =~ WPA ]] && enc="WPA/WPA2" 47 | [[ "$line" =~ ESSID ]] && { 48 | essid=${line##*ID:} 49 | echo "$essid | channel: $chn | quality: $qual $enc" 50 | } 51 | done <<< "$data" 52 | } 53 | 54 | 55 | 56 | case $1 in 57 | 'list') 58 | wifi_list 59 | exit 60 | ;; 61 | 'adhoc') 62 | creat_adhoc 63 | ;; 64 | *) 65 | sudo ifconfig "$IF" down 2> /dev/null 66 | sudo killall wpa_supplicant 2> /dev/null 67 | sudo killall dhclient 2> /dev/null 68 | sudo ifconfig "$IF" up 2> /dev/null 69 | 70 | if exists_home_wifi; 71 | then 72 | sudo wpa_supplicant -i "$IF" -c /etc/wpa_supplicant/helicon.conf -B 73 | sleep 2 74 | sudo route add default gw 192.168.1.1 75 | echo 'nameserver 8.8.8.8' | sudo tee /etc/resolv.conf 76 | elif exists_u_wifi; 77 | then 78 | sudo wpa_supplicant -i "$IF" -c /etc/wpa_supplicant/ucuenca.conf -B 79 | sleep 2 80 | sudo killall dhclient 81 | sudo dhclient "$IF" 82 | fi 83 | ;; 84 | esac 85 | 86 | 87 | sudo iwconfig "$IF" commit 2> /dev/null 88 | sudo dhclient -nw "$IF" 89 | -------------------------------------------------------------------------------- /scripts/.scripts/open.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | function is_filetype 4 | { 5 | mime=`file --mime-type "$2" | cut -d':' -f 2 | tr -d " " | cut -d'/' -f 1` 6 | 7 | if [[ "$mime" == "$1" ]]; 8 | then 9 | return 0 10 | else 11 | return 1 12 | fi 13 | } 14 | 15 | 16 | file="" 17 | if [[ -f "$1" ]]; 18 | then 19 | file="$1" 20 | else 21 | file=$(find . -maxdepth 1 -type f -not -path '*/\.*' -printf "%P\n"\ 22 | | command grep -i -v -e '\.hi' -e '\.o' -e '\.elf' -e '\.hex' -e '\.d' \ 23 | | fzf -q "$1" -1 -0) 24 | fi 25 | 26 | filename=$(basename "$file") 27 | extension="${filename##*.}" 28 | extension=$( echo "$extension" | tr '[:upper:]' '[:lower:]') 29 | 30 | case $extension in 31 | pdf|epub) 32 | zathura "$file"& 33 | ;; 34 | html) 35 | firefox "$file" 36 | ;; 37 | docx|xlsx|pptx|xls|xlw|xlt|odt|fodt|ods|fods|odp|odg|fodg|odf|fodp|swx|stw|stc|sti|sxm|docm) 38 | libreoffice "$file"& 39 | ;; 40 | svg) 41 | inkscape "$file"& 42 | ;; 43 | dxf) 44 | librecad "$file"& 45 | ;; 46 | fcstd) 47 | freecad "$file"& 48 | ;; 49 | *) 50 | if is_filetype "text" "$file" && [[ "$extension" != "html" ]]; 51 | then 52 | vim "$file" 53 | exit 54 | elif is_filetype "image" "$file"; 55 | then 56 | sxiv -a -q "$file"& 57 | exit 58 | elif is_filetype "video" "$file" || is_filetype "audio" "$file"; 59 | then 60 | mpv "$file" 61 | exit 62 | else 63 | echo 64 | echo "Lol Wut ¯\\_(ツ)_/¯" 65 | fi 66 | ;; 67 | esac 68 | -------------------------------------------------------------------------------- /scripts/.scripts/pacman.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | CACHE_FILE="/tmp/pacman-aur_last_searched_package" 4 | 5 | echo 6 | 7 | [ "$2" = "-Ss" ] && echo "$3" > "$CACHE_FILE" 8 | 9 | case $1 in 10 | 'pacman') 11 | shift 1 12 | sudo pacman "$@" 13 | ;; 14 | 'getit') 15 | paru -S "$(cat "$CACHE_FILE")" 16 | ;; 17 | esac 18 | -------------------------------------------------------------------------------- /scripts/.scripts/projector.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | source "$(dirname "$0")/utility.sh" 4 | 5 | 6 | if is_vga_plugedin 7 | then 8 | if [[ "$1" == "dual" ]]; then 9 | xrandr --output LVDS-1 --mode 1366x768 10 | xrandr --output VGA-1 --mode 1024x768 --above LVDS-1 11 | elif [[ "$1" == "in" ]]; then 12 | xrandr --output LVDS-1 --mode 1024x768 13 | xrandr --output VGA-1 --same-as LVDS-1 --mode 1024x768 14 | else 15 | echo_usage 16 | fi 17 | else 18 | if [[ "$1" == "in" ]] || [[ "$1" == "dual" ]]; then 19 | echo 20 | echo "[!] VGA not connected" 21 | echo 22 | elif [[ "$1" == "out" ]]; then 23 | xrandr --output LVDS-1 --mode 1366x768 24 | xrandr --output VGA-1 --off 25 | fi 26 | fi 27 | 28 | function echo_usage 29 | { 30 | echo 31 | echo in - mirror to VGA 32 | echo dual - independent VGA and LVDS-1 33 | echo out - back to normal 34 | echo 35 | } 36 | 37 | sleep 0.5 38 | ratpoison -c "restart" 39 | -------------------------------------------------------------------------------- /scripts/.scripts/pulp.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo 4 | cat ~/.ascii_art/lambda | lolcat -S 28 5 | echo 6 | 7 | case $1 in 8 | 'psci') 9 | pulp psci 10 | ;; 11 | *) 12 | pulp $@ 13 | ;; 14 | esac 15 | -------------------------------------------------------------------------------- /scripts/.scripts/qr_generator.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Generate QR code from clipboard 4 | 5 | QR_FILE=/tmp/qr.png 6 | 7 | qrencode -s 10 -o "$QR_FILE" `xclip -selection clipbard -o` && \ 8 | sxiv -b -q "$QR_FILE" && rm "$QR_FILE" 9 | -------------------------------------------------------------------------------- /scripts/.scripts/ratpoison/abort.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ratpoison -c 'abort' 4 | ratpoison -c 'meta Escape' 5 | exit 0 6 | -------------------------------------------------------------------------------- /scripts/.scripts/ratpoison/backlight_control.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | 4 | backlight_value="" 5 | 6 | function get_backlight_value 7 | { 8 | backlight_value=`xbacklight -get` 9 | } 10 | 11 | 12 | function toggle 13 | { 14 | # Toggle between 100% and 60% 15 | get_backlight_value 16 | 17 | if [[ $backlight_value -ne 60 && $backlight_value -ne 100 ]] 18 | then 19 | xbacklight -set 60 20 | fi 21 | 22 | if [[ $backlight_value -eq 100 ]] 23 | then 24 | xbacklight -set 60 25 | else 26 | xbacklight -set 100 27 | fi 28 | } 29 | 30 | 31 | 32 | case "$1" in 33 | 'inc') 34 | xbacklight -inc 10 35 | ;; 36 | 'dec') 37 | xbacklight -dec 10 38 | ;; 39 | 'toggle') 40 | toggle 41 | ;; 42 | esac 43 | 44 | get_backlight_value 45 | ratpoison -c "echo {$backlight_value}" 46 | -------------------------------------------------------------------------------- /scripts/.scripts/ratpoison/calculator.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | data=`ratpoison -c "prompt ; "` 5 | if [[ "$data" == "" ]]; then exit 0; fi 6 | 7 | result=`calc "$data" | sed 's/^[ \t]*//g'` 8 | 9 | echo "$data" 10 | echo "$result" 11 | if [[ $? -eq 0 ]] 12 | then 13 | ratpoison -c "echo = $result" 14 | else 15 | ratpoison -c "echo Math Error!" 16 | exit 0 17 | fi 18 | -------------------------------------------------------------------------------- /scripts/.scripts/ratpoison/frame-mon_navigator.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ratpoison -c 'fdump'| sed 's/,/\n/g' | awk '{print $5" "$19}' > /tmp/ratpoison_frame_monitor_navigator 4 | 5 | # Calculate X coordinate for rightmost frame 6 | greater_x_coordinate=0 7 | while read frame; 8 | do 9 | coordinate=$(echo "$frame" | cut -d' ' -f1) 10 | if [[ $coordinate -gt $greater_x_coordinate ]]; 11 | then 12 | greater_x_coordinate=$coordinate 13 | fi 14 | done < /tmp/ratpoison_frame_monitor_navigator 15 | 16 | 17 | # Calculate current frame X coordinate 18 | x_coordinate=$(head -n1 /tmp/ratpoison_frame_monitor_navigator | cut -d' ' -f1) 19 | last_access=$(head -n1 /tmp/ratpoison_frame_monitor_navigator | cut -d' ' -f2) 20 | while read frame; 21 | do 22 | access=$(echo "$frame" | cut -d' ' -f2) 23 | if [[ $access -gt $last_access ]]; 24 | then 25 | last_access=$access 26 | x_coordinate=$(echo "$frame" | cut -d' ' -f1) 27 | fi 28 | done < /tmp/ratpoison_frame_monitor_navigator 29 | 30 | function is_leftmost 31 | { 32 | if [[ $x_coordinate -eq 0 ]]; then 33 | return 0 34 | else 35 | return 1 36 | fi 37 | } 38 | 39 | function is_rightmost 40 | { 41 | if [[ $x_coordinate -eq $greater_x_coordinate ]]; then 42 | return 0 43 | else 44 | return 1 45 | fi 46 | } 47 | 48 | 49 | # Go to previous screen if currently if leftmost frame 50 | # Go to next screen if currently if rightmost frame 51 | # Execute frame focus otherwise 52 | if [[ "$1" == "left" ]]; 53 | then 54 | if is_leftmost; then 55 | ratpoison -c 'prevscreen' 56 | else 57 | ratpoison -c 'focusleft' 58 | fi 59 | elif [[ "$1" == "right" ]]; 60 | then 61 | if is_rightmost; then 62 | ratpoison -c 'nextscreen' 63 | else 64 | ratpoison -c 'focusright' 65 | fi 66 | fi 67 | -------------------------------------------------------------------------------- /scripts/.scripts/ratpoison/lock.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | xlock -mode blank -usefirst +description +echokeys +mousemotion +sound +showdate -timeout 1 -fg "#657B83" -bg "#FDF6E3" -username " " -password " " -info " " -validate "..." -invalid "oops" 4 | -------------------------------------------------------------------------------- /scripts/.scripts/ratpoison/restore_ratpoison.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Openbox is used as alternative window manager, get rid of it properly 4 | # and restart ratpoison 5 | 6 | killall openbox 7 | killall xmonad 8 | sleep 1 9 | ratpoison -c restart 10 | -------------------------------------------------------------------------------- /scripts/.scripts/ratpoison/select_rat_frame.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ### 4 | ### Calculate on which screen the rat is 5 | ### 6 | ratpoison -c "sdump" | sed 's/,/\n/g' > /tmp/ratpoison_cursor_frame 7 | abs_rat_x=$(ratpoison -c "ratinfo" | cut -d' ' -f1) 8 | abs_rat_y=$(ratpoison -c "ratinfo" | cut -d' ' -f2) 9 | 10 | RAT_ON_SCREEN=0 11 | SCREEN_X=0 12 | SCREEN_Y=0 13 | while read screen; 14 | do 15 | screen_number=$(echo "$screen" | cut -d' ' -f1) 16 | screen_x0=$(echo "$screen" | cut -d' ' -f2) 17 | screen_y0=$(echo "$screen" | cut -d' ' -f3) 18 | screen_w=$(echo "$screen" | cut -d' ' -f4) 19 | screen_h=$(echo "$screen" | cut -d' ' -f5) 20 | screen_x1=$(($screen_x0 + $screen_w)) 21 | screen_y1=$(($screen_y0 + $screen_h)) 22 | 23 | if [[ $abs_rat_x -ge $screen_x0 ]] && [[ $abs_rat_y -ge $screen_y0 ]];then 24 | if [[ $abs_rat_x -le $screen_x1 ]] && [[ $abs_rat_y -le $screen_y1 ]];then 25 | RAT_ON_SCREEN=$screen_number 26 | SCREEN_X=$screen_x0 27 | SCREEN_Y=$screen_y0 28 | break 29 | fi 30 | fi 31 | done < /tmp/ratpoison_cursor_frame 32 | 33 | 34 | ### 35 | ### Calculate rat coordinates relative to screen 36 | ### 37 | RAT_X=$(($abs_rat_x - $SCREEN_X)) 38 | RAT_Y=$(($abs_rat_y - $SCREEN_Y)) 39 | 40 | 41 | ### 42 | ### Calculate inside which frame the rat is 43 | ### 44 | ### /tmp/ratpoison_cursor_frame contains data in format: X Y WIDTH HEIGH FRAME 45 | ratpoison -c "sfdump" | sed 's/,/\n/g' | grep ".* $RAT_ON_SCREEN$" | awk '{print $5" "$7" "$9" "$11" "$3}' > /tmp/ratpoison_cursor_frame 46 | 47 | RAT_ON_FRAME=0 48 | while read frame; 49 | do 50 | frame_x0=$(echo "$frame" | cut -d' ' -f1) 51 | frame_y0=$(echo "$frame" | cut -d' ' -f2) 52 | frame_w=$(echo "$frame" | cut -d' ' -f3) 53 | frame_h=$(echo "$frame" | cut -d' ' -f4) 54 | frame_x1=$(($frame_x0 + $frame_w)) 55 | frame_y1=$(($frame_y0 + $frame_h)) 56 | frame_number=$(echo "$frame" | cut -d' ' -f5) 57 | 58 | if [[ $RAT_X -ge $frame_x0 ]] && [[ $RAT_Y -ge $frame_y0 ]];then 59 | if [[ $RAT_X -le $frame_x1 ]] && [[ $RAT_Y -le $frame_y1 ]];then 60 | RAT_ON_FRAME=$frame_number 61 | break 62 | fi 63 | fi 64 | done < /tmp/ratpoison_cursor_frame 65 | 66 | ratpoison -c "fselect $RAT_ON_FRAME" 67 | -------------------------------------------------------------------------------- /scripts/.scripts/ratpoison/snippets.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | SNIP_DIR=~/.sec/snippets 4 | 5 | 6 | function snippet_menu 7 | { 8 | for snip in $SNIP_DIR/* 9 | do 10 | snippets+="${snip##*/}\n" 11 | done 12 | echo -e "$snippets" | sed 's/Alacritty/Alacritty terminal/' | rofi -dmenu -i -p "" -no-custom 13 | } 14 | 15 | 16 | function select_snippet 17 | { 18 | snippet=`snippet_menu` 19 | 20 | if [[ $snippet != "" ]] 21 | then 22 | xclip -selection clipboard -i "$SNIP_DIR/$snippet" 23 | else 24 | return 0 25 | fi 26 | } 27 | 28 | 29 | select_snippet 30 | -------------------------------------------------------------------------------- /scripts/.scripts/ratpoison/task_control.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | 4 | function add_task() 5 | { 6 | task=`ratpoison -c "prompt Add task: "` 7 | if [[ "$task" == " " ]] || [[ "$task" == "" ]]; then exit 0; fi 8 | 9 | task add $task 10 | 11 | if [[ $? -ne 0 ]] 12 | then 13 | ratpoison -c "echo [!] Bad syntax" 14 | exit 1 15 | fi 16 | } 17 | 18 | 19 | 20 | case "$1" in 21 | 'list') 22 | ratpoison -c "echo `task list`" 23 | ;; 24 | 'list_projects') 25 | ratpoison -c "echo `task projects`" 26 | ;; 27 | 'add') 28 | add_task 29 | ;; 30 | esac 31 | -------------------------------------------------------------------------------- /scripts/.scripts/ratpoison/translate.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | function select_translation 4 | { 5 | langs="Inglés -> Español | en:es\nIngles -> Alemán | en:de\n" 6 | langs+="Español -> Inglés | es:en\nEspañol -> Alemán | es:de\n" 7 | langs+="Alemán -> Español | de:es\nAlemán -> Inglés | de:en" 8 | lang=$(echo -e "$langs" | rofi -dmenu -i -p "" -no-custom -matching fuzzy) 9 | 10 | if [[ "$lang" != "" ]] 11 | then 12 | lang=$(echo "$lang" | cut -d "|" -f 2 | tr -d " ") 13 | "$0" "$lang" 14 | fi 15 | } 16 | 17 | function translate 18 | { 19 | prompt=$(echo "$1" | tr '[[:lower:]]' '[[:upper:]]' \ 20 | | sed 's/:/ -> /') 21 | word=`ratpoison -c "prompt $prompt "` 22 | echo "$word" 23 | if [[ "$word" == "" ]] 24 | then 25 | exit 0 26 | fi 27 | 28 | if [[ "$2" == speak ]] 29 | then 30 | translation=$(trans -w 80 -no-ansi --speak "$1" "$word") 31 | else 32 | translation=$(trans -w 80 -no-ansi "$1" "$word") 33 | fi 34 | ratpoison -c "echo $translation" 35 | } 36 | 37 | case "$1" in 38 | 'select') 39 | select_translation 40 | ;; 41 | 42 | 43 | 'en:es') 44 | translate "en:es" 45 | ;; 46 | 'en:es:speak') 47 | translate "en:es" speak 48 | ;; 49 | 50 | 'en:de') 51 | translate "en:de" 52 | ;; 53 | 54 | 'es:en') 55 | translate "es:en" 56 | ;; 57 | 'es:de') 58 | translate "es:de" 59 | ;; 60 | 61 | 'de:es') 62 | de:es 63 | translate "de:es" 64 | ;; 65 | 'de:en') 66 | translate "de:en" 67 | ;; 68 | 'de:en:speak') 69 | translate "de:en" speak 70 | ;; 71 | esac 72 | -------------------------------------------------------------------------------- /scripts/.scripts/ratpoison/volume_control.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | $(dirname "$0")/../volume.sh "$1" 4 | 5 | ratpoison -c "echo $($(dirname "$0")/../volume.sh info)" 6 | tmux refresh-client -S 7 | -------------------------------------------------------------------------------- /scripts/.scripts/ratpoison/window_select.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | window_list=$(ratpoison -c "windows") 4 | window=$(echo -e "$window_list" | sed 's/Alacritty/Alacritty terminal/' | rofi -dmenu -i -p "" -no-custom) 5 | 6 | if [[ "$window" != "" ]]; 7 | then 8 | number=$(echo $window | head -c 1) 9 | ratpoison -c "select $number" 10 | fi 11 | -------------------------------------------------------------------------------- /scripts/.scripts/refresh_firefox.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Focus Firefox 4 | $($HOME/.scripts/ratpoison/app_select.sh "firefox") 5 | 6 | # Refresh 7 | WID=$(xdotool search --name "Mozilla Firefox" | head -1) 8 | xdotool key --window "$WID" ctrl+r 9 | 10 | # Focus terminal 11 | $($HOME/.scripts/ratpoison/app_select.sh "terminal") 12 | -------------------------------------------------------------------------------- /scripts/.scripts/replicate_term.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # run this like: $ replicate_term.sh& 4 | 5 | urxvt -e bash -c "wemux"& 6 | 7 | ssh alx@alan << EOF 8 | export DISPLAY=:0 9 | xset -dpms 10 | xfce4-terminal --fullscreen -e 'ssh -t alx@amy wemux' 11 | EOF 12 | -------------------------------------------------------------------------------- /scripts/.scripts/setup.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | . "$(dirname "$0")/utility.sh" 4 | 5 | 6 | # Init volume modes 7 | .scripts/volume.sh build_modes 8 | 9 | # Start Music daemon 10 | mpd& 11 | 12 | # Hide the rat after 1 second 13 | unclutter -idle 3 -jitter 10 -root& 14 | 15 | # Left pointer 16 | xsetroot -cursor_name left_ptr 17 | 18 | # Keyboard 19 | .scripts/keyboard_setup.sh 20 | 21 | if [ "$(hostname)" = "daneel" ]; 22 | then 23 | xrandr \ 24 | --output DisplayPort-1 --mode 1920x1080 --rate 165 --primary \ 25 | --output DisplayPort-0 --mode 1920x1080 --rate 165 --left-of DisplayPort-1 \ 26 | --output DisplayPort-2 --mode 1920x1080 --rate 165 --right-of DisplayPort-1 27 | 28 | xset +dpms 29 | xset dpms 0 0 300 30 | xset r rate 280 60 31 | # xset dpms force off 32 | 33 | ~/.scripts/network/ether.sh "enp9s0" 34 | 35 | amixer -c 2 set Master mute 36 | amixer -c 1 set PCM mute 37 | amixer -c 2 set PCM unmute 38 | amixer -c 2 set PCM 50% 39 | fi 40 | 41 | redshift& 42 | 43 | 44 | 45 | # Configure appropriate laptop track pad delays and detections 46 | # TODO: libinput? 47 | # syndaemon -t -k -i 1 -d & 48 | # synclient TapButton1=1 TapButton2=2 FingerHigh=50 FingerLow=30 49 | -------------------------------------------------------------------------------- /scripts/.scripts/stack.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo 4 | cat ~/.ascii_art/lambda | lolcat -S 21 5 | echo 6 | 7 | if [[ $# -gt 1 ]]; then 8 | params=$(echo "$@" | cut -d' ' -f2-) 9 | fi 10 | 11 | case $1 in 12 | 'ghci') 13 | stack ghci 14 | ;; 15 | 'runhaskell') 16 | stack runhaskell "$params" 17 | ;; 18 | esac 19 | -------------------------------------------------------------------------------- /scripts/.scripts/trackball_setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | trackball_name="Kensington Expert Wireless TB Mouse" 4 | trackball_id=$(xinput | grep "$trackball_name" | sed 's/^.*id=\([0-9]*\)[ \t].*$/\1/') 5 | 6 | # Enable acceleration 7 | xinput set-prop $trackball_id "libinput Accel Speed" -0.5 8 | xinput set-prop $trackball_id "libinput Accel Profile Enabled" 0, 0 9 | 10 | # Ball scrolling 11 | xinput set-prop $trackball_id "libinput Scroll Method Enabled" 0, 0, 1 12 | 13 | # Ramap buttons 14 | xinput set-button-map $trackball_id 1 8 3 4 5 6 7 2 9 15 | xinput set-prop $trackball_id "libinput Button Scrolling Button" 3 16 | -------------------------------------------------------------------------------- /scripts/.scripts/update.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cd ~ 4 | echo 5 | echo Updating Mirrorlist 6 | echo 7 | sudo reflector --verbose --latest 50 --protocol https --sort rate --save /etc/pacman.d/mirrorlist 8 | echo 9 | echo Updating System 10 | echo 11 | sudo pacman -Syyu --noconfirm 12 | echo 13 | 14 | # echo Cleaning Pacman cache 15 | # echo 16 | # sudo paccache -k 3 -r 17 | # sudo pacman -Sc 18 | # yay -Sc 19 | 20 | #echo 21 | #echo Updating stack package index 22 | #echo 23 | #stack update 24 | 25 | echo 26 | echo Updating cabal package index 27 | echo 28 | cabal v2-update 29 | echo 30 | echo Updating rust tools 31 | echo 32 | rustup update 33 | echo 34 | echo Updating Vim plugins 35 | echo 36 | vim -c 'PlugUpgrade | PlugUpdate | qa' 37 | echo 38 | echo Updating Zsh plugins 39 | echo 40 | zgen selfupdate && zgen update 41 | echo 42 | echo Updating Tmux plugins 43 | echo 44 | ~/.tmux/plugins/tpm/scripts/update_plugin.sh all all 45 | echo 46 | echo Updating TLDR 47 | echo 48 | tldr --update 49 | echo 50 | echo Updated! 51 | echo 52 | -------------------------------------------------------------------------------- /scripts/.scripts/url_view.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | function is_image 4 | { 5 | if [[ $(echo "$1" | grep -i -e ".jpg" -e ".png" -e ".gif" -e ".jpe" -e ".jpeg" -e ".bmp") ]]; 6 | then 7 | return 0 8 | else 9 | return 1 10 | fi 11 | } 12 | 13 | function is_pdf 14 | { 15 | if [[ $(echo "$1" | grep -i -e ".pdf") ]]; 16 | then 17 | return 0 18 | else 19 | return 1 20 | fi 21 | } 22 | 23 | if is_image "$1" 24 | then 25 | wget -t 1 "$1" -O /tmp/wgeted-image > /dev/null && sxiv -a -q /tmp/wgeted-image 26 | elif is_pdf "$1" 27 | then 28 | wget -t 1 "$1" -O /tmp/wgeted-pdf > /dev/null && zathura -a -q /tmp/wgeted-pdf 29 | else 30 | firefox "$1" 31 | fi 32 | -------------------------------------------------------------------------------- /scripts/.scripts/utility.sh: -------------------------------------------------------------------------------- 1 | function is_vga_plugedin 2 | { 3 | VGASTATE=$(xrandr | grep -i 'DP1' | awk '{print $2 }' | head -n 1) 4 | 5 | if [[ $VGASTATE == "connected" ]]; then 6 | return 0 7 | else 8 | return 1 9 | fi 10 | } 11 | 12 | 13 | function is_hdmi_plugedin 14 | { 15 | VGASTATE=$(xrandr | grep -i 'DP2-1' | awk '{print $2 }' | head -n 1) 16 | 17 | if [[ $VGASTATE == "connected" ]]; then 18 | return 0 19 | else 20 | return 1 21 | fi 22 | } 23 | 24 | function am_i_at_home 25 | { 26 | # Both VGA and HDMI ports are hooked in 27 | # TODO: reimplement this 28 | return 0 29 | #if is_vga_plugedin && is_hdmi_plugedin 30 | #then 31 | # return 0 32 | #else 33 | # return 1 34 | #fi 35 | } 36 | -------------------------------------------------------------------------------- /scripts/.scripts/vinfo: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | $EDITOR -c "Vinfo $1" -c 'silent only' 3 | -------------------------------------------------------------------------------- /scripts/.scripts/wacom_setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | WACOM_PEN="Wacom Intuos S Pen stylus" 4 | WACOM_PAD="Wacom Intuos S Pad pad" 5 | MAIN_SCREEN="DisplayPort-1" 6 | 7 | xsetwacom set "$WACOM_PEN" MapToOutput "$MAIN_SCREEN" 8 | xsetwacom set 10 Area 0 0 15200 8550 # 1920x1080 screen aspect ratio 9 | xsetwacom set "$WACOM_PEN" Button 2 2 10 | xsetwacom set "$WACOM_PEN" Button 3 3 11 | 12 | xsetwacom set "$WACOM_PAD" Button 1 "key +ctrl z -ctrl" 13 | xsetwacom set "$WACOM_PAD" Button 2 "key +ctrl +shift z -ctrl -shift" 14 | xsetwacom set "$WACOM_PAD" Button 3 "key +ctrl 0 -ctrl" 15 | xsetwacom set "$WACOM_PAD" Button 8 "key m" 16 | 17 | xsetwacom set "$WACOM_PEN" PressureCurve 0 0 70 100 18 | -------------------------------------------------------------------------------- /scripts/.scripts/wgetit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | 4 | url=$(xclip -selection clipboard -o) 5 | 6 | if [[ "$url" == "" ]]; 7 | then 8 | echo 9 | echo [!] Invalid URL in the clipboard 10 | echo 11 | exit 1 12 | fi 13 | 14 | wget "$url" -O "$1" 15 | -------------------------------------------------------------------------------- /scripts/.scripts/yesodevel.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | function init() 4 | { 5 | tddlight clear 6 | tmux new-window -n "yesod" "stack ghci" 7 | } 8 | 9 | function reload() 10 | { 11 | tmux send-keys -t "yesod" ":l DevelMain" 12 | tmux send-keys -t "yesod" "Enter" 13 | tmux send-keys -t "yesod" "DevelMain.update" 14 | tmux send-keys -t "yesod" "Enter" 15 | } 16 | 17 | function halt() 18 | { 19 | tmux send-keys -t "yesod" "DevelMain.shutdown" 20 | tmux send-keys -t "yesod" "Enter" 21 | } 22 | 23 | if [[ "$1" == "init" ]]; 24 | then 25 | init 26 | 27 | elif [[ "$1" == "halt" ]]; 28 | then 29 | halt 30 | 31 | elif [[ "$1" == "serverRunning" ]]; 32 | then 33 | tddlight green 34 | 35 | elif [[ "$1" == "reload" ]]; 36 | then 37 | reload 38 | fi 39 | -------------------------------------------------------------------------------- /scripts/.scripts/youtube_mplayer.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | 4 | URL="" 5 | COOKIE_FILE=/tmp/youtube_cookie 6 | 7 | if [[ "$1" == "" ]] 8 | then 9 | echo 10 | echo "No URL supplied, trying with the clipboard current selection: " 11 | URL=`xclip -selection clipboard -o` 12 | echo " $URL" 13 | echo 14 | else 15 | URL="$1" 16 | fi 17 | 18 | video_uri=`youtube-dl -g --cookies "$COOKIE_FILE" "$URL"` 19 | # Use specific video+audio codecs 20 | # video_uri=`youtube-dl -gf 244/243/242/135/134/133/43/5+140/171/251 --cookies "$COOKIE_FILE" "$URL"` 21 | if [[ $? -ne 0 ]] 22 | then 23 | echo 24 | echo "[!] Bad URL" 25 | echo 26 | echo "Usage: $0 URL" 27 | echo "If no URL is supplied the current X clipboard selection is used" 28 | exit 1 29 | fi 30 | 31 | mpv -cookies -cookies-file="$COOKIE_FILE" "$video_uri" 32 | -------------------------------------------------------------------------------- /scripts/.scripts/youtube_music_download.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | MUSIC_DIR=~/music/from_youtube 4 | TMP_FILE=/tmp/youtube-dl.temp 5 | TMP_FINAL_FILE=/tmp/youtube-dl.temp.mp3 6 | URL="" 7 | 8 | echo 9 | cat ~/.ascii_art/music 10 | echo 11 | 12 | if [ "$1" = "" ] 13 | then 14 | echo 15 | echo "No URL supplied, trying with the clipboard current selection: " 16 | URL=$(xclip -selection clipboard -o) 17 | echo " $URL" 18 | echo 19 | else 20 | URL="$1" 21 | fi 22 | 23 | echo 24 | echo Validating URL... 25 | echo 26 | 27 | yt-dlp --rm-cache-dir 28 | yt-dlp -s -q --skip-download --no-warnings --no-playlist -x \ 29 | --audio-format mp3 "$URL" >> /dev/null 30 | 31 | if [ $? -ne 0 ] 32 | then 33 | echo 34 | echo "[!] Bad URL" 35 | echo 36 | echo "Usage: $0 URL" 37 | echo "If no URL is supplied the current X clipboard selection is used" 38 | exit 1 39 | fi 40 | 41 | vid_title=$(yt-dlp -q --no-warnings -e "$URL") 42 | default_artist=$(echo "$vid_title" | cut -d "-" -f1 | sed 's/ $//') 43 | default_title=$(echo "$vid_title" | cut -d "-" -f2 | sed 's/^ //;s/\[.*\]//;s/(.*)//;s/ $//') 44 | 45 | echo 46 | echo "Downloading: $vid_title" 47 | echo 48 | echo 49 | 50 | yt-dlp --no-warnings --no-playlist -x --audio-format mp3 \ 51 | -o "$TMP_FILE" "$URL" 52 | 53 | echo 54 | echo 55 | read -p "Artist? [$default_artist] " artist 56 | read -p "Title? [$default_title] " title 57 | read -p "Album? [none] " album 58 | read -p "Comment? [none] " comment 59 | 60 | [ "$artist" = "" ] && artist="$default_artist" 61 | [ "$title" = "" ] && title="$default_title" 62 | [ "$album" = "" ] && album=" " 63 | [ "$comment" = "" ] && comment=" " 64 | 65 | id3v2 -t "$title" -a "$artist" -A "$album" -c "$comment" "$TMP_FINAL_FILE" 66 | 67 | mv "$TMP_FINAL_FILE" "$MUSIC_DIR/$artist-$title.mp3" 68 | echo "$MUSIC_DIR/$artist-$title.mp3" 69 | mpc update > /dev/null 70 | -------------------------------------------------------------------------------- /scripts/.scripts/zigbee/blinds_control.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | WINDOW_STATE_FILE=$HOME/.zigbee/window_state 4 | BLIND_LEFT_ADD='Lab Blind Right' 5 | BLIND_RIGHT_ADD='Lab Blind Left' 6 | 7 | 8 | function set_close() 9 | { 10 | mosquitto_pub -h $MQTT_HOST -t "zigbee2mqtt/$1/set" -m '{ "state": "CLOSE" }' 11 | } 12 | 13 | function set_open() 14 | { 15 | mosquitto_pub -h $MQTT_HOST -t "zigbee2mqtt/$1/set" -m '{ "state": "OPEN" }' 16 | } 17 | 18 | function set_shade() 19 | { 20 | mosquitto_pub -h $MQTT_HOST -t "zigbee2mqtt/$1/set" -m '{ "state": "50" }' 21 | } 22 | 23 | read WINDOW_IS_CLOSED < "$WINDOW_STATE_FILE" 24 | 25 | case "$1" in 26 | 'close') 27 | if [ "$WINDOW_IS_CLOSED" == "true" ] 28 | then 29 | set_close $SHADE_LEFT_ADD 30 | set_close $SHADE_RIGTH_ADD 31 | fi 32 | ;; 33 | 'open') 34 | set_open $SHADE_LEFT_ADD 35 | set_open $SHADE_RIGTH_ADD 36 | ;; 37 | 'shade') 38 | if [ "$WINDOW_IS_CLOSED" == "true" ] 39 | then 40 | set_shade $SHADE_LEFT_ADD 41 | set_shade $SHADE_RIGTH_ADD 42 | fi 43 | ;; 44 | *) 45 | ;; 46 | esac 47 | -------------------------------------------------------------------------------- /scripts/.scripts/zigbee/button_listener.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | BUTTON_ADD=0x00124b002520eb0c 4 | 5 | while true; do 6 | state=$(mosquitto_sub -t "zigbee2mqtt/$BUTTON_ADD" --quiet -C 1 -R | jq -r .action) 7 | 8 | if [ "$state" == "single" ] 9 | then 10 | # Single tap 11 | $HOME/.scripts/zigbee/color_signal.sh off 12 | elif [ "$state" == "double" ] 13 | then 14 | # Double tap 15 | $HOME/.scripts/zigbee/color_signal.sh red 16 | fi 17 | done 18 | -------------------------------------------------------------------------------- /scripts/.scripts/zigbee/light_switch_listener.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | CONTROL_SCRIPT=/home/alx/zigbee/light.sh 4 | STATE_FILE=/home/alx/zigbee/light_state 5 | SWITCH_ADD='Lab Switch' 6 | 7 | while true; do 8 | tap=$(mosquitto_sub -t "zigbee2mqtt/$SWITCH_ADD" --quiet -C 1 -R | jq -r .action) 9 | read STATE < "$STATE_FILE" 10 | 11 | if [ "$tap" == "single" ] 12 | then 13 | if [ "$STATE" == "off" ] 14 | then 15 | $CONTROL_SCRIPT lab_illumination warm 16 | echo "warm" > "$STATE_FILE" 17 | elif [ "$STATE" == "warm" ] 18 | then 19 | $CONTROL_SCRIPT lab_illumination neutral 20 | echo "neutral" > "$STATE_FILE" 21 | elif [ "$STATE" == "neutral" ] 22 | then 23 | $CONTROL_SCRIPT lab_illumination bright 24 | echo "bright" > "$STATE_FILE" 25 | else 26 | $CONTROL_SCRIPT lab_illumination warm 27 | echo "warm" > "$STATE_FILE" 28 | fi 29 | 30 | elif [ "$tap" == "double" ] 31 | then 32 | $CONTROL_SCRIPT lab_illumination off 33 | echo "off" > "$STATE_FILE" 34 | fi 35 | done 36 | -------------------------------------------------------------------------------- /scripts/.scripts/zigbee/motion_listener.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | MOTION_SENSOR_ADD=0x00124b0024e79361 4 | 5 | while true; do 6 | occupancy=$(mosquitto_sub -t "zigbee2mqtt/$MOTION_SENSOR_ADD" --quiet -C 1 -R | jq -r .occupancy) 7 | 8 | if [ "$occupancy" == "true" ] 9 | then 10 | ratpoison -c "echo [!] Motion detected [!]" 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /scripts/.scripts/zigbee/shade.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | MQTT_HOST=cerbero.trantor 4 | 5 | SHADE_RIGTH_ADD=0x54ef4410006b9523 6 | SHADE_LEFT_ADD=0x54ef44100078094b 7 | 8 | 9 | function set_close() 10 | { 11 | mosquitto_pub -h $MQTT_HOST -t "zigbee2mqtt/$1/set" -m '{ "state": "CLOSE" }' 12 | } 13 | 14 | function set_open() 15 | { 16 | mosquitto_pub -h $MQTT_HOST -t "zigbee2mqtt/$1/set" -m '{ "state": "OPEN" }' 17 | } 18 | 19 | function set_shade() 20 | { 21 | mosquitto_pub -h $MQTT_HOST -t "zigbee2mqtt/$1/set" -m '{ "state": "50" }' 22 | } 23 | 24 | 25 | case "$1" in 26 | 'close') 27 | set_close $SHADE_LEFT_ADD 28 | set_close $SHADE_RIGTH_ADD 29 | ;; 30 | 'open') 31 | set_open $SHADE_LEFT_ADD 32 | set_open $SHADE_RIGTH_ADD 33 | ;; 34 | 'shade') 35 | set_shade $SHADE_LEFT_ADD 36 | set_shade $SHADE_RIGTH_ADD 37 | ;; 38 | *) 39 | ;; 40 | esac 41 | -------------------------------------------------------------------------------- /scripts/.scripts/zigbee/window_listener.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | BLINDS_CONTROL_SCRIPT= 4 | WINDOW_STATE_FILE=$HOME/.zigbee/window_state 5 | WINDOW_ADD='Lab Window' 6 | 7 | while true; do 8 | isClosed=$(mosquitto_sub -t "zigbee2mqtt/$WINDOW_ADD" --quiet -C 1 -R | jq -r .contact) 9 | echo "$isClosed" > "$STATE_FILE" 10 | 11 | hour=$(date +%H) 12 | minutes=$(date +%M) 13 | if [ "$isClosed" == "true" ] && [ "$hour" -ge 20 ] && [ "$minutes" -gt 30 ] 14 | then 15 | BLINDS_CONTROL_SCRIPT close 16 | fi 17 | done 18 | -------------------------------------------------------------------------------- /sshrc/.sshrc: -------------------------------------------------------------------------------- 1 | alias ..="cd .." 2 | alias e="vim" 3 | alias l="ls -l" 4 | alias ex="exit" 5 | alias suod="sudo" 6 | alias sys="sudo systemctl" 7 | -------------------------------------------------------------------------------- /stack/.stack/config.yaml: -------------------------------------------------------------------------------- 1 | templates: 2 | params: 3 | author-name: Daniel Campoverde 4 | author-email: alx@sillybytes.net 5 | github-username: alx741 6 | -------------------------------------------------------------------------------- /stylish-haskell/.stylish-haskell.yaml: -------------------------------------------------------------------------------- 1 | columns: 80 2 | newline: native 3 | 4 | steps: 5 | - simple_align: 6 | cases: true 7 | top_level_patterns: true 8 | records: true 9 | 10 | - imports: 11 | align: group 12 | list_align: after_alias 13 | pad_module_names: true 14 | long_list_align: inline 15 | empty_list_align: inherit 16 | list_padding: module_name 17 | separate_lists: true 18 | space_surround: false 19 | 20 | - language_pragmas: 21 | style: vertical 22 | align: true 23 | remove_redundant: true 24 | 25 | - trailing_whitespace: {} 26 | -------------------------------------------------------------------------------- /sxiv/.config/sxiv/exec/image-info: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | filename=$(basename "$1") 4 | filesize=$(du -Hh "$1" | cut -f 1) 5 | geometry=$(identify -format '%wx%h' "$1[0]") 6 | tags=$(exiv2 -q -P v -g "Iptc.Application2.Keywords" "$1" | tr '\n' ',') 7 | tags=${tags%,} 8 | 9 | echo "[${filesize}] <${geometry}${tags:+$s}${tags}> ${filename}" 10 | -------------------------------------------------------------------------------- /sxiv/.config/sxiv/exec/key-handler: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | case "$1" in 4 | 'g') 5 | while IFS= read -r line; do 6 | file=$(realpath $line) 7 | if [[ "$files" == "" ]]; then 8 | files="$file" 9 | else 10 | files="$files $file" 11 | fi 12 | done < /dev/stdin 13 | gimp $files& 14 | ;; 15 | 'y') 16 | cat /dev/stdin | xclip -selection clipboard -i 17 | ;; 18 | 'Y') 19 | file=$(cat /dev/stdin) 20 | realpath $file | xclip -selection clipboard -i 21 | ;; 22 | 'c') 23 | cropgui $(cat /dev/stdin) 24 | ;; 25 | *) 26 | ;; 27 | esac 28 | -------------------------------------------------------------------------------- /systemd_user/.config/systemd/user/mbsync.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Mailbox synchronization service 3 | 4 | [Service] 5 | Type=oneshot 6 | ExecStart=/usr/bin/mbsync -Va 7 | -------------------------------------------------------------------------------- /systemd_user/.config/systemd/user/mbsync.timer: -------------------------------------------------------------------------------- 1 | ; systemctl --user enable mbsync.timer 2 | ; systemctl --user start mbsync.timer 3 | 4 | [Unit] 5 | Description=Mailbox synchronization timer 6 | 7 | [Timer] 8 | OnBootSec=2m 9 | OnUnitActiveSec=5m 10 | Unit=mbsync.service 11 | 12 | [Install] 13 | WantedBy=timers.target 14 | -------------------------------------------------------------------------------- /taskwarrior/.taskrc: -------------------------------------------------------------------------------- 1 | #{{{ Files 2 | data.location=~/.task 3 | #}}} 4 | 5 | #{{{ Terminal 6 | editor=vim 7 | #}}} 8 | 9 | #{{{ Misc 10 | indent.annotation=4 11 | undo.style=diff 12 | #}}} 13 | 14 | #{{{ Dates 15 | weekstart=Monday 16 | #}}} 17 | 18 | #{{{ Color 19 | color=on 20 | include /usr/share/doc/task/rc/solarized-light-256.theme 21 | #include /usr/share/doc/task/rc/holidays.es-EC.rc 22 | #}}} 23 | 24 | #{{{ Sync 25 | taskd.server=freecinc.com:53589 26 | taskd.key=\/home\/alx\/.task\/freecinc.key.pem 27 | taskd.certificate=\/home\/alx\/.task\/freecinc.cert.pem 28 | taskd.ca=\/home\/alx\/.task\/freecinc.ca.pem 29 | taskd.credentials=FreeCinc\/freecinc_4cbf561d\/f2e80a86-426a-4a02-b0ad-453d31aaf17c 30 | #}}} 31 | 32 | 33 | # vim:fdm=marker 34 | news.version=2.6.0 35 | -------------------------------------------------------------------------------- /udev/etc/udev/rules.d/69-hdparm.rules: -------------------------------------------------------------------------------- 1 | #ACTION=="add", SUBSYSTEM=="block", KERNEL=="sda", RUN+="/usr/bin/hdparm -B 254 -S 0 /dev/sdb" 2 | -------------------------------------------------------------------------------- /udev/etc/udev/rules.d/95-usb-stlink-v2.rules: -------------------------------------------------------------------------------- 1 | SUBSYSTEM=="usb", ATTR{idVendor}=="0483", ATTR{idProduct}=="3748", GROUP="users", MODE="0666" 2 | -------------------------------------------------------------------------------- /udev/etc/udev/rules.d/96-zigbee-zonoff-bridge.rules: -------------------------------------------------------------------------------- 1 | SUBSYSTEM=="tty", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", ATTRS{serial}=="16fd885e8fc9eb11828c8f4f1d69213e", SYMLINK+="ttyUSBZigbeeBridge" 2 | -------------------------------------------------------------------------------- /udev/etc/udev/rules.d/99-venabili.rules: -------------------------------------------------------------------------------- 1 | SUBSYSTEM=="input", SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="5710", RUN+="/home/alx/.scripts/keyboard_setup_udev.sh" 2 | -------------------------------------------------------------------------------- /vim/.vim/.gitignore: -------------------------------------------------------------------------------- 1 | plugged 2 | tmp 3 | .netrwhist 4 | spell 5 | autoload/plug.vim 6 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/angularjs.snippets: -------------------------------------------------------------------------------- 1 | snippet angularcdn "AngularJS CDN" 2 | 3 | 6 | endsnippet 7 | 8 | snippet mod "module" 9 | var $1 = angular.module('$1', []); 10 | 11 | $1.controller('$2', function($scope) { 12 | $0 13 | }); 14 | endsnippet 15 | 16 | snippet na "ng-app" 17 | ng-app="$1"$0 18 | endsnippet 19 | 20 | snippet nc "ng-controller" 21 | ng-controller="$1"$0 22 | endsnippet 23 | 24 | snippet nm "ng-model" 25 | ng-model="$1"$0 26 | endsnippet 27 | 28 | snippet nb "ng-bind" 29 | ng-bind="$1"$0 30 | endsnippet 31 | 32 | snippet nr "ng-repeat" 33 | ng-repeat="$1"$0 34 | endsnippet 35 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/bib.snippets: -------------------------------------------------------------------------------- 1 | snippet online "Online" b 2 | @online{$0, 3 | title={}, 4 | journal={}, 5 | author={Last, Given}, 6 | year={2015}, 7 | month={1}, 8 | url={}, 9 | urldate={2020-01} 10 | } 11 | endsnippet 12 | 13 | 14 | snippet article "Article" b 15 | @article{some, 16 | title={}, 17 | journal={}, 18 | author={Last, Given}, 19 | year={2015} 20 | } 21 | endsnippet 22 | 23 | 24 | snippet misc "Misc" b 25 | @misc{some, 26 | author={Last, Given}, 27 | year={2015} 28 | title={}, 29 | url={}, 30 | institution="" 31 | } 32 | endsnippet 33 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/blade.snippets: -------------------------------------------------------------------------------- 1 | extends php, html, javascript, laravel 2 | 3 | snippet @se "@section" 4 | @section ('$1')$0 5 | @endsection 6 | endsnippet 7 | 8 | snippet @ex "@extends" 9 | @extends ('$1') 10 | $0 11 | endsnippet 12 | 13 | snippet @fe "@foreach" 14 | @foreach ($1)$0 15 | @endforeach 16 | endsnippet 17 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/bootstrap.snippets: -------------------------------------------------------------------------------- 1 | snippet bootstrapcdn "Bootstrap CDN" 2 | 3 | 7 | 11 | 15 | endsnippet 16 | 17 | snippet bclass "Bootstrap columns classes" 18 | class="col-xs-$1 col-sm-$2 col-md-$3 col-lg-$4"$0 19 | endsnippet 20 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/c.snippets: -------------------------------------------------------------------------------- 1 | snippet gpl "GPL Header" b 2 | /* 3 | * This program is free software: you can redistribute it and/or modify 4 | * it under the terms of the GNU General Public License as published by 5 | * the Free Software Foundation, either version 3 of the License, or 6 | * (at your option) any later version. 7 | * 8 | * This program is distributed in the hope that it will be useful, 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | * GNU General Public License for more details. 12 | * 13 | * You should have received a copy of the GNU General Public License 14 | * along with this program. If not, see . 15 | */ 16 | 17 | 18 | $0 19 | endsnippet 20 | 21 | snippet inc "#include" b 22 | #include <$1>$0 23 | endsnippet 24 | 25 | snippet for "for" 26 | for (int i = 0; i < $1; i++) 27 | { 28 | $0 29 | } 30 | endsnippet 31 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/c_like_comments.snippets: -------------------------------------------------------------------------------- 1 | snippet header "Header comment" 2 | /* 3 | |-------------------------------------------------------------------------- 4 | | $1 5 | |-------------------------------------------------------------------------- 6 | | 7 | | $0 8 | | 9 | | 10 | | 11 | */ 12 | endsnippet 13 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/cpp.snippets: -------------------------------------------------------------------------------- 1 | extends c 2 | 3 | snippet sp "shared_pointer" 4 | shared_ptr<$1> $2 = make_shared<$1>($3);$0 5 | endsnippet 6 | 7 | snippet cout "shared_pointer" 8 | cout << $0 << endl; 9 | endsnippet 10 | 11 | snippet once "#pragma once" 12 | #pragma once 13 | endsnippet 14 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/css.snippets: -------------------------------------------------------------------------------- 1 | snippet bc "background-color" 2 | background-color: #$0; 3 | endsnippet 4 | 5 | snippet media "media query screen" 6 | @media only screen and (max-width: 600px) { 7 | body { 8 | background-color: lightblue; 9 | } 10 | } 11 | endsnippet 12 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/dtd.snippets: -------------------------------------------------------------------------------- 1 | snippet doc " 7 | endsnippet 8 | 9 | snippet dele " 11 | endsnippet 12 | 13 | snippet att " 16 | endsnippet 17 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/hakyll.snippets: -------------------------------------------------------------------------------- 1 | snippet meta "Metadata" b 2 | --- 3 | title: $1 4 | published: 2017-12-31$2 5 | ... 6 | 7 | ![](/img/$3/thumbnail.png){#thumbnail}\ 8 | 9 | $0 10 | endsnippet 11 | 12 | snippet img "Image" 13 | ![](/img/$1.png){.img-responsive}$0 14 | endsnippet 15 | 16 | snippet more "" b 17 | $0 18 | endsnippet 19 | 20 | snippet video "Video" 21 |
22 | 23 |
24 | endsnippet 25 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/haml.snippets: -------------------------------------------------------------------------------- 1 | snippet html "HTML 5 skeleton" b 2 | !!! 3 | %html(lang="${1:en}") 4 | 5 | %head 6 | %meta(charset="utf-8") 7 | %meta(name="viewport" content="width=device-width, user-scalable=no, initial-scalable=1.0, maximum-scale=1.0, minimum-scale=1.0") 8 | 9 | %link(rel="stylesheet" href="$2") 10 | 11 | %title$3 12 | 13 | %body 14 | 15 | $0 16 | endsnippet 17 | 18 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/hamlet.snippets: -------------------------------------------------------------------------------- 1 | #### Bootstrap 2 | 3 | snippet container ".container" 4 |
$0 5 | endsnippet 6 | 7 | snippet containerf ".container-fluid" 8 |
$0 9 | endsnippet 10 | 11 | snippet row ".row" 12 |
$0 13 | endsnippet 14 | 15 | snippet col ".col" 16 |
17 | endsnippet 18 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/haskell.snippets: -------------------------------------------------------------------------------- 1 | extends yesod, hspec 2 | 3 | snippet lang "LANGUAGE extension" 4 | {-# LANGUAGE $1 #-}$0 5 | endsnippet 6 | 7 | snippet opt "OPTIONS_GHC pragma" 8 | {-# OPTIONS_GHC $1 #-}$0 9 | endsnippet 10 | 11 | snippet stack "stack hash bang" b 12 | #!/usr/bin/env stack 13 | {- stack 14 | script 15 | --resolver lts-9.3 16 | --package ... 17 | -} 18 | endsnippet 19 | 20 | snippet module "module % where" 21 | module `!v expand('%:t:r')` where$0 22 | endsnippet 23 | 24 | snippet main "main :: IO ()" 25 | main :: IO () 26 | main = do 27 | $0 28 | endsnippet 29 | 30 | snippet der "deriving" 31 | deriving (Show$0) 32 | endsnippet 33 | 34 | snippet putl "putStrLn" 35 | putStrLn $0 36 | endsnippet 37 | 38 | snippet puts "putStr" 39 | putStr $0 40 | endsnippet 41 | 42 | snippet getl "getLine" 43 | getLine $0 44 | endsnippet 45 | 46 | snippet und "undefined" 47 | undefined 48 | endsnippet 49 | 50 | snippet script "haskell scripts boilerplate" b 51 | {-# LANGUAGE OverloadedStrings #-} 52 | 53 | import Turtle 54 | import System.Environment (getArgs) 55 | 56 | main = do 57 | args <- getArgs 58 | case args of 59 | ["some"] -> shell "sudo echo some" empty 60 | ["other"] -> shell "sudo echo other" empty 61 | _ -> printUsageOrSomething 62 | endsnippet 63 | 64 | snippet shake "Shakefile boilerplate" b 65 | import Development.Shake 66 | import Development.Shake.Command 67 | import Development.Shake.FilePath 68 | import Development.Shake.Util 69 | 70 | buildDir = "build" 71 | 72 | main :: IO () 73 | main = shakeArgs shakeOptions{shakeFiles=buildDir} $ do 74 | want $ map ((buildDir ++ "/") ++) scripts 75 | 76 | phony "clean" $ do 77 | putNormal $ "Cleaning " ++ buildDir 78 | removeFilesAfter buildDir ["//*"] 79 | removeFilesAfter "." ["/*.hi", "/*.o"] 80 | endsnippet 81 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/hspec.snippets: -------------------------------------------------------------------------------- 1 | snippet des "describe" 2 | describe "$1" $ do$0 3 | endsnippet 4 | 5 | snippet it "it" 6 | it "$1" $ do$0 7 | endsnippet 8 | 9 | snippet sb "shouldBe" 10 | \`shouldBe\` $0 11 | endsnippet 12 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/html.snippets: -------------------------------------------------------------------------------- 1 | extends angularjs, bootstrap 2 | 3 | snippet html "HTML 5 skeleton" b 4 | 5 | 6 | 7 | 8 | 10 | 11 | 12 | 13 | $3 14 | 15 | 16 | 17 | $0 18 | 19 | 20 | 21 | endsnippet 22 | 23 | snippet jquerycdn "JQuery scripts" 24 | 25 | 26 | endsnippet 27 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/java.snippets: -------------------------------------------------------------------------------- 1 | extends c_like_comments 2 | 3 | snippet class "public class" 4 | public class `!v expand('%:t:r')` 5 | {$1 6 | } 7 | endsnippet 8 | 9 | snippet main "Main method" 10 | public static void main(String args[]) 11 | { 12 | $0 13 | } 14 | endsnippet 15 | 16 | snippet out "System.out.println" 17 | System.out.println("$1"); 18 | endsnippet 19 | 20 | snippet pr "private" 21 | private $1 22 | endsnippet 23 | 24 | snippet pu "public" 25 | public $1 26 | endsnippet 27 | 28 | snippet s "String" 29 | String $1 30 | endsnippet 31 | 32 | snippet b "boolean" 33 | boolean $1 34 | endsnippet 35 | 36 | snippet l "List" 37 | List<$1> 38 | endsnippet 39 | 40 | snippet al "ArrayList" 41 | ArrayList<$1> 42 | endsnippet 43 | 44 | snippet try "try-catch-finally" 45 | try 46 | { 47 | ${VISUAL} 48 | } 49 | catch (${1:Exception} e) 50 | { 51 | } 52 | finally 53 | { 54 | } 55 | endsnippet 56 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/javascript.snippets: -------------------------------------------------------------------------------- 1 | extends angularjs 2 | 3 | snippet fun "Private Function" 4 | function $1($2) 5 | {$0 6 | } 7 | endsnippet 8 | 9 | snippet log "console.log" 10 | console.log("$1");$0 11 | endsnippet 12 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/kotlin.snippets: -------------------------------------------------------------------------------- 1 | extends c_like_comments 2 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/kotling.snippets: -------------------------------------------------------------------------------- 1 | snippet p "println" 2 | println($1) 3 | endsnippet 4 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/laravel.snippets: -------------------------------------------------------------------------------- 1 | snippet route "Route::get" 2 | Route::${1:get}('${2:route}', '$3'); 3 | endsnippet 4 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/markdown.snippets: -------------------------------------------------------------------------------- 1 | snippet meta "Metadata" b 2 | --- 3 | title: $1 4 | published: 2017-12-31$2 5 | author: Daniel Campoverde C. 6 | lang: es 7 | abstract: | 8 | Some Abstract here$3 9 | ... 10 | 11 | $0 12 | endsnippet 13 | 14 | 15 | snippet img "Image" 16 | ![$2](./img/$1.png)$0 17 | endsnippet 18 | 19 | 20 | snippet table "Table" 21 | 22 | Some title Some title 23 | ------------ ----------- 24 | data data 25 | 26 | Table: Demonstration of simple table syntax. 27 | 28 | endsnippet 29 | 30 | 31 | snippet code "Code" 32 | \`\`\`$0 33 | \`\`\` 34 | endsnippet 35 | 36 | snippet py "Python Code" 37 | \`\`\`python 38 | $0 39 | \`\`\` 40 | endsnippet 41 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/perl.snippets: -------------------------------------------------------------------------------- 1 | snippet perl "Hash bang" b 2 | #!/usr/bin/perl 3 | endsnippet 4 | 5 | snippet p "print" 6 | print "$1"; 7 | endsnippet 8 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/php.snippets: -------------------------------------------------------------------------------- 1 | extends html, laravel, phpunit 2 | 3 | snippet php "PHP tag" b 4 | 9 | endsnippet 10 | 11 | snippet p "Inline PHP tag" 12 | 13 | endsnippet 14 | 15 | snippet fun "Public Function" 16 | public function $1($2) 17 | {$0 18 | } 19 | endsnippet 20 | 21 | snippet pfun "Private Function" 22 | private function $1($2) 23 | {$0 24 | } 25 | endsnippet 26 | 27 | snippet t "$this->" 28 | $this-> 29 | endsnippet 30 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/phpunit.snippets: -------------------------------------------------------------------------------- 1 | snippet phpunit "Parent class" 2 | extends PHPUnit_Framework_TestCase 3 | endsnippet 4 | 5 | snippet ast "assertTrue" 6 | $this->assertTrue($0); 7 | endsnippet 8 | 9 | snippet asf "assertFalse" 10 | $this->assertFalse($0); 11 | endsnippet 12 | 13 | snippet ase "assertEquals" 14 | $this->assertEquals($0); 15 | endsnippet 16 | 17 | snippet asne "assertNotEquals" 18 | $this->asserNottEquals($0); 19 | endsnippet 20 | 21 | snippet asc "assertContains" 22 | $this->assertContains($0); 23 | endsnippet 24 | 25 | snippet asnc "assertNotContains" 26 | $this->assertNotContains($0); 27 | endsnippet 28 | 29 | snippet asct "assertCount" 30 | $this->assertCount($0); 31 | endsnippet 32 | 33 | snippet asnct "assertNotCount" 34 | $this->assertNotCount($0); 35 | endsnippet 36 | 37 | snippet asi "assertInstanceOf" 38 | $this->assertInstanceOf($0); 39 | endsnippet 40 | 41 | snippet asni "assertNotInstanceOf" 42 | $this->assertNotInstanceOf($0); 43 | endsnippet 44 | 45 | snippet mti "markTestIncomplete" 46 | $this->markTestIncomplete(); 47 | endsnippet 48 | 49 | snippet mts "markTestSkipped" 50 | $this->markTestSkipped(); 51 | endsnippet 52 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/rmd.snippets: -------------------------------------------------------------------------------- 1 | extends markdown 2 | 3 | 4 | snippet r "Code" 5 | \`\`\`{r} 6 | $0 7 | \`\`\` 8 | endsnippet 9 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/rust.snippets: -------------------------------------------------------------------------------- 1 | snippet pr "println!" 2 | println!("$1"$2);$0 3 | endsnippet 4 | 5 | snippet panic "panic!" 6 | panic!("$1");$0 7 | endsnippet 8 | 9 | snippet debug "derive debug" 10 | #[derive(Debug)] 11 | endsnippet 12 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/scheme.snippets: -------------------------------------------------------------------------------- 1 | snippet guile "Guile hash bang" b 2 | #!/usr/bin/guile -s 3 | !# 4 | endsnippet 5 | 6 | snippet new "(newline)" 7 | (newline) 8 | endsnippet 9 | 10 | snippet dis "(display)" 11 | (display $1) 12 | endsnippet 13 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/sh.snippets: -------------------------------------------------------------------------------- 1 | snippet sh "SH hash bang" b 2 | #!/bin/sh 3 | endsnippet 4 | 5 | snippet fun "function" b 6 | function $1 7 | {$0 8 | } 9 | endsnippet 10 | 11 | snippet case "case statement skeleton" 12 | case "\$${1:variable}" in 13 | 'case1') 14 | statement 15 | ;; 16 | *) 17 | statement 18 | ;; 19 | esac 20 | endsnippet 21 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/swift.snippets: -------------------------------------------------------------------------------- 1 | snippet p "print" 2 | print($0) 3 | endsnippet 4 | 5 | snippet alert "alert" 6 | let alert = UIAlertController( 7 | title: "", 8 | message: "", 9 | preferredStyle: .alert) 10 | 11 | alert.addAction(UIAlertAction( 12 | title: "" 13 | style: .default, 14 | handler: { action in 15 | // Action 16 | })) 17 | 18 | alert.addAction(UIAlertAction(title: "Cancel", style: .cancel, handler: nil)) 19 | 20 | self.present(alert, animated: true, completion: nil) 21 | endsnippet 22 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/xml.snippets: -------------------------------------------------------------------------------- 1 | extends dtd, xsd 2 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/xsd.snippets: -------------------------------------------------------------------------------- 1 | snippet schema "XML Schema Definition" b 2 | 3 | 4 | $0 5 | 6 | 7 | endsnippet 8 | 9 | snippet ele "element" b 10 | 11 | endsnippet 12 | 13 | snippet att "attribute" b 14 | 15 | endsnippet 16 | 17 | snippet comp "complexType" b 18 | 19 | $0 20 | 21 | endsnippet 22 | 23 | snippet rest "restriction" b 24 | 25 | 26 | endsnippet 27 | -------------------------------------------------------------------------------- /vim/.vim/UltiSnips/yesod.snippets: -------------------------------------------------------------------------------- 1 | snippet dl "defaultLayout" 2 | defaultLayout $ do 3 | $0 4 | endsnippet 5 | 6 | snippet wf "widgetFile" 7 | $(widgetFile "$0") 8 | endsnippet 9 | 10 | snippet db "runDB" 11 | runDB $ $0 12 | endsnippet 13 | -------------------------------------------------------------------------------- /vim/.vim/after/ftplugin/dart.vim: -------------------------------------------------------------------------------- 1 | " Mappings 2 | nnoremap g= :call Format():%!dartfmt 3 | nnoremap gjj :up:FlutterHotRestart 4 | " nnoremap gjb :up:Dispatch -compiler=gradle make run-device 5 | 6 | " Arrows 7 | inoremap ;; -> 8 | inoremap ;: => 9 | inoremap :; <- 10 | 11 | nnoremap :LSClientGoToDefinition 12 | nnoremap zi :LSClientShowHover 13 | -------------------------------------------------------------------------------- /vim/.vim/after/ftplugin/rmd.vim: -------------------------------------------------------------------------------- 1 | setlocal spell 2 | setlocal spelllang=en 3 | setlocal commentstring= 4 | nnoremap gh :call Md_create_header(1) 5 | nnoremap gH :call Md_create_header(0) 6 | nnoremap ]] :call Next_header(0) 7 | nnoremap [[ :call Next_header(1) 8 | nnoremap gO :call PDF_open() 9 | 10 | function! PDF_open() 11 | let s:md_file = expand('%:p:r') 12 | exe "silent !zathura " . s:md_file . ".pdf" 13 | exe "silent redraw!" 14 | endfunction 15 | 16 | function! Next_header(invert) 17 | if a:invert == 0 18 | exe "norm! /\\v^[#-]+\\" 19 | else 20 | exe "norm! ?\\v^[#-]+\\" 21 | endif 22 | exe "norm! ztkj" 23 | endfunction 24 | 25 | function! Md_create_header(header) 26 | if a:header 27 | exe "norm! 0" 28 | if (getline(".")[col(".")-1] ==? "#") 29 | exe "norm! I#\" 30 | else 31 | exe "norm! I# \" 32 | endif 33 | else 34 | exe "norm! 0" 35 | if (getline(".")[col(".")] ==? " ") 36 | exe "norm! 2x" 37 | elseif (getline(".")[col(".")-1] ==? "#") 38 | exe "norm! x" 39 | endif 40 | endif 41 | endfunction 42 | -------------------------------------------------------------------------------- /vim/.vim/after/ftplugin/swift.vim: -------------------------------------------------------------------------------- 1 | setlocal shiftwidth=4 2 | setlocal softtabstop=4 3 | setlocal tabstop=4 4 | 5 | "{{{ Mappings 6 | " General 7 | nnoremap g= :call SwiftFormat() 8 | 9 | " Arrows 10 | inoremap ;; -> 11 | inoremap ;: => 12 | inoremap :; <- 13 | "}}} 14 | 15 | "{{{ Functions 16 | function! SwiftFormat() 17 | let l:winview = winsaveview() 18 | silent! exe "keepjumps call CleanTypeAnnotations()" 19 | silent! exe "keepjumps call RemoveTrailingSpaces()" 20 | exe "%! swiftformat" 21 | call winrestview(l:winview) 22 | endfunction 23 | "}}} 24 | 25 | " vim:fdm=marker 26 | -------------------------------------------------------------------------------- /vim/.vim/colors/minimal.vim: -------------------------------------------------------------------------------- 1 | set background=light 2 | highlight clear 3 | if exists("syntax_on") 4 | syntax reset 5 | endif 6 | 7 | runtime colors/solarized.vim 8 | let g:colors_name="minimal" 9 | 10 | hi! Normal ctermbg=NONE ctermfg=11 11 | hi! Comment ctermbg=NONE ctermfg=gray 12 | hi! Error ctermbg=NONE ctermfg=1 13 | hi! Todo ctermbg=NONE ctermfg=13 cterm=bold 14 | 15 | hi Visual cterm=NONE ctermbg=7 ctermfg=11 16 | 17 | hi StatusLine cterm=bold ctermbg=7 ctermfg=11 18 | hi StatusLineNC cterm=NONE ctermbg=7 ctermfg=14 19 | hi VertSplit cterm=NONE ctermbg=15 ctermfg=7 20 | hi MatchParen cterm=NONE ctermbg=7 ctermfg=5 21 | hi SpellBad cterm=underline 22 | 23 | hi! clear Constant 24 | hi! clear Identifier 25 | hi! clear Ignore 26 | hi! clear PreProc 27 | hi! clear Special 28 | hi! clear Statement 29 | hi! clear Type 30 | hi! clear Underline 31 | 32 | hi! Pmenu cterm=NONE ctermbg=7 ctermfg=11 33 | hi! PmenuSel cterm=reverse ctermbg=7 ctermfg=11 34 | -------------------------------------------------------------------------------- /vim/.vim/ftdetect/kotlin.vim: -------------------------------------------------------------------------------- 1 | autocmd BufNewFile,BufRead *.kt set filetype=kotlin 2 | -------------------------------------------------------------------------------- /vim/.vim/ftdetect/swift.vim: -------------------------------------------------------------------------------- 1 | autocmd BufNewFile,BufRead *.swift set filetype=swift 2 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/asciidoc.vim: -------------------------------------------------------------------------------- 1 | setlocal spell 2 | setlocal spelllang=en 3 | nnoremap gh :call Adoc_create_header(1) 4 | nnoremap gH :call Adoc_create_header(0) 5 | nnoremap ]] :call Next_header(0) 6 | nnoremap [[ :call Next_header(1) 7 | nnoremap 1z= 8 | 9 | function! Next_header(invert) 10 | if a:invert == 0 11 | exe "norm! /\\v^[=-]+\\" 12 | else 13 | exe "norm! ?\\v^[=-]+\\" 14 | endif 15 | exe "norm! ztkj" 16 | endfunction 17 | 18 | function! Adoc_create_header(header) 19 | if a:header 20 | exe "norm! 0" 21 | if (getline(".")[col(".")-1] ==? "=") 22 | exe "norm! I=\" 23 | else 24 | exe "norm! I= \" 25 | endif 26 | else 27 | exe "norm! 0" 28 | if (getline(".")[col(".")] ==? " ") 29 | exe "norm! 2x" 30 | elseif (getline(".")[col(".")-1] ==? "=") 31 | exe "norm! x" 32 | endif 33 | endif 34 | endfunction 35 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/asm.vim: -------------------------------------------------------------------------------- 1 | setlocal commentstring=;\ %s 2 | au FileType pic8 setlocal commentstring=;\ %s 3 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/c.vim: -------------------------------------------------------------------------------- 1 | nnoremap gh :A 2 | nnoremap gH :AS 3 | inoremap ,< :call Avr_set_bit(0) 4 | inoremap << :call Avr_set_bit(1) 5 | " Burn AVR firmware 6 | nnoremap gjb :w:Make burn 7 | 8 | function! Avr_set_bit(value) 9 | exe "norm! bi(" . a:value ." << \wgUiWEa) \" 10 | exe "startinsert!" 11 | endfunction 12 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/cabal.vim: -------------------------------------------------------------------------------- 1 | setlocal commentstring=--\ %s 2 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/cassius.vim: -------------------------------------------------------------------------------- 1 | inoremap 2 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/css.vim: -------------------------------------------------------------------------------- 1 | setlocal foldmethod=marker 2 | setlocal foldmarker={,} 3 | setlocal formatprg=prettier\ --parser\ css\ --tab-width\ 4 4 | nnoremap gh :call CssSortProperties() 5 | nnoremap g= :call CSSFormat() 6 | 7 | function! CssSortProperties() 8 | exe "norm! vi{\" 9 | exe "'<,'>sort" 10 | endfunction 11 | 12 | function! CSSFormat() 13 | let l:winview = winsaveview() 14 | silent! execute 'norm! gggqG' 15 | call winrestview(l:winview) 16 | endfunction 17 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/gitcommit.vim: -------------------------------------------------------------------------------- 1 | setlocal spell 2 | setlocal spelllang=en 3 | nnoremap 1z= 4 | exec "norm! gg" 5 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/hamlet.vim: -------------------------------------------------------------------------------- 1 | setlocal nowrap 2 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/help.vim: -------------------------------------------------------------------------------- 1 | nnoremap [[ :call Help_tag(1) 2 | nnoremap ]] :call Help_tag(0) 3 | 4 | function! Help_tag(reverse) 5 | call search('|\S\+|', a:reverse ? 'bW' : 'W') 6 | endfunction 7 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/html.vim: -------------------------------------------------------------------------------- 1 | nnoremap gO :call Firefox_open() 2 | setlocal nowrap 3 | " Emmet 4 | " imap hh , 5 | 6 | function! Firefox_open() 7 | let s:html_file = expand('%:p') 8 | exe "silent !firefox " . s:html_file 9 | exe "silent redraw!" 10 | endfunction 11 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/java.vim: -------------------------------------------------------------------------------- 1 | setlocal makeprg=mvn 2 | setlocal foldlevel=2 3 | setlocal foldlevelstart=1 4 | setlocal foldnestmax=2 5 | nnoremap g :call Getter_and_setter() 6 | compiler mvn 7 | 8 | " nnoremap gjj :up:echo "Type Checking...":Dispatch -compiler=mvn mvn compile 9 | " nnoremap gjk :up:echo "Type Checking...":Dispatch -compiler=mvn mvn test 10 | 11 | function! Getter_and_setter() 12 | exe "norm! f=" 13 | if (getline(".")[col(".")-1] ==? "=") 14 | exe "norm! 0ww\"tyiWW\"vyiW" 15 | else 16 | exe "norm! 0ww\"tyiWW\"vyt;" 17 | endif 18 | 19 | exe "norm! O\j" 20 | exe "norm! 0C\public \\"tpa get\\"vp" 21 | exe "norm! Blll~A()\{\return this.\\"vpa;\" 22 | exe "norm! o}\" 23 | 24 | exe "norm! o\" 25 | exe "norm! 0C\public void set\\"vpBlll~A(\\"tp" 26 | exe "norm! a \\"vpa)\{\this.\\"vpa = \" 27 | exe "norm! \"vpa;\}\j" 28 | endfunction 29 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/javascript.vim: -------------------------------------------------------------------------------- 1 | setlocal foldmethod=marker 2 | setlocal foldmarker={,} 3 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/json.vim: -------------------------------------------------------------------------------- 1 | setlocal foldmethod=syntax 2 | setlocal syntax=off 3 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/julius.vim: -------------------------------------------------------------------------------- 1 | setlocal commentstring=//%s 2 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/kotlin.vim: -------------------------------------------------------------------------------- 1 | setlocal makeprg=./gradlew 2 | " compiler gradle 3 | 4 | "{{{ Color 5 | hi! haskellDecl ctermfg=27 6 | hi! haskellDeclKeyword ctermfg=30 7 | hi! haskellIdentifier ctermfg=129 8 | hi! haskellOperators ctermfg=black 9 | hi! haskellType ctermfg=32 10 | hi! def link haskellPragma Comment 11 | hi! haskellNumber ctermfg=166 12 | hi! haskellImportKeywords ctermfg=136 13 | "}}} 14 | 15 | "{{{ Mappings 16 | " General 17 | nnoremap g= :%!ktlint -a -F --stdin 2> /dev/null 18 | nnoremap gjj :up:Dispatch make build 19 | nnoremap gjb :up:Dispatch make run-device 20 | 21 | " Arrows 22 | inoremap ;; -> 23 | inoremap ;: => 24 | inoremap :; <- 25 | "}}} 26 | 27 | " vim:fdm=marker 28 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/mail.vim: -------------------------------------------------------------------------------- 1 | setlocal spell 2 | setlocal spelllang=en 3 | setlocal fo+=tcql 4 | setlocal comments+=n:> 5 | 6 | nnoremap 1z= 7 | nnoremap :call Next_field(0) 8 | nnoremap [Z :call Next_field(1) 9 | 10 | let s:field = 0 11 | function! Next_field(reverse) 12 | if a:reverse == 0 13 | if s:field < 5 14 | let s:field = s:field + 1 15 | else 16 | let s:field = 0 17 | endif 18 | else 19 | if s:field > 0 20 | let s:field = s:field - 1 21 | else 22 | let s:field = 5 23 | endif 24 | endif 25 | 26 | if s:field == 0 27 | silent exe "keepjumps /^To:/ | :noh | :norm $" 28 | elseif s:field == 1 29 | silent exe "keepjumps /^Cc:/ | :noh | :norm $" 30 | elseif s:field == 2 31 | silent exe "keepjumps /^Bcc:/ | :noh | :norm $" 32 | elseif s:field == 3 33 | silent exe "keepjumps /^Subject:/ | :noh | :norm $" 34 | elseif s:field == 4 35 | silent exe "keepjumps /^Reply-To:/ | :noh | :norm $" 36 | elseif s:field == 5 37 | silent exe "keepjumps /^Reply-To:/ | :noh | :norm j" 38 | endif 39 | 40 | endfunction 41 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/man.vim: -------------------------------------------------------------------------------- 1 | " This is getting sources everywhere!! 2 | " nnoremap [s :call Man_section(1) 3 | " nnoremap ]s :call Man_section(0) 4 | " nnoremap [[ :call Man_reference(1) 5 | " nnoremap ]] :call Man_reference(0) 6 | " nnoremap d 7 | " nnoremap u 8 | " nnoremap f 9 | " nnoremap b 10 | " nnoremap e 11 | " nnoremap y 12 | " nnoremap q :q 13 | 14 | function! Man_section(reverse) 15 | call search('\v\n\u+', a:reverse ? 'bW' : 'W') 16 | exe "norm! zt" 17 | endfunction 18 | 19 | function! Man_reference(reverse) 20 | call search('\C[a-z0-9]\+(\d)', a:reverse ? 'bW' : 'W') 21 | endfunction 22 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/markdown.vim: -------------------------------------------------------------------------------- 1 | setlocal spell 2 | setlocal spelllang=en 3 | setlocal commentstring= 4 | nnoremap gh :call Md_create_header(1) 5 | nnoremap gH :call Md_create_header(0) 6 | nnoremap gD :call Md_create_spanish_date_header() 7 | nnoremap gJ :call Md_create_journal_template() 8 | nnoremap ]] :call Next_header(0) 9 | nnoremap [[ :call Next_header(1) 10 | nnoremap gO :call PDF_open() 11 | 12 | function! PDF_open() 13 | let s:md_file = expand('%:p:r') 14 | exe "silent !zathura " . s:md_file . ".pdf" 15 | exe "silent redraw!" 16 | endfunction 17 | 18 | function! Next_header(invert) 19 | if a:invert == 0 20 | exe "norm! /\\v^[#-]+\\" 21 | else 22 | exe "norm! ?\\v^[#-]+\\" 23 | endif 24 | exe "norm! ztkj" 25 | endfunction 26 | 27 | function! Md_create_header(header) 28 | if a:header 29 | exe "norm! 0" 30 | if (getline(".")[col(".")-1] ==? "#") 31 | exe "norm! I#\" 32 | else 33 | exe "norm! I# \" 34 | endif 35 | else 36 | exe "norm! 0" 37 | if (getline(".")[col(".")] ==? " ") 38 | exe "norm! 2x" 39 | elseif (getline(".")[col(".")-1] ==? "#") 40 | exe "norm! x" 41 | endif 42 | endif 43 | endfunction 44 | 45 | function! Md_create_date_header() 46 | exe 'r!date "+\%A, \%B \%d"' 47 | exe "norm! I# \$" 48 | endfunction 49 | 50 | function! Md_create_spanish_date_header() 51 | exe 'r!LANG=es_EC.UTF8 date "+\%A, \%B \%d"' 52 | exe "norm! I# \W~W~$" 53 | endfunction 54 | 55 | function! Md_create_journal_template() 56 | exe "norm! o" 57 | call Md_create_spanish_date_header() 58 | exe "norm! o" 59 | exe "r $HOME/.sec/journal_template_1" 60 | exe "norm! $" 61 | endfunction 62 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/octave.vim: -------------------------------------------------------------------------------- 1 | setlocal commentstring=#\ %s 2 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/pager.vim: -------------------------------------------------------------------------------- 1 | setlocal noma 2 | setlocal nospell 3 | nnoremap q :q 4 | nnoremap d 5 | nnoremap u 6 | nnoremap f 7 | nnoremap b 8 | nnoremap e 9 | nnoremap y 10 | nnoremap j 11 | nnoremap k 12 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/php.vim: -------------------------------------------------------------------------------- 1 | setlocal foldmethod=marker 2 | setlocal foldmarker={,} 3 | inoremap :: :call Php_make_var(1) 4 | inoremap ;; :call Php_make_var(0) 5 | 6 | " Laravel 7 | cnoreabbrev gm !php artisan generate:model 8 | cnoreabbrev gc !php artisan generate:controller 9 | cnoreabbrev gt !php artisan generate:test 10 | cnoreabbrev gmig !php artisan generate:migration 11 | 12 | " Emmet 13 | imap hh , 14 | 15 | function! Php_make_var(static) 16 | if a:static 17 | exe "norm! mzBi$\`zla:: " 18 | exe "startinsert!" 19 | else 20 | exe "norm! mzBi$\`zla-> " 21 | exe "startinsert!" 22 | endif 23 | endfunction 24 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/po.vim: -------------------------------------------------------------------------------- 1 | setlocal tw=76 2 | nnoremap gs :call Toggle_str() 3 | nnoremap ]] :call Next_msgstr(0) 4 | nnoremap [[ :call Next_msgstr(1) 5 | nnoremap ]a :call Next_a_tag(0) 6 | nnoremap [a :call Next_a_tag(1) 7 | nnoremap 1z= 8 | 9 | function! Next_msgstr(invert) 10 | if a:invert == 0 11 | exe "norm! /\\v^msgstr\\" 12 | else 13 | exe "norm! ?\\v^msgstr\\" 14 | endif 15 | exe "norm! zz" 16 | endfunction 17 | 18 | function! Toggle_str() 19 | let save_fo = &fo 20 | set fo-=t 21 | 22 | exe "norm! ?\\v^msgstr.+$\\n[[:print:]]\jV}ko\^" 23 | 24 | let cur_char = getline(".")[col(".")-1] 25 | if cur_char ==? "\"" 26 | exe "norm! gv\" 27 | exe "'<,'>norm! ^x$x" 28 | exe "'<,'>s/\\s\\+$//e" 29 | else 30 | exe "norm! gv\" 31 | exe "'<,'>norm! I\"\" 32 | exe "'<,'>norm! A \"\" 33 | exe "norm! jA\"\" 34 | endif 35 | 36 | let &fo = save_fo 37 | endfunction 38 | 39 | function! To_txt() 40 | exe "g/^\"/norm x" 41 | exe "g/\"$/norm $x" 42 | exe "call RemoveTrailingSpaces()" 43 | exe "g/^#/norm dd" 44 | exe "g/^msgid \"$/norm cc\r" 45 | exe "g/^msgstr \"$/norm cc\" 46 | exe "%s/^msgid \"/\r/" 47 | exe "%s/^msgstr \"/\r/" 48 | exe "norm ggO\72i-\" 49 | exe "norm Go\72i-\" 50 | endfunction 51 | 52 | function! Next_a_tag(invert) 53 | if a:invert == 0 54 | exe "norm! /\\v\\v" 55 | exe "norm! /\\v\\\f\>" 56 | else 57 | exe "norm! ?\\v\\v" 58 | exe "norm! /\\v\\\f\>o" 59 | endif 60 | endfunction 61 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/purescript.vim: -------------------------------------------------------------------------------- 1 | setlocal makeprg=pulp 2 | compiler ghc 3 | setlocal omnifunc=necoghc#omnifunc 4 | let g:fzf_tags_command = 'hasktags -c -x -R .' 5 | 6 | " General 7 | onoremap ia :silent execute "normal! ?->\r:nohlsearch\rwvf-ge" 8 | onoremap aa :silent execute "normal! ?->\r:nohlsearch\rhvEf-ge" 9 | nnoremap ]] :call JumpHaskellFunction(0) 10 | nnoremap [[ :call JumpHaskellFunction(1) 11 | nnoremap gjj :up :echo "Building..." :exec "AsyncRun " . &makeprg . " build" 12 | nnoremap gjk :up :echo "Testing..." :exec "AsyncRun " . &makeprg . " test" 13 | nnoremap gI :silent exec "keepjumps normal! gg /import \rh":noh 14 | nnoremap ght :!hasktags -c -x -R . 15 | nmap g :call Sort_imports() 16 | nmap gg :call RunPsci(1) 17 | nmap gs :call RunPsci(0) 18 | 19 | " Arrows 20 | inoremap ;; :call Make_arrow(1) 21 | inoremap ;: :call Make_arrow(0) 22 | 23 | function! RunPsci(type) 24 | call VimuxRunCommand(" pulp psci && exit") 25 | if a:type 26 | call VimuxSendText(":l " . bufname("%")) 27 | call VimuxSendKeys("Enter") 28 | endif 29 | endfunction 30 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/qf.vim: -------------------------------------------------------------------------------- 1 | nnoremap 2 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/rust.vim: -------------------------------------------------------------------------------- 1 | setlocal makeprg=cargo 2 | compiler cargo 3 | setlocal equalprg=rustfmt 4 | 5 | "{{{ Mappings 6 | nnoremap g= :call RustFormat() 7 | nnoremap gjj :up:echo "Type Checking...":Dispatch -compiler=cargo cargo check 8 | nnoremap gjJ :up:echo "Building...":Dispatch -compiler=cargo cargo build 9 | inoremap ;: :call Make_arrow(0) 10 | inoremap ;; :call Make_arrow(1) 11 | "}}} 12 | 13 | function! RustFormat() 14 | let l:winview = winsaveview() 15 | silent! exe "keepjumps call RemoveTrailingSpaces()" 16 | exe "Rustfmt" 17 | call winrestview(l:winview) 18 | endfunction 19 | 20 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/sass.vim: -------------------------------------------------------------------------------- 1 | set expandtab 2 | set smarttab 3 | set shiftwidth=4 4 | set tabstop=4 5 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/sh.vim: -------------------------------------------------------------------------------- 1 | setlocal foldmethod=marker 2 | setlocal foldmarker={,} 3 | nnoremap g= :call Format():%!shfmt 4 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/tex.vim: -------------------------------------------------------------------------------- 1 | nnoremap 1z= 2 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/vim.vim: -------------------------------------------------------------------------------- 1 | setlocal foldmethod=indent 2 | setlocal keywordprg=:h 3 | setlocal makeprg=rake 4 | nnoremap gk :up :! rake test 5 | " Avoid CR mappings in .vim files 6 | nnoremap 7 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/xml.vim: -------------------------------------------------------------------------------- 1 | setlocal foldmethod=syntax 2 | setlocal syntax=off 3 | -------------------------------------------------------------------------------- /vim/.vim/ftplugin/xquery.vim: -------------------------------------------------------------------------------- 1 | set commentstring=(:%s:) 2 | -------------------------------------------------------------------------------- /vim/.vim/syntax/c.vim: -------------------------------------------------------------------------------- 1 | let b:current_syntax = 1 2 | 3 | syntax match cFunction "\v\c\zs^[^ ][[:alnum:] <>,_]*\ze\(" 4 | syntax match string '".*"' contains=@Spell 5 | syntax match commentLine "//.*$" contains=@Spell,note 6 | syntax match note "\v\c<(todo|fixme)>[:]*" 7 | syntax region commentBlock start="/\*" end="\*/" contains=@Spell,note 8 | hi! cFunction ctermfg=0 9 | " hi! javaAccess ctermfg=3 10 | hi! note cterm=bold ctermfg=13 11 | " hi! rsString ctermfg=0 12 | hi! commentLine ctermfg=gray 13 | hi! link commentBlock commentLine 14 | -------------------------------------------------------------------------------- /vim/.vim/syntax/cabal.vim: -------------------------------------------------------------------------------- 1 | let b:current_syntax = 1 2 | 3 | syntax match cabalImportant "\C\(name:\|executable\|source-repository\|library\|test-suite\|common\)\s\+\zs[[:alnum:]-]*\ze" 4 | 5 | hi! cabalImportant cterm=bold ctermfg=11 6 | -------------------------------------------------------------------------------- /vim/.vim/syntax/dart.vim: -------------------------------------------------------------------------------- 1 | let b:current_syntax = 1 2 | 3 | syntax match function "\v\c\W\zs[[:alnum:]]*\ze\(" 4 | syntax match commentLine "//.*$" contains=@Spell,kotlinNote 5 | syntax match note "\v\c<(todo|fixme)>[:]*" 6 | hi! function ctermfg=0 7 | hi! note cterm=bold ctermfg=13 8 | hi! commentLine ctermfg=gray 9 | -------------------------------------------------------------------------------- /vim/.vim/syntax/haskell.vim: -------------------------------------------------------------------------------- 1 | let b:current_syntax = 1 2 | 3 | syntax match hsData "\v\C^<(data|type|newtype|class|instance)>" 4 | syntax match hsTypeDecs "\v\zs\w+\ze\s*::" 5 | syntax match hsType "\v\H\zs\u\w+\ze" 6 | syntax match hsNote "\v\c<(todo|fixme)>[:]*" 7 | syntax match hsComment "--.*$" contains=@Spell,hsNote 8 | syntax match hsPragma "^{.*}$" 9 | syntax match hsImport "\v\zsimport\s[A-Za-z0-9.]+\ze" 10 | syntax match hsUndefined "\Cundefined" 11 | syntax match hsError "\Cerror " 12 | 13 | hi! hsTypeDecs cterm=bold 14 | hi! link hsType Normal 15 | hi! hsNote cterm=bold ctermfg=13 16 | hi! hsComment ctermfg=gray 17 | hi! hsUndefined ctermfg=1 18 | hi! hsError ctermfg=1 19 | 20 | hi! link hsString Normal 21 | hi! link hsData Normal 22 | hi! link hsPragma Normal 23 | hi! link hsImport Normal 24 | -------------------------------------------------------------------------------- /vim/.vim/syntax/java.vim: -------------------------------------------------------------------------------- 1 | let b:current_syntax = 1 2 | 3 | syntax match javaMethod "\v\c(private|public|protected)\zs[[:alnum:] <>,]*\ze\(" 4 | " syntax match javaAccess "\v\c<(private|public|protected)>" 5 | syntax match javaString '".*"' contains=@Spell 6 | syntax match javaCommentLine "//.*$" contains=@Spell,javaNote 7 | syntax match javaNote "\v\c<(todo|fixme)>[:]*" 8 | syntax region javaCommentBlock start="/\*" end="\*/" contains=@Spell,javaNote 9 | hi! javaMethod cterm=bold 10 | " hi! javaAccess ctermfg=3 11 | hi! javaNote cterm=bold ctermfg=13 12 | " hi! rsString ctermfg=0 13 | hi! javaCommentLine ctermfg=gray 14 | hi! link javaCommentBlock javaCommentLine 15 | -------------------------------------------------------------------------------- /vim/.vim/syntax/javascript.vim: -------------------------------------------------------------------------------- 1 | let b:current_syntax = 1 2 | 3 | syntax match function "\v\cfunction +\zs[._[:alnum:]]*\ze\(" 4 | syntax match javaString '".*"' contains=@Spell 5 | syntax match commentLine "//.*$" contains=@Spell,note 6 | syntax match note "\v\c<(todo|fixme)>[:]*" 7 | syntax region commentBlock start="/\*" end="\*/" contains=@Spell,note 8 | hi! function cterm=bold 9 | hi! note cterm=bold ctermfg=13 10 | " hi! rsString ctermfg=0 11 | hi! commentLine ctermfg=gray 12 | hi! link commentBlock commentLine 13 | -------------------------------------------------------------------------------- /vim/.vim/syntax/julius.vim: -------------------------------------------------------------------------------- 1 | let b:current_syntax = 1 2 | 3 | syntax match commentLine "//.*$" contains=@Spell,kotlinNote 4 | hi! commentLine ctermfg=gray 5 | -------------------------------------------------------------------------------- /vim/.vim/syntax/kotlin.vim: -------------------------------------------------------------------------------- 1 | let b:current_syntax = 1 2 | 3 | syntax match kotlinMethod "\v\cfun +\zs[.[:alnum:]]*\ze\(" 4 | syntax match kotlinString '".*"' contains=@Spell 5 | syntax match kotlinCommentLine "//.*$" contains=@Spell,kotlinNote 6 | syntax match kotlinNote "\v\c<(todo|fixme)>[:]*" 7 | syntax region kotlinCommentBlock start="/\*" end="\*/" contains=@Spell,javaNote 8 | hi! kotlinMethod cterm=bold 9 | hi! kotlinNote cterm=bold ctermfg=13 10 | " hi! kotlinString ctermfg=0 11 | hi! kotlinCommentLine ctermfg=gray 12 | hi! link kotlinCommentBlock kotlinCommentLine 13 | -------------------------------------------------------------------------------- /vim/.vim/syntax/mail.vim: -------------------------------------------------------------------------------- 1 | let b:current_syntax = 1 2 | 3 | syntax match mailTo "\C^To:.*$" 4 | syntax match mailSubject "\C^Subject:.*$" 5 | hi! mailTo cterm=bold 6 | hi! mailSubject cterm=bold 7 | -------------------------------------------------------------------------------- /vim/.vim/syntax/man.vim: -------------------------------------------------------------------------------- 1 | let b:current_syntax = 1 2 | 3 | hi! manSectionHeading cterm=bold 4 | hi! manSubHeading ctermfg=3 5 | -------------------------------------------------------------------------------- /vim/.vim/syntax/markdown.vim: -------------------------------------------------------------------------------- 1 | let b:current_syntax = 1 2 | 3 | syntax match header "\v[#]{1,}.*$" contains=@Spell 4 | syntax match commentLine "\v\" contains=@Spell,xmlNote 7 | hi! xmlTag ctermfg=0 8 | hi! xmlNote cterm=bold ctermfg=13 9 | " hi! xmlString ctermfg=0 10 | hi! xmlCommentBlock ctermfg=gray 11 | -------------------------------------------------------------------------------- /vim/.vim/syntax/yesod.vim: -------------------------------------------------------------------------------- 1 | let b:current_syntax = 1 2 | 3 | syntax match yesodModel "\v^\u\w+$" 4 | 5 | hi! yesodModel cterm=bold ctermfg=11 6 | -------------------------------------------------------------------------------- /vimfx/.vimfx/config.js: -------------------------------------------------------------------------------- 1 | vimfx.addCommand({ 2 | name: 'zoom_in', 3 | description: 'Zoom in', 4 | }, ({vim}) => { 5 | vim.window.FullZoom.enlarge() 6 | }) 7 | 8 | vimfx.addCommand({ 9 | name: 'zoom_out', 10 | description: 'Zoom out', 11 | }, ({vim}) => { 12 | vim.window.FullZoom.reduce() 13 | }) 14 | 15 | vimfx.addCommand({ 16 | name: 'zoom_reset', 17 | description: 'Zoom reset', 18 | }, ({vim}) => { 19 | vim.window.FullZoom.reset() 20 | }) 21 | 22 | vimfx.set('custom.mode.normal.zoom_in', '=') 23 | vimfx.set('custom.mode.normal.zoom_out', '-') 24 | vimfx.set('custom.mode.normal.zoom_reset', '0 ar aR') 25 | 26 | vimfx.set('mode.normal.scroll_down', 'j e J') 27 | vimfx.set('mode.normal.scroll_up', 'k K') 28 | vimfx.set('mode.normal.scroll_left', ' H') 29 | vimfx.set('mode.normal.scroll_right', ' L') 30 | vimfx.set('mode.normal.scroll_half_page_down', 'd ') 31 | vimfx.set('mode.normal.scroll_half_page_up', 'u ') 32 | vimfx.set('mode.normal.scroll_page_down', '') 33 | vimfx.set('mode.normal.scroll_page_up', 'b ') 34 | 35 | vimfx.set('mode.normal.tab_select_next', 'gt l') 36 | vimfx.set('mode.normal.tab_select_previous', 'gT h') 37 | vimfx.set('mode.normal.tab_move_forward', 'gL') 38 | vimfx.set('mode.normal.tab_move_backward', 'gH') 39 | vimfx.set('mode.normal.history_forward', ' ') 40 | vimfx.set('mode.normal.history_back', ' ') 41 | vimfx.set('mode.normal.window_new', '') 42 | 43 | vimfx.set('prevent_autofocus', true) 44 | 45 | vimfx.set('mode.normal.scroll_to_mark', '` \'') 46 | 47 | vimfx.set('mode.normal.history_list', '') 48 | vimfx.set('mode.normal.tab_select_oldest_unvisited', '') 49 | -------------------------------------------------------------------------------- /vimfx/.vimfx/frame.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alx741/dotfiles/283292359099ca1ddfa539cf17a018eb73ed98ef/vimfx/.vimfx/frame.js -------------------------------------------------------------------------------- /vimperator/.vimperatorrc: -------------------------------------------------------------------------------- 1 | nnoremap h gT 2 | nnoremap l gt 3 | nnoremap x d 4 | nnoremap X u 5 | nnoremap gl 6 | nnoremap d 7 | nnoremap u 8 | nnoremap b 9 | nnoremap e 10 | nnoremap 11 | nnoremap 12 | nnoremap H h 13 | nnoremap L l 14 | nnoremap gH :tabmove -1 15 | nnoremap gL :tabmove +1 16 | nnoremap + :zoom! +10 17 | nnoremap = :zoom! +10 18 | nnoremap \- :zoom! -10 19 | nnoremap gh :set gui="invtabs,invnavigation" 20 | nnoremap zz 21 | 22 | " NOP 23 | nnoremap 24 | nnoremap 25 | 26 | highlight Hint font-size: 100%;color:black;background-color: #f9dda7;padding: 2px; 27 | highlight HintElem background-color: transparent; 28 | 29 | set noautocomplete 30 | set hintchars=asdfghjkl 31 | set defsearch="duckduckgo" 32 | set nosb 33 | set fc 34 | set scroll=5 35 | set passthrough 36 | set statuslinevisibility=visible 37 | source! /home/alx/.vimperatorrc.local 38 | 39 | " vim: set ft=vimperator: 40 | -------------------------------------------------------------------------------- /weechat/.weechat/alias.conf: -------------------------------------------------------------------------------- 1 | # 2 | # weechat -- alias.conf 3 | # 4 | # WARNING: It is NOT recommended to edit this file by hand, 5 | # especially if WeeChat is running. 6 | # 7 | # Use commands like /set or /fset to change settings in WeeChat. 8 | # 9 | # For more info, see: https://weechat.org/doc/quickstart 10 | # 11 | 12 | [cmd] 13 | AAWAY = "allserv /away" 14 | AME = "allchan /me" 15 | AMSG = "allchan /msg *" 16 | ANICK = "allserv /nick" 17 | BYE = "quit" 18 | C = "buffer clear" 19 | CHAT = "dcc chat" 20 | CL = "buffer clear" 21 | CLOSE = "buffer close" 22 | EXIT = "quit" 23 | IG = "ignore" 24 | J = "join" 25 | K = "kick" 26 | KB = "kickban" 27 | LEAVE = "part" 28 | M = "msg" 29 | MUB = "unban *" 30 | N = "names" 31 | Q = "query" 32 | REDRAW = "window refresh" 33 | SAY = "msg *" 34 | SIGNOFF = "quit" 35 | T = "topic" 36 | UB = "unban" 37 | UMODE = "mode $nick" 38 | V = "command core version" 39 | W = "who" 40 | WC = "window merge" 41 | WI = "whois" 42 | WII = "whois $1 $1" 43 | WW = "whowas" 44 | 45 | [completion] 46 | -------------------------------------------------------------------------------- /weechat/.weechat/aspell.conf: -------------------------------------------------------------------------------- 1 | # 2 | # weechat -- aspell.conf 3 | # 4 | # WARNING: It is NOT recommended to edit this file by hand, 5 | # especially if WeeChat is running. 6 | # 7 | # Use /set or similar command to change settings in WeeChat. 8 | # 9 | # For more info, see: https://weechat.org/doc/quickstart 10 | # 11 | 12 | [color] 13 | misspelled = lightred 14 | suggestion = default 15 | suggestion_delimiter_dict = cyan 16 | suggestion_delimiter_word = cyan 17 | 18 | [check] 19 | commands = "ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic" 20 | default_dict = "en" 21 | during_search = off 22 | enabled = on 23 | real_time = on 24 | suggestions = 3 25 | word_min_length = 2 26 | 27 | [dict] 28 | 29 | [look] 30 | suggestion_delimiter_dict = " / " 31 | suggestion_delimiter_word = "," 32 | 33 | [option] 34 | -------------------------------------------------------------------------------- /weechat/.weechat/buffers.conf: -------------------------------------------------------------------------------- 1 | # 2 | # weechat -- buffers.conf 3 | # 4 | # WARNING: It is NOT recommended to edit this file by hand, 5 | # especially if WeeChat is running. 6 | # 7 | # Use commands like /set or /fset to change settings in WeeChat. 8 | # 9 | # For more info, see: https://weechat.org/doc/quickstart 10 | # 11 | 12 | [color] 13 | current_bg = lightblue 14 | current_fg = white 15 | default_bg = default 16 | default_fg = default 17 | hotlist_highlight_bg = default 18 | hotlist_highlight_fg = magenta 19 | hotlist_low_bg = default 20 | hotlist_low_fg = blue 21 | hotlist_message_bg = default 22 | hotlist_message_fg = yellow 23 | hotlist_private_bg = default 24 | hotlist_private_fg = lightgreen 25 | none_channel_bg = default 26 | none_channel_fg = default 27 | number = lightgreen 28 | number_char = lightgreen 29 | prefix_bufname = default 30 | queries_default_bg = default 31 | queries_default_fg = default 32 | queries_highlight_bg = default 33 | queries_highlight_fg = default 34 | queries_message_bg = default 35 | queries_message_fg = default 36 | suffix_bufname = default 37 | whitelist_default_bg = default 38 | whitelist_default_fg = default 39 | whitelist_highlight_bg = default 40 | whitelist_highlight_fg = default 41 | whitelist_low_bg = default 42 | whitelist_low_fg = default 43 | whitelist_message_bg = default 44 | whitelist_message_fg = default 45 | whitelist_private_bg = default 46 | whitelist_private_fg = default 47 | 48 | [look] 49 | core_to_front = off 50 | detach = 0 51 | detach_buffer_immediately = "" 52 | detach_buffer_immediately_level = 2 53 | detach_display_window_number = off 54 | detach_displayed_buffers = on 55 | detach_free_content = off 56 | detach_query = off 57 | hide_merged_buffers = server 58 | hotlist_counter = off 59 | immune_detach_buffers = "" 60 | indenting = off 61 | indenting_amount = 2 62 | indenting_number = on 63 | jump_prev_next_visited_buffer = off 64 | mark_inactive = off 65 | mouse_move_buffer = on 66 | mouse_wheel = on 67 | name_crop_suffix = "+" 68 | name_size_max = 0 69 | number_char = "." 70 | prefix = off 71 | prefix_bufname = "" 72 | prefix_empty = on 73 | prefix_for_query = "" 74 | short_names = on 75 | show_lag = off 76 | show_number = off 77 | sort = number 78 | suffix_bufname = "" 79 | toggle_bar = on 80 | whitelist_buffers = "" 81 | -------------------------------------------------------------------------------- /weechat/.weechat/buflist.conf: -------------------------------------------------------------------------------- 1 | # 2 | # weechat -- buflist.conf 3 | # 4 | # WARNING: It is NOT recommended to edit this file by hand, 5 | # especially if WeeChat is running. 6 | # 7 | # Use commands like /set or /fset to change settings in WeeChat. 8 | # 9 | # For more info, see: https://weechat.org/doc/quickstart 10 | # 11 | 12 | [look] 13 | add_newline = on 14 | auto_scroll = 50 15 | display_conditions = "${buffer.hidden}==0" 16 | enabled = off 17 | mouse_jump_visited_buffer = off 18 | mouse_move_buffer = on 19 | mouse_wheel = on 20 | nick_prefix = off 21 | nick_prefix_empty = on 22 | signals_refresh = "" 23 | sort = "number,-active" 24 | use_items = 1 25 | 26 | [format] 27 | buffer = "${format_number}${indent}${format_nick_prefix}${color_hotlist}${name}" 28 | buffer_current = "${color:,blue}${format_buffer}" 29 | hotlist = " ${color:green}(${hotlist}${color:green})" 30 | hotlist_highlight = "${color:magenta}" 31 | hotlist_low = "${color:white}" 32 | hotlist_message = "${color:brown}" 33 | hotlist_none = "${color:default}" 34 | hotlist_private = "${color:green}" 35 | hotlist_separator = "${color:default}," 36 | indent = " " 37 | lag = " ${color:green}[${color:brown}${lag}${color:green}]" 38 | name = "${name}" 39 | nick_prefix = "${color_nick_prefix}${nick_prefix}" 40 | number = "${color:green}${number}${if:${number_displayed}?.: }" 41 | tls_version = " ${color:default}(${if:${tls_version}==TLS1.3?${color:green}:${if:${tls_version}==TLS1.2?${color:yellow}:${color:red}}}${translate:${tls_version}}${color:default})" 42 | -------------------------------------------------------------------------------- /weechat/.weechat/charset.conf: -------------------------------------------------------------------------------- 1 | # 2 | # weechat -- charset.conf 3 | # 4 | # WARNING: It is NOT recommended to edit this file by hand, 5 | # especially if WeeChat is running. 6 | # 7 | # Use commands like /set or /fset to change settings in WeeChat. 8 | # 9 | # For more info, see: https://weechat.org/doc/quickstart 10 | # 11 | 12 | [default] 13 | decode = "iso-8859-1" 14 | encode = "" 15 | 16 | [decode] 17 | 18 | [encode] 19 | -------------------------------------------------------------------------------- /weechat/.weechat/exec.conf: -------------------------------------------------------------------------------- 1 | # 2 | # weechat -- exec.conf 3 | # 4 | # WARNING: It is NOT recommended to edit this file by hand, 5 | # especially if WeeChat is running. 6 | # 7 | # Use commands like /set or /fset to change settings in WeeChat. 8 | # 9 | # For more info, see: https://weechat.org/doc/quickstart 10 | # 11 | 12 | [command] 13 | default_options = "" 14 | purge_delay = 0 15 | shell = "sh" 16 | 17 | [color] 18 | flag_finished = lightred 19 | flag_running = lightgreen 20 | -------------------------------------------------------------------------------- /weechat/.weechat/fifo.conf: -------------------------------------------------------------------------------- 1 | # 2 | # weechat -- fifo.conf 3 | # 4 | # WARNING: It is NOT recommended to edit this file by hand, 5 | # especially if WeeChat is running. 6 | # 7 | # Use commands like /set or /fset to change settings in WeeChat. 8 | # 9 | # For more info, see: https://weechat.org/doc/quickstart 10 | # 11 | 12 | [file] 13 | enabled = on 14 | path = "%h/weechat_fifo" 15 | -------------------------------------------------------------------------------- /weechat/.weechat/guile.conf: -------------------------------------------------------------------------------- 1 | # 2 | # weechat -- guile.conf 3 | # 4 | # WARNING: It is NOT recommended to edit this file by hand, 5 | # especially if WeeChat is running. 6 | # 7 | # Use commands like /set or /fset to change settings in WeeChat. 8 | # 9 | # For more info, see: https://weechat.org/doc/quickstart 10 | # 11 | 12 | [look] 13 | check_license = off 14 | eval_keep_context = on 15 | -------------------------------------------------------------------------------- /weechat/.weechat/iset.conf: -------------------------------------------------------------------------------- 1 | # 2 | # weechat -- iset.conf 3 | # 4 | # WARNING: It is NOT recommended to edit this file by hand, 5 | # especially if WeeChat is running. 6 | # 7 | # Use /set or similar command to change settings in WeeChat. 8 | # 9 | # For more info, see: https://weechat.org/doc/quickstart 10 | # 11 | 12 | [color] 13 | bg_selected = red 14 | help_default_value = green 15 | help_option_name = white 16 | help_text = default 17 | option = default 18 | option_selected = white 19 | type = brown 20 | type_selected = yellow 21 | value = cyan 22 | value_diff = magenta 23 | value_diff_selected = lightmagenta 24 | value_selected = lightcyan 25 | value_undef = green 26 | value_undef_selected = lightgreen 27 | 28 | [help] 29 | show_help_bar = on 30 | show_help_extra_info = on 31 | show_plugin_description = off 32 | 33 | [look] 34 | scroll_horiz = 10 35 | show_current_line = on 36 | use_color = off 37 | use_mute = off 38 | value_search_char = "=" 39 | -------------------------------------------------------------------------------- /weechat/.weechat/logger.conf: -------------------------------------------------------------------------------- 1 | # 2 | # weechat -- logger.conf 3 | # 4 | # WARNING: It is NOT recommended to edit this file by hand, 5 | # especially if WeeChat is running. 6 | # 7 | # Use commands like /set or /fset to change settings in WeeChat. 8 | # 9 | # For more info, see: https://weechat.org/doc/quickstart 10 | # 11 | 12 | [look] 13 | backlog = 20 14 | backlog_conditions = "" 15 | 16 | [color] 17 | backlog_end = darkgray 18 | backlog_line = darkgray 19 | 20 | [file] 21 | auto_log = on 22 | color_lines = off 23 | flush_delay = 120 24 | fsync = off 25 | info_lines = off 26 | mask = "$plugin.$name.weechatlog" 27 | name_lower_case = on 28 | nick_prefix = "" 29 | nick_suffix = "" 30 | path = "%h/logs/" 31 | replacement_char = "_" 32 | time_format = "%Y-%m-%d %H:%M:%S" 33 | 34 | [level] 35 | irc = 3 36 | 37 | [mask] 38 | -------------------------------------------------------------------------------- /weechat/.weechat/lua.conf: -------------------------------------------------------------------------------- 1 | # 2 | # weechat -- lua.conf 3 | # 4 | # WARNING: It is NOT recommended to edit this file by hand, 5 | # especially if WeeChat is running. 6 | # 7 | # Use commands like /set or /fset to change settings in WeeChat. 8 | # 9 | # For more info, see: https://weechat.org/doc/quickstart 10 | # 11 | 12 | [look] 13 | check_license = off 14 | eval_keep_context = on 15 | -------------------------------------------------------------------------------- /weechat/.weechat/perl.conf: -------------------------------------------------------------------------------- 1 | # 2 | # weechat -- perl.conf 3 | # 4 | # WARNING: It is NOT recommended to edit this file by hand, 5 | # especially if WeeChat is running. 6 | # 7 | # Use commands like /set or /fset to change settings in WeeChat. 8 | # 9 | # For more info, see: https://weechat.org/doc/quickstart 10 | # 11 | 12 | [look] 13 | check_license = off 14 | eval_keep_context = on 15 | -------------------------------------------------------------------------------- /weechat/.weechat/python.conf: -------------------------------------------------------------------------------- 1 | # 2 | # weechat -- python.conf 3 | # 4 | # WARNING: It is NOT recommended to edit this file by hand, 5 | # especially if WeeChat is running. 6 | # 7 | # Use commands like /set or /fset to change settings in WeeChat. 8 | # 9 | # For more info, see: https://weechat.org/doc/quickstart 10 | # 11 | 12 | [look] 13 | check_license = off 14 | eval_keep_context = on 15 | -------------------------------------------------------------------------------- /weechat/.weechat/python/autoload/go.py: -------------------------------------------------------------------------------- 1 | ../go.py -------------------------------------------------------------------------------- /weechat/.weechat/python/autoload/urlscan.py: -------------------------------------------------------------------------------- 1 | # This weechat plugin pipes the current weechat buffer through urlscan 2 | # 3 | # Usage: 4 | # /urlscan 5 | # 6 | # History: 7 | # 10-04-2015 8 | # Version 1.0.0: initial release 9 | # Version 1.0.1: reverse text passed to urlscan 10 | # Version 1.0.2: remove weechat color from messages 11 | 12 | import distutils.spawn 13 | import os 14 | import pipes 15 | import weechat 16 | 17 | 18 | def urlscan(data, buf, args): 19 | infolist = weechat.infolist_get("buffer_lines", buf, "") 20 | lines = [] 21 | while weechat.infolist_next(infolist) == 1: 22 | lines.append( 23 | weechat.string_remove_color( 24 | weechat.infolist_string(infolist, "message"), 25 | "" 26 | ) 27 | ) 28 | 29 | weechat.infolist_free(infolist) 30 | 31 | if not lines: 32 | weechat.prnt(buf, "No URLs found") 33 | return weechat.WEECHAT_RC_OK 34 | 35 | if not weechat.config_is_set_plugin("command"): 36 | weechat.config_set_plugin("command", "urlscan") 37 | command = weechat.config_get_plugin("command") 38 | 39 | text = "\n".join(reversed(lines)) 40 | response = os.system("echo %s | %s" % (pipes.quote(text), command)) 41 | if response != 0: 42 | weechat.prnt(buf, "No URLs found") 43 | 44 | weechat.command(buf, "/window refresh") 45 | 46 | return weechat.WEECHAT_RC_OK 47 | 48 | 49 | def main(): 50 | if distutils.spawn.find_executable("urlscan") is None: 51 | return weechat.WEECHAT_RC_ERROR 52 | 53 | if not weechat.register("urlscan", "Daniel Campoverde", "1.0", "MIT", 54 | "Use urlscan on the current buffer", "", ""): 55 | return weechat.WEECHAT_RC_ERROR 56 | 57 | weechat.hook_command("urlscan", "Pass the current buffer to urlscan", "", 58 | "", "", "urlscan", "") 59 | 60 | if __name__ == "__main__": 61 | main() 62 | -------------------------------------------------------------------------------- /weechat/.weechat/relay.conf: -------------------------------------------------------------------------------- 1 | # 2 | # weechat -- relay.conf 3 | # 4 | # WARNING: It is NOT recommended to edit this file by hand, 5 | # especially if WeeChat is running. 6 | # 7 | # Use commands like /set or /fset to change settings in WeeChat. 8 | # 9 | # For more info, see: https://weechat.org/doc/quickstart 10 | # 11 | 12 | [look] 13 | auto_open_buffer = on 14 | raw_messages = 256 15 | 16 | [color] 17 | client = cyan 18 | status_active = lightblue 19 | status_auth_failed = lightred 20 | status_connecting = yellow 21 | status_disconnected = lightred 22 | status_waiting_auth = brown 23 | text = default 24 | text_bg = default 25 | text_selected = white 26 | 27 | [network] 28 | allow_empty_password = off 29 | allowed_ips = "" 30 | auth_timeout = 60 31 | bind_address = "" 32 | clients_purge_delay = 0 33 | compression = 20 34 | ipv6 = on 35 | max_clients = 5 36 | nonce_size = 16 37 | password = "verde" 38 | password_hash_algo = "*" 39 | password_hash_iterations = 100000 40 | ssl_cert_key = "%h/ssl/relay.pem" 41 | ssl_priorities = "NORMAL:-VERS-SSL3.0" 42 | totp_secret = "" 43 | totp_window = 0 44 | websocket_allowed_origins = "" 45 | 46 | [irc] 47 | backlog_max_minutes = 1440 48 | backlog_max_number = 256 49 | backlog_since_last_disconnect = on 50 | backlog_since_last_message = off 51 | backlog_tags = "irc_privmsg" 52 | backlog_time_format = "[%H:%M] " 53 | 54 | [weechat] 55 | commands = "" 56 | 57 | [port] 58 | weechat = 9001 59 | 60 | [path] 61 | -------------------------------------------------------------------------------- /weechat/.weechat/rmodifier.conf: -------------------------------------------------------------------------------- 1 | # 2 | # rmodifier.conf -- weechat v0.4.3 3 | # 4 | 5 | [look] 6 | hide_char = "*" 7 | 8 | [modifier] 9 | nickserv = "history_add,input_text_display;^(/(msg|quote) +nickserv +(id|identify|ghost \S+|release \S+) +)(.*);1,4*" 10 | oper = "history_add,input_text_display;^(/oper +\S+ +)(.*);1,2*" 11 | quote_pass = "history_add,input_text_display;^(/quote pass +)(.*);1,2*" 12 | server = "history_add,input_text_display;^(/(server|connect) .*-(sasl_)?password=)(\S+)(.*);1,4*,5" 13 | set_pass = "history_add;^(/set +\S*password\S* +)(.*);1,2*" 14 | -------------------------------------------------------------------------------- /weechat/.weechat/ruby.conf: -------------------------------------------------------------------------------- 1 | # 2 | # weechat -- ruby.conf 3 | # 4 | # WARNING: It is NOT recommended to edit this file by hand, 5 | # especially if WeeChat is running. 6 | # 7 | # Use commands like /set or /fset to change settings in WeeChat. 8 | # 9 | # For more info, see: https://weechat.org/doc/quickstart 10 | # 11 | 12 | [look] 13 | check_license = off 14 | eval_keep_context = on 15 | -------------------------------------------------------------------------------- /weechat/.weechat/script.conf: -------------------------------------------------------------------------------- 1 | # 2 | # weechat -- script.conf 3 | # 4 | # WARNING: It is NOT recommended to edit this file by hand, 5 | # especially if WeeChat is running. 6 | # 7 | # Use commands like /set or /fset to change settings in WeeChat. 8 | # 9 | # For more info, see: https://weechat.org/doc/quickstart 10 | # 11 | 12 | [look] 13 | columns = "%s %n %V %v %u | %d | %t" 14 | diff_color = on 15 | diff_command = "auto" 16 | display_source = on 17 | quiet_actions = on 18 | sort = "p,n" 19 | translate_description = on 20 | use_keys = on 21 | 22 | [color] 23 | status_autoloaded = cyan 24 | status_held = white 25 | status_installed = lightcyan 26 | status_obsolete = lightmagenta 27 | status_popular = yellow 28 | status_running = lightgreen 29 | status_unknown = lightred 30 | text = default 31 | text_bg = default 32 | text_bg_selected = red 33 | text_date = default 34 | text_date_selected = white 35 | text_delimiters = darkgray 36 | text_description = default 37 | text_description_selected = white 38 | text_extension = default 39 | text_extension_selected = white 40 | text_name = cyan 41 | text_name_selected = lightcyan 42 | text_selected = white 43 | text_tags = brown 44 | text_tags_selected = yellow 45 | text_version = magenta 46 | text_version_loaded = default 47 | text_version_loaded_selected = white 48 | text_version_selected = lightmagenta 49 | 50 | [scripts] 51 | autoload = on 52 | cache_expire = 60 53 | download_enabled = off 54 | download_timeout = 30 55 | hold = "gntp_notify.rb" 56 | path = "%h/script" 57 | url = "http://www.weechat.org/files/plugins.xml.gz" 58 | -------------------------------------------------------------------------------- /weechat/.weechat/script/plugins.xml.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alx741/dotfiles/283292359099ca1ddfa539cf17a018eb73ed98ef/weechat/.weechat/script/plugins.xml.gz -------------------------------------------------------------------------------- /weechat/.weechat/spell.conf: -------------------------------------------------------------------------------- 1 | # 2 | # weechat -- spell.conf 3 | # 4 | # WARNING: It is NOT recommended to edit this file by hand, 5 | # especially if WeeChat is running. 6 | # 7 | # Use commands like /set or /fset to change settings in WeeChat. 8 | # 9 | # For more info, see: https://weechat.org/doc/quickstart 10 | # 11 | 12 | [color] 13 | misspelled = lightred 14 | suggestion = *green 15 | suggestion_delimiter_dict = cyan 16 | suggestion_delimiter_word = cyan 17 | 18 | [check] 19 | commands = "ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic" 20 | default_dict = "en" 21 | during_search = off 22 | enabled = on 23 | real_time = off 24 | suggestions = 3 25 | word_min_length = 2 26 | 27 | [dict] 28 | 29 | [look] 30 | suggestion_delimiter_dict = " / " 31 | suggestion_delimiter_word = "," 32 | 33 | [option] 34 | -------------------------------------------------------------------------------- /weechat/.weechat/tcl.conf: -------------------------------------------------------------------------------- 1 | # 2 | # weechat -- tcl.conf 3 | # 4 | # WARNING: It is NOT recommended to edit this file by hand, 5 | # especially if WeeChat is running. 6 | # 7 | # Use commands like /set or /fset to change settings in WeeChat. 8 | # 9 | # For more info, see: https://weechat.org/doc/quickstart 10 | # 11 | 12 | [look] 13 | check_license = off 14 | eval_keep_context = on 15 | -------------------------------------------------------------------------------- /weechat/.weechat/trigger.conf: -------------------------------------------------------------------------------- 1 | # 2 | # weechat -- trigger.conf 3 | # 4 | # WARNING: It is NOT recommended to edit this file by hand, 5 | # especially if WeeChat is running. 6 | # 7 | # Use commands like /set or /fset to change settings in WeeChat. 8 | # 9 | # For more info, see: https://weechat.org/doc/quickstart 10 | # 11 | 12 | [look] 13 | enabled = on 14 | monitor_strip_colors = off 15 | 16 | [color] 17 | flag_command = lightgreen 18 | flag_conditions = yellow 19 | flag_post_action = lightblue 20 | flag_regex = lightcyan 21 | flag_return_code = lightmagenta 22 | regex = white 23 | replace = cyan 24 | trigger = green 25 | trigger_disabled = red 26 | 27 | [trigger] 28 | beep.arguments = "" 29 | beep.command = "/print -beep" 30 | beep.conditions = "${tg_highlight} || ${tg_msg_pv}" 31 | beep.enabled = on 32 | beep.hook = print 33 | beep.post_action = none 34 | beep.regex = "" 35 | beep.return_code = ok 36 | cmd_pass.arguments = "5000|input_text_display;5000|history_add;5000|irc_command_auth" 37 | cmd_pass.command = "" 38 | cmd_pass.conditions = "" 39 | cmd_pass.enabled = on 40 | cmd_pass.hook = modifier 41 | cmd_pass.post_action = none 42 | cmd_pass.regex = "==^((/(msg|quote) +nickserv +(id|identify|register|ghost +[^ ]+|release +[^ ]+|regain +[^ ]+) +)|/oper +[^ ]+ +|/quote +pass +|/set +[^ ]*password[^ ]* +|/secure +(passphrase|decrypt|set +[^ ]+) +)(.*)==$1$.*+" 43 | cmd_pass.return_code = ok 44 | msg_auth.arguments = "5000|irc_message_auth" 45 | msg_auth.command = "" 46 | msg_auth.conditions = "" 47 | msg_auth.enabled = on 48 | msg_auth.hook = modifier 49 | msg_auth.post_action = none 50 | msg_auth.regex = "==^(.*(id|identify|register|ghost +[^ ]+|release +[^ ]+) +)(.*)==$1$.*+" 51 | msg_auth.return_code = ok 52 | server_pass.arguments = "5000|input_text_display;5000|history_add" 53 | server_pass.command = "" 54 | server_pass.conditions = "" 55 | server_pass.enabled = on 56 | server_pass.hook = modifier 57 | server_pass.post_action = none 58 | server_pass.regex = "==^(/(server|connect) .*-(sasl_)?password=)([^ ]+)(.*)==$1$.*4$5" 59 | server_pass.return_code = ok 60 | -------------------------------------------------------------------------------- /weechat/.weechat/xfer.conf: -------------------------------------------------------------------------------- 1 | # 2 | # weechat -- xfer.conf 3 | # 4 | # WARNING: It is NOT recommended to edit this file by hand, 5 | # especially if WeeChat is running. 6 | # 7 | # Use commands like /set or /fset to change settings in WeeChat. 8 | # 9 | # For more info, see: https://weechat.org/doc/quickstart 10 | # 11 | 12 | [look] 13 | auto_open_buffer = on 14 | progress_bar_size = 20 15 | pv_tags = "notify_private" 16 | 17 | [color] 18 | status_aborted = lightred 19 | status_active = lightblue 20 | status_connecting = yellow 21 | status_done = lightgreen 22 | status_failed = lightred 23 | status_waiting = lightcyan 24 | text = default 25 | text_bg = default 26 | text_selected = green 27 | 28 | [network] 29 | blocksize = 65536 30 | fast_send = on 31 | own_ip = "" 32 | port_range = "" 33 | send_ack = on 34 | speed_limit_recv = 0 35 | speed_limit_send = 0 36 | timeout = 300 37 | 38 | [file] 39 | auto_accept_chats = off 40 | auto_accept_files = off 41 | auto_accept_nicks = "" 42 | auto_check_crc32 = off 43 | auto_rename = on 44 | auto_resume = on 45 | convert_spaces = on 46 | download_path = "%h/xfer" 47 | download_temporary_suffix = ".part" 48 | upload_path = "~" 49 | use_nick_in_filename = on 50 | -------------------------------------------------------------------------------- /x/.xbindkeysrc: -------------------------------------------------------------------------------- 1 | # Increase Volume 2 | "amixer set Master 5%+" 3 | m:0x0 + c:123 4 | XF86AudioRaiseVolume 5 | 6 | # Decrease Volume 7 | "amixer set Master 5%-" 8 | m:0x0 + c:122 9 | XF86AudioLowerVolume 10 | 11 | # Mute 12 | "amixer set Master toggle" 13 | m:0x0 + c:121 14 | XF86AudioMute 15 | 16 | # Play/Pause 17 | "mpc toggle" 18 | m:0x0 + c:172 19 | XF86AudioPlay 20 | 21 | # Next 22 | "mpc next" 23 | m:0x0 + c:171 24 | XF86AudioNext 25 | 26 | # Prev 27 | "mpc prev" 28 | m:0x0 + c:173 29 | XF86AudioPrev 30 | 31 | #Take screenshot 32 | # "scrot" 33 | # m:0x0 + c:107 34 | # Print 35 | -------------------------------------------------------------------------------- /x/.xinitrc: -------------------------------------------------------------------------------- 1 | # Fix Java GUI's 2 | wmname LG3D 3 | 4 | # Load Xresources 5 | xrdb -load .Xresources 6 | 7 | # Setup monitors, sound, network, input, etc. 8 | ./.scripts/setup.sh 9 | 10 | # Window manager 11 | exec ratpoison 12 | 13 | # vim:fdm=marker 14 | -------------------------------------------------------------------------------- /xmodmap/.xmodmap: -------------------------------------------------------------------------------- 1 | ! Control left is mode switch 2 | keycode 37 = NoSymbol NoSymbol 3 | keycode 37 = Mode_switch 4 | 5 | ! Use control left + {hjkl} as cursor arrows 6 | keysym h = h H Left NoSymbol NoSymbol NoSymbol 7 | keysym j = j J Down NoSymbol NoSymbol NoSymbol 8 | keysym k = k K Up NoSymbol NoSymbol NoSymbol 9 | keysym l = l L Right NoSymbol lstroke Lstroke 10 | -------------------------------------------------------------------------------- /xmonad/.xmonad/.gitignore: -------------------------------------------------------------------------------- 1 | *.o 2 | *.hi 3 | *.errors 4 | *.errors 5 | xmonad 6 | xmonad-x* 7 | dist-newstyle 8 | -------------------------------------------------------------------------------- /xmonad/.xmonad/build: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | cabal build 6 | mv $(cabal-plan list-bin xmonad-alx) "$1" 7 | -------------------------------------------------------------------------------- /xmonad/.xmonad/xmonad-alx.cabal: -------------------------------------------------------------------------------- 1 | cabal-version: >=1.10 2 | 3 | name: xmonad-alx 4 | version: 0.1.0.0 5 | author: Daniel Campoverde 6 | maintainer: alx@sillybytes.net 7 | build-type: Simple 8 | 9 | executable xmonad-alx 10 | main-is: xmonad.hs 11 | build-depends: base >=4.12 && <4.13 12 | , xmonad 13 | default-language: Haskell2010 14 | -------------------------------------------------------------------------------- /xmonad/.xmonad/xmonad.hs: -------------------------------------------------------------------------------- 1 | import XMonad 2 | import XMonad.Actions.Submap 3 | import XMonad.StackSet 4 | -- import XMonad.Prompt.Window as P 5 | -- import XMonad.Prompt.XMonad 6 | 7 | import qualified Data.Map.Strict as M 8 | import System.Exit 9 | 10 | main = xmonad def 11 | { terminal = "urxvt" 12 | , modMask = controlMask 13 | , borderWidth = 0 14 | , layoutHook = Full 15 | , keys = myKeys 16 | , startupHook = boot 17 | } 18 | 19 | boot = pure () 20 | -- boot = setLayout XMonad.Layout.Full 21 | 22 | myKeys conf@(XConfig {XMonad.modMask = modm}) = 23 | M.fromList $ 24 | [ -- ((modm, xK_n), spawn "mpc next") -- ROOT level bindings 25 | ((modm, xK_g), submap . M.fromList $ 26 | [ ((0, xK_n), windows focusUp) 27 | , ((0, xK_p), windows focusDown) 28 | , ((0, xK_q), liftIO $ exitWith ExitSuccess) 29 | ]) 30 | ] 31 | 32 | -- , ((0, xK_h), windowPrompt def Goto P.allWindows) 33 | -- , ((0, xK_h), xmonadPrompt def) 34 | 35 | 36 | 37 | -- myKeys conf@(XConfig {XMonad.modMask = modm}) = 38 | -- ((controlMask, xK_g), submap . M.fromList $ 39 | -- [ ((0, xK_n), spawn "mpc next") 40 | -- , ((0, xK_p), spawn "mpc prev") 41 | -- , ((0, xK_z), spawn "mpc random") 42 | -- , ((0, xK_space), spawn "mpc toggle") 43 | -- ]) 44 | 45 | -------------------------------------------------------------------------------- /zathura/.config/zathura/zathurarc: -------------------------------------------------------------------------------- 1 | #{{{ Settings 2 | set adjust-open "width" 3 | set incremental-search true 4 | set page-padding 10 5 | set page-cache-size 50 6 | set guioptions "" 7 | set selection-clipboard clipboard 8 | #}}} 9 | 10 | #{{{ Mappings 11 | unmap d 12 | unmap q 13 | unmap 14 | map q quit 15 | map = zoom in 16 | map - zoom out 17 | map K zoom in 18 | map J zoom out 19 | map i toggle_statusbar 20 | map e scroll down 21 | map y scroll up 22 | map d scroll half-down 23 | map u scroll half-up 24 | map f scroll full-down 25 | map b scroll full-up 26 | unmap 27 | #}}} 28 | 29 | #{{{ Color 30 | set default-fg "#073642" 31 | set default-bg "#FDF6E3" 32 | set completion-bg "#FDF6E3" 33 | set completion-fg "#073642" 34 | set completion-group-bg "#FDF6E3" 35 | set completion-group-fg "#073642" 36 | set completion-highlight-fg "#FDF6E3" 37 | set completion-highlight-bg "#B58900" 38 | set inputbar-bg "#FDF6E3" 39 | set inputbar-fg "#073642" 40 | set notification-bg "#FDF6E3" 41 | set notification-fg "#073642" 42 | set notification-error-bg "#FDF6E3" 43 | set notification-error-fg "#DC322F" 44 | set notification-warning-bg "#FDF6E3" 45 | set notification-warning-fg "#CB4B16" 46 | set index-bg "#FDF6E3" 47 | set index-fg "#073642" 48 | set index-active-fg "#FDF6E3" 49 | set index-active-bg "#B58900" 50 | set statusbar-bg "#FDF6E3" 51 | set statusbar-fg "#073642" 52 | set highlight-color "#B58900" 53 | set highlight-active-color "#268BD2" 54 | #}}} 55 | 56 | 57 | " vim:fdm=marker 58 | --------------------------------------------------------------------------------