From 243312a0ee9f1d5bd9ebef44e2a333c791aff606 Mon Sep 17 00:00:00 2001 From: David Aizenberg Date: Tue, 2 May 2023 16:24:38 +0300 Subject: [PATCH] sync --- README.md | 2 +- {firefox => desktop/firefox}/userChrome.css | 0 {i3 => desktop/i3}/config | 0 i3blocks.conf => desktop/i3blocks.conf | 0 i3lock.service => desktop/i3lock.service | 0 {i3status => desktop/i3status}/config | 0 .../olkb_preonic_rev3.layout.json | 256 ++++++++++++++++++ scripts/{ => archive}/corona.sh | 0 scripts/{ => archive}/erc20balance.sh | 0 setup.sh | 102 +------ 10 files changed, 258 insertions(+), 102 deletions(-) rename {firefox => desktop/firefox}/userChrome.css (100%) rename {i3 => desktop/i3}/config (100%) rename i3blocks.conf => desktop/i3blocks.conf (100%) rename i3lock.service => desktop/i3lock.service (100%) rename {i3status => desktop/i3status}/config (100%) create mode 100644 keyboard/OLKB Preonic/olkb_preonic_rev3.layout.json rename scripts/{ => archive}/corona.sh (100%) rename scripts/{ => archive}/erc20balance.sh (100%) diff --git a/README.md b/README.md index 3072db4..07e87ba 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # dotfiles -![Scrot](http://i.imgur.com/skv1LQe.png) +init script tba diff --git a/firefox/userChrome.css b/desktop/firefox/userChrome.css similarity index 100% rename from firefox/userChrome.css rename to desktop/firefox/userChrome.css diff --git a/i3/config b/desktop/i3/config similarity index 100% rename from i3/config rename to desktop/i3/config diff --git a/i3blocks.conf b/desktop/i3blocks.conf similarity index 100% rename from i3blocks.conf rename to desktop/i3blocks.conf diff --git a/i3lock.service b/desktop/i3lock.service similarity index 100% rename from i3lock.service rename to desktop/i3lock.service diff --git a/i3status/config b/desktop/i3status/config similarity index 100% rename from i3status/config rename to desktop/i3status/config diff --git a/keyboard/OLKB Preonic/olkb_preonic_rev3.layout.json b/keyboard/OLKB Preonic/olkb_preonic_rev3.layout.json new file mode 100644 index 0000000..93c7bae --- /dev/null +++ b/keyboard/OLKB Preonic/olkb_preonic_rev3.layout.json @@ -0,0 +1,256 @@ +{ + "name": "OLKB Preonic Rev3", + "vendorProductId": 61384265, + "macros": ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], + "layers": [ + [ + "KC_GRV", + "KC_1", + "KC_2", + "KC_3", + "KC_4", + "KC_5", + "KC_TAB", + "KC_Q", + "KC_W", + "KC_E", + "KC_R", + "KC_T", + "KC_ESC", + "KC_A", + "KC_S", + "KC_D", + "KC_F", + "KC_G", + "KC_LSFT", + "KC_Z", + "KC_X", + "KC_C", + "KC_V", + "KC_B", + "KC_6", + "KC_7", + "KC_8", + "KC_9", + "KC_0", + "KC_BSPC", + "KC_Y", + "KC_U", + "KC_I", + "KC_O", + "KC_P", + "KC_DEL", + "KC_H", + "KC_J", + "KC_K", + "KC_L", + "KC_SCLN", + "KC_ENT", + "KC_N", + "KC_M", + "KC_COMM", + "KC_DOT", + "KC_SLSH", + "KC_QUOT", + "KC_CAPS", + "KC_CAPS", + "KC_LALT", + "KC_DOWN", + "KC_UP", + "KC_RGHT", + "KC_SPC", + "FN_MO23", + "KC_LEFT", + "KC_LGUI", + "FN_MO13", + "KC_SPC" + ], + [ + "S(KC_GRV)", + "S(KC_1)", + "S(KC_2)", + "S(KC_3)", + "S(KC_4)", + "S(KC_5)", + "S(KC_GRV)", + "S(KC_1)", + "S(KC_2)", + "S(KC_3)", + "S(KC_4)", + "S(KC_5)", + "KC_DEL", + "KC_F1", + "KC_F2", + "KC_F3", + "KC_F4", + "KC_F5", + "KC_TRNS", + "KC_F7", + "KC_F8", + "KC_F9", + "KC_F10", + "KC_F11", + "S(KC_6)", + "S(KC_7)", + "S(KC_8)", + "S(KC_9)", + "S(KC_0)", + "KC_BSPC", + "S(KC_6)", + "S(KC_7)", + "S(KC_8)", + "S(KC_9)", + "S(KC_0)", + "KC_DEL", + "KC_F6", + "S(KC_MINS)", + "S(KC_EQL)", + "S(KC_LBRC)", + "S(KC_RBRC)", + "S(KC_BSLS)", + "KC_F12", + "S(KC_NUHS)", + "S(KC_NUBS)", + "KC_HOME", + "KC_END", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_VOLD", + "KC_VOLU", + "KC_MPLY", + "KC_TRNS", + "KC_TRNS", + "KC_MNXT", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS" + ], + [ + "KC_GRV", + "KC_1", + "KC_2", + "KC_3", + "KC_4", + "KC_5", + "KC_GRV", + "KC_1", + "KC_2", + "KC_3", + "KC_4", + "KC_5", + "KC_DEL", + "KC_F1", + "KC_F2", + "KC_F3", + "KC_F4", + "KC_F5", + "KC_TRNS", + "KC_F7", + "KC_F8", + "KC_F9", + "KC_F10", + "KC_F11", + "KC_6", + "KC_7", + "KC_8", + "S(KC_9)", + "S(KC_0)", + "KC_BSPC", + "KC_6", + "KC_7", + "KC_EQL", + "S(KC_LBRC)", + "S(KC_RBRC)", + "KC_DEL", + "KC_F6", + "S(KC_MINS)", + "S(KC_EQL)", + "KC_LBRC", + "KC_RBRC", + "KC_BSLS", + "KC_F12", + "KC_NUHS", + "S(KC_1)", + "S(KC_SLSH)", + "KC_PCMM", + "KC_PDOT", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_VOLD", + "KC_VOLU", + "KC_MPLY", + "KC_TRNS", + "KC_TRNS", + "KC_MNXT", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS" + ], + [ + "KC_F1", + "KC_F2", + "KC_F3", + "KC_F4", + "KC_F5", + "KC_F6", + "KC_TRNS", + "RESET", + "DEBUG", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "MU_MOD", + "AU_ON", + "AU_OFF", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "MU_ON", + "MU_OFF", + "KC_TRNS", + "KC_F7", + "KC_F8", + "KC_F9", + "KC_F10", + "KC_F11", + "KC_F12", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_DEL", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS", + "KC_TRNS" + ] + ], + "encoders": [] +} \ No newline at end of file diff --git a/scripts/corona.sh b/scripts/archive/corona.sh similarity index 100% rename from scripts/corona.sh rename to scripts/archive/corona.sh diff --git a/scripts/erc20balance.sh b/scripts/archive/erc20balance.sh similarity index 100% rename from scripts/erc20balance.sh rename to scripts/archive/erc20balance.sh diff --git a/setup.sh b/setup.sh index 3ce6293..8c3cbfc 100755 --- a/setup.sh +++ b/setup.sh @@ -1,103 +1,3 @@ #!/bin/bash -GREEN='\033[0;32m' -RESET='\033[0m' - -read -p "Install dependencies? [Ubuntu only]" -n 1 -r -echo -if [[ $REPLY =~ ^[Yy]$ ]] -then - sudo apt install curl vim silversearcher-ag nmap neofetch git ranger tig mycli fzf jq miller newsboat -fi - -read -p "Delete old backups? " -n 1 -r -echo -if [[ $REPLY =~ ^[Yy]$ ]] -then - echo -e "${GREEN} Wiping old backups ${RESET}" - rm -rf ~/.config/i3status~ - rm -rf ~/.config/i3~ - rm -rf ~/.vim~ - rm -f ~/.vimrc~ - rm -f ~/.bashrc~ - rm -f ~/.zshrc~ - echo -e "${GREEN} Deleted old backups ${RESET}" -fi - -echo -e "${GREEN} Backing Up and moving configs ${RESET}" - -mv ~/.config/i3status ~/.config/i3status~ -mv ~/.config/i3 ~/.config/i3~ -mv ~/.bashrc ~/.bashrc~ -mv ~/.zshrc ~/.zshrc~ -mv ~/.vimrc ~/.vimrc~ -mv ~/.vim ~/.vim~ - -echo -e "${GREEN} Preparing ${RESET}" - -touch ~/.bashrc ~/.vimrc -mkdir -p ~/.config/wmfs -mkdir -p ~/.config/i3 -mkdir -p ~/.config/i3status -mkdir -p ~/.vim -mkdir -p ~/.vim/backup -mkdir -p ~/.vim/tmp -mkdir -p ~/.vim/colors - - -# Create tmp dir -mkdir tmp/ - -# obsolette for now -# ln -rsf wmfsrc ~/.config/wmfs/wmfsrc - -ln -rsf i3/config ~/.config/i3/config -ln -rsf i3status/config ~/.config/i3status/config - -ln -rsf .zshrc ~/.zshrc -ln -rsf .bashrc ~/.bashrc - -read -p "Install screen lock unit for systemd? Requires sudo " -n 1 -r -echo -if [[ $REPLY =~ ^[Yy]$ ]] -then - sudo ln -rsf i3lock.service /etc/systemd/system/i3lock.service - sudo systemctl enable i3lock.service -fi -mkdir -p ~/.vim -ln -rsf .vimrc ~/.vimrc - -#git clone https://github.com/neoclide/coc.nvim ~/.vim/pack/plugins/start/coc.nvim -#cd ~/.vim/pack/plugins/start/coc.nvim && ./install.sh && yarn install --frozen-lockfile - -echo -e "${GREEN} Vundle ${RESET}" - -mkdir -p ~/.vim/autoload ~/.vim/bundle && \ -git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim - -mkdir -p ~/.vim/plugin -git clone git://github.com/mattn/calendar-vim ~/.vim/bundle/calendar-vim - -wget "https://www.vim.org/scripts/download_script.php?src_id=26272" -O ~/.vim/plugin/switch.vim - -echo -e "${GREEN} Installing Deps ${RESET}" -echo -e "vim-airline" -echo -e "${GREEN} Please run :helptags on first run ${RESET}" - -git clone https://github.com/vim-airline/vim-airline ~/.vim/bundle/vim-airline &> /dev/null -git clone git://github.com/digitaltoad/vim-pug.git &> /dev/null - -echo -e "${GREEN} mustang colour theme ${RESET}" -mkdir -p tmp/ -git clone https://github.com/croaker/mustang-vim tmp/mustang &> /dev/null -git clone git@github.com:qwelyt/TrippingRobot.git tmp/tr &> /dev/null - -cp tmp/mustang/colors/mustang.vim ~/.vim/colors/ -cp tmp/tr/colors/TrippingRobot.vim ~/.vim/colors/ - -echo -e "${GREEN} clearning up ${RESET}" - -rm -rf tmp/ - - -echo -e "${GREEN} booyah, there you go! ${RESET}" +exit 0