├── scripts ├── mount_hdd.sh ├── hostname_fix.sh ├── droidmote-server-linux-x64-v3.0.2 │ ├── startdm.sh │ ├── droidmote │ └── README.txt ├── hdparm.service ├── low-battery-warning │ ├── gentex_cammander_3_code_3_horn-Brandon-938131891.mp3 │ ├── LowBattery.sh │ └── test.sh ├── install_go.sh ├── troubleshhot.sh ├── high-memory-alert.sh ├── install_protobuf.sh ├── dedupe_sh_history.py ├── backup_confs.sh ├── freeram.sh ├── low_ram_action.sh ├── post_install.sh ├── powertop-script │ └── powertop_scripts.sh ├── remove_katoolin.sh └── restore_confs.sh ├── .gitignore ├── backups ├── .personalized │ ├── mouserightclick.sh │ ├── rightclick.sh │ ├── .vim │ │ └── coc-settings.json │ ├── bin │ │ └── delta │ ├── workspace_nemo.sh │ ├── .gitrepo │ ├── toran_all_startup_services.sh │ ├── vim │ │ ├── plugins │ │ │ ├── vundle_based.vim │ │ │ └── vim_plug_based.vim │ │ ├── vars.vim │ │ ├── README.md │ │ └── rcfiles │ │ │ └── general.vim │ ├── clearcache.sh │ ├── mvn_create_project.sh │ ├── curl.format │ ├── installsublime.sh │ ├── .gitrepo.py │ └── parse_envvars.py ├── .configgit ├── .zsh_profile ├── .gitrepo ├── cinnamon │ ├── user@cinnamon.org │ │ └── 8.json │ ├── configs │ │ ├── user@cinnamon.org │ │ │ ├── 26.json │ │ │ └── 8.json │ │ ├── favorites@cinnamon.org │ │ │ └── 9.json │ │ ├── network@cinnamon.org │ │ │ └── network@cinnamon.org.json │ │ ├── printers@cinnamon.org │ │ │ └── 6.json │ │ ├── power@cinnamon.org │ │ │ └── power@cinnamon.org.json │ │ ├── panel-launchers@cinnamon.org │ │ │ ├── 27.json │ │ │ └── 3.json │ │ ├── calendar@cinnamon.org │ │ │ ├── 12.json │ │ │ └── 13.json │ │ ├── show-desktop@cinnamon.org │ │ │ ├── 1.json │ │ │ └── 2.json │ │ ├── notifications@cinnamon.org │ │ │ └── notifications@cinnamon.org.json │ │ ├── multicore-sys-monitor@ccadeptic23 │ │ │ └── prefs.json │ │ ├── sound@cinnamon.org │ │ │ └── sound@cinnamon.org.json │ │ ├── menu@cinnamon.org │ │ │ ├── 1.json │ │ │ ├── 29.json │ │ │ └── 0.json │ │ └── grouped-window-list@cinnamon.org │ │ │ ├── 25.json │ │ │ └── 28.json │ ├── power@cinnamon.org │ │ └── power@cinnamon.org.json │ ├── notifications@cinnamon.org │ │ └── notifications@cinnamon.org.json │ ├── panel-launchers@cinnamon.org │ │ └── 3.json │ ├── calendar@cinnamon.org │ │ └── 12.json │ ├── show-desktop@cinnamon.org │ │ └── 2.json │ ├── sound@cinnamon.org │ │ └── sound@cinnamon.org.json │ ├── multicore-sys-monitor@ccadeptic23 │ │ └── prefs.json │ ├── menu@cinnamon.org │ │ └── 1.json │ └── cinnamon_backup ├── .bash_profile ├── .editorconfig ├── .vimrc ├── .profile ├── .gitrepo.py ├── .gitconfig ├── coc-settings.json ├── .bashitrc ├── paths.sh ├── gnome-terminal-profiles.dconf ├── .commonrc ├── .bashrc.save ├── .tmux.conf ├── rectangle_config.json ├── .bashrc ├── .zshrc └── cinnamon_backup ├── .gitmodules ├── configs └── thunderbird │ ├── addons.zip │ ├── toran.sahu@talentica.json │ ├── spam_filter.sh │ └── toran.sahu@yahoo.com.txt └── notes.md /scripts/mount_hdd.sh: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.sublime-workspace 2 | *.swp 3 | .DS_Store 4 | -------------------------------------------------------------------------------- /scripts/hostname_fix.sh: -------------------------------------------------------------------------------- 1 | echo "mint-ThinkPad-L440" > /etc/hostname 2 | 3 | -------------------------------------------------------------------------------- /backups/.personalized/mouserightclick.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | sleep .2s && xdotool click 3 4 | -------------------------------------------------------------------------------- /backups/.personalized/rightclick.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | sleep .2s && xdotool key Shift+F10 4 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "secret"] 2 | path = secret 3 | url = git@github.com:toransahu/secret 4 | -------------------------------------------------------------------------------- /scripts/droidmote-server-linux-x64-v3.0.2/startdm.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | droidmote 2302 password & 3 | -------------------------------------------------------------------------------- /configs/thunderbird/addons.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toransahu/linux-tweaks/HEAD/configs/thunderbird/addons.zip -------------------------------------------------------------------------------- /backups/.configgit: -------------------------------------------------------------------------------- 1 | git config --global user.email "toran.sahu@yahoo.com" 2 | git config --global user.name "Toran Sahu" 3 | -------------------------------------------------------------------------------- /backups/.personalized/.vim/coc-settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "python.linting.flake8Enabled": true, 3 | "python.linting.enabled": true 4 | } -------------------------------------------------------------------------------- /backups/.personalized/bin/delta: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | exec delta --light --commit-style box --commit-color="red" --theme 'GitHub' "$@" 3 | -------------------------------------------------------------------------------- /backups/.zsh_profile: -------------------------------------------------------------------------------- 1 | if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then 2 | tmux attach -t default || tmux new -s default 3 | fi 4 | -------------------------------------------------------------------------------- /scripts/droidmote-server-linux-x64-v3.0.2/droidmote: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toransahu/linux-tweaks/HEAD/scripts/droidmote-server-linux-x64-v3.0.2/droidmote -------------------------------------------------------------------------------- /scripts/hdparm.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=hdparm sleep 3 | 4 | [Service] 5 | Type=oneshot 6 | ExecStart=/sbin/hdparm -q -S 120 -Y /dev/sda 7 | 8 | [Install] 9 | WantedBy=multi-user.target 10 | -------------------------------------------------------------------------------- /scripts/low-battery-warning/gentex_cammander_3_code_3_horn-Brandon-938131891.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toransahu/linux-tweaks/HEAD/scripts/low-battery-warning/gentex_cammander_3_code_3_horn-Brandon-938131891.mp3 -------------------------------------------------------------------------------- /backups/.gitrepo: -------------------------------------------------------------------------------- 1 | curl --header "Content-Type: application/json" \\ 2 | --request POST \\ 3 | --data '{"name": "post-linux-install", "private" : false}' \\ 4 | --user toransahu \\ 5 | https://api.github.com/user/repos 6 | -------------------------------------------------------------------------------- /backups/.personalized/workspace_nemo.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # 3 | # workspace_nemo.sh 4 | # Copyright (C) 2018 Toran Sahu 5 | # 6 | # Distributed under terms of the MIT license. 7 | # 8 | 9 | . ~/paths.sh 10 | nemo $WORKSPACE 11 | -------------------------------------------------------------------------------- /backups/.personalized/.gitrepo: -------------------------------------------------------------------------------- 1 | curl --header "Content-Type: application/json" \\ 2 | --request POST \\ 3 | --data '{"name": "post-linux-install", "private" : false}' \\ 4 | --user toransahu \\ 5 | https://api.github.com/user/repos 6 | -------------------------------------------------------------------------------- /configs/thunderbird/toran.sahu@talentica.json: -------------------------------------------------------------------------------- 1 | { 2 | "accountName": "imap://toran.sahu%40talentica.com@imap-mail.outlook.com", 3 | "rootFolderURL": "imap://toran.sahu%40talentica.com@imap-mail.outlook.com", 4 | "date": "2018-12-01T20:02:45.780Z", 5 | "filters": [] 6 | } -------------------------------------------------------------------------------- /backups/cinnamon/user@cinnamon.org/8.json: -------------------------------------------------------------------------------- 1 | { 2 | "display-name": { 3 | "type": "switch", 4 | "default": false, 5 | "description": "Display user name on panel", 6 | "value": false 7 | }, 8 | "__md5__": "73115574c1e6fb20d210240500720f13" 9 | } -------------------------------------------------------------------------------- /backups/cinnamon/configs/user@cinnamon.org/26.json: -------------------------------------------------------------------------------- 1 | { 2 | "display-name": { 3 | "type": "switch", 4 | "default": false, 5 | "description": "Display user name on panel", 6 | "value": false 7 | }, 8 | "__md5__": "73115574c1e6fb20d210240500720f13" 9 | } -------------------------------------------------------------------------------- /backups/cinnamon/configs/user@cinnamon.org/8.json: -------------------------------------------------------------------------------- 1 | { 2 | "display-name": { 3 | "type": "switch", 4 | "default": false, 5 | "description": "Display user name on panel", 6 | "value": false 7 | }, 8 | "__md5__": "73115574c1e6fb20d210240500720f13" 9 | } -------------------------------------------------------------------------------- /backups/.bash_profile: -------------------------------------------------------------------------------- 1 | export BASH_IT_THEME='powerline' 2 | source ~/.bashrc 3 | 4 | #THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!! 5 | export SDKMAN_DIR="/Users/toran/.sdkman" 6 | [[ -s "/Users/toran/.sdkman/bin/sdkman-init.sh" ]] && source "/Users/toran/.sdkman/bin/sdkman-init.sh" 7 | -------------------------------------------------------------------------------- /notes.md: -------------------------------------------------------------------------------- 1 | - my tmux leader: ctrl + \ 2 | - cinnamon 3.x notification re-position: https://github.com/linuxmint/Cinnamon/issues/4892#issuecomment-217976720 3 | - remove except using extendedglob 4 | ``` 5 | $ setopt extededglob 6 | $ rm -- ^file.txt 7 | $ rm -rf -- ^dir1 8 | ``` 9 | -------------------------------------------------------------------------------- /backups/.personalized/toran_all_startup_services.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # 3 | # toran_all_startup_services.sh 4 | # Copyright (C) 2021 Toran Sahu 5 | # 6 | # Distributed under terms of the MIT license. 7 | # 8 | 9 | 10 | /usr/bin/barrierc --no-restart --name $HOST --enable-crypto $MY_IP_ADDR 11 | -------------------------------------------------------------------------------- /backups/.personalized/vim/plugins/vundle_based.vim: -------------------------------------------------------------------------------- 1 | fu! SetUpVundle() 2 | set nocompatible " be iMproved, required 3 | filetype off " required 4 | 5 | " set the runtime path to include Vundle and initialize 6 | set rtp+=~/.vim/bundle/Vundle.vim 7 | endfunction 8 | 9 | "call SetUpVundle() 10 | -------------------------------------------------------------------------------- /backups/.personalized/clearcache.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # 3 | # clearcache.sh 4 | # Copyright (C) 2019 Toran Sahu 5 | # 6 | # Distributed under terms of the MIT license. 7 | # 8 | 9 | 10 | # Note, we are using "echo 3", but it is not recommended in production instead use "echo 1" 11 | echo "echo 3 > /proc/sys/vm/drop_caches" 12 | -------------------------------------------------------------------------------- /backups/.personalized/mvn_create_project.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # 3 | # mvn_create_project.sh 4 | # Copyright (C) 2019 Toran Sahu 5 | # 6 | # Distributed under terms of the MIT license. 7 | # 8 | 9 | 10 | mvn archetype:generate -DgroupId=com.$1.$2 -DartifactId=$2 -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.4 -DinteractiveMode=false 11 | -------------------------------------------------------------------------------- /backups/.personalized/curl.format: -------------------------------------------------------------------------------- 1 | \n## latency (in seconds)\n 2 | time_namelookup: %{time_namelookup}\n 3 | time_connect: %{time_connect}\n 4 | time_appconnect: %{time_appconnect}\n 5 | time_pretransfer: %{time_pretransfer}\n 6 | time_redirect: %{time_redirect}\n 7 | time_starttransfer: %{time_starttransfer}\n 8 | ———————————————————————————\n 9 | time_total: %{time_total}\n 10 | 11 | -------------------------------------------------------------------------------- /backups/cinnamon/configs/favorites@cinnamon.org/9.json: -------------------------------------------------------------------------------- 1 | { 2 | "head": { 3 | "type": "header", 4 | "description": "Settings" 5 | }, 6 | "show-full-uri": { 7 | "type": "switch", 8 | "default": false, 9 | "description": "Display full paths in the list", 10 | "value": false 11 | }, 12 | "__md5__": "47cfb84ecf716b6b4756ccdac7f369e4" 13 | } -------------------------------------------------------------------------------- /scripts/install_go.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # 3 | # install_go.sh 4 | # Copyright (C) 2019 Toran Sahu 5 | # 6 | # Distributed under terms of the MIT license. 7 | # 8 | 9 | 10 | cd ~/.temp 11 | wget https://dl.google.com/go/go1.12.5.linux-amd64.tar.gz 12 | sudo tar -C /usr/local -xzf go1.12.5.linux-amd64.tar.gz 13 | export PATH=$PATH:/usr/local/go/bin 14 | echo "export PATH=\$PATH:/usr/local/go/bin" >> ~/.profile 15 | 16 | -------------------------------------------------------------------------------- /backups/.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig is awesome 2 | # http://EditorConfig.org 3 | root = true 4 | 5 | # defaults 6 | [*] 7 | indent_style = space 8 | indent_size = 4 9 | end_of_line = lf 10 | charset = utf-8 11 | insert_final_newline = true 12 | trim_trailing_whitespace = true 13 | 14 | # md 15 | trim_trailing_whitespace = false 16 | 17 | # py 18 | [*.py] 19 | indent_size = 4 20 | 21 | # Tab indentation (no size specified) 22 | [Makefile] 23 | indent_style = tab 24 | -------------------------------------------------------------------------------- /backups/cinnamon/configs/network@cinnamon.org/network@cinnamon.org.json: -------------------------------------------------------------------------------- 1 | { 2 | "section1": { 3 | "type": "section", 4 | "description": "Menu" 5 | }, 6 | "keyOpen": { 7 | "type": "keybinding", 8 | "description": "Show menu", 9 | "default": "n", 10 | "tooltip": "Set keybinding(s) to show the network applet menu.", 11 | "value": "n" 12 | }, 13 | "__md5__": "976b46e8430522899e7fe34f2abfee76" 14 | } -------------------------------------------------------------------------------- /scripts/low-battery-warning/LowBattery.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | while true 4 | do 5 | battery_level=`acpi -b |awk '{print ($(4)-0)}'` 6 | status=`acpi -b |awk '{print ($(3))}'` 7 | #notify-send $battery_level 8 | if [ $status != "Charging," ] 9 | then 10 | if [ $battery_level -lt "15" ] 11 | then 12 | mpg321 --frames 30 gentex_cammander_3_code_3_horn-Brandon-938131891.mp3 13 | sleep 2m 14 | fi 15 | fi 16 | done 17 | 18 | -------------------------------------------------------------------------------- /backups/.personalized/installsublime.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # 3 | # installsublime.sh 4 | # Copyright (C) 2018 Toran Sahu 5 | # 6 | # Distributed under terms of the MIT license. 7 | # 8 | 9 | 10 | wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add - 11 | 12 | echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list 13 | 14 | sudo apt-get update 15 | 16 | sudo apt-get install sublime-text 17 | -------------------------------------------------------------------------------- /backups/.vimrc: -------------------------------------------------------------------------------- 1 | "~/.vimrc 2 | " 3 | " This file contains the minimal settings to set the foundation, with the 4 | " majority of the configuration and settings are being imported from external 5 | " files. 6 | 7 | set nocompatible 8 | 9 | source ~/.personalized/vim/vars.vim 10 | 11 | call plug#begin('~/.vim/plugged') 12 | call SourceConfigFilesIn('plugins') 13 | call plug#end() 14 | 15 | call SourceConfigFilesIn('rcfiles') 16 | call SourceConfigFilesIn('rcplugins') 17 | -------------------------------------------------------------------------------- /backups/cinnamon/power@cinnamon.org/power@cinnamon.org.json: -------------------------------------------------------------------------------- 1 | { 2 | "labelinfo": { 3 | "type": "combobox", 4 | "description": "Display", 5 | "default": "nothing", 6 | "options": { 7 | "Show percentage": "percentage", 8 | "Show time remaining": "time", 9 | "Show percentage and time remaining": "percentage_time", 10 | "Hide label": "nothing" 11 | }, 12 | "value": "nothing" 13 | }, 14 | "__md5__": "474bbdcab8afb7e0a0aae6e895fe087d" 15 | } -------------------------------------------------------------------------------- /scripts/low-battery-warning/test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | while true 4 | do 5 | battery_level=`acpi -b |awk '{print ($(4)-0)}'` 6 | status=`acpi -b |awk '{print ($(3))}'` 7 | #notify-send $battery_level 8 | if [ $status = "Charging," ] 9 | then 10 | if [ $battery_level -eq "96" ] 11 | then 12 | mpg321 --frames 30 /media/toran/ExternalHDD/E/workspace/LinuxTweaks/LowBatterySound/gentex_cammander_3_code_3_horn-Brandon-938131891.mp3 13 | sleep 2m 14 | fi 15 | fi 16 | done 17 | 18 | -------------------------------------------------------------------------------- /backups/.profile: -------------------------------------------------------------------------------- 1 | # ~/.profile: executed by the command interpreter for login shells. 2 | # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login 3 | # exists. 4 | # see /usr/share/doc/bash/examples/startup-files for examples. 5 | # the files are located in the bash-doc package. 6 | 7 | # the default umask is set in /etc/profile; for setting the umask 8 | # for ssh logins, install and configure the libpam-umask package. 9 | #umask 022 10 | 11 | # if running bash 12 | if [ -n "$BASH_VERSION" ]; then 13 | # include .bashrc if it exists 14 | if [ -f "$HOME/.bashrc" ]; then 15 | . "$HOME/.bashrc" 16 | fi 17 | fi 18 | -------------------------------------------------------------------------------- /backups/cinnamon/configs/printers@cinnamon.org/6.json: -------------------------------------------------------------------------------- 1 | { 2 | "section1": { 3 | "type": "section", 4 | "description": "Appearance" 5 | }, 6 | "show-icon": { 7 | "type": "radiogroup", 8 | "default": "printers", 9 | "description": "Show printer icon", 10 | "options": { 11 | "Always": "always", 12 | "When printers exist": "printers", 13 | "When printing": "jobs" 14 | }, 15 | "tooltip": "Choose when to show the printer icon in the panel", 16 | "value": "printers" 17 | }, 18 | "__md5__": "93e5a8d56ccfdbf949efa8b7e5b6ef9d" 19 | } -------------------------------------------------------------------------------- /backups/.gitrepo.py: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env python 2 | # -*- coding: utf-8 -*- 3 | # vim:fenc=utf-8 4 | # created_on: 2018-11-12 18:15 5 | 6 | """ 7 | .gitrepo.py 8 | """ 9 | 10 | import sys 11 | import requests 12 | import getpass 13 | import json 14 | 15 | 16 | __author__ = "Toran Sahu " 17 | __license__ = "Distributed under terms of the MIT license" 18 | 19 | 20 | def grepo(): 21 | url = "https://api.github.com/user/repos" 22 | 23 | content = json.dumps({"name": sys.argv[-1], "private": False}) 24 | username = "toransahu" 25 | res = requests.post(url, content, auth=(username, getpass.getpass("Password: "))) 26 | print(eval(res.text)["message"]) 27 | -------------------------------------------------------------------------------- /scripts/troubleshhot.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # 3 | # troubleshhot.sh 4 | # Copyright (C) 2019 Toran Sahu 5 | # 6 | # Distributed under terms of the MIT license. 7 | # 8 | 9 | # pre-requisites 10 | # - run in tty 11 | 12 | # kill memory hops 13 | # killall firefox 14 | killall firefox-bin 15 | killall skypeforlinux 16 | killall slack 17 | 18 | # restart cinnamon 19 | # export DISPLAY=:0; cinnamon & 20 | # export DISPLAY=:0; cinnamon --replace & 21 | pkill -HUP -f "cinnamon --replace" 22 | # sudo service mdm restart 23 | 24 | # clear memory 25 | # clearswap 26 | sudo apt clean 27 | sudo apt autoremove 28 | 29 | # monitor memory 30 | free -m 31 | sudo lshw -c memory 32 | 33 | # monitor startup apps 34 | service --status-all 35 | -------------------------------------------------------------------------------- /backups/.personalized/vim/vars.vim: -------------------------------------------------------------------------------- 1 | "========================= CONSTS =========================== 2 | let MAX_LINE_COL=120 3 | " not being used 4 | let VIM_PYTHON_VENV='~/miniconda3' 5 | 6 | 7 | "========================= FUNCS =========================== 8 | function! SourceConfigFilesIn(directory) 9 | let directory_splat = '~/.personalized/vim/' . a:directory . '/*' 10 | for config_file in split(glob(directory_splat), '\n') 11 | if filereadable(config_file) 12 | execute 'source' config_file 13 | endif 14 | endfor 15 | endfunction 16 | 17 | function! SourceConfigIn(file) 18 | let file_path = . a:file 19 | if filereadable(file_path) 20 | execute 'source' file_path 21 | endif 22 | endfunction 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /backups/.personalized/.gitrepo.py: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env python 2 | # -*- coding: utf-8 -*- 3 | # vim:fenc=utf-8 4 | # created_on: 2018-11-12 18:15 5 | 6 | """ 7 | .gitrepo.py 8 | """ 9 | 10 | import sys 11 | import requests 12 | import getpass 13 | import json 14 | 15 | 16 | __author__ = "Toran Sahu " 17 | __license__ = "Distributed under terms of the MIT license" 18 | 19 | 20 | def grepo(): 21 | url = "https://api.github.com/user/repos" 22 | 23 | content = json.dumps({"name": sys.argv[-1], "private": False}) 24 | username = "toransahu" 25 | res = requests.post(url, content, auth=(username, getpass.getpass("Password: "))) 26 | print("Status:", res.status_code) 27 | 28 | if __name__ == "__main__": 29 | grepo() 30 | -------------------------------------------------------------------------------- /scripts/droidmote-server-linux-x64-v3.0.2/README.txt: -------------------------------------------------------------------------------- 1 | DroidMote Server for Linux 3.0.2 x64 2 | 3 | How to start the server: 4 | 5 | Disable the firewall on port 2302 6 | chmod 777 ./droidmote 7 | sudo su 8 | ./droidmote 2302 password 9 | 10 | 11 | How to start the server at boot time: (you can use also an alternative configuration, but you must start droidmote after X11) 12 | 13 | get root permission with sudo su 14 | copy droidmote to /usr/bin 15 | chmod 777 /usr/bin/droidmote 16 | create a shell script startdm.sh in /usr/bin 17 | 18 | ----------------------------- 19 | the content of startdm.sh is: 20 | #!/bin/sh 21 | droidmote 2302 password & 22 | ----------------------------- 23 | 24 | chmod +x /usr/bin/startdm.sh 25 | edit the file /etc/lightdm/lightdm.conf and add the line: greeter-setup-script=/usr/bin/startdm.sh 26 | restart your machine 27 | -------------------------------------------------------------------------------- /backups/cinnamon/configs/power@cinnamon.org/power@cinnamon.org.json: -------------------------------------------------------------------------------- 1 | { 2 | "labelinfo": { 3 | "type": "combobox", 4 | "description": "Display", 5 | "default": "nothing", 6 | "options": { 7 | "Show percentage": "percentage", 8 | "Show time remaining": "time", 9 | "Show percentage and time remaining": "percentage_time", 10 | "Hide label": "nothing" 11 | }, 12 | "value": "nothing" 13 | }, 14 | "showmulti": { 15 | "type": "switch", 16 | "default": false, 17 | "description": "Always show all batteries", 18 | "tooltip": "Check this to always show multiple batteries in the panel, regardless of whether one of them is marked primary.", 19 | "value": false 20 | }, 21 | "__md5__": "db29025b0930e93063f745d0adcc675a" 22 | } -------------------------------------------------------------------------------- /scripts/high-memory-alert.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # 3 | # memory-notif.sh 4 | # Copyright (C) 2019 Toran Sahu 5 | # 6 | # Distributed under terms of the MIT license. 7 | # 8 | 9 | #Minimum available memory limit, MB 10 | THRESHOLD=400 11 | 12 | #Check time interval, sec 13 | INTERVAL=30 14 | 15 | while : 16 | do 17 | 18 | free=$(free -m|awk '/^Mem:/{print $4}') 19 | buffers=$(free -m|awk '/^Mem:/{print $6}') 20 | cached=$(free -m|awk '/^Mem:/{print $7}') 21 | available=$(free -m | awk '/^-\/+/{print $4}') 22 | 23 | message="Free $free""MB"", buffers $buffers""MB"", cached $cached""MB"", available $available""MB""" 24 | 25 | if [ $available -lt $THRESHOLD ] 26 | then 27 | notify-send "Memory is running out!" "$message" 28 | fi 29 | 30 | echo $message 31 | 32 | sleep $INTERVAL 33 | 34 | done 35 | -------------------------------------------------------------------------------- /backups/cinnamon/notifications@cinnamon.org/notifications@cinnamon.org.json: -------------------------------------------------------------------------------- 1 | { 2 | "section1": { 3 | "type": "section", 4 | "description": "Behavior" 5 | }, 6 | "ignoreTransientNotifications": { 7 | "type": "switch", 8 | "default": true, 9 | "description": "Ignore transient notifications", 10 | "tooltip": "Check this to ignore transient notifications.", 11 | "value": true 12 | }, 13 | "section2": { 14 | "type": "section", 15 | "description": "Display" 16 | }, 17 | "showEmptyTray": { 18 | "type": "switch", 19 | "default": false, 20 | "description": "Show empty tray", 21 | "tooltip": "Check this to show the tray even when there are no new notifications.", 22 | "value": false 23 | }, 24 | "__md5__": "8a831b3dbfc063a2dd90da2ab062989b" 25 | } -------------------------------------------------------------------------------- /backups/cinnamon/panel-launchers@cinnamon.org/3.json: -------------------------------------------------------------------------------- 1 | { 2 | "section1": { 3 | "type": "section", 4 | "description": "Behavior" 5 | }, 6 | "launcherList": { 7 | "type": "generic", 8 | "default": [ 9 | "firefox.desktop", 10 | "gnome-terminal.desktop", 11 | "nemo.desktop" 12 | ], 13 | "value": [ 14 | "gnome-terminal.desktop", 15 | "nemo.desktop", 16 | "firefox_firefox.desktop", 17 | "kazam.desktop", 18 | "shutter.desktop", 19 | "chrome-bgejknldbmbjknepfkakfbemenkgaack-Default.desktop" 20 | ] 21 | }, 22 | "allow-dragging": { 23 | "type": "switch", 24 | "default": true, 25 | "description": "Allow dragging of launchers", 26 | "value": true 27 | }, 28 | "__md5__": "11474ba983ca660d140dedf9e087884c" 29 | } -------------------------------------------------------------------------------- /backups/.gitconfig: -------------------------------------------------------------------------------- 1 | [user] 2 | email = toran.sahu@yahoo.com 3 | name = Toran Sahu 4 | sigingkey = 989892661D11D494 5 | [commit] 6 | gpgsign = true 7 | [includeIf "gitdir:~/disk/E/workspace/gerrit.corp.arista.io/"] 8 | path = ~/.gitconfig-aristanetworks 9 | [url "git@github.com:"] 10 | insteadOf = https://github.com/ 11 | [url "git://"] 12 | insteadOf = https:// 13 | [core] 14 | pager = less 15 | [interactive] 16 | diffFilter = delta --color-only 17 | [delta] 18 | features = line-numbers decorations 19 | whitespace-error-style = 22 reverse 20 | side-by-side = false 21 | [delta "decorations"] 22 | commit-decoration-style = yellow 23 | file-style = bold yellow 24 | file-decoration-style = none 25 | [init] 26 | defaultBranch = main 27 | [pull] 28 | rebase = true 29 | [alias] 30 | recent = branch --sort=-committerdate --format=\"%(committerdate:relative)%09%(refname:short)\" 31 | -------------------------------------------------------------------------------- /scripts/install_protobuf.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # 3 | # install_protobuf.sh 4 | # Copyright (C) 2019 Toran Sahu 5 | # 6 | # Distributed under terms of the MIT license. 7 | # 8 | 9 | # initial step 10 | mkdir -p ~/.temp 11 | cd ~/.temp 12 | 13 | # pre-requisites 14 | sudo apt-get install autoconf automake libtool curl make g++ unzip 15 | 16 | # from this link https://github.com/protocolbuffers/protobuf/releases/tag/v3.6.1 17 | # download protobuf-all-[VERSION].tar.gz 18 | wget https://github.com/protocolbuffers/protobuf/releases/download/v3.6.1/protobuf-all-3.6.1.tar.gz 19 | 20 | # extract 21 | tar -xvzf protobuf-all-3.6.1.tar.gz 22 | 23 | # change dir 24 | cd protobuf-3.6.1/ 25 | 26 | # configure 27 | ./configure 28 | 29 | # make 30 | make 31 | make check 32 | 33 | # install 34 | sudo make install 35 | 36 | # refresh shared library cache 37 | sudo ldconfig 38 | 39 | # validate 40 | protoc --version 41 | # ls /usr/local/include/google/protobuf/ # check lib files 42 | -------------------------------------------------------------------------------- /backups/cinnamon/configs/panel-launchers@cinnamon.org/27.json: -------------------------------------------------------------------------------- 1 | { 2 | "section1": { 3 | "type": "section", 4 | "description": "Behavior" 5 | }, 6 | "launcherList": { 7 | "type": "generic", 8 | "default": [ 9 | "firefox.desktop", 10 | "org.gnome.Terminal.desktop", 11 | "nemo.desktop" 12 | ], 13 | "value": [ 14 | "firefox.desktop", 15 | "org.gnome.Terminal.desktop", 16 | "nemo.desktop", 17 | "msedge-hnpfjngllnobngcgfapefoaidbinmjnm-Profile_1.desktop", 18 | "spotify.desktop", 19 | "msedge-emacdpakoihlgkpbekbfnhinbipjbepd-Profile_1.desktop", 20 | "chrome-kdakphmaigkeipmfnmgbafimmofpoicd-Default.desktop", 21 | "cinnamon-custom-launcher-3.desktop", 22 | "cinnamon-custom-launcher-2.desktop", 23 | "shutter.desktop", 24 | "kazam.desktop", 25 | "firefoxDeveloperEdition.desktop" 26 | ] 27 | }, 28 | "allow-dragging": { 29 | "type": "switch", 30 | "default": true, 31 | "description": "Allow dragging of launchers", 32 | "value": true 33 | }, 34 | "__md5__": "366f8e129abf9622014c95f26ce5aa0f" 35 | } -------------------------------------------------------------------------------- /configs/thunderbird/spam_filter.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # 3 | # spam_filter.sh 4 | # Copyright (C) 2020 Toran Sahu 5 | # 6 | # Distributed under terms of the MIT license. 7 | # 8 | 9 | 10 | address=$(cat ./toran.sahu@yahoo.com.txt) 11 | 12 | echo '{ 13 | "accountName": "imap://toran.sahu%40yahoo.com@imap.mail.yahoo.com", 14 | "rootFolderURL": "imap://toran.sahu%40yahoo.com@imap.mail.yahoo.com", 15 | "date": "2019-02-06T06:23:49.331Z", 16 | "filters": [ 17 | { 18 | "filterName": "toran.sahu@yahoo.com » Inbox", 19 | "filterDesc": "", 20 | "filterType": 17, 21 | "temporary": false, 22 | "actionCount": 1, 23 | "enabled": true, 24 | "actionList": [ 25 | { 26 | "type": 1, 27 | "targetFolderUri": "imap://toran.sahu%40yahoo.com@imap.mail.yahoo.com/Farzi" 28 | } 29 | ], 30 | "searchTerms": [' 31 | for add in $address; do 32 | echo '{ 33 | "attrib": 1, 34 | "value": { 35 | "attrib": 1, 36 | "str": "'"$add"'" 37 | }, 38 | "booleanAnd": false, 39 | "beginsGrouping": false, 40 | "endsGrouping": false 41 | },' 42 | done 43 | echo ' ] 44 | } 45 | ] 46 | } 47 | ' 48 | -------------------------------------------------------------------------------- /scripts/dedupe_sh_history.py: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env python 2 | # -*- coding: utf-8 -*- 3 | # vim:fenc=utf-8 4 | # created_on: 2025-11-24 21:46 5 | 6 | """Dedupe History.""" 7 | 8 | import sys 9 | import os 10 | 11 | 12 | __author__ = 'Toran Sahu ' 13 | __license__ = 'Distributed under terms of the MIT license' 14 | 15 | 16 | # Read from HISTFILE 17 | histfile = os.path.expanduser("~/.bash_history") 18 | 19 | seen = set() 20 | blocks = [] 21 | buf = [] 22 | 23 | def flush(): 24 | if not buf: 25 | return 26 | block = "\n".join(buf) 27 | blocks.append(block) 28 | buf.clear() 29 | 30 | with open(histfile) as f: 31 | for line in f: 32 | line = line.rstrip("\n") 33 | buf.append(line) 34 | # zsh multiline uses '\' at end OR literal newline as-is 35 | if not line.endswith("\\"): 36 | flush() 37 | 38 | # flush last if needed 39 | flush() 40 | 41 | # Dedupe while keeping *last occurrence* 42 | out = [] 43 | for block in reversed(blocks): 44 | if block not in seen: 45 | seen.add(block) 46 | out.append(block) 47 | 48 | out.reverse() 49 | 50 | # Write final cleaned history 51 | with open(histfile + ".cleaned", "w") as f: 52 | for block in out: 53 | f.write(block + "\n") 54 | -------------------------------------------------------------------------------- /backups/cinnamon/calendar@cinnamon.org/12.json: -------------------------------------------------------------------------------- 1 | { 2 | "section1": { 3 | "type": "section", 4 | "description": "Display" 5 | }, 6 | "show-week-numbers": { 7 | "type": "switch", 8 | "default": false, 9 | "description": "Show week numbers in calendar", 10 | "tooltip": "Check this to show week numbers in the calendar.", 11 | "value": false 12 | }, 13 | "use-custom-format": { 14 | "type": "switch", 15 | "default": false, 16 | "description": "Use a custom date format", 17 | "tooltip": "Check this to define a custom format for the date in the calendar applet.", 18 | "value": true 19 | }, 20 | "custom-format": { 21 | "type": "entry", 22 | "default": "%A %B %e, %H:%M", 23 | "description": "Date format", 24 | "indent": true, 25 | "dependency": "use-custom-format", 26 | "tooltip": "Set your custom format here.", 27 | "value": "%s %a %b %e, %H:%M:%S" 28 | }, 29 | "format-button": { 30 | "type": "button", 31 | "description": "Show information on date format syntax", 32 | "indent": true, 33 | "dependency": "use-custom-format", 34 | "callback": "on_custom_format_button_pressed", 35 | "tooltip": "Click this button to know more about the syntax for date formats." 36 | }, 37 | "__md5__": "db2204a9b8ebf8688c7d463eed4ac71c" 38 | } -------------------------------------------------------------------------------- /backups/cinnamon/configs/calendar@cinnamon.org/12.json: -------------------------------------------------------------------------------- 1 | { 2 | "section1": { 3 | "type": "section", 4 | "description": "Display" 5 | }, 6 | "show-week-numbers": { 7 | "type": "switch", 8 | "default": false, 9 | "description": "Show week numbers in calendar", 10 | "tooltip": "Check this to show week numbers in the calendar.", 11 | "value": false 12 | }, 13 | "use-custom-format": { 14 | "type": "switch", 15 | "default": false, 16 | "description": "Use a custom date format", 17 | "tooltip": "Check this to define a custom format for the date in the calendar applet.", 18 | "value": true 19 | }, 20 | "custom-format": { 21 | "type": "entry", 22 | "default": "%A %B %e, %H:%M", 23 | "description": "Date format", 24 | "indent": true, 25 | "dependency": "use-custom-format", 26 | "tooltip": "Set your custom format here.", 27 | "value": "%s | %a %b %e, %H:%M:%S %Z" 28 | }, 29 | "format-button": { 30 | "type": "button", 31 | "description": "Show information on date format syntax", 32 | "indent": true, 33 | "dependency": "use-custom-format", 34 | "callback": "on_custom_format_button_pressed", 35 | "tooltip": "Click this button to know more about the syntax for date formats." 36 | }, 37 | "__md5__": "db2204a9b8ebf8688c7d463eed4ac71c" 38 | } -------------------------------------------------------------------------------- /scripts/backup_confs.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | . ~/paths.sh 4 | HOSTNAME=$(hostname) 5 | echo "[$(date +"%Y-%m-%d-%I:%M:%S")] " 'Configs backup started.' 6 | 7 | 8 | mkdir -p $TARGET_DIR 9 | mkdir -p ~/.vim 10 | 11 | # backups following items 12 | cp "$SOURCE_DIR/paths.sh" "$TARGET_DIR/" 13 | cp "$SOURCE_DIR/.bashrc" "$TARGET_DIR/" 14 | cp "$SOURCE_DIR/.bash_aliases" "$TARGET_DIR/" 15 | cp "$SOURCE_DIR/.bashitrc" "$TARGET_DIR/" 16 | cp "$SOURCE_DIR/.bash_profile" "$TARGET_DIR/" 17 | cp "$SOURCE_DIR/.profile" "$TARGET_DIR/" 18 | cp "$SOURCE_DIR/.bashrc.save" "$TARGET_DIR/" 19 | cp "$SOURCE_DIR/.editorconfig" "$TARGET_DIR/" 20 | cp "$SOURCE_DIR/.gitconfig" "$TARGET_DIR/" 21 | cp "$SOURCE_DIR/.tmux.conf" "$TARGET_DIR/" 22 | cp "$SOURCE_DIR/.vimrc" "$TARGET_DIR/" 23 | cp "$SOURCE_DIR/.vim/coc-settings.json" "$TARGET_DIR/" 24 | cp "$SOURCE_DIR/.zshrc" "$TARGET_DIR/" 25 | cp "$SOURCE_DIR/.zsh_profile" "$TARGET_DIR/" 26 | cp "$SOURCE_DIR/.commonrc" "$TARGET_DIR/" 27 | cp -r "$SOURCE_DIR/.personalized" "$TARGET_DIR/" 28 | dconf dump /org/gnome/terminal/legacy/profiles:/ > "$TARGET_DIR/gnome-terminal-profiles.dconf" # terminal profile backup 29 | 30 | substr="cinnamon" 31 | 32 | if [ "$DESKTOP_SESSION" = $substr ]; then 33 | echo "[$(date +"%Y-%m-%d-%I:%M:%S")] " Found $DESKTOP_SESSION desktop environment, backing up configs... 34 | dconf dump /org/cinnamon/ > "$TARGET_DIR/cinnamon/cinnamon_backup" 35 | cp -r "$SOURCE_DIR/.cinnamon/configs" "$TARGET_DIR/cinnamon/" 36 | fi 37 | 38 | echo "[$(date +"%Y-%m-%d-%I:%M:%S")] " 'Files backed up at' $TARGET_DIR'.' 39 | -------------------------------------------------------------------------------- /backups/cinnamon/show-desktop@cinnamon.org/2.json: -------------------------------------------------------------------------------- 1 | { 2 | "head": { 3 | "type": "header", 4 | "description": "Settings" 5 | }, 6 | "peek-at-desktop": { 7 | "type": "switch", 8 | "default": false, 9 | "description": "Peek at the desktop on hover", 10 | "tooltip": "Peek at the desktop when hovering the applet", 11 | "value": false 12 | }, 13 | "peek-blur": { 14 | "type": "switch", 15 | "default": false, 16 | "dependency": "peek-at-desktop", 17 | "indent": true, 18 | "description": "Blur effect", 19 | "tooltip": "Blur windows when peeking at the desktop", 20 | "value": false 21 | }, 22 | "peek-delay": { 23 | "type": "spinbutton", 24 | "default": 400, 25 | "min": 0, 26 | "max": 1000, 27 | "step": 50, 28 | "units": "milliseconds", 29 | "dependency": "peek-at-desktop", 30 | "indent": true, 31 | "description": "Hover delay", 32 | "tooltip": "Delay before Peek shows desktop", 33 | "value": 400 34 | }, 35 | "peek-opacity": { 36 | "type": "scale", 37 | "default": 10, 38 | "min": 0, 39 | "max": 255, 40 | "step": 10, 41 | "dependency": "peek-at-desktop", 42 | "indent": true, 43 | "description": "Window opacity", 44 | "tooltip": "Change the opacity of windows when peeking at the desktop", 45 | "value": 10 46 | }, 47 | "__md5__": "07f5e42ae16fd891dd4356a1e84920ca" 48 | } -------------------------------------------------------------------------------- /backups/cinnamon/configs/show-desktop@cinnamon.org/1.json: -------------------------------------------------------------------------------- 1 | { 2 | "head": { 3 | "type": "header", 4 | "description": "Settings" 5 | }, 6 | "peek-at-desktop": { 7 | "type": "switch", 8 | "default": false, 9 | "description": "Peek at the desktop on hover", 10 | "tooltip": "Peek at the desktop when hovering the applet", 11 | "value": false 12 | }, 13 | "peek-blur": { 14 | "type": "switch", 15 | "default": false, 16 | "dependency": "peek-at-desktop", 17 | "indent": true, 18 | "description": "Blur effect", 19 | "tooltip": "Blur windows when peeking at the desktop", 20 | "value": false 21 | }, 22 | "peek-delay": { 23 | "type": "spinbutton", 24 | "default": 400, 25 | "min": 0, 26 | "max": 1000, 27 | "step": 50, 28 | "units": "milliseconds", 29 | "dependency": "peek-at-desktop", 30 | "indent": true, 31 | "description": "Hover delay", 32 | "tooltip": "Delay before Peek shows desktop", 33 | "value": 400 34 | }, 35 | "peek-opacity": { 36 | "type": "scale", 37 | "default": 10, 38 | "min": 0, 39 | "max": 255, 40 | "step": 10, 41 | "dependency": "peek-at-desktop", 42 | "indent": true, 43 | "description": "Window opacity", 44 | "tooltip": "Change the opacity of windows when peeking at the desktop", 45 | "value": 10 46 | }, 47 | "__md5__": "07f5e42ae16fd891dd4356a1e84920ca" 48 | } -------------------------------------------------------------------------------- /backups/cinnamon/configs/show-desktop@cinnamon.org/2.json: -------------------------------------------------------------------------------- 1 | { 2 | "head": { 3 | "type": "header", 4 | "description": "Settings" 5 | }, 6 | "peek-at-desktop": { 7 | "type": "switch", 8 | "default": false, 9 | "description": "Peek at the desktop on hover", 10 | "tooltip": "Peek at the desktop when hovering the applet", 11 | "value": false 12 | }, 13 | "peek-blur": { 14 | "type": "switch", 15 | "default": false, 16 | "dependency": "peek-at-desktop", 17 | "indent": true, 18 | "description": "Blur effect", 19 | "tooltip": "Blur windows when peeking at the desktop", 20 | "value": false 21 | }, 22 | "peek-delay": { 23 | "type": "spinbutton", 24 | "default": 400, 25 | "min": 0, 26 | "max": 1000, 27 | "step": 50, 28 | "units": "milliseconds", 29 | "dependency": "peek-at-desktop", 30 | "indent": true, 31 | "description": "Hover delay", 32 | "tooltip": "Delay before Peek shows desktop", 33 | "value": 400 34 | }, 35 | "peek-opacity": { 36 | "type": "scale", 37 | "default": 10, 38 | "min": 0, 39 | "max": 255, 40 | "step": 10, 41 | "dependency": "peek-at-desktop", 42 | "indent": true, 43 | "description": "Window opacity", 44 | "tooltip": "Change the opacity of windows when peeking at the desktop", 45 | "value": 10 46 | }, 47 | "__md5__": "07f5e42ae16fd891dd4356a1e84920ca" 48 | } -------------------------------------------------------------------------------- /backups/coc-settings.json: -------------------------------------------------------------------------------- 1 | { 2 | // ---COC GENERAL--- 3 | "coc.preferences.formatOnSaveFiletypes": [ 4 | // "html", 5 | // "css", 6 | // "javascript", 7 | // "Markdown" 8 | ], 9 | // ---PYTHON LANGUAGE SERVER--- 10 | // "python.jediEnabled": true, // do: `pip install jedi>=0.17.0` globally 11 | // "python.jediEnabled": false, // to use MPLS (Microsoft Python Language Server) instead of Jedi 12 | // "python.jediPath": "/home/toransahu/miniconda3/lib/python3.7/site-packages", // for path see: `pip show jedi` 13 | // PYTHON LINT 14 | "python.linting.enabled": true, 15 | // "python.linting.pylintEnabled": true, 16 | "python.linting.flake8Enabled": true, 17 | "python.linting.flake8Args": [ 18 | "--max-line-length=120" 19 | ], 20 | // PYTHON FMT 21 | "python.formatting.provider": "black", 22 | "python.formatting.blackPath": "black", 23 | "python.formatting.blackArgs": [ 24 | "--skip-string-normalization", // single to double qoutes 25 | "--line-length=120" 26 | ], 27 | // ---JAVA--- 28 | "java.configuration.runtimes": [ 29 | { 30 | "name": "JavaSE-1.8", 31 | "path": "/usr/lib/jvm/java-8-openjdk-amd64/" 32 | } 33 | ], 34 | // ---LANGUAGE SERVERS-- 35 | "languageserver": { 36 | // "golang": { 37 | // "command": "gopls", 38 | // "args": ["-remote=auto"], 39 | // "rootPatterns": ["go.mod", ".git/"], 40 | // "filetypes": ["go"] 41 | // } 42 | }, 43 | } 44 | -------------------------------------------------------------------------------- /scripts/freeram.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # 3 | # freeram.sh 4 | # Copyright (C) 2019 Toran Sahu 5 | # 6 | # Distributed under terms of the MIT license. 7 | # 8 | 9 | #free && sync && echo 3 > /proc/sys/vm/drop_caches && free 10 | if [ "$(whoami)" != "root" ] 11 | then 12 | echo "You have to run this script as Superuser!" 13 | exit 1 14 | fi 15 | 16 | # Get Memory Information 17 | freemem_before=$(cat /proc/meminfo | grep MemFree | tr -s ' ' | cut -d ' ' -f2) && freemem_before=$(echo "$freemem_before/1024.0" | bc) 18 | cachedmem_before=$(cat /proc/meminfo | grep "^Cached" | tr -s ' ' | cut -d ' ' -f2) && cachedmem_before=$(echo "$cachedmem_before/1024.0" | bc) 19 | 20 | # Output Information 21 | echo "This script will clear cached memory and free up your ram.\n\nAt the moment you have $cachedmem_before MiB cached and $freemem_before MiB free memory." 22 | 23 | # Test sync 24 | if [ "$?" != "0" ] 25 | then 26 | echo "Something went wrong, It's impossible to sync the filesystem." 27 | exit 1 28 | fi 29 | 30 | # Freeing Up the Page Cache 31 | echo 1 > /proc/sys/vm/drop_caches 32 | # Freeing Up the Dentries and Inodes 33 | echo 2 > /proc/sys/vm/drop_caches 34 | # Freeing Up the Page Cache, Dentries and Inodes 35 | echo 3 > /proc/sys/vm/drop_caches 36 | # Flushing the File System Buffers 37 | sync 38 | 39 | freemem_after=$(cat /proc/meminfo | grep MemFree | tr -s ' ' | cut -d ' ' -f2) && freemem_after=$(echo "$freemem_after/1024.0" | bc) 40 | 41 | # Output Summary 42 | echo "This freed $(echo "$freemem_after - $freemem_before" | bc) MiB, so now you have $freemem_after MiB of free RAM." 43 | 44 | exit 0 45 | -------------------------------------------------------------------------------- /backups/cinnamon/configs/panel-launchers@cinnamon.org/3.json: -------------------------------------------------------------------------------- 1 | { 2 | "section1": { 3 | "type": "section", 4 | "description": "Behavior" 5 | }, 6 | "launcherList": { 7 | "type": "generic", 8 | "default": [ 9 | "firefox.desktop", 10 | "gnome-terminal.desktop", 11 | "nemo.desktop" 12 | ], 13 | "value": [ 14 | "gnome-terminal.desktop", 15 | "nemo.desktop", 16 | "firefox_firefox.desktop", 17 | "kazam.desktop", 18 | "shutter.desktop", 19 | "spotify.desktop", 20 | "msedge-lljldmnnhjkandejalbjlndemhlcjepa-Default.desktop", 21 | "msedge-hnpfjngllnobngcgfapefoaidbinmjnm-Default.desktop", 22 | "msedge-fmpeogjilmkgcolmjmaebdaebincaebh-Default.desktop", 23 | "msedge-fdpmmebolibhkidjkfpgakbgiickdaml-Default.desktop", 24 | "teams.desktop", 25 | "slack.desktop", 26 | "skypeforlinux.desktop", 27 | "chrome-faolnafnngnfdaknnbpnkhgohbobgegn-Default.desktop", 28 | "chrome-dapegfjghhebkefbhoodfgajoefocljn-Default.desktop", 29 | "cinnamon-custom-launcher-1.desktop", 30 | "chrome-kdakphmaigkeipmfnmgbafimmofpoicd-Default.desktop", 31 | "msedge-hnpfjngllnobngcgfapefoaidbinmjnm-Profile_1.desktop" 32 | ] 33 | }, 34 | "allow-dragging": { 35 | "type": "switch", 36 | "default": true, 37 | "description": "Allow dragging of launchers", 38 | "value": true 39 | }, 40 | "__md5__": "11474ba983ca660d140dedf9e087884c" 41 | } -------------------------------------------------------------------------------- /backups/cinnamon/configs/calendar@cinnamon.org/13.json: -------------------------------------------------------------------------------- 1 | { 2 | "section1": { 3 | "type": "section", 4 | "description": "Display" 5 | }, 6 | "show-week-numbers": { 7 | "type": "switch", 8 | "default": false, 9 | "description": "Show week numbers in calendar", 10 | "tooltip": "Check this to show week numbers in the calendar.", 11 | "value": false 12 | }, 13 | "use-custom-format": { 14 | "type": "switch", 15 | "default": false, 16 | "description": "Use a custom date format", 17 | "tooltip": "Check this to define a custom format for the date in the calendar applet.", 18 | "value": false 19 | }, 20 | "custom-format": { 21 | "type": "entry", 22 | "default": "%A, %B %e, %H:%M", 23 | "description": "Date format", 24 | "indent": true, 25 | "dependency": "use-custom-format", 26 | "tooltip": "Set your custom format here.", 27 | "value": "%A, %B %e, %H:%M" 28 | }, 29 | "format-button": { 30 | "type": "button", 31 | "description": "Show information on date format syntax", 32 | "indent": true, 33 | "dependency": "use-custom-format", 34 | "callback": "on_custom_format_button_pressed", 35 | "tooltip": "Click this button to know more about the syntax for date formats." 36 | }, 37 | "section2": { 38 | "type": "section", 39 | "description": "Keyboard shortcuts" 40 | }, 41 | "keyOpen": { 42 | "type": "keybinding", 43 | "description": "Show calendar", 44 | "default": "c", 45 | "tooltip": "Set keybinding(s) to show the calendar.", 46 | "value": "c" 47 | }, 48 | "__md5__": "630b424730fcba4718d867a7442c6b3b" 49 | } -------------------------------------------------------------------------------- /backups/cinnamon/configs/notifications@cinnamon.org/notifications@cinnamon.org.json: -------------------------------------------------------------------------------- 1 | { 2 | "section1": { 3 | "type": "section", 4 | "description": "Behavior" 5 | }, 6 | "ignoreTransientNotifications": { 7 | "type": "switch", 8 | "default": true, 9 | "description": "Ignore transient notifications", 10 | "tooltip": "Check this to ignore transient notifications.", 11 | "value": true 12 | }, 13 | "section2": { 14 | "type": "section", 15 | "description": "Display" 16 | }, 17 | "showEmptyTray": { 18 | "type": "switch", 19 | "default": false, 20 | "description": "Show empty tray", 21 | "tooltip": "Check this to show the tray even when there are no new notifications.", 22 | "value": false 23 | }, 24 | "section3": { 25 | "type": "section", 26 | "description": "Keyboard shortcuts" 27 | }, 28 | "keyOpen": { 29 | "type": "keybinding", 30 | "description": "Show notifications", 31 | "default": "n", 32 | "tooltip": "Set keybinding(s) to show the notification popup menu.", 33 | "value": "n" 34 | }, 35 | "keyClear": { 36 | "type": "keybinding", 37 | "description": "Clear notifications", 38 | "default": "c", 39 | "tooltip": "Set keybinding(s) to clear all notifications.", 40 | "value": "c" 41 | }, 42 | "section4": { 43 | "type": "section", 44 | "description": "" 45 | }, 46 | "btnSystemSettings": { 47 | "type": "button", 48 | "description": "Open notification settings", 49 | "callback": "on_btn_open_system_settings_clicked" 50 | }, 51 | "__md5__": "a0c865754395f09606cbab225c8f1fc1" 52 | } -------------------------------------------------------------------------------- /backups/.bashitrc: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Path to the bash it configuration 4 | export BASH_IT="/home/toran/.bash_it" 5 | 6 | # Lock and Load a custom theme file 7 | # location /.bash_it/themes/ 8 | export BASH_IT_THEME='bobby' 9 | 10 | # (Advanced): Change this to the name of your remote repo if you 11 | # cloned bash-it with a remote other than origin such as `bash-it`. 12 | # export BASH_IT_REMOTE='bash-it' 13 | 14 | # Your place for hosting Git repos. I use this for private repos. 15 | export GIT_HOSTING='git@git.domain.com' 16 | 17 | # Don't check mail when opening terminal. 18 | unset MAILCHECK 19 | 20 | # Change this to your console based IRC client of choice. 21 | export IRC_CLIENT='irssi' 22 | 23 | # Set this to the command you use for todo.txt-cli 24 | export TODO="t" 25 | 26 | # Set this to false to turn off version control status checking within the prompt for all themes 27 | export SCM_CHECK=true 28 | 29 | # Set Xterm/screen/Tmux title with only a short hostname. 30 | # Uncomment this (or set SHORT_HOSTNAME to something else), 31 | # Will otherwise fall back on $HOSTNAME. 32 | #export SHORT_HOSTNAME=$(hostname -s) 33 | 34 | # Set Xterm/screen/Tmux title with only a short username. 35 | # Uncomment this (or set SHORT_USER to something else), 36 | # Will otherwise fall back on $USER. 37 | #export SHORT_USER=${USER:0:8} 38 | 39 | # Set Xterm/screen/Tmux title with shortened command and directory. 40 | # Uncomment this to set. 41 | #export SHORT_TERM_LINE=true 42 | 43 | # Set vcprompt executable path for scm advance info in prompt (demula theme) 44 | # https://github.com/djl/vcprompt 45 | #export VCPROMPT_EXECUTABLE=~/.vcprompt/bin/vcprompt 46 | 47 | # (Advanced): Uncomment this to make Bash-it reload itself automatically 48 | # after enabling or disabling aliases, plugins, and completions. 49 | # export BASH_IT_AUTOMATIC_RELOAD_AFTER_CONFIG_CHANGE=1 50 | 51 | # Uncomment this to make Bash-it create alias reload. 52 | # export BASH_IT_RELOAD_LEGACY=1 53 | 54 | # Load Bash It 55 | source "$BASH_IT"/bash_it.sh -------------------------------------------------------------------------------- /backups/paths.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # 3 | # paths.sh 4 | # Copyright (C) 2020 Toran Sahu 5 | # 6 | # Distributed under terms of the MIT license. 7 | # 8 | 9 | RED='\033[0;31m' 10 | BLUE='\033[0;34m' 11 | GREEN='\033[0;32m' 12 | CYAN='\033[0;36m' 13 | NC='\033[0m' # No Color 14 | 15 | ## 16 | # PATHs: init - default 17 | ## 18 | export SOURCE_DIR=$HOME 19 | export EROOT=$SOURCE_DIR/disk/E 20 | export DROOT=$SOURCE_DIR/disk/D 21 | 22 | export WORKSPACE=$EROOT/workspace 23 | export GITHUB=$WORKSPACE/github.com 24 | export ME=$GITHUB/toransahu 25 | export OFFICE_NAME=aristanetworks 26 | export OFFICE_WORKSPACE=gerrit.corp.arista.io 27 | export OFFICE=$WORKSPACE/$OFFICE_WORKSPACE 28 | 29 | REPO_DIR="linux-tweaks" 30 | BAK_DIR="backups" # backup_confs.sh 31 | # BAK_DIR="$(date +"%Y-%m-%d-%I:%M:%S")" 32 | TARGET_DIR=$ME/$REPO_DIR/$BAK_DIR 33 | 34 | IS_NEW=false 35 | if ! [ -d "$EROOT" ] || ! [ -d "$DROOT" ]; then 36 | mkdir -p $EROOT 37 | mkdir -p $DROOT 38 | elif [ "$(hostname)" = mint-ThinkPad-L440 ]; then 39 | EROOT=~/disk/E 40 | DROOT=~/disk/D 41 | elif [ "$(hostname)" = Torans-MacBook-Pro-2.local ]; then 42 | EROOT=~/disk/E 43 | DROOT=~/disk/D 44 | export JAVA_HOME=/Library/Java/JavaVirtualMachines/temurin-8.jdk/Contents/Home 45 | export PATH=$PATH:$JAVA_HOME/bin 46 | export M2_HOME=$HOME/apache-maven-3.6.3 47 | export MVN_HOME=$M2_HOME 48 | export PATH=$MVN_HOME/bin:$PATH 49 | export GPG_TTY=$(tty) 50 | export PATH=$PATH:$HOME/usr/local/go/bin 51 | elif [ "$(hostname)" = DESKTOP-35VDAC5 ] && [ "$(uname)" = Linux ]; then 52 | SOURCE_DIR="/home/toran" 53 | EROOT="/mnt/g/toran/E" 54 | elif [ "$(hostname)" = raspberrypi ]; then 55 | SOURCE_DIR="/home/pi" 56 | EROOT="/home/pi/main-storage/E" 57 | else 58 | echo "[$REDx$NC] New device "$(hostname)" found. Adjust the vars accrodingly (if required)..$NC" 59 | IS_NEW=true 60 | fi 61 | 62 | if [ $IS_NEW = false ] ; then 63 | echo -e "$GREEN\b[✓] $CYAN$(whoami)@$(hostname)$NC" 64 | fi 65 | -------------------------------------------------------------------------------- /scripts/low_ram_action.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # 3 | # low_ram_warning.sh 4 | # Copyright (C) 2020 Toran Sahu 5 | # 6 | # Distributed under terms of the MIT license. 7 | # 8 | 9 | source ~/paths.sh 10 | 11 | THRESHOLD1=20.0 12 | THRESHOLD2=15.0 13 | THRESHOLD3=10.0 14 | TICK=3 15 | 16 | free_cached_ram () { 17 | echo Freeing up some RAM. 18 | sudo $WORKSPACE/linux-tweaks/scripts/freeram.sh 19 | echo done! 20 | } 21 | 22 | kill_firefox () { 23 | APPS_TO_CLOSE='firefox' 24 | for app in $APPS_TO_CLOSE; do 25 | pids=$(pidof $app | awk '{$NF=""; print $0}') # kill subtasks 26 | echo "[$TIMESTAMP] Will kill $app[pids: $pids]" 27 | kill $pids 28 | echo "[$TIMESTAMP] Killed $app[pids: $pids]" 29 | done 30 | } 31 | 32 | kill_java () { 33 | echo Killing java 34 | kill $(pidof java) 35 | echo done! 36 | } 37 | 38 | kill_TabNine () { 39 | echo Killing TabNine 40 | kill $(pidof TabNine) 41 | echo done 42 | } 43 | 44 | run() { 45 | while true; do 46 | TIMESTAMP=$(date +"%Y-%m-%d-%H:%M:%S") 47 | RAM_USGAE=$(free | grep Mem | awk '{print $3/$2 * 100.0}') 48 | # RAM_FREE=$(free | grep Mem | awk '{print $4/$2 * 100.0}') # total - used - cahed - buffer 49 | RAM_FREE=$(python -c "print(100 - $RAM_USGAE)") # total - used 50 | 51 | SWAP_USGAE=$(free | grep Swap | awk '{print $3/$2 * 100.0}') 52 | SWAP_FREE=$(free | grep Swap | awk '{print $4/$2 * 100.0}') 53 | 54 | echo "[$TIMESTAMP] Usage: $RAM_USGAE%,\tFree: $RAM_FREE%." 55 | 56 | if python -c "exit(0 if $RAM_FREE <= $THRESHOLD1 else 1)"; then 57 | free_cached_ram 58 | fi 59 | 60 | if python -c "exit(0 if $RAM_FREE <= $THRESHOLD2 else 1)"; then 61 | kill_java 62 | kill_TabNine 63 | fi 64 | 65 | if python -c "exit(0 if $RAM_FREE <= $THRESHOLD3 else 1)"; then 66 | kill_firefox 67 | fi 68 | 69 | sleep $TICK; 70 | done 71 | } 72 | 73 | run 74 | 75 | 76 | 77 | # good-to-read 78 | # - https://www.linuxatemyram.com/ 79 | -------------------------------------------------------------------------------- /scripts/post_install.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # 3 | # post_install.sh 4 | # Copyright (C) 2018 Toran Sahu 5 | # 6 | # Distributed under terms of the MIT license. 7 | 8 | 9 | ##--------------------------------------------------------------- 10 | # linux packages 11 | ## 12 | 13 | # TODO: ask for update, else skip 14 | sudo apt update 15 | sudo apt upgrade 16 | sudo apt install --fix-missings 17 | sudo apt install --fix-broken 18 | sudo apt install vim-gnome zsh git xdotool 19 | 20 | # TODO: only if mint or desktop env present 21 | # sudo apt install evolution sublime-text3 xdotool 22 | 23 | 24 | ##--------------------------------------------------------------- 25 | # python 26 | ## 27 | 28 | ## env 29 | #----- 30 | 31 | cd ~/ 32 | 33 | wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh 34 | 35 | bash Miniconda3-latest-Linux-x86_64.sh 36 | 37 | ## python packages 38 | #----------------- 39 | 40 | pip install --upgrade pip 41 | pip install pipenv flake8 black 42 | 43 | 44 | ##--------------------------------------------------------------- 45 | # shell 46 | ## 47 | 48 | ## oh-my-zsh 49 | #----------- 50 | sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" 51 | 52 | ## zsh-autosuggestions 53 | #------------------ 54 | git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions 55 | 56 | ##--------------------------------------------------------------- 57 | # vim 58 | ## 59 | 60 | ## vundle 61 | #-------- 62 | git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim 63 | 64 | ## suan/vim-instant-markdown 65 | # --------------------------- 66 | sudo apt install npm xdg-utils curl nodejs 67 | sudo npm -g install instant-markdown-d 68 | git clone https://github.com/suan/vim-instant-markdown.git ~/.vim/vim-instant-markdown 69 | mv ~/.vim/vim-instant-markdown/after ~/.vim/after 70 | 71 | 72 | ##--------------------------------------------------------------- 73 | # copy configurations files 74 | ## 75 | cp -r ../backups/. ~/ 76 | 77 | . ~/.zshrc 78 | echo "Configuration files copied successfully" 79 | -------------------------------------------------------------------------------- /backups/cinnamon/sound@cinnamon.org/sound@cinnamon.org.json: -------------------------------------------------------------------------------- 1 | { 2 | "section1": { 3 | "type": "section", 4 | "description": "Menu" 5 | }, 6 | "playerControl": { 7 | "type": "switch", 8 | "default": true, 9 | "description": "Control Players", 10 | "value": true 11 | }, 12 | "extendedPlayerControl": { 13 | "type": "switch", 14 | "default": false, 15 | "description": "Show Loop and Shuffle controls", 16 | "dependency": "playerControl", 17 | "indent": true, 18 | "value": false 19 | }, 20 | "_knownPlayers": { 21 | "type": "generic", 22 | "default": [ 23 | "banshee", 24 | "vlc", 25 | "rhythmbox" 26 | ], 27 | "value": [ 28 | "banshee", 29 | "vlc", 30 | "rhythmbox" 31 | ] 32 | }, 33 | "section2": { 34 | "type": "section", 35 | "description": "Panel" 36 | }, 37 | "showtrack": { 38 | "type": "switch", 39 | "default": false, 40 | "description": "Show song information on the panel", 41 | "dependency": "playerControl", 42 | "value": false 43 | }, 44 | "truncatetext": { 45 | "type": "spinbutton", 46 | "default": 30, 47 | "min": 5, 48 | "max": 512, 49 | "units": "characters", 50 | "step": 1, 51 | "description": "Limit song information to", 52 | "dependency": "showtrack", 53 | "indent": true, 54 | "value": 30 55 | }, 56 | "middleClickAction": { 57 | "type": "combobox", 58 | "default": "mute", 59 | "options": { 60 | "Toggle Mute": "mute", 61 | "Toggle Play / Pause": "player" 62 | }, 63 | "description": "Action on middle click", 64 | "value": "mute" 65 | }, 66 | "showalbum": { 67 | "type": "switch", 68 | "default": false, 69 | "description": "Show album art as icon", 70 | "dependency": "playerControl", 71 | "value": false 72 | }, 73 | "hideSystray": { 74 | "type": "switch", 75 | "description": "Hide system tray icons for compatible players", 76 | "default": true, 77 | "value": true 78 | }, 79 | "__md5__": "5ded76da252c95dec6318f480a942bc2" 80 | } -------------------------------------------------------------------------------- /scripts/powertop-script/powertop_scripts.sh: -------------------------------------------------------------------------------- 1 | echo '1500' > '/proc/sys/vm/dirty_writeback_centisecs'; 2 | echo 'min_power' > '/sys/class/scsi_host/host0/link_power_management_policy'; 3 | echo 'min_power' > '/sys/class/scsi_host/host3/link_power_management_policy'; 4 | echo 'min_power' > '/sys/class/scsi_host/host1/link_power_management_policy'; 5 | echo 'min_power' > '/sys/class/scsi_host/host4/link_power_management_policy'; 6 | echo 'min_power' > '/sys/class/scsi_host/host2/link_power_management_policy'; 7 | echo '1' > '/sys/module/snd_hda_intel/parameters/power_save'; 8 | echo '0' > '/proc/sys/kernel/nmi_watchdog'; 9 | echo 'auto' > '/sys/bus/i2c/devices/i2c-4/device/power/control'; 10 | echo 'auto' > '/sys/bus/usb/devices/3-7/power/control'; 11 | echo 'auto' > '/sys/bus/i2c/devices/i2c-3/device/power/control'; 12 | echo 'auto' > '/sys/bus/i2c/devices/i2c-1/device/power/control'; 13 | echo 'auto' > '/sys/bus/i2c/devices/i2c-2/device/power/control'; 14 | echo 'auto' > '/sys/bus/i2c/devices/i2c-0/device/power/control'; 15 | echo 'auto' > '/sys/bus/i2c/devices/i2c-5/device/power/control'; 16 | echo 'auto' > '/sys/bus/pci/devices/0000:00:1f.2/power/control'; 17 | echo 'auto' > '/sys/bus/pci/devices/0000:00:19.0/power/control'; 18 | echo 'auto' > '/sys/bus/pci/devices/0000:00:1f.3/power/control'; 19 | echo 'auto' > '/sys/bus/pci/devices/0000:00:00.0/power/control'; 20 | echo 'auto' > '/sys/bus/pci/devices/0000:00:03.0/power/control'; 21 | echo 'auto' > '/sys/bus/pci/devices/0000:00:1d.0/power/control'; 22 | echo 'auto' > '/sys/bus/pci/devices/0000:00:1a.0/power/control'; 23 | echo 'auto' > '/sys/bus/pci/devices/0000:00:1c.4/power/control'; 24 | echo 'auto' > '/sys/bus/pci/devices/0000:00:1c.2/power/control'; 25 | echo 'auto' > '/sys/bus/pci/devices/0000:00:1f.0/power/control'; 26 | echo 'auto' > '/sys/bus/pci/devices/0000:02:00.0/power/control'; 27 | echo 'auto' > '/sys/bus/pci/devices/0000:08:00.0/power/control'; 28 | echo 'auto' > '/sys/bus/pci/devices/0000:00:16.0/power/control'; 29 | echo 'auto' > '/sys/bus/pci/devices/0000:00:1b.0/power/control'; 30 | echo 'auto' > '/sys/bus/pci/devices/0000:00:14.0/power/control'; 31 | echo 'auto' > '/sys/bus/pci/devices/0000:00:02.0/power/control'; 32 | ethtool -s enp0s25 wol d; 33 | iw dev wlan0 set power_save on; 34 | echo 'auto' > '/sys/bus/pci/devices/0000:00:1c.0/power/control'; 35 | echo 'auto' > '/sys/bus/pci/devices/0000:00:1c.1/power/control'; 36 | -------------------------------------------------------------------------------- /scripts/remove_katoolin.sh: -------------------------------------------------------------------------------- 1 | sudo apt-get -f remove acccheck ace-voip amap automater braa casefile cdpsnarf cisco-torch cookie-cadger copy-router-config dmitry dnmap dnsenum dnsmap dnsrecon dnstracer dnswalk dotdotpwn enum4linux enumiax exploitdb fierce firewalk fragroute fragrouter ghost-phisher golismero goofile lbd maltego-teeth masscan metagoofil miranda nmap p0f parsero recon-ng set smtp-user-enum snmpcheck sslcaudit sslsplit sslstrip sslyze thc-ipv6 theharvester tlssled twofi urlcrazy wireshark wol-e xplico ismtp intrace hping3 bbqsql bed cisco-auditing-tool cisco-global-exploiter cisco-ocs cisco-torch copy-router-config doona dotdotpwn greenbone-security-assistant hexorbase jsql lynis nmap ohrwurm openvas-cli openvas-manager openvas-scanner oscanner powerfuzzer sfuzz sidguesser siparmyknife sqlmap sqlninja sqlsus thc-ipv6 tnscmd10g unix-privesc-check yersinia aircrack-ng asleap bluelog blueranger bluesnarfer bully cowpatty crackle eapmd5pass fern-wifi-cracker ghost-phisher giskismet gqrx kalibrate-rtl killerbee kismet mdk3 mfcuk mfoc mfterm multimon-ng pixiewps reaver redfang spooftooph wifi-honey wifitap wifite apache-users arachni bbqsql blindelephant burpsuite cutycapt davtest deblaze dirb dirbuster fimap funkload grabber jboss-autopwn joomscan jsql maltego-teeth padbuster paros parsero plecost powerfuzzer proxystrike recon-ng skipfish sqlmap sqlninja sqlsus ua-tester uniscan vega w3af webscarab websploit wfuzz wpscan xsser zaproxy burpsuite dnschef fiked hamster-sidejack hexinject iaxflood inviteflood ismtp mitmproxy ohrwurm protos-sip rebind responder rtpbreak rtpinsertsound rtpmixsound sctpscan siparmyknife sipp sipvicious sniffjoke sslsplit sslstrip thc-ipv6 voiphopper webscarab wifi-honey wireshark xspy yersinia zaproxy cryptcat cymothoa dbd dns2tcp http-tunnel httptunnel intersect nishang polenum powersploit pwnat ridenum sbd u3-pwn webshells weevely casefile cutycapt dos2unix dradis keepnote magictree metagoofil nipper-ng pipal armitage backdoor-factory cisco-auditing-tool cisco-global-exploiter cisco-ocs cisco-torch crackle jboss-autopwn linux-exploit-suggester maltego-teeth set shellnoob sqlmap thc-ipv6 yersinia beef-xss binwalk bulk-extractor chntpw cuckoo dc3dd ddrescue dumpzilla extundelete foremost galleta guymager iphone-backup-analyzer p0f pdf-parser pdfid pdgmail peepdf volatility xplico dhcpig funkload iaxflood inviteflood ipv6-toolkit mdk3 reaver rtpflood slowhttptest t50 termineter thc-ipv6 thc-ssl-dos acccheck burpsuite cewl chntpw cisco-auditing-tool cmospwd creddump crunch findmyhash gpp-decrypt hash-identifier hexorbase john johnny keimpx maltego-teeth maskprocessor multiforcer ncrack oclgausscrack pack patator polenum rainbowcrack rcracki-mt rsmangler statsprocessor thc-pptp-bruter truecrack webscarab wordlists zaproxy apktool dex2jar python-distorm3 edb-debugger jad javasnoop jd ollydbg smali valgrind yara android-sdk apktool arduino dex2jar sakis3g smali 2 | 3 | && wget http://www.morningstarsecurity.com/downloads/bing-ip2hosts-0.4.tar.gz && tar -xzvf bing-ip2hosts-0.4.tar.gz && cp bing-ip2hosts-0.4/bing-ip2hosts /usr/local/bin/ 4 | -------------------------------------------------------------------------------- /scripts/restore_confs.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # 3 | # restore_confs.sh 4 | # Copyright (C) 2018 Toran Sahu 5 | # 6 | # Distributed under terms of the MIT license. 7 | # 8 | 9 | 10 | 11 | . ~/paths.sh 12 | HOSTNAME=$(hostname) 13 | mkdir -p ~/.vim 14 | 15 | 16 | ## 17 | # Temporary backup 18 | ## 19 | echo "[$(date +"%Y-%m-%d-%I:%M:%S")] " 'Configs temporary backup started.' 20 | TMP_BAK_DIR=~/tmp_bak 21 | mkdir -p $TMP_BAK_DIR 22 | 23 | # backups following items temporarily 24 | cp "$SOURCE_DIR/paths.sh" "$TMP_BAK_DIR/" 25 | cp "$SOURCE_DIR/.bashrc" "$TMP_BAK_DIR/" 26 | cp "$SOURCE_DIR/.bash_aliases" "$TMP_BAK_DIR/" 27 | cp "$SOURCE_DIR/.bashitrc" "$TMP_BAK_DIR/" 28 | cp "$SOURCE_DIR/.bash_profile" "$TMP_BAK_DIR/" 29 | cp "$SOURCE_DIR/.profile" "$TMP_BAK_DIR/" 30 | cp "$SOURCE_DIR/.bashrc.save" "$TMP_BAK_DIR/" 31 | cp "$SOURCE_DIR/.editorconfig" "$TMP_BAK_DIR/" 32 | cp "$SOURCE_DIR/.tmux.conf" "$TMP_BAK_DIR/" 33 | cp "$SOURCE_DIR/.vimrc" "$TMP_BAK_DIR/" 34 | cp "$SOURCE_DIR/.vim/coc-settings.json" "$TMP_BAK_DIR/" 35 | cp "$SOURCE_DIR/.zshrc" "$TMP_BAK_DIR/" 36 | cp "$SOURCE_DIR/.commonrc" "$TMP_BAK_DIR/" 37 | cp -r "$SOURCE_DIR/.personalized" "$TMP_BAK_DIR/" 38 | dconf dump /org/gnome/terminal/legacy/profiles:/ > "$TMP_BAK_DIR/gnome-terminal-profiles.dconf" # terminal profile backup 39 | 40 | substr="cinnamon" 41 | 42 | if [ "$DESKTOP_SESSION" = $substr ]; then 43 | dconf dump /org/cinnamon/ > "$TMP_BAK_DIR/cinnamon/cinnamon_backup_$HOSTNAME" 44 | cp -r "$SOURCE_DIR/.cinnamon/configs" "$TMP_BAK_DIR/cinnamon/" 45 | fi 46 | 47 | echo "[$(date +"%Y-%m-%d-%I:%M:%S")] " 'Files temporarily backed up at' $TMP_BAK_DIR'.' 48 | 49 | ## 50 | # Restore 51 | ## 52 | echo "[$(date +"%Y-%m-%d-%I:%M:%S")] " 'Starting Configs Restore from' $TARGET_DIR'.' 53 | 54 | cp "$TARGET_DIR/paths.sh" "$SOURCE_DIR/" 55 | cp "$TARGET_DIR/.bashrc" "$SOURCE_DIR/" 56 | cp "$TARGET_DIR/.bash_aliases" "$SOURCE_DIR/" 57 | cp "$TARGET_DIR/.bashitrc" "$SOURCE_DIR/" 58 | cp "$TARGET_DIR/.bash_profile" "$SOURCE_DIR/" 59 | cp "$TARGET_DIR/.profile" "$SOURCE_DIR/" 60 | cp "$TARGET_DIR/.bashrc.save" "$SOURCE_DIR/" 61 | cp "$TARGET_DIR/.editorconfig" "$SOURCE_DIR/" 62 | cp "$TARGET_DIR/.gitconfig" "$SOURCE_DIR/" 63 | cp "$TARGET_DIR/.tmux.conf" "$SOURCE_DIR/" 64 | cp "$TARGET_DIR/.vimrc" "$SOURCE_DIR/" 65 | cp "$TARGET_DIR/coc-settings.json" "$SOURCE_DIR/.vim/" 66 | cp "$TARGET_DIR/.zshrc" "$SOURCE_DIR/" 67 | cp "$TARGET_DIR/.zsh_profile" "$SOURCE_DIR/" 68 | cp "$TARGET_DIR/.commonrc" "$SOURCE_DIR/" 69 | cp -r "$TARGET_DIR/.personalized" "$SOURCE_DIR/" 70 | dconf load /org/gnome/terminal/legacy/profiles:/ < "$TARGET_DIR/gnome-terminal-profiles.dconf" 71 | 72 | substr="cinnamon" 73 | 74 | if [ "$DESKTOP_SESSION" = $substr ]; then 75 | echo "[$(date +"%Y-%m-%d-%I:%M:%S")] " Found $DESKTOP_SESSION desktop environment, restoring configs... 76 | dconf load /org/cinnamon/ < "$TARGET_DIR/cinnamon/cinnamon_backup" 77 | cp -r "$TARGET_DIR/cinnamon/configs" "$SOURCE_DIR/.cinnamon/" 78 | fi 79 | 80 | echo "[$(date +"%Y-%m-%d-%I:%M:%S")] " 'Configs Restore Completed.' 81 | -------------------------------------------------------------------------------- /backups/gnome-terminal-profiles.dconf: -------------------------------------------------------------------------------- 1 | [/] 2 | default='6ba44feb-d296-418d-9028-bacb2785532c' 3 | list=['b1dcc9dd-5262-4d8d-a863-c897e6d979b9', 'ce86e17d-bdc6-490c-9718-812fc48852f2', '50f04436-b33a-4f76-a245-86e6d43a6f82', '6774866f-f717-4739-ae50-17cd61f82db0', '6ba44feb-d296-418d-9028-bacb2785532c'] 4 | 5 | [:50f04436-b33a-4f76-a245-86e6d43a6f82] 6 | audible-bell=false 7 | background-color='rgb(229,224,224)' 8 | bold-color-same-as-fg=true 9 | bold-is-bright=true 10 | cursor-colors-set=false 11 | foreground-color='rgb(32,32,32)' 12 | highlight-colors-set=false 13 | palette=['rgb(7,54,66)', 'rgb(220,50,47)', 'rgb(64,156,34)', 'rgb(181,137,0)', 'rgb(38,139,210)', 'rgb(202,51,124)', 'rgb(42,161,152)', 'rgb(238,232,213)', 'rgb(104,116,119)', 'rgb(139,44,5)', 'rgb(6,115,11)', 'rgb(101,123,131)', 'rgb(131,148,150)', 'rgb(108,113,196)', 'rgb(147,161,161)', 'rgb(253,246,227)'] 14 | use-theme-colors=false 15 | use-theme-transparency=false 16 | visible-name='grey_on_light_grey' 17 | 18 | [:6774866f-f717-4739-ae50-17cd61f82db0] 19 | audible-bell=false 20 | visible-name='experimental' 21 | 22 | [:6ba44feb-d296-418d-9028-bacb2785532c] 23 | audible-bell=false 24 | background-color='rgb(39,40,40)' 25 | background-transparency-percent=4 26 | font='Monospace 14' 27 | foreground-color='rgb(211,215,207)' 28 | palette=['rgb(46,52,54)', 'rgb(204,48,48)', 'rgb(78,154,6)', 'rgb(196,160,0)', 'rgb(52,101,164)', 'rgb(177,61,196)', 'rgb(6,152,154)', 'rgb(211,215,207)', 'rgb(111,113,109)', 'rgb(194,9,9)', 'rgb(138,226,52)', 'rgb(252,233,79)', 'rgb(114,159,207)', 'rgb(173,127,168)', 'rgb(52,226,226)', 'rgb(238,238,236)'] 29 | scroll-on-output=true 30 | use-custom-command=false 31 | use-system-font=false 32 | use-theme-colors=false 33 | use-theme-transparency=false 34 | use-transparent-background=false 35 | visible-name='light_on_dark_grey' 36 | 37 | [:b1dcc9dd-5262-4d8d-a863-c897e6d979b9] 38 | audible-bell=false 39 | background-color='rgb(11,11,11)' 40 | background-transparency-percent=8 41 | bold-color-same-as-fg=true 42 | bold-is-bright=false 43 | cursor-colors-set=false 44 | foreground-color='rgb(46,52,54)' 45 | highlight-colors-set=false 46 | palette=['rgb(7,54,66)', 'rgb(220,50,47)', 'rgb(133,153,0)', 'rgb(181,137,0)', 'rgb(38,139,210)', 'rgb(211,54,130)', 'rgb(42,161,152)', 'rgb(238,232,213)', 'rgb(88,107,112)', 'rgb(203,75,22)', 'rgb(88,110,117)', 'rgb(101,123,131)', 'rgb(131,148,150)', 'rgb(108,113,196)', 'rgb(147,161,161)', 'rgb(253,246,227)'] 47 | scrollbar-policy='never' 48 | use-theme-colors=false 49 | use-theme-transparency=false 50 | use-transparent-background=false 51 | visible-name='light_on_dark' 52 | 53 | [:ce86e17d-bdc6-490c-9718-812fc48852f2] 54 | audible-bell=false 55 | background-color='rgb(38,38,38)' 56 | foreground-color='rgb(211,215,207)' 57 | palette=['rgb(46,52,54)', 'rgb(204,48,48)', 'rgb(78,154,6)', 'rgb(196,160,0)', 'rgb(52,101,164)', 'rgb(177,61,196)', 'rgb(6,152,154)', 'rgb(211,215,207)', 'rgb(111,113,109)', 'rgb(194,9,9)', 'rgb(138,226,52)', 'rgb(252,233,79)', 'rgb(114,159,207)', 'rgb(173,127,168)', 'rgb(52,226,226)', 'rgb(238,238,236)'] 58 | use-theme-colors=true 59 | use-theme-transparency=false 60 | use-transparent-background=false 61 | visible-name='light_on_grey' 62 | -------------------------------------------------------------------------------- /backups/cinnamon/configs/multicore-sys-monitor@ccadeptic23/prefs.json: -------------------------------------------------------------------------------- 1 | { 2 | "labelsOn": false, 3 | "refreshRate": 1000, 4 | "labelColor": [ 5 | 0.9333333333333333, 6 | 0.9333333333333333, 7 | 0.9254901960784314, 8 | 1 9 | ], 10 | "backgroundColor": [ 11 | 1, 12 | 1, 13 | 1, 14 | 0.1 15 | ], 16 | "cpu": { 17 | "enabled": true, 18 | "width": 40, 19 | "colors": [ 20 | [ 21 | 1, 22 | 1, 23 | 1, 24 | 1 25 | ], 26 | [ 27 | 1, 28 | 1, 29 | 1, 30 | 1 31 | ], 32 | [ 33 | 1, 34 | 1, 35 | 1, 36 | 1 37 | ], 38 | [ 39 | 1, 40 | 1, 41 | 1, 42 | 1 43 | ] 44 | ] 45 | }, 46 | "mem": { 47 | "enabled": true, 48 | "width": 22, 49 | "colors": [ 50 | [ 51 | 1, 52 | 1, 53 | 1, 54 | 1 55 | ], 56 | [ 57 | 0.6, 58 | 0.6, 59 | 0.6, 60 | 0.8 61 | ], 62 | [ 63 | 0.8, 64 | 0.8, 65 | 0.8, 66 | 0.8 67 | ], 68 | [ 69 | 0.9, 70 | 0.9, 71 | 0.9, 72 | 0.1 73 | ] 74 | ], 75 | "swapcolors": [ 76 | [ 77 | 1, 78 | 1, 79 | 1, 80 | 0.15 81 | ] 82 | ] 83 | }, 84 | "net": { 85 | "enabled": false, 86 | "autoscale": true, 87 | "logscale": true, 88 | "width": 40, 89 | "devices": [ 90 | { 91 | "id": "lo", 92 | "enabled": false, 93 | "show": 4, 94 | "colors": [ 95 | [ 96 | 1, 97 | 1, 98 | 1, 99 | 0.8 100 | ], 101 | [ 102 | 0, 103 | 0, 104 | 0, 105 | 0.6 106 | ] 107 | ], 108 | "up": 20900, 109 | "down": 20900, 110 | "tooltipUp": 0, 111 | "tooltipDown": 0, 112 | "lastReading": [ 113 | 0, 114 | 0 115 | ], 116 | "readingRatesList": [] 117 | }, 118 | { 119 | "id": "wlp2s0", 120 | "enabled": false, 121 | "show": 4, 122 | "colors": [ 123 | [ 124 | 1, 125 | 1, 126 | 1, 127 | 0.8 128 | ], 129 | [ 130 | 0, 131 | 0, 132 | 0, 133 | 0.6 134 | ] 135 | ], 136 | "up": 112455, 137 | "down": 907730, 138 | "tooltipUp": 0, 139 | "tooltipDown": 0, 140 | "lastReading": [ 141 | 0, 142 | 0 143 | ], 144 | "readingRatesList": [] 145 | }, 146 | { 147 | "id": "enp0s25", 148 | "enabled": false, 149 | "show": true, 150 | "colors": [ 151 | [ 152 | 1, 153 | 1, 154 | 1, 155 | 0.8 156 | ], 157 | [ 158 | 0, 159 | 0, 160 | 0, 161 | 0.6 162 | ] 163 | ] 164 | } 165 | ] 166 | }, 167 | "disk": { 168 | "enabled": false, 169 | "autoscale": true, 170 | "logscale": true, 171 | "width": 40, 172 | "devices": [ 173 | { 174 | "id": "/", 175 | "enabled": true, 176 | "show": 4, 177 | "colors": [ 178 | [ 179 | 1, 180 | 1, 181 | 1, 182 | 1 183 | ], 184 | [ 185 | 0.6, 186 | 0.6, 187 | 0.6, 188 | 0.8 189 | ] 190 | ], 191 | "path": "/", 192 | "read": 5419737088, 193 | "write": 1760460800, 194 | "lastReading": [ 195 | 0, 196 | 0 197 | ], 198 | "readingRatesList": [] 199 | } 200 | ] 201 | } 202 | } -------------------------------------------------------------------------------- /backups/cinnamon/configs/sound@cinnamon.org/sound@cinnamon.org.json: -------------------------------------------------------------------------------- 1 | { 2 | "section1": { 3 | "type": "section", 4 | "description": "Menu" 5 | }, 6 | "playerControl": { 7 | "type": "switch", 8 | "default": true, 9 | "description": "Control Players", 10 | "value": true 11 | }, 12 | "extendedPlayerControl": { 13 | "type": "switch", 14 | "default": false, 15 | "description": "Show Loop and Shuffle controls", 16 | "dependency": "playerControl", 17 | "indent": true, 18 | "value": false 19 | }, 20 | "keyOpen": { 21 | "type": "keybinding", 22 | "description": "Show menu", 23 | "default": "s", 24 | "tooltip": "Set keybinding(s) to show the sound applet menu.", 25 | "value": "s" 26 | }, 27 | "_knownPlayers": { 28 | "type": "generic", 29 | "default": [ 30 | "banshee", 31 | "vlc", 32 | "rhythmbox" 33 | ], 34 | "value": [ 35 | "banshee", 36 | "vlc", 37 | "rhythmbox", 38 | "spotify", 39 | "firefox", 40 | "io.github.celluloid_player.Celluloid" 41 | ] 42 | }, 43 | "section2": { 44 | "type": "section", 45 | "description": "Panel" 46 | }, 47 | "showtrack": { 48 | "type": "switch", 49 | "default": false, 50 | "description": "Show song information on the panel", 51 | "dependency": "playerControl", 52 | "value": false 53 | }, 54 | "truncatetext": { 55 | "type": "spinbutton", 56 | "default": 30, 57 | "min": 5, 58 | "max": 512, 59 | "units": "characters", 60 | "step": 1, 61 | "description": "Limit song information to", 62 | "dependency": "showtrack", 63 | "indent": true, 64 | "value": 30 65 | }, 66 | "middleClickAction": { 67 | "type": "combobox", 68 | "default": "mute", 69 | "options": { 70 | "Toggle Mute": "mute", 71 | "Toggle Mute output": "out_mute", 72 | "Toggle Mute input": "in_mute", 73 | "Toggle Play / Pause": "player" 74 | }, 75 | "description": "Action on middle click", 76 | "value": "mute" 77 | }, 78 | "horizontalScroll": { 79 | "type": "switch", 80 | "default": false, 81 | "description": "Use horizontal scrolling to move between tracks", 82 | "dependency": "playerControl", 83 | "value": false 84 | }, 85 | "showalbum": { 86 | "type": "switch", 87 | "default": false, 88 | "description": "Show album art as icon", 89 | "dependency": "playerControl", 90 | "value": false 91 | }, 92 | "keepAlbumAspectRatio": { 93 | "type": "switch", 94 | "default": true, 95 | "description": "Keep album art aspect ratio", 96 | "dependency": "playerControl", 97 | "value": true 98 | }, 99 | "hideSystray": { 100 | "type": "switch", 101 | "description": "Hide system tray icons for compatible players", 102 | "default": true, 103 | "value": true 104 | }, 105 | "__md5__": "bd55910c1cad0cda19a01bffe9767935" 106 | } -------------------------------------------------------------------------------- /backups/.personalized/parse_envvars.py: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env python 2 | # -*- coding: utf-8 -*- 3 | # vim:fenc=utf-8 4 | # created_on: 2020-02-04 15:31 5 | 6 | """Parse Envvars.""" 7 | 8 | import argparse 9 | import os 10 | from gettext import gettext as _ 11 | 12 | __author__ = "Toran Sahu " 13 | __license__ = "Distributed under terms of the MIT license" 14 | 15 | 16 | WORKSPACE = os.environ["ME"] 17 | ROOT_ENV = os.path.join(WORKSPACE, "aliases") 18 | ENV = "envs" 19 | SELF = "self" 20 | 21 | 22 | class ParseKeyVal(argparse.Action): 23 | """ParseKeyVal parses key value pair in dict format.""" 24 | 25 | def __init__(self, option_strings, dest, nargs=None, **kwargs): 26 | super(ParseKeyVal, self).__init__(option_strings, dest, **kwargs) 27 | 28 | def __call__(self, parser, namespace, values, option_string=None): 29 | namespace.kv = dict() 30 | try: 31 | k, v = values.split("=") 32 | namespace.kv[k] = v 33 | except ValueError: 34 | pass 35 | 36 | 37 | class EnvParser: 38 | def __init__(self): 39 | parser = argparse.ArgumentParser(description=_("Save an ENV var")) 40 | parser.add_argument("-c", "--ctx", default=SELF, help=_("Context")) # TODO: default me 41 | parser.add_argument("-e", "--env", help=_("Environment")) # TODO: for me 42 | parser.add_argument("--cmd", help=_("Command: var/unvar")) 43 | parser.add_argument("kv", nargs="*", action=ParseKeyVal, help=_("key=value pair")) 44 | parser.add_argument("k", nargs="*", help=_("keys to be actioned")) 45 | args = parser.parse_args() 46 | full_env = args.env 47 | 48 | self.org = str(args.ctx).lower() 49 | self.env, self.provider = None, None 50 | if full_env: 51 | full_env = str(args.env).lower() 52 | try: 53 | self.env, self.provider = full_env.split("@") 54 | except ValueError: 55 | self.env = full_env 56 | self.provider = None 57 | 58 | self.alias_file = "." + self.org + "_pvt_rc" 59 | self.alias_file_path = os.path.join(ROOT_ENV, self.alias_file) 60 | 61 | self.cmd_name = args.cmd 62 | self.cmds = [] 63 | 64 | def KEY(k): 65 | suffix_list = [self.org, self.env, self.provider] if self.org != SELF else [] 66 | return "_".join([o.upper() for o in [k] + suffix_list if o is not None]) 67 | 68 | for k, v in args.kv.items(): 69 | self.cmds.append("export %s=%s\n" % (KEY(k), v)) 70 | 71 | for k in list(args.k): 72 | self.cmds.append("export %s=\n" % KEY(k)) 73 | 74 | self._run() 75 | 76 | def _run(self): 77 | if self.cmd_name == "var": 78 | self.var() 79 | elif self.cmd_name == "unvar": 80 | self.unvar() 81 | 82 | def var(self): 83 | with open(self.alias_file_path, "a+") as f: 84 | for cmd in self.cmds: 85 | f.write(cmd) # not handling duplicates for performance 86 | 87 | def unvar(self): 88 | with open(self.alias_file_path, "r") as f: 89 | lines = f.readlines() 90 | with open(self.alias_file_path, "w") as f: 91 | for line in lines: 92 | for cmd in self.cmds: 93 | if cmd not in line: 94 | f.write(line) 95 | 96 | 97 | if __name__ == "__main__": 98 | EnvParser() 99 | -------------------------------------------------------------------------------- /backups/.personalized/vim/README.md: -------------------------------------------------------------------------------- 1 | # TODO 2 | - [x] c-space issue 3 | - [x] tab not working in insert mode - should be ctrl + tab 4 | - [x] backup/restore 5 | - [x] coc.nvim autoinstall script 6 | - [x] java run 7 | - java mvn 8 | - [x] run test 9 | - [x] relative line num 10 | - [x] code fold - key already mapped to font resizer 11 | - prefix then W, Q capitalization issue, delay 12 | - line number - relative, normal, hybrid 13 | - unresolved-import issue with python pipenv, MPLS 14 | - open tab - don't open duplicate untill asked explicitly 15 | - try google/vim-codefmt [x] 16 | - status for vim-signify 17 | - colorize 18 | - try int3/vim-extradite - browse git commits 19 | 20 | # Cheatsheet 21 | 22 | ## Motion 23 | all the below movements can be preceded by a count; e.g. 4j moves down 4 lines 24 | ``` 25 | h move one character left 26 | j move one row down 27 | k move one row up 28 | l move one character right 29 | w move to beginning of next word 30 | b move to previous beginning of word 31 | e move to end of word 32 | W move to beginning of next word after a whitespace 33 | B move to beginning of previous word before a whitespace 34 | E move to end of word before a whitespace 35 | 0 move to beginning of line 36 | $ move to end of line 37 | _ move to first non-blank character of the line 38 | g_ move to last non-blank character of the line 39 | gg move to first line 40 | G move to last line 41 | ngg move to n'th line of file (n is a number; 12gg moves to line 12) 42 | H move to top of screen 43 | M move to middle of screen 44 | L move to bottom of screen 45 | zz scroll the line with the cursor to the center of the screen 46 | zt scroll the line with the cursor to the top 47 | zb scroll the line with the cursor to the bottom 48 | Ctrl-d move half-page down 49 | Ctrl-u move half-page up 50 | Ctrl-b page up TODO: conflict with ctrl+b - go to definition 51 | Ctrl-f page down TODO: conflict with ctrl+f - fzf find string 52 | Ctrl-o jump to last (older) cursor position 53 | Ctrl-i jump to next cursor position (after Ctrl-O) 54 | Ctrl-y move view pane up 55 | Ctrl-e move view pane down 56 | n next matching search pattern 57 | N previous matching search pattern 58 | * next whole word under cursor 59 | # previous whole word under cursor 60 | g* next matching search (not whole word) pattern under cursor 61 | g# previous matching search (not whole word) pattern under cursor 62 | gd go to definition/first occurrence of the word under cursor 63 | % jump to matching bracket { } [ ] ( ) 64 | fX to next 'X' after cursor, in the same line (X is any character) 65 | FX to previous 'X' before cursor (f and F put the cursor on X) 66 | tX til next 'X' (similar to above, but cursor is before X) 67 | TX til previous 'X' 68 | ; repeat above, in same direction 69 | , repeat above, in reverse eadirection 70 | ``` 71 | 72 | ## Utils 73 | ``` 74 | visual select + U convert to upper case 75 | visual select + u convert to lower case 76 | 77 | Without using a visual selection, gU will make the characters in motion uppercase, or use gu for lowercase. 78 | ~ : Changes the case of current character 79 | guu : Change current line from upper to lower. 80 | gUU : Change current LINE from lower to upper. 81 | guw : Change to end of current WORD from upper to lower. 82 | guaw : Change all of current WORD to lower. 83 | gUw : Change to end of current WORD from lower to upper. 84 | gUaw : Change all of current WORD to upper. 85 | g~~ : Invert case to entire line 86 | guG : Change to lowercase until the end of document. 87 | ``` 88 | 89 | ## Macro 90 | ``` 91 | qd start recording to register d 92 | ... your complex series of commands 93 | q stop recording 94 | @d execute your macro 95 | @@ execute your macro again 96 | 4@d execute your macro 4 times 97 | ``` 98 | -------------------------------------------------------------------------------- /backups/.commonrc: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # ----PATHs----- 4 | 5 | ## basics 6 | export PATH=$PATH:$HOME/bin:$HOME/.local/bin:$HOME/bin:/usr/local/bin:$HOME/bin:$HOME/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 7 | 8 | 9 | ## Default Editor 10 | # export EDITOR=/usr/bin/vim # bug: https://stackoverflow.com/questions/18683252/tmux-copy-does-not-work 11 | 12 | ## python 13 | # export PATH=/usr/bin:$PATH # to set python2 default 14 | 15 | ## anaconda/miniconda - macos 16 | export PATH=$HOME/opt/miniconda3/bin:$PATH 17 | export PATH=$HOME/opt/anaconda3/bin:$PATH 18 | 19 | # >>> conda initialize >>> 20 | # !! Contents within this block are managed by 'conda init' !! 21 | __conda_setup="$('$HOME/opt/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)" 22 | if [ $? -eq 0 ]; then 23 | eval "$__conda_setup" 24 | else 25 | if [ -f "$HOME/opt/miniconda3/etc/profile.d/conda.sh" ]; then 26 | . "$HOME/opt/miniconda3/etc/profile.d/conda.sh" 27 | else 28 | export PATH="$HOME/opt/miniconda3/bin:$PATH" 29 | fi 30 | fi 31 | unset __conda_setup 32 | # <<< conda initialize <<< 33 | 34 | ## anaconda/miniconda - linux and/or macos 35 | export PATH=$HOME/miniconda3/bin:$PATH 36 | export PATH=$HOME/anaconda3/bin:$PATH 37 | 38 | # >>> conda initialize >>> 39 | # !! Contents within this block are managed by 'conda init' !! 40 | __conda_setup="$('$HOME/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)" 41 | if [ $? -eq 0 ]; then 42 | eval "$__conda_setup" 43 | else 44 | if [ -f "$HOME/miniconda3/etc/profile.d/conda.sh" ]; then 45 | . "$HOME/miniconda3/etc/profile.d/conda.sh" 46 | else 47 | export PATH="$HOME/miniconda3/bin:$PATH" 48 | fi 49 | fi 50 | unset __conda_setup 51 | # <<< conda initialize <<< 52 | 53 | ## go 54 | export PATH=$PATH:/usr/local/go/bin 55 | export GOPATH=$HOME/go/ 56 | export GOBIN=$GOPATH/bin 57 | export PATH=$PATH:$GOBIN 58 | 59 | ## rust 60 | export PATH="$HOME/.cargo/bin:$PATH" 61 | 62 | ## java 63 | eval "$(jenv init -)" 64 | export JAVA_HOME= # let user decide through `jenv` 65 | 66 | ## sdkman 67 | #THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!! 68 | export SDKMAN_DIR="$HOME/.sdkman" 69 | [[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh" 70 | 71 | ## ruby gems (to ~/gems) 72 | export GEM_HOME="$HOME/gems" 73 | export PATH="$HOME/gems/bin:$PATH" 74 | 75 | ## kbrew (kubernetes plugin manager) 76 | export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH" 77 | 78 | ## eclipse/eclim 79 | export ECLIPSE_HOME=$HOME/.eclipse/org.eclipse.platform_4.8.0_1473617060_linux_gtk_x86_64 80 | 81 | ## git-delta (if git-delta is installed, prefer it as default git pager) 82 | if [ -z "$GIT_PAGER" ]; then 83 | # include .bashrc if it exists 84 | if delta -V ; then 85 | export GIT_PAGER=delta 86 | fi 87 | fi 88 | 89 | ## mssql-tool (MS SQL Server client) 90 | export PATH="/opt/mssql-tools/bin:$PATH" 91 | 92 | 93 | # -----Global Env Variables----- 94 | 95 | ## set LAN active-interface 96 | export LANIFACE=$(ip route get 1.1.1.1 2>&- | rg -Po '(?<=dev\s)\w+' | cut -f1 -d ' ') 97 | 98 | ## set LAN IP ADDRESS 99 | export LANIP=$([ -z "$LANIFACE" ] && echo '127.0.0.1' || echo $(ifconfig $LANIFACE | awk '/inet / {print $2}')) 100 | 101 | export MY_IP_ADDR=$LANIP 102 | 103 | # -----Source Misc----- 104 | 105 | ## init - include/source PATHs 106 | . ~/paths.sh 107 | 108 | # load public RCs 109 | if [ -f $ME/aliases/.main_rc ]; then 110 | . $ME/aliases/.main_rc 111 | fi 112 | 113 | # load private RCs 114 | if [ -f $ME/aliases.pvt/.main_rc ]; then 115 | . $ME/aliases.pvt/.main_rc 116 | fi 117 | 118 | # aliases 119 | if [ -f ~/.bash_aliases ]; then 120 | . ~/.bash_aliases 121 | fi 122 | 123 | # HISTFILE, HISTSIZE, HISTFILESIZE are common to bash & zsh - should be here 124 | 125 | # Ref: 126 | # - overall good stuff 127 | # - https://justin.abrah.ms/dotfiles/zsh.html 128 | -------------------------------------------------------------------------------- /backups/cinnamon/multicore-sys-monitor@ccadeptic23/prefs.json: -------------------------------------------------------------------------------- 1 | { 2 | "labelsOn": false, 3 | "refreshRate": 1000, 4 | "labelColor": [ 5 | 0.9333333333333333, 6 | 0.9333333333333333, 7 | 0.9254901960784314, 8 | 1 9 | ], 10 | "backgroundColor": [ 11 | 1, 12 | 1, 13 | 1, 14 | 0.1 15 | ], 16 | "cpu": { 17 | "enabled": false, 18 | "width": 40, 19 | "colors": [ 20 | [ 21 | 1, 22 | 1, 23 | 1, 24 | 1 25 | ], 26 | [ 27 | 1, 28 | 1, 29 | 1, 30 | 1 31 | ], 32 | [ 33 | 1, 34 | 1, 35 | 1, 36 | 1 37 | ], 38 | [ 39 | 1, 40 | 1, 41 | 1, 42 | 1 43 | ], 44 | [ 45 | 1, 46 | 1, 47 | 1, 48 | 1 49 | ], 50 | [ 51 | 1, 52 | 1, 53 | 1, 54 | 1 55 | ], 56 | [ 57 | 1, 58 | 1, 59 | 1, 60 | 1 61 | ], 62 | [ 63 | 1, 64 | 1, 65 | 1, 66 | 1 67 | ] 68 | ] 69 | }, 70 | "mem": { 71 | "enabled": true, 72 | "width": 22, 73 | "colors": [ 74 | [ 75 | 1, 76 | 1, 77 | 1, 78 | 1 79 | ], 80 | [ 81 | 0.6, 82 | 0.6, 83 | 0.6, 84 | 0.8 85 | ], 86 | [ 87 | 0.8, 88 | 0.8, 89 | 0.8, 90 | 0.8 91 | ], 92 | [ 93 | 0.9, 94 | 0.9, 95 | 0.9, 96 | 0.1 97 | ] 98 | ], 99 | "swapcolors": [ 100 | [ 101 | 1, 102 | 1, 103 | 1, 104 | 0.15 105 | ] 106 | ] 107 | }, 108 | "net": { 109 | "enabled": false, 110 | "autoscale": true, 111 | "logscale": true, 112 | "width": 40, 113 | "devices": [ 114 | { 115 | "id": "docker0", 116 | "enabled": false, 117 | "show": 4, 118 | "colors": [ 119 | [ 120 | 1, 121 | 1, 122 | 1, 123 | 0.8 124 | ], 125 | [ 126 | 0, 127 | 0, 128 | 0, 129 | 0.6 130 | ] 131 | ], 132 | "up": 0, 133 | "down": 0, 134 | "tooltipUp": 0, 135 | "tooltipDown": 0, 136 | "lastReading": [ 137 | 0, 138 | 0 139 | ], 140 | "readingRatesList": [] 141 | }, 142 | { 143 | "id": "enp0s31f6", 144 | "enabled": false, 145 | "show": 4, 146 | "colors": [ 147 | [ 148 | 1, 149 | 1, 150 | 1, 151 | 0.8 152 | ], 153 | [ 154 | 0, 155 | 0, 156 | 0, 157 | 0.6 158 | ] 159 | ], 160 | "up": 0, 161 | "down": 0, 162 | "tooltipUp": 0, 163 | "tooltipDown": 0, 164 | "lastReading": [ 165 | 0, 166 | 0 167 | ], 168 | "readingRatesList": [] 169 | }, 170 | { 171 | "id": "lo", 172 | "enabled": false, 173 | "show": 4, 174 | "colors": [ 175 | [ 176 | 1, 177 | 1, 178 | 1, 179 | 0.8 180 | ], 181 | [ 182 | 0, 183 | 0, 184 | 0, 185 | 0.6 186 | ] 187 | ], 188 | "up": 29752447, 189 | "down": 29752447, 190 | "tooltipUp": 0, 191 | "tooltipDown": 0, 192 | "lastReading": [ 193 | 0, 194 | 0 195 | ], 196 | "readingRatesList": [] 197 | }, 198 | { 199 | "id": "wlp2s0", 200 | "enabled": false, 201 | "show": 4, 202 | "colors": [ 203 | [ 204 | 1, 205 | 1, 206 | 1, 207 | 0.8 208 | ], 209 | [ 210 | 0, 211 | 0, 212 | 0, 213 | 0.6 214 | ] 215 | ], 216 | "up": 287585047, 217 | "down": 1507849265, 218 | "tooltipUp": 0, 219 | "tooltipDown": 0, 220 | "lastReading": [ 221 | 0, 222 | 0 223 | ], 224 | "readingRatesList": [] 225 | }, 226 | { 227 | "id": "tun0", 228 | "enabled": false, 229 | "show": true, 230 | "colors": [ 231 | [ 232 | 1, 233 | 1, 234 | 1, 235 | 0.8 236 | ], 237 | [ 238 | 0, 239 | 0, 240 | 0, 241 | 0.6 242 | ] 243 | ] 244 | } 245 | ] 246 | }, 247 | "disk": { 248 | "enabled": false, 249 | "autoscale": true, 250 | "logscale": true, 251 | "width": 40, 252 | "devices": [ 253 | { 254 | "id": "/", 255 | "enabled": true, 256 | "show": 4, 257 | "colors": [ 258 | [ 259 | 1, 260 | 1, 261 | 1, 262 | 1 263 | ], 264 | [ 265 | 0.6, 266 | 0.6, 267 | 0.6, 268 | 0.8 269 | ] 270 | ], 271 | "path": "/", 272 | "read": 390190505984, 273 | "write": 1615725297664, 274 | "lastReading": [ 275 | 0, 276 | 0 277 | ], 278 | "readingRatesList": [] 279 | } 280 | ] 281 | } 282 | } -------------------------------------------------------------------------------- /backups/.bashrc.save: -------------------------------------------------------------------------------- 1 | # ~/.bashrc: executed by bash(1) for non-login shells. 2 | # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) 3 | # for examples 4 | 5 | # If not running interactively, don't do anything 6 | case $- in 7 | *i*) ;; 8 | *) return;; 9 | esac 10 | 11 | # don't put duplicate lines or lines starting with space in the history. 12 | # See bash(1) for more options 13 | HISTCONTROL=ignoreboth 14 | 15 | # append to the history file, don't overwrite it 16 | shopt -s histappend 17 | 18 | # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) 19 | HISTSIZE=1000 20 | HISTFILESIZE=2000 21 | 22 | # check the window size after each command and, if necessary, 23 | # update the values of LINES and COLUMNS. 24 | shopt -s checkwinsize 25 | 26 | # If set, the pattern "**" used in a pathname expansion context will 27 | # match all files and zero or more directories and subdirectories. 28 | #shopt -s globstar 29 | 30 | # make less more friendly for non-text input files, see lesspipe(1) 31 | [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" 32 | 33 | # set variable identifying the chroot you work in (used in the prompt below) 34 | if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then 35 | debian_chroot=$(cat /etc/debian_chroot) 36 | fi 37 | 38 | # set a fancy prompt (non-color, unless we know we "want" color) 39 | case "$TERM" in 40 | xterm|xterm-color|*-256color) color_prompt=yes;; 41 | esac 42 | 43 | # uncomment for a colored prompt, if the terminal has the capability; turned 44 | # off by default to not distract the user: the focus in a terminal window 45 | # should be on the output of commands, not on the prompt 46 | #force_color_prompt=yes 47 | 48 | if [ -n "$force_color_prompt" ]; then 49 | if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then 50 | # We have color support; assume it's compliant with Ecma-48 51 | # (ISO/IEC-6429). (Lack of such support is extremely rare, and such 52 | # a case would tend to support setf rather than setaf.) 53 | color_prompt=yes 54 | else 55 | color_prompt= 56 | fi 57 | fi 58 | 59 | if [ "$color_prompt" = yes ]; then 60 | if [[ ${EUID} == 0 ]] ; then 61 | PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] ' 62 | else 63 | PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\] \[\033[01;34m\]\w \$\[\033[00m\] ' 64 | fi 65 | else 66 | PS1='${debian_chroot:+($debian_chroot)}\u@\h \w \$ ' 67 | fi 68 | unset color_prompt force_color_prompt 69 | 70 | # If this is an xterm set the title to user@host:dir 71 | case "$TERM" in 72 | xterm*|rxvt*) 73 | PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h \w\a\]$PS1" 74 | ;; 75 | *) 76 | ;; 77 | esac 78 | 79 | # enable color support of ls and also add handy aliases 80 | if [ -x /usr/bin/dircolors ]; then 81 | test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" 82 | alias ls='ls --color=auto' 83 | #alias dir='dir --color=auto' 84 | #alias vdir='vdir --color=auto' 85 | 86 | alias grep='grep --color=auto' 87 | alias fgrep='fgrep --color=auto' 88 | alias egrep='egrep --color=auto' 89 | fi 90 | 91 | # colored GCC warnings and errors 92 | #export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' 93 | 94 | # some more ls aliases 95 | alias ll='ls -alF' 96 | alias la='ls -A' 97 | alias l='ls -CF' 98 | 99 | # Add an "alert" alias for long running commands. Use like so: 100 | # sleep 10; alert 101 | alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' 102 | 103 | # Alias definitions. 104 | # You may want to put all your additions into a separate file like 105 | # ~/.bash_aliases, instead of adding them here directly. 106 | # See /usr/share/doc/bash-doc/examples in the bash-doc package. 107 | 108 | if [ -f ~/.bash_aliases ]; then 109 | . ~/.bash_aliases 110 | fi 111 | 112 | # enable programmable completion features (you don't need to enable 113 | # this, if it's already enabled in /etc/bash.bashrc and /etc/profile 114 | # sources /etc/bash.bashrc). 115 | if ! shopt -oq posix; then 116 | if [ -f /usr/share/bash-completion/bash_completion ]; then 117 | . /usr/share/bash-completion/bash_completion 118 | elif [ -f /etc/bash_completion ]; then 119 | . /etc/bash_completion 120 | fi 121 | fi 122 | 123 | if [ -x /usr/bin/mint-fortune ]; then 124 | /usr/bin/mint-fortune 125 | fi 126 | -------------------------------------------------------------------------------- /backups/.tmux.conf: -------------------------------------------------------------------------------- 1 | #-------------------------------CUSTOM LEADER-------------------------- 2 | unbind-key c-b 3 | set -g prefix 'C-a' # leader ctrl + "a"; same as SCREEN 4 | set -g prefix2 'C-\' # leader ctrl + "\"; my habit 5 | bind-key 'C-a' send-prefix 6 | bind-key 'C-\' send-prefix -2 7 | 8 | ##---------------------------------PLUGINS------------------------------ 9 | set -g @plugin 'tmux-plugins/tpm' # package manager 10 | set -g @plugin 'tmux-plugins/tmux-sensible' # sensible configs 11 | # set -g @plugin 'tmux-plugins/tmux-sidebar' # folder view - same as `$ tree` 12 | # set -g @plugin 'powerline/powerline' 13 | set -g @plugin 'tmux-plugins/tmux-yank' # copy to the system clipboard 14 | set -g @plugin 'tmux-plugins/tmux-resurrect' # restore tmux environment after system restart 15 | set -g @plugin 'tmux-plugins/tmux-continuum' # auto save/restore tmmux session; dependecy: tmux-resurrect 16 | 17 | # Load bashrc 18 | run '. ~/.bashrc' 19 | 20 | # Load zshrc 21 | # run '. ~/.zshrc' # do more research before enabling it 22 | 23 | 24 | #-------------------------------PLUGIN CONFIGS-------------------------- 25 | set -g @cortinuum-restore 'on' # turn ON the tmux-continuum plugin 26 | 27 | ## tmux-yank 28 | set -g @yank_action 'copy-pipe' # to remain in copy mode; or 'copy-pipe-and-cancel' for the default (exit after yank) 29 | 30 | #-------------------------------GENERAL CONFIGS------------------------- 31 | set -g default-terminal xterm-256color # Set default term to xterm (zsh/bash my fav shells uses it as well) 32 | # set -g default-terminal tmux-256color # Set default term to tmux (for latest tmuxs) 33 | # set -g default-terminal screen-256color # Set default term to screen (tmux used to use it in the past) 34 | set -g mouse on # mouse scroll mode & window selection 35 | # single command for all following one 36 | # set -g mode-mouse on 37 | # set -g mouse-select-window on 38 | # set -g mouse-select-pane on 39 | # set -g mouse-resize-pane on 40 | 41 | # set -g pane-border-status top # set all pane title on top 42 | # set -g pane-border-format "#[bg=green] #[fg=white] #{pane_index} #(ps --no-headers -t #{pane_tty} -o args -O-c)" 43 | # set -g pane-border-format "#[bg=green] #[fg=white] #{pane_index} #{pane_current_path} #{pane_current_command}" 44 | # set -g pane-border-format "#[bg=green] #[fg=white] #{pane_index} #{pane_current_command}" 45 | set -g status off # turn off status bar 46 | # makes tmux send out the proper escape codes for setting the terminal title 47 | set -g set-titles on 48 | # sets the content of the title: user@host: /current/working/directory 49 | # set -g set-titles-string "#(echo $USER)@#H: #{pane_current_path} #{pane_index} #(ps --no-headers -t #{pane_tty} -o args -O-c)" 50 | set -g set-titles-string "#(echo $USER)@#H: [#{pane_index}] #(ps --no-headers -t #{pane_tty} -o args -O -c)" 51 | #-----------------------------CUSTOM KEY BINDINGS----------------------- 52 | 53 | bind r source-file ~/.tmux.conf \; display "Reloaded config" 54 | bind c new-window -c "#{pane_current_path}" 55 | bind % split-window -h -c "#{pane_current_path}" 56 | bind '"' split-window -c "#{pane_current_path}" 57 | bind v split-window -h -c "#{pane_current_path}" 58 | bind h split-window -c "#{pane_current_path}" 59 | bind V split-window -h -c "#{pane_current_path}" 60 | bind H split-window -c "#{pane_current_path}" 61 | bind | split-window -h -c "#{pane_current_path}" 62 | bind - split-window -c "#{pane_current_path}" 63 | #---------------------------------WORKAROUNDS---------------------------- 64 | 65 | ## Tmux key binding to workaround Home/End button; NOTE: works with `xterm*` only: 66 | bind-key -n Home send Escape "OH" 67 | bind-key -n End send Escape "OF" 68 | 69 | #-------------------------------LAST THING TO DO------------------------- 70 | 71 | # Initialize TMUX plugin manager (KEEP THIS LINE AT THE VERY BOTTOM OF TMUX.CONF) 72 | run -b '~/.tmux/plugins/tpm/tpm' 73 | 74 | 75 | #------------------------------------GUIDE------------------------------ 76 | # leader(s): [ctrl + a; ctrl + \] 77 | # tmux-resurrect 78 | # - save: leader ctrl + s 79 | 80 | 81 | #----------------------------------REFERENCES--------------------------- 82 | # basics 83 | # - https://danielmiessler.com/study/tmux/ 84 | 85 | 86 | # EOF 87 | -------------------------------------------------------------------------------- /backups/cinnamon/menu@cinnamon.org/1.json: -------------------------------------------------------------------------------- 1 | { 2 | "layout": { 3 | "type": "layout", 4 | "pages": [ 5 | "panel", 6 | "menu" 7 | ], 8 | "panel": { 9 | "type": "page", 10 | "title": "Panel", 11 | "sections": [ 12 | "panel-appear", 13 | "panel-behave" 14 | ] 15 | }, 16 | "menu": { 17 | "type": "page", 18 | "title": "Menu", 19 | "sections": [ 20 | "menu-layout", 21 | "menu-behave" 22 | ] 23 | }, 24 | "panel-appear": { 25 | "type": "section", 26 | "title": "Appearance", 27 | "keys": [ 28 | "menu-icon-custom", 29 | "menu-icon", 30 | "menu-label" 31 | ] 32 | }, 33 | "panel-behave": { 34 | "type": "section", 35 | "title": "Behavior", 36 | "keys": [ 37 | "overlay-key", 38 | "activate-on-hover", 39 | "hover-delay", 40 | "enable-animation" 41 | ] 42 | }, 43 | "menu-layout": { 44 | "type": "section", 45 | "title": "Layout and content", 46 | "keys": [ 47 | "show-category-icons", 48 | "show-application-icons", 49 | "favbox-show", 50 | "show-places", 51 | "menu-editor-button" 52 | ] 53 | }, 54 | "menu-behave": { 55 | "type": "section", 56 | "title": "Behavior", 57 | "keys": [ 58 | "enable-autoscroll", 59 | "search-filesystem" 60 | ] 61 | } 62 | }, 63 | "overlay-key": { 64 | "type": "keybinding", 65 | "description": "Keyboard shortcut to open and close the menu", 66 | "default": "Super_L::Super_R", 67 | "value": "Super_L::Super_R" 68 | }, 69 | "menu-icon-custom": { 70 | "type": "switch", 71 | "default": false, 72 | "description": "Use a custom icon", 73 | "tooltip": "Unchecking this allows the theme to set the icon", 74 | "value": false 75 | }, 76 | "menu-icon": { 77 | "type": "iconfilechooser", 78 | "default": "/usr/share/cinnamon/theme/menu-symbolic.svg", 79 | "description": "Icon", 80 | "tooltip": "Select an icon to show in the panel.", 81 | "dependency": "menu-icon-custom", 82 | "indent": "true", 83 | "value": "/usr/share/cinnamon/theme/menu-symbolic.svg" 84 | }, 85 | "menu-label": { 86 | "type": "entry", 87 | "default": "Menu", 88 | "description": "Text", 89 | "tooltip": "Enter custom text to show in the panel.", 90 | "value": "Menu" 91 | }, 92 | "show-category-icons": { 93 | "type": "switch", 94 | "default": true, 95 | "description": "Show category icons", 96 | "tooltip": "Choose whether or not to show icons on categories.", 97 | "value": true 98 | }, 99 | "show-application-icons": { 100 | "type": "switch", 101 | "default": true, 102 | "description": "Show application icons", 103 | "tooltip": "Choose whether or not to show icons on applications.", 104 | "value": true 105 | }, 106 | "favbox-show": { 107 | "type": "switch", 108 | "default": true, 109 | "description": "Show favorites and quit options", 110 | "tooltip": "Choose whether or not to show the left pane of the menu.", 111 | "value": true 112 | }, 113 | "show-places": { 114 | "type": "switch", 115 | "default": true, 116 | "description": "Show bookmarks and places", 117 | "tooltip": "Choose whether or not to show bookmarks and places in the menu.", 118 | "value": true 119 | }, 120 | "enable-autoscroll": { 121 | "type": "switch", 122 | "default": true, 123 | "description": "Enable autoscrolling in application list", 124 | "tooltip": "Choose whether or not to enable smooth autoscrolling in the application list.", 125 | "value": true 126 | }, 127 | "search-filesystem": { 128 | "type": "switch", 129 | "default": false, 130 | "description": "Enable filesystem path entry in search box", 131 | "tooltip": "Allows path entry in the menu search box.", 132 | "value": false 133 | }, 134 | "activate-on-hover": { 135 | "type": "switch", 136 | "default": false, 137 | "description": "Open the menu when I move my mouse over it", 138 | "tooltip": "Enable opening the menu when the mouse enters the applet", 139 | "value": false 140 | }, 141 | "hover-delay": { 142 | "type": "spinbutton", 143 | "default": 0, 144 | "min": 0, 145 | "max": 1000, 146 | "step": 50, 147 | "units": "milliseconds", 148 | "dependency": "activate-on-hover", 149 | "description": "Menu hover delay", 150 | "tooltip": "Delay before the menu opens when hovered", 151 | "value": 0 152 | }, 153 | "enable-animation": { 154 | "type": "switch", 155 | "default": false, 156 | "description": "Use menu animations", 157 | "tooltip": "Allow the menu to animate on open and close", 158 | "value": false 159 | }, 160 | "menu-editor-button": { 161 | "type": "button", 162 | "description": "Open the menu editor", 163 | "callback": "_launch_editor", 164 | "tooltip": "Press this button to customize your menu entries." 165 | }, 166 | "__md5__": "2d57389c9dbdb1d8347645414e45eb1f" 167 | } -------------------------------------------------------------------------------- /backups/cinnamon/configs/menu@cinnamon.org/1.json: -------------------------------------------------------------------------------- 1 | { 2 | "layout": { 3 | "type": "layout", 4 | "pages": [ 5 | "panel", 6 | "menu" 7 | ], 8 | "panel": { 9 | "type": "page", 10 | "title": "Panel", 11 | "sections": [ 12 | "panel-appear", 13 | "panel-behave" 14 | ] 15 | }, 16 | "menu": { 17 | "type": "page", 18 | "title": "Menu", 19 | "sections": [ 20 | "menu-layout", 21 | "menu-behave" 22 | ] 23 | }, 24 | "panel-appear": { 25 | "type": "section", 26 | "title": "Appearance", 27 | "keys": [ 28 | "menu-icon-custom", 29 | "menu-icon", 30 | "menu-label" 31 | ] 32 | }, 33 | "panel-behave": { 34 | "type": "section", 35 | "title": "Behavior", 36 | "keys": [ 37 | "overlay-key", 38 | "activate-on-hover", 39 | "hover-delay", 40 | "enable-animation" 41 | ] 42 | }, 43 | "menu-layout": { 44 | "type": "section", 45 | "title": "Layout and content", 46 | "keys": [ 47 | "show-category-icons", 48 | "show-application-icons", 49 | "favbox-show", 50 | "show-places", 51 | "menu-editor-button" 52 | ] 53 | }, 54 | "menu-behave": { 55 | "type": "section", 56 | "title": "Behavior", 57 | "keys": [ 58 | "enable-autoscroll", 59 | "search-filesystem" 60 | ] 61 | } 62 | }, 63 | "overlay-key": { 64 | "type": "keybinding", 65 | "description": "Keyboard shortcut to open and close the menu", 66 | "default": "Super_L::Super_R", 67 | "value": "Super_L::Super_R" 68 | }, 69 | "menu-icon-custom": { 70 | "type": "switch", 71 | "default": false, 72 | "description": "Use a custom icon", 73 | "tooltip": "Unchecking this allows the theme to set the icon", 74 | "value": false 75 | }, 76 | "menu-icon": { 77 | "type": "iconfilechooser", 78 | "default": "/usr/share/cinnamon/theme/menu-symbolic.svg", 79 | "description": "Icon", 80 | "tooltip": "Select an icon to show in the panel.", 81 | "dependency": "menu-icon-custom", 82 | "indent": "true", 83 | "value": "/usr/share/cinnamon/theme/menu-symbolic.svg" 84 | }, 85 | "menu-label": { 86 | "type": "entry", 87 | "default": "Menu", 88 | "description": "Text", 89 | "tooltip": "Enter custom text to show in the panel.", 90 | "value": "Menu" 91 | }, 92 | "show-category-icons": { 93 | "type": "switch", 94 | "default": true, 95 | "description": "Show category icons", 96 | "tooltip": "Choose whether or not to show icons on categories.", 97 | "value": true 98 | }, 99 | "show-application-icons": { 100 | "type": "switch", 101 | "default": true, 102 | "description": "Show application icons", 103 | "tooltip": "Choose whether or not to show icons on applications.", 104 | "value": true 105 | }, 106 | "favbox-show": { 107 | "type": "switch", 108 | "default": true, 109 | "description": "Show favorites and quit options", 110 | "tooltip": "Choose whether or not to show the left pane of the menu.", 111 | "value": true 112 | }, 113 | "show-places": { 114 | "type": "switch", 115 | "default": true, 116 | "description": "Show bookmarks and places", 117 | "tooltip": "Choose whether or not to show bookmarks and places in the menu.", 118 | "value": true 119 | }, 120 | "enable-autoscroll": { 121 | "type": "switch", 122 | "default": true, 123 | "description": "Enable autoscrolling in application list", 124 | "tooltip": "Choose whether or not to enable smooth autoscrolling in the application list.", 125 | "value": true 126 | }, 127 | "search-filesystem": { 128 | "type": "switch", 129 | "default": false, 130 | "description": "Enable filesystem path entry in search box", 131 | "tooltip": "Allows path entry in the menu search box.", 132 | "value": false 133 | }, 134 | "activate-on-hover": { 135 | "type": "switch", 136 | "default": false, 137 | "description": "Open the menu when I move my mouse over it", 138 | "tooltip": "Enable opening the menu when the mouse enters the applet", 139 | "value": false 140 | }, 141 | "hover-delay": { 142 | "type": "spinbutton", 143 | "default": 0, 144 | "min": 0, 145 | "max": 1000, 146 | "step": 50, 147 | "units": "milliseconds", 148 | "dependency": "activate-on-hover", 149 | "description": "Menu hover delay", 150 | "tooltip": "Delay before the menu opens when hovered", 151 | "value": 0 152 | }, 153 | "enable-animation": { 154 | "type": "switch", 155 | "default": false, 156 | "description": "Use menu animations", 157 | "tooltip": "Allow the menu to animate on open and close", 158 | "value": false 159 | }, 160 | "menu-editor-button": { 161 | "type": "button", 162 | "description": "Open the menu editor", 163 | "callback": "_launch_editor", 164 | "tooltip": "Press this button to customize your menu entries." 165 | }, 166 | "__md5__": "2d57389c9dbdb1d8347645414e45eb1f" 167 | } -------------------------------------------------------------------------------- /backups/.personalized/vim/rcfiles/general.vim: -------------------------------------------------------------------------------- 1 | " vim:ft=vim 2 | 3 | "===================== General Settings ===================== 4 | set encoding=utf-8 " encoding 5 | set number " set line number 6 | " filetype plugin indent on " filetype func off 7 | set title " set filename in terminal window 8 | " set nobackup 9 | " set nowritebackup 10 | " set noswapfile 11 | set clipboard^=unnamed,unnamedplus " this supports only vim-gnome not vim or vim-tiny 12 | set relativenumber " relative line number ON 13 | set autoread " automatically refresh any files that haven't been edited by Vim 14 | set mouse=nicra 15 | 16 | "===================== Issue Fix ===================== 17 | " Issue: https://stackoverflow.com/questions/62148994/strange-character-since-last-update-42m-in-vim 18 | let &t_TI = "" 19 | let &t_TE = "" 20 | 21 | "===================== Other ===================== 22 | 23 | fu! PyAutoActivateVenv() 24 | "python with virtualenv support 25 | py3 << EOF 26 | import os 27 | import sys 28 | if 'VIRTUAL_ENV' in os.environ: 29 | project_base_dir = os.environ['VIRTUAL_ENV'] 30 | activate_this = os.path.join(project_base_dir, 'bin/activate_this.py') 31 | exec(open(activate_this).read(), dict(__file__=activate_this)) 32 | EOF 33 | endfunction 34 | 35 | " call PyAutoActivateVenv() "OBSOLETE: coc-python takes care of auto venv - supports virtualenv + pipenv 36 | 37 | fu! ConfigureIDEDesign() 38 | set hlsearch " highlight search patterns 39 | colorscheme gruvbox " set colorscheme; dependency=Plug 40 | " colorscheme PaperColor " set colorscheme 41 | set background=dark " set bg color 42 | " set background=light " set bg color 43 | " set column limit/line length limit 44 | execute 'set colorcolumn=' .g:MAX_LINE_COL 45 | " set cursorcolumn " highlight cursor column 46 | " set cursorline " highlight cursor row 47 | endfunction 48 | 49 | call ConfigureIDEDesign() 50 | 51 | " Switch into the specified Tab number. 52 | " 53 | " @param direction. 54 | fu! TabSwitch(direction) 55 | execute "tabnext ".a:direction 56 | endfunction 57 | 58 | " Move current tab into the specified direction. 59 | " 60 | " @param direction -1 for left, 1 for right. 61 | fu! TabMove(direction) 62 | " get number of tab pages. 63 | let ntp=tabpagenr("$") 64 | " move tab, if necessary. 65 | if ntp <= 1 66 | return 67 | endif 68 | " get number of current tab page. 69 | let ctpn=tabpagenr() 70 | let new_idx = a:direction 71 | 72 | if a:direction > 0 73 | let new_idx = "+1" 74 | if ctpn+1>ntp 75 | let new_idx = "0" 76 | endif 77 | elseif a:direction < 0 78 | let new_idx = "-1" 79 | if ctpn-1<1 80 | let new_idx="$" 81 | endif 82 | endif 83 | 84 | " execute "echo 'ntp' ntp 'ctpn' ctpn 'I' new_idx" 85 | " move tab page. 86 | execute "tabmove ".new_idx 87 | endfunction 88 | 89 | fu! ConfigureTabKeyBindings() 90 | " TABS KEYBINDING 91 | 92 | " OPEN NEW TAB 93 | map :tabnew 94 | 95 | " SWITCH BETWEEN TABS 96 | nnoremap :tabprevious 97 | nnoremap :tabnext 98 | " map :tabr 99 | " map :tabl 100 | " map :tabp 101 | " map :tabn 102 | 103 | " SWITCH tabs by number (0 & 1 are not detected) 104 | "map :call TabSwitch(2) 105 | "map :call TabSwitch(3) 106 | " map :call TabSwitch(4) 107 | " map :call TabSwitch(5) 108 | 109 | " RELOCATE TABS RELATIVELY 110 | map :call TabMove(-1) 111 | map :call TabMove(1) 112 | 113 | " OPEN EVERY BUFFER IN A NEW TAB 114 | " https://vim.fandom.com/wiki/Open_every_buffer_in_its_own_tabpage 115 | " :au BufAdd,BufNewFile,BufRead * nested tab sball 116 | " :au BufRead * nested tab sball 117 | 118 | endfunction 119 | 120 | call ConfigureTabKeyBindings() 121 | 122 | " TODO: save current session with dir structure 123 | 124 | fu! ConfigureRunFile() 125 | "vim-run 126 | autocmd filetype python nnoremap :w exec '!python '.shellescape('%') 127 | autocmd filetype c nnoremap :w exec '!gcc '.shellescape('%').' -o '.shellescape('%:r').' && ./'.shellescape('%:r') 128 | autocmd filetype cpp nnoremap :w exec '!g++ '.shellescape('%').' -o '.shellescape('%:r').' && ./'.shellescape('%:r') 129 | autocmd filetype java nnoremap :w exec '!javac '.shellescape('%').' && java '.shellescape('%:r') 130 | " TODO: F4 131 | " autocmd filetype php nnoremap c :w :!clear && php % 132 | autocmd filetype go nnoremap :GoRun 133 | " execute python code usin F9 134 | nnoremap :exec '!python' shellescape(@%, 1) 135 | endfunction 136 | 137 | call ConfigureRunFile() 138 | 139 | fu! ConfigureManualCodeFolding() 140 | " zo opens a fold at the cursor. 141 | " zShift+o opens all folds at the cursor. 142 | " zc closes a fold at the cursor. 143 | " zm increases the foldlevel by one. 144 | " zShift+m closes all open folds. 145 | " zr decreases the foldlevel by one. 146 | " zShift+r decreases the foldlevel to zero == opens all folds 147 | set foldmethod=indent 148 | set foldnestmax=10 149 | set nofoldenable 150 | set foldlevel=2 151 | endfunction 152 | 153 | " call ConfigureManualCodeFolding() " turning it off as VimAnyFold does better 154 | 155 | fu! ConfigureCodeFoldKeymap() 156 | noremap :exe "normal zM" 157 | endfunction 158 | 159 | call ConfigureCodeFoldKeymap() 160 | -------------------------------------------------------------------------------- /backups/rectangle_config.json: -------------------------------------------------------------------------------- 1 | { 2 | "defaults" : { 3 | "minimumWindowWidth" : { 4 | "float" : 0 5 | }, 6 | "fullIgnoreBundleIds" : { 7 | 8 | }, 9 | "footprintColor" : { 10 | 11 | }, 12 | "footprintAlpha" : { 13 | "float" : 0.3 14 | }, 15 | "resizeOnDirectionalMove" : { 16 | "bool" : false 17 | }, 18 | "applyGapsToMaximize" : { 19 | "int" : 0 20 | }, 21 | "centeredDirectionalMove" : { 22 | "int" : 0 23 | }, 24 | "snapEdgeMarginLeft" : { 25 | "float" : 5 26 | }, 27 | "moveCursorAcrossDisplays" : { 28 | "int" : 0 29 | }, 30 | "footprintBorderWidth" : { 31 | "float" : 2 32 | }, 33 | "hideMenubarIcon" : { 34 | "bool" : false 35 | }, 36 | "alternateDefaultShortcuts" : { 37 | "bool" : true 38 | }, 39 | "todoSidebarWidth" : { 40 | "float" : 400 41 | }, 42 | "almostMaximizeWidth" : { 43 | "float" : 0 44 | }, 45 | "todoMode" : { 46 | "bool" : false 47 | }, 48 | "snapModifiers" : { 49 | "int" : 0 50 | }, 51 | "snapEdgeMarginBottom" : { 52 | "float" : 5 53 | }, 54 | "windowSnapping" : { 55 | "int" : 0 56 | }, 57 | "specifiedWidth" : { 58 | "float" : 1680 59 | }, 60 | "snapEdgeMarginRight" : { 61 | "float" : 5 62 | }, 63 | "obtainWindowOnClick" : { 64 | "int" : 0 65 | }, 66 | "minimumWindowHeight" : { 67 | "float" : 0 68 | }, 69 | "screenEdgeGapLeft" : { 70 | "float" : 0 71 | }, 72 | "allowAnyShortcut" : { 73 | "bool" : false 74 | }, 75 | "applyGapsToMaximizeHeight" : { 76 | "int" : 0 77 | }, 78 | "launchOnLogin" : { 79 | "bool" : true 80 | }, 81 | "todo" : { 82 | "int" : 0 83 | }, 84 | "showAllActionsInMenu" : { 85 | "int" : 0 86 | }, 87 | "curtainChangeSize" : { 88 | "int" : 0 89 | }, 90 | "unsnapRestore" : { 91 | "int" : 0 92 | }, 93 | "autoMaximize" : { 94 | "int" : 0 95 | }, 96 | "footprintFade" : { 97 | "int" : 0 98 | }, 99 | "todoApplication" : { 100 | 101 | }, 102 | "centerHalfCycles" : { 103 | "int" : 0 104 | }, 105 | "screenEdgeGapTop" : { 106 | "float" : 0 107 | }, 108 | "screenEdgeGapRight" : { 109 | "float" : 0 110 | }, 111 | "almostMaximizeHeight" : { 112 | "float" : 0 113 | }, 114 | "attemptMatchOnNextPrevDisplay" : { 115 | "int" : 0 116 | }, 117 | "snapEdgeMarginTop" : { 118 | "float" : 5 119 | }, 120 | "SUEnableAutomaticChecks" : { 121 | "bool" : false 122 | }, 123 | "traverseSingleScreen" : { 124 | "int" : 0 125 | }, 126 | "specifiedHeight" : { 127 | "float" : 1050 128 | }, 129 | "altThirdCycle" : { 130 | "int" : 0 131 | }, 132 | "gapSize" : { 133 | "float" : 0 134 | }, 135 | "disabledApps" : { 136 | 137 | }, 138 | "moveCursor" : { 139 | "int" : 0 140 | }, 141 | "ignoredSnapAreas" : { 142 | "int" : 0 143 | }, 144 | "notifiedOfProblemApps" : { 145 | "bool" : false 146 | }, 147 | "screenEdgeGapBottom" : { 148 | "float" : 0 149 | }, 150 | "relaunchOpensMenu" : { 151 | "bool" : false 152 | }, 153 | "subsequentExecutionMode" : { 154 | "int" : 1 155 | }, 156 | "sizeOffset" : { 157 | "float" : 0 158 | } 159 | }, 160 | "version" : "55", 161 | "shortcuts" : { 162 | "lastThird" : { 163 | "keyCode" : 5, 164 | "modifierFlags" : 786432 165 | }, 166 | "rightHalf" : { 167 | "modifierFlags" : 1048576, 168 | "keyCode" : 124 169 | }, 170 | "firstTwoThirds" : { 171 | "keyCode" : 14, 172 | "modifierFlags" : 786432 173 | }, 174 | "center" : { 175 | "keyCode" : 8, 176 | "modifierFlags" : 786432 177 | }, 178 | "maximizeHeight" : { 179 | "modifierFlags" : 917504, 180 | "keyCode" : 126 181 | }, 182 | "topLeft" : { 183 | "modifierFlags" : 1179648, 184 | "keyCode" : 32 185 | }, 186 | "bottomHalf" : { 187 | "modifierFlags" : 1048576, 188 | "keyCode" : 125 189 | }, 190 | "smaller" : { 191 | "keyCode" : 27, 192 | "modifierFlags" : 786432 193 | }, 194 | "moveDown" : { 195 | "keyCode" : 125, 196 | "modifierFlags" : 1179648 197 | }, 198 | "bottomLeft" : { 199 | "modifierFlags" : 1179648, 200 | "keyCode" : 38 201 | }, 202 | "previousDisplay" : { 203 | "keyCode" : 123, 204 | "modifierFlags" : 1835008 205 | }, 206 | "lastTwoThirds" : { 207 | "keyCode" : 17, 208 | "modifierFlags" : 786432 209 | }, 210 | "firstThird" : { 211 | "keyCode" : 2, 212 | "modifierFlags" : 786432 213 | }, 214 | "bottomRight" : { 215 | "keyCode" : 40, 216 | "modifierFlags" : 1179648 217 | }, 218 | "larger" : { 219 | "modifierFlags" : 786432, 220 | "keyCode" : 24 221 | }, 222 | "moveRight" : { 223 | "modifierFlags" : 1179648, 224 | "keyCode" : 124 225 | }, 226 | "topRight" : { 227 | "keyCode" : 34, 228 | "modifierFlags" : 1179648 229 | }, 230 | "nextDisplay" : { 231 | "keyCode" : 124, 232 | "modifierFlags" : 1835008 233 | }, 234 | "moveUp" : { 235 | "keyCode" : 126, 236 | "modifierFlags" : 1179648 237 | }, 238 | "maximize" : { 239 | "keyCode" : 49, 240 | "modifierFlags" : 524288 241 | }, 242 | "centerThird" : { 243 | "modifierFlags" : 786432, 244 | "keyCode" : 3 245 | }, 246 | "restore" : { 247 | "keyCode" : 51, 248 | "modifierFlags" : 786432 249 | }, 250 | "almostMaximize" : { 251 | "modifierFlags" : 655360, 252 | "keyCode" : 49 253 | }, 254 | "leftHalf" : { 255 | "keyCode" : 123, 256 | "modifierFlags" : 1048576 257 | }, 258 | "moveLeft" : { 259 | "keyCode" : 123, 260 | "modifierFlags" : 1179648 261 | }, 262 | "topHalf" : { 263 | "modifierFlags" : 1048576, 264 | "keyCode" : 126 265 | } 266 | }, 267 | "bundleId" : "com.knollsoft.Rectangle" 268 | } 269 | -------------------------------------------------------------------------------- /configs/thunderbird/toran.sahu@yahoo.com.txt: -------------------------------------------------------------------------------- 1 | 12jarvis@pjaus.com 2 | 6egstinvoice@goindigo.in 3 | 86crick@crlcinfo.com 4 | adidas_mail@buzzamazon.com 5 | aditya.shah1399@gmail.com 6 | admin@amcatmail.com 7 | akshay.patra@desidealshub.com 8 | ak@zaubacorp.com 9 | ama@pmo.bestcapt.com 10 | amazon@tmail.bestcapt.com 11 | apnaa@apnadealz.in 12 | @app1.fakts4fun.com 13 | aws-india-marketing@amazon.com 14 | aws-marketing-email-replies@amazon.com 15 | bankcare@turkeyzen.com 16 | batra_promotion@yoysocial.com 17 | @bayt.com 18 | @bestdiscountkart.online 19 | @bitbucket.org 20 | Blueston@tmail.bestcapt.com 21 | builds@circleci.com 22 | buildsuccess@circleci.com 23 | care@easemytrips.co.in 24 | car.mailreliance@promotials.com 25 | christina@freshersworld.in 26 | codeswap12@e2kart.info 27 | connectmail@ninjanite.com 28 | connectmail@secreteposts.com 29 | contact@coffeemeetsbagel.com 30 | contact@couponfall.info 31 | contact@mail2gmail.com 32 | contact@mgn2inbox.com 33 | contact@mysocialbite.co.in 34 | contest@techgig.com 35 | @couponfall.com 36 | credit_cards@icicibank.com 37 | cspdcl@cspc.co.in 38 | @custcomm.icicibank.com 39 | @cutshort.io 40 | cz_hi@licindia.com 41 | cz_marketing@licindia.com 42 | dailynews@deal-duniya.com 43 | dailynews@dipndrop.com 44 | dailynews@facekasmile.com 45 | dailynews@funntale.com 46 | dailynews@rideolife.com 47 | dailynews@viralseventyseven.com 48 | deals@postvl.com 49 | dell_promotion@loansfest.com 50 | digest-noreply@quora.com 51 | do-not-reply@dominos.co.in 52 | donotreply.sbiatm@sbi.co.in 53 | emailstatements.cards@hdfcbank.net 54 | es@up.rozoty.com 55 | feedback@webbiginfo.com 56 | fields@emailfields.com 57 | @flickr.com 58 | @freshersworld.in 59 | @github.com 60 | @hazemail.online 61 | hello@altbalaji.com 62 | hello@earhoox.com 63 | hello@mail4deal.in 64 | hello@m.altbalaji.com 65 | hello@p.pennyful.com 66 | hello@stopstalkmail.co.in 67 | holiday.mail@loansfest.com 68 | holiday.mail@offerskode.com 69 | @icicibank.com 70 | @in4.actcorp.in 71 | info@blackfl.us 72 | info@impulsingbuy.in 73 | info@mail11.userconnnect.com 74 | info@mail12.userconnnect.com 75 | info@mail17.userconnnect.com 76 | info@mail21.thedailyinbox.com 77 | info@mail25.thedailyinbox.com 78 | info@mail34.funinmails.com 79 | info@mail3.dailytoinbox.com 80 | info@mail46.readerdelight.com 81 | info@mail4.dailytoinbox.com 82 | info@mail50.readerdelight.com 83 | info@mail53.socialuber.in 84 | info@mail54.socialuber.in 85 | info@mail57.socialuber.in 86 | info@mail58.socialuber.in 87 | info@mail68.sacustomerdelight.com 88 | info@mail6.dailytoinbox.com 89 | info@orderqueue.co.in 90 | info@printsp.us 91 | @instahyre.com 92 | insurance@weeknlife.com 93 | internet.marketing@royalsundaram.in 94 | @irctc.co.in 95 | jake@buttercms.com 96 | kent.promotion@desidealshub.com 97 | kent.promotion@offerskode.com 98 | kuntal.Chowdhury@shoppersstop.com 99 | lets.shave@holidaysmoney.com 100 | lets.shave@tradeonmail.com 101 | @linkedin.com 102 | mail_airways@holidaysmoney.com 103 | mail_akspatra@holidaysmoney.com 104 | mail_car24@elexbazar.com 105 | mail.car@yoysocial.com 106 | mail@equallov.us 107 | mailers@bigdealspro.com 108 | mailers@insurance-foryou.com 109 | mailers@know-zodiacsign.com 110 | mailers@loansaction.com 111 | mailers@marketing.goindigo.in 112 | mailers@onspot-offer.com 113 | mailers@pay-to-mobile.com 114 | mailers@salesomega.com 115 | mailers@taxpayer-updates.com 116 | mail@fultron.info 117 | @mail.goodreads.com 118 | mail.promotion@offerskode.com 119 | mails@fcemail.in 120 | mail@teachhear.gdn 121 | maps@nestmaps.com 122 | @meetup.com 123 | metromail@turkeyzen.com 124 | metromail@weeknlife.com 125 | nativenews@mantratrade.com 126 | nativenews@yoysocial.com 127 | nest@nestmaps.com 128 | newletters@icarehealthplus.com 129 | news@blacksmal.us 130 | news@campaign.avira.com 131 | newsletter@attrangimail.com 132 | newsletter@berryslim.us 133 | newsletter@bluepost.info 134 | newsletter@boxme3.com 135 | newsletter@capnets.com 136 | newsletter@circleci.com 137 | newsletter@code-hashmailer.com 138 | newsletter@couponfall.com 139 | newsletter@couponfall.info 140 | newsletter@crm.jabong.com 141 | newsletter@diunix.com 142 | newsletter@edeer.xyz 143 | newsletter@emailarrow.net 144 | newsletter@emailfields.com 145 | newsletter@emailsend.org 146 | newsletter@glorypad.com 147 | newsletter@impulsingbuy.in 148 | newsletter@mail2gmail.com 149 | newsletter@mgn2inbox.com 150 | newsletter@moneyaero.com 151 | newsletter@pancea.alcondigital.com 152 | newsletter@prem.bharathlove.com 153 | newsletter@reach.firstsmail.com 154 | newsletter@rentomojo.in 155 | newsletters@airdeparture.com 156 | newsletter@salesomega.com 157 | newsletters@artjewellerise.com 158 | newsletters@bevalentine.com 159 | newsletters@dailyalert.in 160 | newsletters@dealsontrack.com 161 | newsletters@desidealshop.com 162 | newsletters@ecohealthbook.com 163 | newsletters@ecomtrip.com 164 | newsletters@etradebazaar.com 165 | newsletters@expresscounter.com 166 | newsletters@icarehealthplus.com 167 | newsletters@kubiczone.com 168 | newsletters@logobizzmail.com 169 | newsletters@markbizzmail.com 170 | newsletters@markitinbox.com 171 | newsletters@nglitzmail.com 172 | newsletters@qicpro.com 173 | newsletters@quickmailinfo.com 174 | newsletters@shoponpost.com 175 | newsletters@shoprig.com 176 | newsletters@tricktoinbox.com 177 | newsletters@websiteports.com 178 | newsletters@websiteports.net 179 | newsletters@wedefinedeal.com 180 | newsletters@wegoexchange.com 181 | noreply@adzcreative.biz 182 | noreply@gaanainfo.com 183 | noreply@heavyun.us 184 | noreply@housespli.us 185 | noreply@kopykitab.com 186 | noreply@netlogmail.com 187 | no-reply@remail.angel.co 188 | noreply@sp12-16.datahub.work 189 | noreply@sp12-7.datahub.work 190 | noreply@sutlej-mail.elitmus.biz 191 | noreply@teachsp.us 192 | noreply@twoomail.com 193 | notification@attrangimail.com 194 | notification@couponfall.com 195 | notification@couponfall.info 196 | notification@mail2gmail.com 197 | notification@mgn2inbox.com 198 | notification@moneyaero.com 199 | notification@mysocialbite.co.in 200 | notification@salesomega.com 201 | notify@clientagevalley.in 202 | notify@impulsingbuy.in 203 | notify@orderqueue.co.in 204 | notify@sublimeclues.com 205 | notify@unroll.me 206 | oceans6@sealists.com 207 | onads@doortwopost.com 208 | pankaj@multymaniac.com 209 | peaches@m4n.in 210 | @primevideo.com 211 | promotion_amex@holidaysmoney.com 212 | promotion.mail@desidealshub.com 213 | read@clientagevalley.in 214 | reply@crossst.us 215 | reply@globalcitizen.org 216 | reply@widthpe.us 217 | retro@couponfall.com 218 | retro@couponfall.info 219 | retro@mail2gmail.com 220 | retro@mgn2inbox.com 221 | @revv.co.in 222 | sanjeev.deshpande@megapolis.co.in 223 | @secreteposts.com 224 | statements@axisbank.com 225 | support@capgemini.com 226 | team@pesto.tech 227 | teena@freshersworld.in 228 | @travis-ci.org 229 | update@couponfall.com 230 | update@couponfall.info 231 | update@mail2gmail.com 232 | update@mgn2inbox.com 233 | update@mysocialbite.co.in 234 | update@referhire.com 235 | updates@easemytrips.co.in 236 | updates@newsletter.lazypayindia.com 237 | updates@postvl.com 238 | usha@freshersworld.in 239 | vikas@venturesity.com 240 | vinmailz@ringamails.online 241 | @yousician.com 242 | zsassociates-jobnotification@noreply.jobs2web.com 243 | @eventsecretariat.com 244 | @spotify.com 245 | @pridepurplegroup.com 246 | @offclue.online 247 | @freshersworld.com 248 | @njust.edu.cn 249 | @edureka.co 250 | -------------------------------------------------------------------------------- /backups/.personalized/vim/plugins/vim_plug_based.vim: -------------------------------------------------------------------------------- 1 | " autoinstall vim-plug 2 | if empty(glob('~/.vim/autoload/plug.vim')) 3 | silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs 4 | \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim 5 | autocmd VimEnter * PlugInstall --sync | source $MYVIMRC 6 | endif 7 | 8 | 9 | "------------------------ Basic Plugins ----------------------- 10 | "Plug 'VundleVim/Vundle.vim' " Plugin Manager 11 | Plug 'junegunn/vim-plug' " Plugin Manager helps 12 | Plug 'morhetz/gruvbox' " Color Scheme 13 | Plug 'NLKNguyen/papercolor-theme' " Color Scheme - Materal Design 14 | Plug 'itchyny/lightline.vim' " Botton Status Bar 15 | Plug 'itchyny/vim-gitbranch' " lightline uses it 16 | Plug 'mhinz/vim-signify' " VCS - git, svn diff 17 | "Plug 'scrooloocse/nerdtree' " CLI File Manager 18 | Plug 'vim-nerdtree/nerdtree' " CLI File Manager 19 | Plug 'Nopik/vim-nerdtree-direnter' " Fix dir opening in new tab on enter if let g:NERDTreeMapOpenInTab='' 20 | Plug 'editorconfig/editorconfig-vim' " Editor properties 21 | Plug 'tpope/vim-abolish' " Easily search for, substitute, and abbreviate multiple variants of a word 22 | Plug 'justinmk/vim-gtfo' " GOTO PWD via file Manager or Terminal; Usage: got; gof; goT; goF 23 | "Plug 'shime/vim-livedown' " markdown live preview in mini server browser 24 | " Plug 'suan/vim-instant-markdown', " markdown live preview in mini server browser 25 | " \ {'for': 'markdown'} 26 | " If you don't have nodejs and yarn 27 | " use pre build, add 'vim-plug' to the filetype list so vim-plug can update this plugin 28 | " see: https://github.com/iamcco/markdown-preview.nvim/issues/50 29 | " Plug 'iamcco/markdown-preview.nvim', 30 | " \ { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug'], 31 | " \ 'on': ['MarkdownPreview', 'MarkdownPreviewStop', 'MarkdownPreviewToggle']} 32 | " Plug 'toransahu/markdown-preview.nvim', 33 | " \ { 'do': 'cd app & yarn install', 34 | " \ 'on': ['MarkdownPreview', 'MarkdownPreviewStop', 'MarkdownPreviewToggle']} 35 | " Plug 'toransahu/markdown-preview.nvim', 36 | " \ { 'do': 'cd app & yarn install'} 37 | " Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']} 38 | Plug 'toransahu/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']} 39 | 40 | "Plug 'ctrlpvim/ctrlp.vim' " super search 41 | Plug 'junegunn/fzf' " fuzzy finder 42 | Plug 'junegunn/fzf.vim' " fuzzy finder 43 | "Plug 'junegunn/fzf', \ { 'dir': '~/.fzf', 'do': './install --all' } 44 | Plug 'mileszs/ack.vim' " Ack - search patterns; need: sudo apt-get install ack-grep 45 | Plug 'rking/ag.vim' " (Depricated) Ag - Ack alternative; need: sudo apt install silversearcher-ag 46 | Plug 'google/vim-searchindex' " Search index/number 47 | Plug 'tpope/vim-sensible' " Default configs everyone can agree on 48 | Plug 'vim-scripts/DrawIt' " For ASCII arts 49 | Plug 'ryanoasis/nerd-fonts' " To support vim-devicons 50 | Plug 'ryanoasis/vim-devicons' " Add icons to diff files/extensions 51 | Plug 'rhysd/vim-grammarous' " Grammar check - based on www.languagetool.org tool 52 | " Plug 'kamykn/spelunker.vim' " spell check - made easy 53 | " Plug 'benmills/vimux' " Interact with tmux from vim 54 | Plug 'farconics/victionary' " Dictionary 55 | 56 | "------------------------ Prog utils --------------------------- 57 | 58 | " Auto completion engine 59 | " Plug 'Valloric/YouCompleteMe', " Auto completion engine 60 | " \ { 'dir': '~/.vim/plugged/YouCompleteMe', 'do': 'python3 install.py --clang-completer' } 61 | " Plug 'codota/tabnine-vim' " AI based autocompletion - alt.: coc-tabnine 62 | Plug 'github/copilot.vim' " AI based autocompletion - Your AI pair programmer by Github 63 | Plug 'neoclide/coc.nvim', " Auto completion engine 64 | \ {'branch': 'release'} 65 | Plug 'yaegassy/coc-ansible', " Ansible Language Server 66 | \ {'do': 'yarn install --frozen-lockfile'} 67 | "Plug 'davidhalter/jedi-vim' " Auto completion engine for python only 68 | "Plug 'vim-syntastic/syntastic' " Syntax Checking 69 | "Plug 'google/yapf', { 'rtp': 'plugins/vim' } " fmt - Python 70 | "Plug 'ambv/black' " fmt - Python 71 | "Plug 'Chiel92/vim-autoformat' " fmt - All? 72 | "Plug 'google/vim-codefmt' " fmt - All? 73 | " Plug 'w0rp/ale' " Asynchronous Linting Enging - ALE 74 | " Plug 'SirVer/ultisnips' " Snippet Engine 75 | " Plug 'honza/vim-snippets' " Snippet files - Snippets are separated from the engine 76 | "Plug 'aperezdc/vim-template' 77 | Plug 'toransahu/vim-template' " Template System 78 | Plug 'heavenshell/vim-pydocstring', " Python docstring gen 79 | \ { 'do': 'make install' } 80 | Plug 'scrooloose/nerdcommenter' " for easy comments 81 | Plug 'tpope/vim-fugitive' " git commands in VIM 82 | Plug 'tpope/vim-rhubarb' " git in browser 83 | Plug 'tpope/vim-surround' " surround text with something manually 84 | Plug 'raimondi/delimitmate' " auto close 85 | "Plug 'tmhedberg/SimpylFold' " python code fold 86 | Plug 'pseewald/anyfold' " code fold 87 | "Plug 'myitcv/govim' " new plugin for go written in go feature > vim-go 88 | " Plug 'fatih/vim-go', " go support; https://github.com/fatih/vim-go-tutorial 89 | " \ { 'do': ':GoInstallBinaries' } 90 | " Plug 'jodosha/vim-godebug' " go debugger in split screen with delve CLI - only for neovim; TODO: check later 91 | " Plug 'janko-m/vim-test' " polyglot test runner 92 | " Plug 'toransahu/vim-test', " with java#maven fqcn option support 93 | " \ { 'branch': 'java-test-file-pattern-before-Surefire-Plugin-2.19.1' } 94 | Plug 'toransahu/vim-test', " with java#maven fqcn option support 95 | \ { 'commit': 'fa0d09ea4b9ca9b4fa555695bc2beaa09d81dc52' } 96 | Plug 'sheerun/vim-polyglot' " syntax highlighter - language pack 97 | Plug 'google/vim-maktaba' " vim-codefmt dep: Add maktaba and codefmt to the runtimepath. 98 | Plug 'google/vim-codefmt' " code fmt by google 99 | Plug 'google/vim-glaive' " vim-codefmt dep: Also add Glaive, which is used to configure codefmt's maktaba flags. 100 | Plug 'puremourning/vimspector' " polyglot debugger 101 | " Plug 'sebdah/vim-delve' " golang debugger using Delve 102 | Plug 'majutsushi/tagbar' " to browse tags of current file; dependency: exuberant-ctags 103 | Plug 'turbio/bracey.vim' " preview markup files; html, css, js 104 | -------------------------------------------------------------------------------- /backups/.bashrc: -------------------------------------------------------------------------------- 1 | # Doc: https://www.gnu.org/software/bash/manual/bash.pdf 2 | 3 | # ~/.bashrc: executed by bash(1) for non-login shells. 4 | # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) 5 | # for examples 6 | 7 | # If not running interactively, don't do anything 8 | case $- in 9 | *i*) ;; 10 | *) return;; 11 | esac 12 | 13 | # ----------- shell history related 14 | COMMONIGNORE="clear:tmux:pwd:du:df" 15 | ALIASIGNORE="t:c:tks:ttt" 16 | GITIGNORE="gch:master:gpull:gpush" 17 | export HISTIGNORE="$COMMONIGNORE:$ALIASIGNORE:$GITIGNORE" 18 | 19 | # TODO: give more try to keep zsh and bash history epoch stamp in sync 20 | # export HISTTIMEFORMAT=": %s:0;" # this is just about display, however time is always stored as epoch in the file like: 21 | # `# 159454837 22 | 23 | HISTSIZE=100000 # limits the number of commands shown by the command history; default:500 24 | HISTFILESIZE=100000 # limits the number of commands which can be saved in $HISTFILE; default:500 25 | 26 | # HISTCONTROL=ignoredups # ignoredups causes lines matching the previous history entry to not be saved 27 | # HISTCONTROL=erasedups # erasedups causes lines matching the previous history entry to not be saved 28 | # HISTCONTROL=ignorespace # ignoredups causes to ignore commands starting with whitespace 29 | # HISTCONTROL=ignoreboth # don't put duplicate lines or lines starting with space 30 | # in the history; 31 | # ignoreboth == shorthand for `ignorespace` and `ignoredups` 32 | HISTCONTROL=ignorespace:erasedups # until I clean all duplicates; after that I'll think about `ignoredups` 33 | shopt -s histappend # append to the history file, don't overwrite it 34 | shopt -s cmdhist # multiline commands are a single command in history 35 | PROMPT_COMMAND="history -n; history -w; history -c; history -r; $PROMPT_COMMAND" 36 | 37 | # Ref: 38 | # - HISTFILE vs HISTFILESIZE 39 | # - https://stackoverflow.com/questions/19454837/bash-histsize-vs-histfilesize 40 | # - HISTCONTROL (everything I wanted) 41 | # - https://unix.stackexchange.com/questions/163371/how-long-do-the-contents-of-the-bash-history-file-last 42 | # - PROMPT_COMMAND (everything I wanted) 43 | # - https://unix.stackexchange.com/questions/18212/bash-history-ignoredups-and-erasedups-setting-conflict-with-common-history 44 | 45 | # ------------- 46 | 47 | # check the window size after each command and, if necessary, 48 | # update the values of LINES and COLUMNS. 49 | shopt -s checkwinsize 50 | 51 | # If set, the pattern "**" used in a pathname expansion context will 52 | # match all files and zero or more directories and subdirectories. 53 | #shopt -s globstar 54 | 55 | # make less more friendly for non-text input files, see lesspipe(1) 56 | [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" 57 | 58 | # set variable identifying the chroot you work in (used in the prompt below) 59 | if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then 60 | debian_chroot=$(cat /etc/debian_chroot) 61 | fi 62 | 63 | # set a fancy prompt (non-color, unless we know we "want" color) 64 | case "$TERM" in 65 | xterm|xterm-color|*-256color) color_prompt=yes;; 66 | esac 67 | 68 | # uncomment for a colored prompt, if the terminal has the capability; turned 69 | # off by default to not distract the user: the focus in a terminal window 70 | # should be on the output of commands, not on the prompt 71 | #force_color_prompt=yes 72 | 73 | if [ -n "$force_color_prompt" ]; then 74 | if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then 75 | # We have color support; assume it's compliant with Ecma-48 76 | # (ISO/IEC-6429). (Lack of such support is extremely rare, and such 77 | # a case would tend to support setf rather than setaf.) 78 | color_prompt=yes 79 | else 80 | color_prompt= 81 | fi 82 | fi 83 | 84 | if [ "$color_prompt" = yes ]; then 85 | if [[ ${EUID} == 0 ]] ; then 86 | PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] ' 87 | else 88 | PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\] \[\033[01;34m\]\w \$\[\033[00m\] ' 89 | fi 90 | else 91 | PS1='${debian_chroot:+($debian_chroot)}\u@\h \w \$ ' 92 | fi 93 | unset color_prompt force_color_prompt 94 | 95 | # If this is an xterm set the title to user@host:dir 96 | case "$TERM" in 97 | xterm*|rxvt*) 98 | PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h \w\a\]$PS1" 99 | ;; 100 | *) 101 | ;; 102 | esac 103 | 104 | # enable color support of ls and also add handy aliases 105 | if [ -x /usr/bin/dircolors ]; then 106 | test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" 107 | alias ls='ls --color=auto' 108 | #alias dir='dir --color=auto' 109 | #alias vdir='vdir --color=auto' 110 | 111 | alias grep='grep --color=auto' 112 | alias fgrep='fgrep --color=auto' 113 | alias egrep='egrep --color=auto' 114 | fi 115 | 116 | # colored GCC warnings and errors 117 | #export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' 118 | 119 | # some more ls aliases 120 | alias ll='ls -alF' 121 | alias la='ls -A' 122 | alias l='ls -CF' 123 | 124 | # Add an "alert" alias for long running commands. Use like so: 125 | # sleep 10; alert 126 | alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' 127 | 128 | # Alias definitions. 129 | # You may want to put all your additions into a separate file like 130 | # ~/.bash_aliases, instead of adding them here directly. 131 | # See /usr/share/doc/bash-doc/examples in the bash-doc package. 132 | 133 | if [ -f ~/.bash_aliases ]; then 134 | . ~/.bash_aliases 135 | fi 136 | 137 | # enable programmable completion features (you don't need to enable 138 | # this, if it's already enabled in /etc/bash.bashrc and /etc/profile 139 | # sources /etc/bash.bashrc). 140 | if ! shopt -oq posix; then 141 | if [ -f /usr/share/bash-completion/bash_completion ]; then 142 | . /usr/share/bash-completion/bash_completion 143 | elif [ -f /etc/bash_completion ]; then 144 | . /etc/bash_completion 145 | fi 146 | fi 147 | 148 | if [ -x /usr/bin/mint-fortune ]; then 149 | /usr/bin/mint-fortune 150 | fi 151 | 152 | 153 | ## custom common shell configs 154 | if [ -f ~/.commonrc ]; then 155 | . ~/.commonrc 156 | fi 157 | 158 | # added by Anaconda3 installer 159 | export PATH="~/anaconda3/bin:$PATH" 160 | export PATH="~/miniconda3/bin:$PATH" 161 | #export PATH="/usr/bin":$PATH # set python2 default 162 | 163 | [ -f ~/.fzf.bash ] && source ~/.fzf.bash 164 | 165 | #THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!! 166 | export SDKMAN_DIR="$HOME/.sdkman" 167 | [[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh" 168 | # added by Miniconda3 4.5.12 installer 169 | # >>> conda init >>> 170 | # !! Contents within this block are managed by 'conda init' !! 171 | __conda_setup="$(CONDA_REPORT_ERRORS=false '/home/toran/miniconda3/bin/conda' shell.bash hook 2> /dev/null)" 172 | if [ $? -eq 0 ]; then 173 | \eval "$__conda_setup" 174 | else 175 | if [ -f "/home/toran/miniconda3/etc/profile.d/conda.sh" ]; then 176 | . "/home/toran/miniconda3/etc/profile.d/conda.sh" 177 | CONDA_CHANGEPS1=false conda activate base 178 | else 179 | \export PATH="/home/toran/miniconda3/bin:$PATH" 180 | fi 181 | fi 182 | unset __conda_setup 183 | # <<< conda init <<< 184 | -------------------------------------------------------------------------------- /backups/cinnamon/configs/menu@cinnamon.org/29.json: -------------------------------------------------------------------------------- 1 | { 2 | "layout": { 3 | "type": "layout", 4 | "pages": [ 5 | "panel", 6 | "menu" 7 | ], 8 | "panel": { 9 | "type": "page", 10 | "title": "Panel", 11 | "sections": [ 12 | "panel-appear", 13 | "panel-behave" 14 | ] 15 | }, 16 | "menu": { 17 | "type": "page", 18 | "title": "Menu", 19 | "sections": [ 20 | "menu-layout", 21 | "menu-behave" 22 | ] 23 | }, 24 | "panel-appear": { 25 | "type": "section", 26 | "title": "Appearance", 27 | "keys": [ 28 | "menu-custom", 29 | "menu-icon", 30 | "menu-icon-size", 31 | "menu-label" 32 | ] 33 | }, 34 | "panel-behave": { 35 | "type": "section", 36 | "title": "Behavior", 37 | "keys": [ 38 | "overlay-key", 39 | "activate-on-hover", 40 | "hover-delay", 41 | "force-show-panel", 42 | "enable-animation" 43 | ] 44 | }, 45 | "menu-layout": { 46 | "type": "section", 47 | "title": "Layout and content", 48 | "keys": [ 49 | "show-category-icons", 50 | "category-icon-size", 51 | "show-application-icons", 52 | "application-icon-size", 53 | "favbox-show", 54 | "fav-icon-size", 55 | "favbox-min-height", 56 | "show-places", 57 | "show-recents", 58 | "menu-editor-button" 59 | ] 60 | }, 61 | "menu-behave": { 62 | "type": "section", 63 | "title": "Behavior", 64 | "keys": [ 65 | "enable-autoscroll", 66 | "search-filesystem" 67 | ] 68 | } 69 | }, 70 | "overlay-key": { 71 | "type": "keybinding", 72 | "description": "Keyboard shortcut to open and close the menu", 73 | "default": "Super_L::Super_R", 74 | "value": "Super_L::Super_R" 75 | }, 76 | "menu-custom": { 77 | "type": "switch", 78 | "default": true, 79 | "description": "Use a custom icon and label", 80 | "tooltip": "Check this to specify a custom icon and label", 81 | "value": false 82 | }, 83 | "menu-icon": { 84 | "type": "iconfilechooser", 85 | "default": "linuxmint-logo-ring-symbolic", 86 | "description": "Icon", 87 | "tooltip": "Select an icon to show in the panel.", 88 | "default_icon": "linuxmint-logo-ring-symbolic", 89 | "dependency": "menu-custom", 90 | "indent": true, 91 | "icon_categories": [ 92 | { 93 | "name": "Linux Mint", 94 | "icons": [ 95 | "linuxmint-logo", 96 | "linuxmint-logo-badge", 97 | "linuxmint-logo-badge-symbolic", 98 | "linuxmint-logo-filled-badge", 99 | "linuxmint-logo-filled-leaf-badge", 100 | "linuxmint-logo-filled-leaf", 101 | "linuxmint-logo-filled-ring", 102 | "linuxmint-logo-leaf-badge", 103 | "linuxmint-logo-leaf-badge-symbolic", 104 | "linuxmint-logo-leaf", 105 | "linuxmint-logo-leaf-symbolic", 106 | "linuxmint-logo-neon", 107 | "linuxmint-logo-ring", 108 | "linuxmint-logo-ring-symbolic", 109 | "linuxmint-logo-simple", 110 | "linuxmint-logo-simple-symbolic", 111 | "cinnamon-symbolic", 112 | "emblem-favorite-symbolic", 113 | "user-bookmarks-symbolic", 114 | "start-here-symbolic" 115 | ] 116 | } 117 | ], 118 | "default_category": "Linux Mint", 119 | "value": "cinnamon-symbolic" 120 | }, 121 | "menu-icon-size": { 122 | "type": "spinbutton", 123 | "default": 32, 124 | "min": 16, 125 | "max": 96, 126 | "step": 1, 127 | "units": "px", 128 | "description": "Icon size", 129 | "dependency": "menu-custom", 130 | "indent": true, 131 | "value": 32 132 | }, 133 | "menu-label": { 134 | "type": "entry", 135 | "default": "", 136 | "description": "Text", 137 | "tooltip": "Enter custom text to show in the panel.", 138 | "dependency": "menu-custom", 139 | "indent": true, 140 | "value": "Menu" 141 | }, 142 | "favbox-min-height": { 143 | "type": "spinbutton", 144 | "default": 300, 145 | "min": 50, 146 | "max": 1000, 147 | "step": 10, 148 | "units": "px", 149 | "dependency": "favbox-show", 150 | "description": "Minimum height of the favorites section", 151 | "tooltip": "The minimum size allocated for the favorites section (this has an impact on the overall height of the menu).", 152 | "value": 300 153 | }, 154 | "show-category-icons": { 155 | "type": "switch", 156 | "default": true, 157 | "description": "Show category icons", 158 | "tooltip": "Choose whether or not to show icons on categories.", 159 | "value": true 160 | }, 161 | "category-icon-size": { 162 | "type": "spinbutton", 163 | "default": 22, 164 | "min": 16, 165 | "max": 48, 166 | "step": 1, 167 | "units": "px", 168 | "description": "Categories icon size", 169 | "dependency": "show-category-icons", 170 | "indent": true, 171 | "value": 22 172 | }, 173 | "show-application-icons": { 174 | "type": "switch", 175 | "default": true, 176 | "description": "Show application icons", 177 | "tooltip": "Choose whether or not to show icons on applications.", 178 | "value": true 179 | }, 180 | "application-icon-size": { 181 | "type": "spinbutton", 182 | "default": 22, 183 | "min": 16, 184 | "max": 48, 185 | "step": 1, 186 | "units": "px", 187 | "description": "Applications icon size", 188 | "dependency": "show-application-icons", 189 | "indent": true, 190 | "value": 22 191 | }, 192 | "favbox-show": { 193 | "type": "switch", 194 | "default": true, 195 | "description": "Show favorites and session buttons", 196 | "tooltip": "Choose whether or not to show the left pane of the menu.", 197 | "value": true 198 | }, 199 | "fav-icon-size": { 200 | "type": "spinbutton", 201 | "default": 32, 202 | "min": 16, 203 | "max": 64, 204 | "step": 1, 205 | "units": "px", 206 | "description": "Favorites icon size", 207 | "dependency": "favbox-show", 208 | "indent": true, 209 | "value": 32 210 | }, 211 | "show-favorites": { 212 | "type": "switch", 213 | "default": true, 214 | "description": "Show favorites", 215 | "tooltip": "Choose whether or not to show favorite files in the menu.", 216 | "value": true 217 | }, 218 | "show-places": { 219 | "type": "switch", 220 | "default": true, 221 | "description": "Show bookmarks and places", 222 | "tooltip": "Choose whether or not to show bookmarks and places in the menu.", 223 | "value": true 224 | }, 225 | "show-recents": { 226 | "type": "switch", 227 | "default": true, 228 | "description": "Show recents", 229 | "tooltip": "Choose whether or not to show recents in the menu.", 230 | "value": true 231 | }, 232 | "enable-autoscroll": { 233 | "type": "switch", 234 | "default": true, 235 | "description": "Enable autoscrolling in application list", 236 | "tooltip": "Choose whether or not to enable smooth autoscrolling in the application list.", 237 | "value": true 238 | }, 239 | "search-filesystem": { 240 | "type": "switch", 241 | "default": false, 242 | "description": "Enable filesystem path entry in search box", 243 | "tooltip": "Allows path entry in the menu search box.", 244 | "value": false 245 | }, 246 | "force-show-panel": { 247 | "type": "switch", 248 | "default": true, 249 | "description": "Force the panel to be visible when opening the menu", 250 | "tooltip": "Opening the menu will also show the main panel (which may be auto-hidden).", 251 | "value": true 252 | }, 253 | "activate-on-hover": { 254 | "type": "switch", 255 | "default": false, 256 | "description": "Open the menu when I move my mouse over it", 257 | "tooltip": "Enable opening the menu when the mouse enters the applet", 258 | "value": false 259 | }, 260 | "hover-delay": { 261 | "type": "spinbutton", 262 | "default": 0, 263 | "min": 0, 264 | "max": 1000, 265 | "step": 50, 266 | "units": "milliseconds", 267 | "dependency": "activate-on-hover", 268 | "description": "Menu hover delay", 269 | "tooltip": "Delay before the menu opens when hovered", 270 | "value": 0 271 | }, 272 | "enable-animation": { 273 | "type": "switch", 274 | "default": false, 275 | "description": "Use menu animations", 276 | "tooltip": "Allow the menu to animate on open and close", 277 | "value": false 278 | }, 279 | "menu-editor-button": { 280 | "type": "button", 281 | "description": "Open the menu editor", 282 | "callback": "_launch_editor", 283 | "tooltip": "Press this button to customize your menu entries." 284 | }, 285 | "__md5__": "c4b27da93411965126569249b61793d70a188a8ff9c3d3f4fa2c1cd14fe0d0a0" 286 | } -------------------------------------------------------------------------------- /backups/cinnamon/configs/menu@cinnamon.org/0.json: -------------------------------------------------------------------------------- 1 | { 2 | "layout": { 3 | "type": "layout", 4 | "pages": [ 5 | "panel", 6 | "menu" 7 | ], 8 | "panel": { 9 | "type": "page", 10 | "title": "Panel", 11 | "sections": [ 12 | "panel-appear", 13 | "panel-behave" 14 | ] 15 | }, 16 | "menu": { 17 | "type": "page", 18 | "title": "Menu", 19 | "sections": [ 20 | "menu-layout", 21 | "menu-behave" 22 | ] 23 | }, 24 | "panel-appear": { 25 | "type": "section", 26 | "title": "Appearance", 27 | "keys": [ 28 | "menu-custom", 29 | "menu-icon", 30 | "menu-icon-size", 31 | "menu-label" 32 | ] 33 | }, 34 | "panel-behave": { 35 | "type": "section", 36 | "title": "Behavior", 37 | "keys": [ 38 | "overlay-key", 39 | "activate-on-hover", 40 | "hover-delay", 41 | "force-show-panel", 42 | "enable-animation" 43 | ] 44 | }, 45 | "menu-layout": { 46 | "type": "section", 47 | "title": "Layout and content", 48 | "keys": [ 49 | "show-category-icons", 50 | "category-icon-size", 51 | "show-application-icons", 52 | "application-icon-size", 53 | "favbox-show", 54 | "fav-icon-size", 55 | "favbox-min-height", 56 | "show-places", 57 | "show-recents", 58 | "menu-editor-button" 59 | ] 60 | }, 61 | "menu-behave": { 62 | "type": "section", 63 | "title": "Behavior", 64 | "keys": [ 65 | "enable-autoscroll", 66 | "search-filesystem" 67 | ] 68 | } 69 | }, 70 | "overlay-key": { 71 | "type": "keybinding", 72 | "description": "Keyboard shortcut to open and close the menu", 73 | "default": "Super_L::Super_R", 74 | "value": "Super_L::Super_R" 75 | }, 76 | "menu-custom": { 77 | "type": "switch", 78 | "default": true, 79 | "description": "Use a custom icon and label", 80 | "tooltip": "Check this to specify a custom icon and label", 81 | "value": true 82 | }, 83 | "menu-icon": { 84 | "type": "iconfilechooser", 85 | "default": "linuxmint-logo-ring-symbolic", 86 | "description": "Icon", 87 | "tooltip": "Select an icon to show in the panel.", 88 | "default_icon": "linuxmint-logo-ring-symbolic", 89 | "dependency": "menu-custom", 90 | "indent": true, 91 | "icon_categories": [ 92 | { 93 | "name": "Linux Mint", 94 | "icons": [ 95 | "linuxmint-logo", 96 | "linuxmint-logo-badge", 97 | "linuxmint-logo-badge-symbolic", 98 | "linuxmint-logo-filled-badge", 99 | "linuxmint-logo-filled-leaf-badge", 100 | "linuxmint-logo-filled-leaf", 101 | "linuxmint-logo-filled-ring", 102 | "linuxmint-logo-leaf-badge", 103 | "linuxmint-logo-leaf-badge-symbolic", 104 | "linuxmint-logo-leaf", 105 | "linuxmint-logo-leaf-symbolic", 106 | "linuxmint-logo-neon", 107 | "linuxmint-logo-ring", 108 | "linuxmint-logo-ring-symbolic", 109 | "linuxmint-logo-simple", 110 | "linuxmint-logo-simple-symbolic", 111 | "cinnamon-symbolic", 112 | "emblem-favorite-symbolic", 113 | "user-bookmarks-symbolic", 114 | "start-here-symbolic" 115 | ] 116 | } 117 | ], 118 | "default_category": "Linux Mint", 119 | "value": "linuxmint-logo-ring-symbolic" 120 | }, 121 | "menu-icon-size": { 122 | "type": "spinbutton", 123 | "default": 32, 124 | "min": 16, 125 | "max": 96, 126 | "step": 1, 127 | "units": "px", 128 | "description": "Icon size", 129 | "dependency": "menu-custom", 130 | "indent": true, 131 | "value": 32 132 | }, 133 | "menu-label": { 134 | "type": "entry", 135 | "default": "", 136 | "description": "Text", 137 | "tooltip": "Enter custom text to show in the panel.", 138 | "dependency": "menu-custom", 139 | "indent": true, 140 | "value": "" 141 | }, 142 | "favbox-min-height": { 143 | "type": "spinbutton", 144 | "default": 300, 145 | "min": 50, 146 | "max": 1000, 147 | "step": 10, 148 | "units": "px", 149 | "dependency": "favbox-show", 150 | "description": "Minimum height of the favorites section", 151 | "tooltip": "The minimum size allocated for the favorites section (this has an impact on the overall height of the menu).", 152 | "value": 300 153 | }, 154 | "show-category-icons": { 155 | "type": "switch", 156 | "default": true, 157 | "description": "Show category icons", 158 | "tooltip": "Choose whether or not to show icons on categories.", 159 | "value": true 160 | }, 161 | "category-icon-size": { 162 | "type": "spinbutton", 163 | "default": 22, 164 | "min": 16, 165 | "max": 48, 166 | "step": 1, 167 | "units": "px", 168 | "description": "Categories icon size", 169 | "dependency": "show-category-icons", 170 | "indent": true, 171 | "value": 22 172 | }, 173 | "show-application-icons": { 174 | "type": "switch", 175 | "default": true, 176 | "description": "Show application icons", 177 | "tooltip": "Choose whether or not to show icons on applications.", 178 | "value": true 179 | }, 180 | "application-icon-size": { 181 | "type": "spinbutton", 182 | "default": 22, 183 | "min": 16, 184 | "max": 48, 185 | "step": 1, 186 | "units": "px", 187 | "description": "Applications icon size", 188 | "dependency": "show-application-icons", 189 | "indent": true, 190 | "value": 22 191 | }, 192 | "favbox-show": { 193 | "type": "switch", 194 | "default": true, 195 | "description": "Show favorites and session buttons", 196 | "tooltip": "Choose whether or not to show the left pane of the menu.", 197 | "value": true 198 | }, 199 | "fav-icon-size": { 200 | "type": "spinbutton", 201 | "default": 32, 202 | "min": 16, 203 | "max": 64, 204 | "step": 1, 205 | "units": "px", 206 | "description": "Favorites icon size", 207 | "dependency": "favbox-show", 208 | "indent": true, 209 | "value": 32 210 | }, 211 | "show-favorites": { 212 | "type": "switch", 213 | "default": true, 214 | "description": "Show favorites", 215 | "tooltip": "Choose whether or not to show favorite files in the menu.", 216 | "value": true 217 | }, 218 | "show-places": { 219 | "type": "switch", 220 | "default": true, 221 | "description": "Show bookmarks and places", 222 | "tooltip": "Choose whether or not to show bookmarks and places in the menu.", 223 | "value": true 224 | }, 225 | "show-recents": { 226 | "type": "switch", 227 | "default": true, 228 | "description": "Show recents", 229 | "tooltip": "Choose whether or not to show recents in the menu.", 230 | "value": true 231 | }, 232 | "enable-autoscroll": { 233 | "type": "switch", 234 | "default": true, 235 | "description": "Enable autoscrolling in application list", 236 | "tooltip": "Choose whether or not to enable smooth autoscrolling in the application list.", 237 | "value": true 238 | }, 239 | "search-filesystem": { 240 | "type": "switch", 241 | "default": false, 242 | "description": "Enable filesystem path entry in search box", 243 | "tooltip": "Allows path entry in the menu search box.", 244 | "value": false 245 | }, 246 | "force-show-panel": { 247 | "type": "switch", 248 | "default": true, 249 | "description": "Force the panel to be visible when opening the menu", 250 | "tooltip": "Opening the menu will also show the main panel (which may be auto-hidden).", 251 | "value": true 252 | }, 253 | "activate-on-hover": { 254 | "type": "switch", 255 | "default": false, 256 | "description": "Open the menu when I move my mouse over it", 257 | "tooltip": "Enable opening the menu when the mouse enters the applet", 258 | "value": false 259 | }, 260 | "hover-delay": { 261 | "type": "spinbutton", 262 | "default": 0, 263 | "min": 0, 264 | "max": 1000, 265 | "step": 50, 266 | "units": "milliseconds", 267 | "dependency": "activate-on-hover", 268 | "description": "Menu hover delay", 269 | "tooltip": "Delay before the menu opens when hovered", 270 | "value": 0 271 | }, 272 | "enable-animation": { 273 | "type": "switch", 274 | "default": false, 275 | "description": "Use menu animations", 276 | "tooltip": "Allow the menu to animate on open and close", 277 | "value": false 278 | }, 279 | "menu-editor-button": { 280 | "type": "button", 281 | "description": "Open the menu editor", 282 | "callback": "_launch_editor", 283 | "tooltip": "Press this button to customize your menu entries." 284 | }, 285 | "__md5__": "c4b27da93411965126569249b61793d70a188a8ff9c3d3f4fa2c1cd14fe0d0a0" 286 | } -------------------------------------------------------------------------------- /backups/.zshrc: -------------------------------------------------------------------------------- 1 | # Docs: 2 | # - http://zsh.sourceforge.net/Doc/zsh_us.pdf 3 | # - http://zsh.sourceforge.net/Doc/Release/Options.html 4 | 5 | # If you come from bash you might have to change your $PATH. 6 | export PATH=$HOME/bin:/usr/local/bin:$PATH 7 | 8 | # Path to your oh-my-zsh installation. 9 | export ZSH=~/.oh-my-zsh 10 | 11 | # Set name of the theme to load. Optionally, if you set this to "random" 12 | # it'll load a random theme each time that oh-my-zsh is loaded. 13 | # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes 14 | ZSH_THEME="amuse" 15 | # ZSH_THEME="avit" 16 | # ZSH_THEME="agnoster" 17 | # ZSH_THEME="robbyrussell" 18 | 19 | # in case using utf-8 fonts 20 | export LANG=en_US.UTF-8 21 | export LC_ALL=en_US.UTF-8 22 | 23 | # Set list of themes to load 24 | # Setting this variable when ZSH_THEME=random 25 | # cause zsh load theme from this variable instead of 26 | # looking in ~/.oh-my-zsh/themes/ 27 | # An empty array have no effect 28 | # ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" ) 29 | 30 | # Uncomment the following line to use case-sensitive completion. 31 | # CASE_SENSITIVE="true" 32 | 33 | # Uncomment the following line to use hyphen-insensitive completion. Case 34 | # sensitive completion must be off. _ and - will be interchangeable. 35 | # HYPHEN_INSENSITIVE="true" 36 | 37 | # Uncomment the following line to disable bi-weekly auto-update checks. 38 | # DISABLE_AUTO_UPDATE="true" 39 | 40 | # Uncomment the following line to change how often to auto-update (in days). 41 | # export UPDATE_ZSH_DAYS=13 42 | 43 | # Uncomment the following line to disable colors in ls. 44 | # DISABLE_LS_COLORS="true" 45 | 46 | # Uncomment the following line to disable auto-setting terminal title. 47 | # DISABLE_AUTO_TITLE="true" 48 | 49 | # Uncomment the following line to enable command auto-correction. 50 | ENABLE_CORRECTION="true" 51 | 52 | # Uncomment the following line to display red dots whilst waiting for completion. 53 | # COMPLETION_WAITING_DOTS="true" 54 | 55 | # Uncomment the following line if you want to disable marking untracked files 56 | # under VCS as dirty. This makes repository status check for large repositories 57 | # much, much faster. 58 | # DISABLE_UNTRACKED_FILES_DIRTY="true" 59 | 60 | # Uncomment the following line if you want to change the command execution time 61 | # stamp shown in the history command output. 62 | # The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" 63 | # HIST_STAMPS="mm/dd/yyyy" 64 | 65 | # Would you like to use another custom folder than $ZSH/custom? 66 | # ZSH_CUSTOM=/path/to/new-custom-folder 67 | 68 | # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) 69 | # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ 70 | # Example format: plugins=(rails git textmate ruby lighthouse) 71 | # Add wisely, as too many plugins slow down shell startup. 72 | plugins=( 73 | # git redis-cli aws celery docker mvn python supervisor systemd pip 74 | zsh-autosuggestions zsh-syntax-highlighting # zsh-syntax-highlighting in last 75 | ) 76 | 77 | source $ZSH/oh-my-zsh.sh 78 | 79 | 80 | # User configuration 81 | 82 | # export MANPATH="/usr/local/man:$MANPATH" 83 | 84 | # You may need to manually set your language environment 85 | # export LANG=en_US.UTF-8 86 | 87 | # Preferred editor for local and remote sessions 88 | # if [[ -n $SSH_CONNECTION ]]; then 89 | # export EDITOR='vim' 90 | # else 91 | # export EDITOR='mvim' 92 | # fi 93 | 94 | # Compilation flags 95 | # export ARCHFLAGS="-arch x86_64" 96 | 97 | # ssh 98 | # export SSH_KEY_PATH="~/.ssh/rsa_id" 99 | 100 | [[ -e ~/.profile ]] && emulate sh -c 'source ~/.profile' 101 | 102 | 103 | ## custom common shell configs 104 | if [ -f ~/.commonrc ]; then 105 | . ~/.commonrc 106 | fi 107 | 108 | # fuzzy search 109 | [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh 110 | #export FZF_DEFAULT_OPS='--extended --height=70% --preview="cat {}" --preview-window=right:60%:wrap' 111 | export FZF_DEFAULT_OPS="--extended --height=70% --preview 'bat --color=always --line-range :500 {}' --preview-window=right:60%:wrap" 112 | # if using fd an find alternative used by git" 113 | #export FZF_DEFAULT_COMMAND="fd --type f" 114 | # if using ripgrep 115 | export FZF_DEFAULT_COMMAND='rg --files --no-ignore --hidden --follow --glob "!{.git,venv,venv3.5}/*" 2> /dev/null' 116 | # export FZF_DEFAULT_COMMAND='rg --files --hidden --follow --glob "!{.git,venv,venv3.5}/*" 2> /dev/null' 117 | export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND" 118 | #export FZF_CTRL_T_OPTS="--preview 'bat --color=always --line-range :500 {}'" #failing in terminal 119 | 120 | 121 | export GIT_EDITOR=vim 122 | 123 | # Set default term to xterm 124 | export TERM=xterm-256color # `xterm*` is default as well; see ~/.bashrc; though not recommanded to set explicitely 125 | # source ~/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh # required only when installed manually 126 | 127 | # vim mode 128 | # set -o vi 129 | 130 | # Edit line in vim with ctrl+e 131 | autoload edit-command-line; zle -N edit-command-line 132 | bindkey '^e' edit-command-line 133 | 134 | # autostart tmux - pre-requiiste - oh-my-zsh's plugin `tmux` installed 135 | # export ZSH_TMUX_AUTOSTART=true # DO NOT USE - issue to timer emoji 136 | 137 | # start tmux automatically 138 | if [ "$TMUX" = "" ]; then tmux; fi 139 | 140 | unsetopt beep # stop bell sound on invalid operation 141 | 142 | # -----------shell history related 143 | 144 | # remove duplicates & keep last once in the HISTFILE - NOT working as expected for multiline cmds 145 | # tac "$HISTFILE" | awk '!x[$0]++' > /tmp/tmpfile && tac /tmp/tmpfile > "$HISTFILE" 146 | 147 | # HISTORY FILE 148 | HISTFILE=~/.bash_history # keep bash and zsh in sync 149 | # HISTFILE=~/.zsh_history 150 | # HISTFILE=~/.all_hists # backup 151 | export HISTFILE=$HISTFILE # to avail as ENV VAR 152 | 153 | HISTSIZE=100000 # default:30 154 | HISTFILESIZE=100000 # default:not-set 155 | 156 | # FIXME - move to ~/.commonrc 157 | # FIXME - functionality 158 | COMMONIGNORE="clear:tmux:pwd:du:df" 159 | ALIASIGNORE="t:c:tks:ttt" 160 | GITIGNORE="gch:master:gpull:gpush" 161 | export HISTIGNORE="$COMMONIGNORE:$ALIASIGNORE:$GITIGNORE" 162 | 163 | # HISTCONTROL equivalents 164 | setopt HIST_IGNORE_ALL_DUPS # HISTCONTROL=erasedups 165 | setopt HIST_IGNORE_SPACE # HISTCONTROL=ignorespace 166 | # setopt HIST_IGNORE_DUPS # HISTCONTROL=ignoredups 167 | setopt HIST_FIND_NO_DUPS # when searching for history entries in the line editor, do not display duplicates of a line previously found, even if the duplicates are not contiguous 168 | setopt HIST_EXPIRE_DUPS_FIRST # delete duplicates first when HISTFILE size exceeds HISTSIZE 169 | 170 | # History Sharing across multiple sessionshow 171 | 172 | # By default the history files are written when the shell closes 173 | # the following allows the shells to write and read from the history file after each command 174 | setopt INC_APPEND_HISTORY # shopt -s histappend 175 | 176 | # 1. cons: does not write to file untill session terminates 177 | # 2. pros: on current terminal session, hist from other sessions are synced (on enter - new prompt) BUT via hist cache 178 | # 3. I'll prefer `INC_APPEND_HISTORY` + `exec zsh` than SHARE_HISTORY 179 | # setopt SHARE_HISTORY # default: ON; PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND" 180 | 181 | # setopt EXTENDED_HISTORY # default: OFF (but found it ON; see `$ setopt` 182 | 183 | # stop prefixing with epoch 184 | setopt NOSHAREHISTORY # drawback will be no automatic history syncup across multiple session 185 | setopt NOEXTENDEDHISTORY # extendedhistory feature tells how long a command took in addition to when it ran; default it is off but it doing this to be sure 186 | 187 | setopt NO_HIST_BEEP # turn off beep signal when trying scroll up/down beyond history search results 188 | 189 | # setopt HIST_REDUCE_BLANKS # tidy up the line when it is entered into the history by removing any excess blanks that mean nothing to the shell (including multiline cmd --> single line) 190 | 191 | setopt HIST_VERIFY # whenever the user enters a line with history expansion, don’t execute the line directly; instead, perform history expansion and reload the line into the editing buffer. 192 | 193 | 194 | # PROMPT_COMMAND="history -n; history -w; history -c;" 195 | # prmptcmd() { eval "$PROMPT_COMMAND" } 196 | # precmd_functions=(prmptcmd) 197 | 198 | # Ref: 199 | # - Official 200 | # - http://zsh.sourceforge.net/Guide/zshguide02.html#l18 201 | # - All bash equivalents 202 | # - https://kevinjalbert.com/more-shell-history/ 203 | # - sharehistory and extendedhistory 204 | # - https://unix.stackexchange.com/questions/399527/why-does-zsh-timestamp-history 205 | 206 | # -------------------------------------------- 207 | 208 | # source env vars 209 | export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH" 210 | 211 | # The next line updates PATH for the Google Cloud SDK. 212 | if [ -f $HOME/google-cloud-sdk/path.zsh.inc ]; then source $HOME/google-cloud-sdk/path.zsh.inc; fi 213 | 214 | # The next line enables shell command completion for gcloud. 215 | if [ -f $HOME/google-cloud-sdk/completion.zsh.inc ]; then source $HOME/google-cloud-sdk/completion.zsh.inc; fi 216 | 217 | # setup autocomplete in zsh into the current shell 218 | if [ -f '/usr/local/bin/kubectl' ]; then source <(kubectl completion zsh); fi 219 | 220 | # setup `aws-okta` autocomplete in zsh 221 | if [ -f $GOPATH/bin/aws-okta ]; then source <(aws-okta completion zsh); fi 222 | 223 | autoload -Uz compinit 224 | zstyle ':completion:*' menu select 225 | fpath+=~/.zfunc 226 | 227 | # THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!! 228 | export SDKMAN_DIR="/Users/toran/.sdkman" 229 | [[ -s "/Users/toran/.sdkman/bin/sdkman-init.sh" ]] && source "/Users/toran/.sdkman/bin/sdkman-init.sh" 230 | -------------------------------------------------------------------------------- /backups/cinnamon/configs/grouped-window-list@cinnamon.org/25.json: -------------------------------------------------------------------------------- 1 | { 2 | "layout": { 3 | "type": "layout", 4 | "pages": [ 5 | "generalPage", 6 | "panelPage", 7 | "thumbnailsPage", 8 | "contextMenuPage" 9 | ], 10 | "generalPage": { 11 | "type": "page", 12 | "title": "General", 13 | "sections": [ 14 | "generalSection", 15 | "hotKeysSection" 16 | ] 17 | }, 18 | "panelPage": { 19 | "type": "page", 20 | "title": "Panel", 21 | "sections": [ 22 | "appButtonsSection" 23 | ] 24 | }, 25 | "thumbnailsPage": { 26 | "type": "page", 27 | "title": "Thumbnails", 28 | "sections": [ 29 | "thumbnailsSection", 30 | "hoverPeekSection" 31 | ] 32 | }, 33 | "contextMenuPage": { 34 | "type": "page", 35 | "title": "Context Menu", 36 | "sections": [ 37 | "contextMenuSection" 38 | ] 39 | }, 40 | "generalSection": { 41 | "type": "section", 42 | "title": "Behavior", 43 | "keys": [ 44 | "group-apps", 45 | "scroll-behavior", 46 | "left-click-action", 47 | "middle-click-action", 48 | "show-all-workspaces" 49 | ] 50 | }, 51 | "appButtonsSection": { 52 | "type": "section", 53 | "title": "Application Buttons", 54 | "keys": [ 55 | "title-display", 56 | "launcher-animation-effect", 57 | "number-display", 58 | "pinned-apps", 59 | "enable-app-button-dragging" 60 | ] 61 | }, 62 | "hotKeysSection": { 63 | "type": "section", 64 | "title": "Hot Keys", 65 | "keys": [ 66 | "cycleMenusHotkey", 67 | "show-apps-order-hotkey", 68 | "show-apps-order-timeout", 69 | "super-num-hotkeys" 70 | ] 71 | }, 72 | "thumbnailsSection": { 73 | "type": "section", 74 | "title": "Thumbnails", 75 | "keys": [ 76 | "thumbnail-scroll-behavior", 77 | "show-thumbnails", 78 | "animate-thumbnails", 79 | "vertical-thumbnails", 80 | "sort-thumbnails", 81 | "highlight-last-focused-thumbnail", 82 | "onclick-thumbnails", 83 | "thumbnail-timeout", 84 | "thumbnail-size" 85 | ] 86 | }, 87 | "hoverPeekSection": { 88 | "type": "section", 89 | "title": "Hover Peek", 90 | "keys": [ 91 | "enable-hover-peek", 92 | "hover-peek-time-in", 93 | "hover-peek-time-out", 94 | "hover-peek-opacity" 95 | ] 96 | }, 97 | "contextMenuSection": { 98 | "type": "section", 99 | "title": "", 100 | "keys": [ 101 | "show-recent", 102 | "autostart-menu-item", 103 | "launch-new-instance-menu-item", 104 | "monitor-move-all-windows" 105 | ] 106 | } 107 | }, 108 | "number-display": { 109 | "type": "checkbox", 110 | "default": true, 111 | "description": "Show window count numbers", 112 | "value": true 113 | }, 114 | "title-display": { 115 | "type": "combobox", 116 | "default": 1, 117 | "description": "Button label", 118 | "options": { 119 | "None": 1, 120 | "Application name": 2, 121 | "Window title": 3, 122 | "Window title (only for the focused window)": 4 123 | }, 124 | "value": 1 125 | }, 126 | "scroll-behavior": { 127 | "type": "combobox", 128 | "default": 1, 129 | "description": "Mouse wheel scroll action", 130 | "options": { 131 | "None": 1, 132 | "Cycle apps": 2, 133 | "Cycle windows": 3 134 | }, 135 | "value": 1 136 | }, 137 | "left-click-action": { 138 | "type": "combobox", 139 | "default": 2, 140 | "description": "Left click action", 141 | "options": { 142 | "None": 1, 143 | "Toggle activation of last focused window": 2, 144 | "Cycle windows": 3 145 | }, 146 | "value": 2 147 | }, 148 | "middle-click-action": { 149 | "type": "combobox", 150 | "default": 3, 151 | "description": "Middle click action", 152 | "options": { 153 | "None": 1, 154 | "Launch new app instance": 2, 155 | "Close last focused window in group": 3 156 | }, 157 | "value": 3 158 | }, 159 | "pinned-apps": { 160 | "type": "generic", 161 | "default": [ 162 | "firefox.desktop", 163 | "org.gnome.Terminal.desktop", 164 | "nemo.desktop" 165 | ], 166 | "value": [] 167 | }, 168 | "group-apps": { 169 | "type": "checkbox", 170 | "default": true, 171 | "description": "Group windows by application", 172 | "value": true 173 | }, 174 | "show-all-workspaces": { 175 | "type": "checkbox", 176 | "default": false, 177 | "description": "Show windows from all workspaces", 178 | "value": false 179 | }, 180 | "enable-app-button-dragging": { 181 | "type": "checkbox", 182 | "default": true, 183 | "description": "Enable app button dragging", 184 | "value": true 185 | }, 186 | "launcher-animation-effect": { 187 | "type": "combobox", 188 | "default": 3, 189 | "description": "Launcher animation", 190 | "options": { 191 | "None": 1, 192 | "Fade": 2, 193 | "Scale": 3 194 | }, 195 | "value": 3 196 | }, 197 | "cycleMenusHotkey": { 198 | "type": "keybinding", 199 | "default": "space", 200 | "description": "Global hotkey for cycling through thumbnail menus", 201 | "value": "space" 202 | }, 203 | "show-apps-order-hotkey": { 204 | "type": "keybinding", 205 | "default": "grave", 206 | "description": "Global hotkey to show the order of apps", 207 | "value": "grave" 208 | }, 209 | "show-apps-order-timeout": { 210 | "type": "spinbutton", 211 | "default": 2500, 212 | "min": 100, 213 | "max": 10000, 214 | "step": 10, 215 | "units": "milliseconds", 216 | "description": "Duration of the apps order display on hotkey press", 217 | "value": 2500 218 | }, 219 | "super-num-hotkeys": { 220 | "type": "checkbox", 221 | "default": true, 222 | "description": "Enable Super+ shortcut to switch/open apps", 223 | "value": true 224 | }, 225 | "thumbnail-timeout": { 226 | "dependency": "!onclick-thumbnails", 227 | "type": "combobox", 228 | "default": 250, 229 | "description": "Delay before showing thumbnails", 230 | "options": { 231 | "50 ms": 50, 232 | "250 ms": 250, 233 | "500 ms": 500 234 | }, 235 | "value": 50 236 | }, 237 | "thumbnail-size": { 238 | "type": "combobox", 239 | "default": 6, 240 | "description": "Thumbnail size", 241 | "options": { 242 | "Small": 3, 243 | "Medium": 6, 244 | "Large": 9, 245 | "Largest": 12 246 | }, 247 | "value": 6 248 | }, 249 | "thumbnail-scroll-behavior": { 250 | "type": "checkbox", 251 | "default": false, 252 | "description": "Cycle windows on mouse wheel scroll", 253 | "value": false 254 | }, 255 | "show-thumbnails": { 256 | "type": "checkbox", 257 | "default": true, 258 | "description": "Show thumbnails", 259 | "value": true 260 | }, 261 | "animate-thumbnails": { 262 | "type": "checkbox", 263 | "default": false, 264 | "description": "Animate thumbnails", 265 | "value": false 266 | }, 267 | "vertical-thumbnails": { 268 | "type": "checkbox", 269 | "default": false, 270 | "description": "Enable vertical thumbnails", 271 | "value": false 272 | }, 273 | "sort-thumbnails": { 274 | "type": "checkbox", 275 | "default": false, 276 | "description": "Sort thumbnails according to the last focused windows", 277 | "value": false 278 | }, 279 | "highlight-last-focused-thumbnail": { 280 | "type": "checkbox", 281 | "default": true, 282 | "description": "Highlight the thumbnail of the last focused window", 283 | "value": true 284 | }, 285 | "onclick-thumbnails": { 286 | "type": "checkbox", 287 | "default": false, 288 | "description": "Click to show thumbnails", 289 | "value": false 290 | }, 291 | "show-recent": { 292 | "type": "checkbox", 293 | "default": true, 294 | "description": "Show recent items", 295 | "value": true 296 | }, 297 | "autostart-menu-item": { 298 | "type": "checkbox", 299 | "default": false, 300 | "description": "Show autostart option", 301 | "value": false 302 | }, 303 | "launch-new-instance-menu-item": { 304 | "type": "checkbox", 305 | "default": true, 306 | "description": "Show new window option", 307 | "tooltip": "Shows the \"New Window\" option in an app's context menu if it doesn't already have one from the app's own action menu items.", 308 | "value": true 309 | }, 310 | "monitor-move-all-windows": { 311 | "type": "checkbox", 312 | "default": true, 313 | "description": "Apply the monitor move option to all windows", 314 | "tooltip": "When clicking \"Move to monitor\" in the context menu, this option will move all of an app's windows instead of just the last focused window from the app.", 315 | "value": true 316 | }, 317 | "enable-hover-peek": { 318 | "type": "checkbox", 319 | "default": true, 320 | "description": "Show the window when hovering its thumbnail", 321 | "value": true 322 | }, 323 | "hover-peek-time-in": { 324 | "dependency": "enable-hover-peek", 325 | "type": "combobox", 326 | "default": 300, 327 | "description": "Window fade-in time", 328 | "options": { 329 | "150 ms": 150, 330 | "300 ms": 300, 331 | "450 ms": 450 332 | }, 333 | "value": 150 334 | }, 335 | "hover-peek-time-out": { 336 | "dependency": "enable-hover-peek", 337 | "type": "combobox", 338 | "default": 0, 339 | "description": "Window fade-out time", 340 | "options": { 341 | "None": 0, 342 | "150 ms": 150, 343 | "300 ms": 300, 344 | "450 ms": 450 345 | }, 346 | "value": 0 347 | }, 348 | "hover-peek-opacity": { 349 | "dependency": "enable-hover-peek", 350 | "type": "spinbutton", 351 | "default": 100, 352 | "min": 0, 353 | "max": 100, 354 | "step": 1, 355 | "units": "percent", 356 | "description": "Window opacity", 357 | "value": 0 358 | }, 359 | "__md5__": "a8bd266f01474817e50162d841192d67" 360 | } -------------------------------------------------------------------------------- /backups/cinnamon/configs/grouped-window-list@cinnamon.org/28.json: -------------------------------------------------------------------------------- 1 | { 2 | "layout": { 3 | "type": "layout", 4 | "pages": [ 5 | "generalPage", 6 | "panelPage", 7 | "thumbnailsPage", 8 | "contextMenuPage" 9 | ], 10 | "generalPage": { 11 | "type": "page", 12 | "title": "General", 13 | "sections": [ 14 | "generalSection", 15 | "hotKeysSection" 16 | ] 17 | }, 18 | "panelPage": { 19 | "type": "page", 20 | "title": "Panel", 21 | "sections": [ 22 | "appButtonsSection" 23 | ] 24 | }, 25 | "thumbnailsPage": { 26 | "type": "page", 27 | "title": "Thumbnails", 28 | "sections": [ 29 | "thumbnailsSection", 30 | "hoverPeekSection" 31 | ] 32 | }, 33 | "contextMenuPage": { 34 | "type": "page", 35 | "title": "Context Menu", 36 | "sections": [ 37 | "contextMenuSection" 38 | ] 39 | }, 40 | "generalSection": { 41 | "type": "section", 42 | "title": "Behavior", 43 | "keys": [ 44 | "group-apps", 45 | "scroll-behavior", 46 | "left-click-action", 47 | "middle-click-action", 48 | "show-all-workspaces" 49 | ] 50 | }, 51 | "appButtonsSection": { 52 | "type": "section", 53 | "title": "Application Buttons", 54 | "keys": [ 55 | "title-display", 56 | "launcher-animation-effect", 57 | "number-display", 58 | "pinned-apps", 59 | "enable-app-button-dragging" 60 | ] 61 | }, 62 | "hotKeysSection": { 63 | "type": "section", 64 | "title": "Hot Keys", 65 | "keys": [ 66 | "cycleMenusHotkey", 67 | "show-apps-order-hotkey", 68 | "show-apps-order-timeout", 69 | "super-num-hotkeys" 70 | ] 71 | }, 72 | "thumbnailsSection": { 73 | "type": "section", 74 | "title": "Thumbnails", 75 | "keys": [ 76 | "thumbnail-scroll-behavior", 77 | "show-thumbnails", 78 | "animate-thumbnails", 79 | "vertical-thumbnails", 80 | "sort-thumbnails", 81 | "highlight-last-focused-thumbnail", 82 | "onclick-thumbnails", 83 | "thumbnail-timeout", 84 | "thumbnail-size" 85 | ] 86 | }, 87 | "hoverPeekSection": { 88 | "type": "section", 89 | "title": "Hover Peek", 90 | "keys": [ 91 | "enable-hover-peek", 92 | "hover-peek-time-in", 93 | "hover-peek-time-out", 94 | "hover-peek-opacity" 95 | ] 96 | }, 97 | "contextMenuSection": { 98 | "type": "section", 99 | "title": "", 100 | "keys": [ 101 | "show-recent", 102 | "autostart-menu-item", 103 | "launch-new-instance-menu-item", 104 | "monitor-move-all-windows" 105 | ] 106 | } 107 | }, 108 | "number-display": { 109 | "type": "checkbox", 110 | "default": true, 111 | "description": "Show window count numbers", 112 | "value": true 113 | }, 114 | "title-display": { 115 | "type": "combobox", 116 | "default": 1, 117 | "description": "Button label", 118 | "options": { 119 | "None": 1, 120 | "Application name": 2, 121 | "Window title": 3, 122 | "Window title (only for the focused window)": 4 123 | }, 124 | "value": 1 125 | }, 126 | "scroll-behavior": { 127 | "type": "combobox", 128 | "default": 1, 129 | "description": "Mouse wheel scroll action", 130 | "options": { 131 | "None": 1, 132 | "Cycle apps": 2, 133 | "Cycle windows": 3 134 | }, 135 | "value": 1 136 | }, 137 | "left-click-action": { 138 | "type": "combobox", 139 | "default": 2, 140 | "description": "Left click action", 141 | "options": { 142 | "None": 1, 143 | "Toggle activation of last focused window": 2, 144 | "Cycle windows": 3 145 | }, 146 | "value": 2 147 | }, 148 | "middle-click-action": { 149 | "type": "combobox", 150 | "default": 3, 151 | "description": "Middle click action", 152 | "options": { 153 | "None": 1, 154 | "Launch new app instance": 2, 155 | "Close last focused window in group": 3 156 | }, 157 | "value": 3 158 | }, 159 | "pinned-apps": { 160 | "type": "generic", 161 | "default": [ 162 | "firefox.desktop", 163 | "org.gnome.Terminal.desktop", 164 | "nemo.desktop" 165 | ], 166 | "value": [] 167 | }, 168 | "group-apps": { 169 | "type": "checkbox", 170 | "default": true, 171 | "description": "Group windows by application", 172 | "value": true 173 | }, 174 | "show-all-workspaces": { 175 | "type": "checkbox", 176 | "default": false, 177 | "description": "Show windows from all workspaces", 178 | "value": false 179 | }, 180 | "enable-app-button-dragging": { 181 | "type": "checkbox", 182 | "default": true, 183 | "description": "Enable app button dragging", 184 | "value": true 185 | }, 186 | "launcher-animation-effect": { 187 | "type": "combobox", 188 | "default": 3, 189 | "description": "Launcher animation", 190 | "options": { 191 | "None": 1, 192 | "Fade": 2, 193 | "Scale": 3 194 | }, 195 | "value": 1 196 | }, 197 | "cycleMenusHotkey": { 198 | "type": "keybinding", 199 | "default": "space", 200 | "description": "Global hotkey for cycling through thumbnail menus", 201 | "value": "space" 202 | }, 203 | "show-apps-order-hotkey": { 204 | "type": "keybinding", 205 | "default": "grave", 206 | "description": "Global hotkey to show the order of apps", 207 | "value": "grave" 208 | }, 209 | "show-apps-order-timeout": { 210 | "type": "spinbutton", 211 | "default": 2500, 212 | "min": 100, 213 | "max": 10000, 214 | "step": 10, 215 | "units": "milliseconds", 216 | "description": "Duration of the apps order display on hotkey press", 217 | "value": 2500 218 | }, 219 | "super-num-hotkeys": { 220 | "type": "checkbox", 221 | "default": true, 222 | "description": "Enable Super+ shortcut to switch/open apps", 223 | "value": true 224 | }, 225 | "thumbnail-timeout": { 226 | "dependency": "!onclick-thumbnails", 227 | "type": "combobox", 228 | "default": 250, 229 | "description": "Delay before showing thumbnails", 230 | "options": { 231 | "50 ms": 50, 232 | "250 ms": 250, 233 | "500 ms": 500 234 | }, 235 | "value": 250 236 | }, 237 | "thumbnail-size": { 238 | "type": "combobox", 239 | "default": 6, 240 | "description": "Thumbnail size", 241 | "options": { 242 | "Small": 3, 243 | "Medium": 6, 244 | "Large": 9, 245 | "Largest": 12 246 | }, 247 | "value": 6 248 | }, 249 | "thumbnail-scroll-behavior": { 250 | "type": "checkbox", 251 | "default": false, 252 | "description": "Cycle windows on mouse wheel scroll", 253 | "value": false 254 | }, 255 | "show-thumbnails": { 256 | "type": "checkbox", 257 | "default": true, 258 | "description": "Show thumbnails", 259 | "value": true 260 | }, 261 | "animate-thumbnails": { 262 | "type": "checkbox", 263 | "default": false, 264 | "description": "Animate thumbnails", 265 | "value": false 266 | }, 267 | "vertical-thumbnails": { 268 | "type": "checkbox", 269 | "default": false, 270 | "description": "Enable vertical thumbnails", 271 | "value": false 272 | }, 273 | "sort-thumbnails": { 274 | "type": "checkbox", 275 | "default": false, 276 | "description": "Sort thumbnails according to the last focused windows", 277 | "value": false 278 | }, 279 | "highlight-last-focused-thumbnail": { 280 | "type": "checkbox", 281 | "default": true, 282 | "description": "Highlight the thumbnail of the last focused window", 283 | "value": true 284 | }, 285 | "onclick-thumbnails": { 286 | "type": "checkbox", 287 | "default": false, 288 | "description": "Click to show thumbnails", 289 | "value": false 290 | }, 291 | "show-recent": { 292 | "type": "checkbox", 293 | "default": true, 294 | "description": "Show recent items", 295 | "value": true 296 | }, 297 | "autostart-menu-item": { 298 | "type": "checkbox", 299 | "default": false, 300 | "description": "Show autostart option", 301 | "value": false 302 | }, 303 | "launch-new-instance-menu-item": { 304 | "type": "checkbox", 305 | "default": true, 306 | "description": "Show new window option", 307 | "tooltip": "Shows the \"New Window\" option in an app's context menu if it doesn't already have one from the app's own action menu items.", 308 | "value": true 309 | }, 310 | "monitor-move-all-windows": { 311 | "type": "checkbox", 312 | "default": true, 313 | "description": "Apply the monitor move option to all windows", 314 | "tooltip": "When clicking \"Move to monitor\" in the context menu, this option will move all of an app's windows instead of just the last focused window from the app.", 315 | "value": true 316 | }, 317 | "enable-hover-peek": { 318 | "type": "checkbox", 319 | "default": true, 320 | "description": "Show the window when hovering its thumbnail", 321 | "value": true 322 | }, 323 | "hover-peek-time-in": { 324 | "dependency": "enable-hover-peek", 325 | "type": "combobox", 326 | "default": 300, 327 | "description": "Window fade-in time", 328 | "options": { 329 | "150 ms": 150, 330 | "300 ms": 300, 331 | "450 ms": 450 332 | }, 333 | "value": 300 334 | }, 335 | "hover-peek-time-out": { 336 | "dependency": "enable-hover-peek", 337 | "type": "combobox", 338 | "default": 0, 339 | "description": "Window fade-out time", 340 | "options": { 341 | "None": 0, 342 | "150 ms": 150, 343 | "300 ms": 300, 344 | "450 ms": 450 345 | }, 346 | "value": 0 347 | }, 348 | "hover-peek-opacity": { 349 | "dependency": "enable-hover-peek", 350 | "type": "spinbutton", 351 | "default": 100, 352 | "min": 0, 353 | "max": 100, 354 | "step": 1, 355 | "units": "percent", 356 | "description": "Window opacity", 357 | "value": 100 358 | }, 359 | "__md5__": "a8bd266f01474817e50162d841192d67" 360 | } -------------------------------------------------------------------------------- /backups/cinnamon_backup: -------------------------------------------------------------------------------- 1 | [/] 2 | extension-cache-updated=1544028495 3 | desktop-effects-unmaximize-transition='easeNone' 4 | desktop-effects-maximize-transition='easeInExpo' 5 | applet-cache-updated=1572791602 6 | desktop-effects-map-effect='traditional' 7 | workspace-osd-x=50 8 | command-history=['gconf-editor', 'cinnamon', 'XKILL', 'gnome-terminal', 'kill', 'r', 'xkill'] 9 | alttab-switcher-show-all-workspaces=false 10 | desktop-effects-close-effect='traditional' 11 | workspace-osd-duration=400 12 | desktop-effects-unmaximize-time=100 13 | enabled-desklets=@as [] 14 | desktop-effects-map-time=175 15 | panel-zone-icon-sizes='[{"panelId":1,"left":0,"center":0,"right":24},{"panelId":2,"left":0,"center":0,"right":0}]' 16 | desktop-effects-minimize-effect='traditional' 17 | panels-scale-text-icons=['1:true', '2:true'] 18 | desklet-snap-interval=25 19 | panels-height=['1:25', '2:25'] 20 | next-applet-id=23 21 | panel-launchers=['DEPRECATED'] 22 | desktop-effects-map-transition='easeOutQuad' 23 | desktop-effects-maximize-time=100 24 | desktop-effects-unmaximize-effect='none' 25 | panels-enabled=['1:0:left', '2:0:bottom'] 26 | desktop-effects-tile-transition='easeInQuad' 27 | panels-resizable=['1:true', '2:true'] 28 | desktop-effects-maximize-effect='none' 29 | enabled-applets=['panel1:left:0:panel-launchers@cinnamon.org:3', 'panel1:right:4:systray@cinnamon.org:0', 'panel1:right:5:sound@cinnamon.org:13', 'panel1:right:7:removable-drives@cinnamon.org:7', 'panel2:right:4:notifications@cinnamon.org:6', 'panel1:right:9:user@cinnamon.org:8', 'panel1:right:10:network@cinnamon.org:9', 'panel2:left:0:menu@cinnamon.org:1', 'panel2:right:1:power@cinnamon.org:11', 'panel2:right:2:separator@cinnamon.org:15', 'panel2:right:5:calendar@cinnamon.org:12', 'panel2:right:6:show-desktop@cinnamon.org:2', 'panel2:center:0:IcingTaskManager@json:17', 'panel2:right:3:multicore-sys-monitor@ccadeptic23:21:orient'] 30 | desktop-effects-minimize-time=200 31 | alttab-switcher-delay=100 32 | desktop-effects-tile-effect='none' 33 | desktop-effects-close-transition='easeOutQuad' 34 | desktop-effects-minimize-transition='easeInQuad' 35 | panel-edit-mode=false 36 | panels-show-delay=['1:0', '2:0'] 37 | panels-hide-delay=['1:0', '2:0'] 38 | desktop-effects-close-time=175 39 | next-desklet-id=1 40 | workspace-osd-y=50 41 | favorite-apps=['cinnamon-settings.desktop', 'pidgin.desktop', 'org.gnome.Terminal.desktop', 'nemo.desktop', 'firefox_firefox.desktop'] 42 | show-media-keys-osd='medium' 43 | desktop-effects-tile-time=100 44 | panels-autohide=['1:false', '2:false'] 45 | device-aliases=['/org/freedesktop/UPower/devices/battery_BAT0:=SANYO 45N1159'] 46 | no-adjacent-panel-barriers=true 47 | 48 | [sounds] 49 | tile-enabled=false 50 | login-enabled=false 51 | logout-enabled=false 52 | unplug-enabled=false 53 | notification-enabled=true 54 | plug-enabled=false 55 | switch-enabled=false 56 | 57 | [muffin] 58 | button-layout=':minimize,maximize,close' 59 | unredirect-fullscreen-windows=true 60 | resize-threshold=24 61 | tile-hud-threshold=25 62 | edge-tiling=true 63 | 64 | [desktop/interface] 65 | cursor-size=24 66 | first-day-of-week=1 67 | clock-use-24h=true 68 | toolkit-accessibility=true 69 | clock-show-seconds=true 70 | cursor-blink-time=1200 71 | icon-theme='Mint-X-Dark' 72 | gtk-overlay-scrollbars=false 73 | gtk-theme='Mint-Y-Dark' 74 | clock-show-date=true 75 | 76 | [desktop/keybindings/custom-keybindings/custom0] 77 | binding=['w'] 78 | command="sh -c '~/.personalized/workspace_nemo.sh'" 79 | name='Workspace' 80 | 81 | [desktop/keybindings/custom-keybindings/custom1] 82 | binding=['t'] 83 | command='gnome-terminal' 84 | name='Terminal' 85 | 86 | [desktop/keybindings/custom-keybindings/custom2] 87 | binding=['c'] 88 | command='gnome-calculator' 89 | name='Calc' 90 | 91 | [desktop/keybindings/custom-keybindings/custom3] 92 | binding=['Print'] 93 | command='gnome-screenshot' 94 | name='Screenshot - full monitors - PrtScn' 95 | 96 | [desktop/keybindings/custom-keybindings/custom4] 97 | binding=['e'] 98 | command='nemo ' 99 | name='Home' 100 | 101 | [desktop/keybindings/custom-keybindings/custom5] 102 | binding=['h'] 103 | command='systemctl hibernate' 104 | name='Hibernate' 105 | 106 | [desktop/keybindings/custom-keybindings/custom10] 107 | binding=['space'] 108 | command="sh -c '~/.personalized/rightclick.sh'" 109 | name='Right Click Keyboard' 110 | 111 | [desktop/keybindings/custom-keybindings/custom6] 112 | binding=['s'] 113 | command='systemctl suspend' 114 | name='Suspend systemctl suspend' 115 | 116 | [desktop/keybindings/custom-keybindings/custom11] 117 | binding=@as [] 118 | command='gnome-do' 119 | name='gnome-do' 120 | 121 | [desktop/keybindings/custom-keybindings/custom7] 122 | binding=['space'] 123 | command="sh -c '~/.personalized/mouserightclick.sh'" 124 | name='Right Click Mouse Cursor Based' 125 | 126 | [desktop/keybindings/custom-keybindings/custom12] 127 | binding=['z'] 128 | command='nemo $HOME' 129 | name='test' 130 | 131 | [desktop/keybindings/custom-keybindings/custom20] 132 | binding=['Print'] 133 | command='gnome-screenshot -i' 134 | name='Screenshot Option' 135 | 136 | [desktop/keybindings/custom-keybindings/custom13] 137 | binding=['Up'] 138 | command='xrandr -o 0' 139 | name='Rotate 0' 140 | 141 | [desktop/keybindings/custom-keybindings/custom21] 142 | binding=['i'] 143 | command='idea' 144 | name='IntelliJ idea' 145 | 146 | [desktop/keybindings/custom-keybindings/custom14] 147 | binding=['Left'] 148 | command='xrandr -o 1' 149 | name='Rotate 270' 150 | 151 | [desktop/keybindings/custom-keybindings/custom22] 152 | binding=['v'] 153 | command='code' 154 | name='VS Code' 155 | 156 | [desktop/keybindings/custom-keybindings/custom15] 157 | binding=['Down'] 158 | command='xrandr -o 2' 159 | name='Rotate 180' 160 | 161 | [desktop/keybindings/custom-keybindings/custom23] 162 | binding=['Insert'] 163 | command='gnome-screenshot -w' 164 | name='Screenshot - selected window - prtScn+w' 165 | 166 | [desktop/keybindings/custom-keybindings/custom16] 167 | binding=['Right'] 168 | command='xrandr -o 3' 169 | name='Rotate 90' 170 | 171 | [desktop/keybindings/custom-keybindings/custom9] 172 | binding=['r'] 173 | command='sudo reboot 00' 174 | name='Reboot' 175 | 176 | [desktop/keybindings/custom-keybindings/custom17] 177 | binding=['f'] 178 | command='firefox' 179 | name='Firefox' 180 | 181 | [desktop/keybindings/custom-keybindings/custom8] 182 | binding=['PowerOff'] 183 | command='sudo pm-suspend&' 184 | name='Suspend pm-suspend&' 185 | 186 | [desktop/keybindings/custom-keybindings/custom18] 187 | binding=['m'] 188 | command='thunderbird' 189 | name='Thuderbird Mail' 190 | 191 | [desktop/keybindings/custom-keybindings/custom19] 192 | binding=['s'] 193 | command='gnome-screenshot -ac' 194 | name='Screenshot Area + Clipboard' 195 | 196 | [desktop/keybindings] 197 | looking-glass-keybinding=@as [] 198 | custom-list=['custom0', 'custom1', 'custom2', 'custom3', 'custom4', 'custom5', 'custom6', 'custom8', 'custom9', 'custom7', 'custom10', 'custom11', 'custom12', 'custom13', 'custom14', 'custom15', 'custom16', 'custom17', 'custom18', 'custom19', 'custom20', 'custom21', 'custom22', 'custom23'] 199 | show-desklets=@as [] 200 | 201 | [desktop/keybindings/media-keys] 202 | screensaver=['l', 'l'] 203 | home=['XF86Explorer'] 204 | screenshot=@as [] 205 | 206 | [desktop/keybindings/wm] 207 | push-snap-left=@as [] 208 | switch-to-workspace-right=['Right'] 209 | push-snap-right=@as [] 210 | switch-to-workspace-left=['Left'] 211 | move-to-workspace-left=['Left'] 212 | move-to-workspace-right=['Right'] 213 | 214 | [desktop/media-handling] 215 | autorun-x-content-start-app=@as [] 216 | autorun-never=false 217 | autorun-x-content-ignore=@as [] 218 | autorun-x-content-open-folder=['x-content/bootable-media', 'x-content/image-dcf'] 219 | 220 | [desktop/screensaver] 221 | screensaver-name='' 222 | layout-group=1 223 | lock-enabled=true 224 | 225 | [desktop/applications/terminal] 226 | exec='gnome-terminal' 227 | 228 | [desktop/notifications] 229 | fade-opacity=40 230 | bottom-notifications=true 231 | fade-on-mouseover=false 232 | remove-old=false 233 | 234 | [desktop/session] 235 | idle-delay=uint32 0 236 | 237 | [desktop/privacy] 238 | recent-files-max-age=5 239 | remember-recent-files=true 240 | 241 | [desktop/wm/preferences] 242 | min-window-opacity=30 243 | theme='Mint-Y-Dark' 244 | num-workspaces=4 245 | workspace-names=['1. Main', '2. Production', '3. OpenConfig', '4. Personal'] 246 | 247 | [desktop/a11y/applications] 248 | screen-keyboard-enabled=true 249 | screen-reader-enabled=false 250 | 251 | [desktop/a11y/keyboard] 252 | togglekeys-enable-osd=true 253 | togglekeys-enable-beep=true 254 | mousekeys-init-delay=300 255 | mousekeys-max-speed=10 256 | mousekeys-accel-time=300 257 | bouncekeys-delay=300 258 | slowkeys-delay=300 259 | 260 | [desktop/a11y/mouse] 261 | secondary-click-enabled=false 262 | secondary-click-time=1.2 263 | dwell-time=1.2 264 | dwell-threshold=10 265 | dwell-click-enabled=false 266 | 267 | [desktop/sound] 268 | volume-sound-enabled=false 269 | event-sounds=false 270 | 271 | [desktop/background] 272 | picture-uri='file:///home/toran/Pictures/black-wallpaper-1.jpg' 273 | primary-color='#000000000000' 274 | picture-options='none' 275 | 276 | [desktop/background/slideshow] 277 | image-source='directory:///home/toran/Pictures' 278 | delay=15 279 | 280 | [extensions/0dyseus@MultiTranslatorExtension] 281 | translate-from-clipboard-keybinding=['g'] 282 | window-height=500 283 | window-width=700 284 | all-dependencies-met=false 285 | remember-last-translator=true 286 | open-translator-dialog-keybinding=['g'] 287 | translators-prefs='{"Google.Translate":{"last_target":"","default_source":"auto","default_target":"en","last_source":"","remember_last_lang":true},"Google.TranslateTS":{"last_target":"en","default_source":"auto","default_target":"hi","last_source":"auto","remember_last_lang":true},"Bing.TranslatorTS":{"last_target":"","default_source":"auto","default_target":"en","last_source":"","remember_last_lang":true},"Yandex.Translate":{"last_target":"","default_source":"auto","default_target":"en","last_source":"","remember_last_lang":true},"Apertium.TS":{"last_target":"","default_source":"auto","default_target":"en","last_source":"","remember_last_lang":true},"Transltr":{"last_target":"","default_source":"auto","default_target":"en","last_source":"","remember_last_lang":true}}' 288 | last-translator='Google.TranslateTS' 289 | translate-from-selection-keybinding=['g'] 290 | 291 | [theme] 292 | theme-cache-updated=1566993755 293 | name='Mint-Y-Dark' 294 | 295 | [settings-daemon/plugins/power] 296 | button-power='suspend' 297 | critical-battery-action='nothing' 298 | lid-close-suspend-with-external-monitor=true 299 | sleep-inactive-battery-timeout=1800 300 | lid-close-ac-action='nothing' 301 | lid-close-battery-action='nothing' 302 | sleep-inactive-ac-timeout=0 303 | sleep-display-ac=600 304 | sleep-display-battery=300 305 | 306 | [settings-daemon/plugins/xsettings] 307 | buttons-have-icons=true 308 | menus-have-icons=true 309 | 310 | [settings-daemon/peripherals/touchpad] 311 | tap-to-click=true 312 | natural-scroll=true 313 | horizontal-edge-scrolling=true 314 | horizontal-scrolling=true 315 | motion-acceleration=3.0276679841897232 316 | custom-acceleration=true 317 | clickpad-click=2 318 | custom-threshold=false 319 | scrolling-method=3 320 | disable-while-typing=true 321 | horizontal-two-finger-scrolling=false 322 | motion-threshold=9 323 | touchpad-enabled=true 324 | 325 | [settings-daemon/peripherals/touchscreen] 326 | orientation-lock=false 327 | 328 | [settings-daemon/peripherals/keyboard] 329 | repeat-interval=uint32 30 330 | delay=uint32 500 331 | numlock-state='on' 332 | 333 | [settings-daemon/peripherals/mouse] 334 | drag-threshold=8 335 | custom-acceleration=false 336 | motion-acceleration=3.7565922920892492 337 | motion-threshold=1 338 | double-click=400 339 | middle-button-enabled=false 340 | 341 | [cinnamon-session] 342 | auto-save-session=true 343 | prefer-hybrid-sleep=true 344 | quit-time-delay=60 345 | -------------------------------------------------------------------------------- /backups/cinnamon/cinnamon_backup: -------------------------------------------------------------------------------- 1 | [/] 2 | alttab-switcher-delay=100 3 | alttab-switcher-show-all-workspaces=false 4 | applet-cache-updated=1626339977 5 | command-history=['gconf-editor', 'cinnamon', 'XKILL', 'gnome-terminal', 'kill', 'r', 'killall pulseaudio', 'xkill'] 6 | desklet-snap-interval=25 7 | desktop-effects-close-effect='traditional' 8 | desktop-effects-close-time=175 9 | desktop-effects-close-transition='easeOutQuad' 10 | desktop-effects-map-effect='traditional' 11 | desktop-effects-map-time=175 12 | desktop-effects-map-transition='easeOutQuad' 13 | desktop-effects-maximize-effect='none' 14 | desktop-effects-maximize-time=100 15 | desktop-effects-maximize-transition='easeInExpo' 16 | desktop-effects-minimize-effect='traditional' 17 | desktop-effects-minimize-time=200 18 | desktop-effects-minimize-transition='easeInQuad' 19 | desktop-effects-tile-effect='none' 20 | desktop-effects-tile-time=100 21 | desktop-effects-tile-transition='easeInQuad' 22 | desktop-effects-unmaximize-effect='none' 23 | desktop-effects-unmaximize-time=100 24 | desktop-effects-unmaximize-transition='easeNone' 25 | device-aliases=['/org/freedesktop/UPower/devices/battery_BAT0:=SANYO 45N1159'] 26 | enabled-applets=['panel1:right:16:show-desktop@cinnamon.org:1', 'panel2:center:0:systray@cinnamon.org:3', 'panel2:right:3:notifications@cinnamon.org:5', 'panel2:right:4:printers@cinnamon.org:6', 'panel2:right:5:removable-drives@cinnamon.org:7', 'panel1:right:8:keyboard@cinnamon.org:8', 'panel2:right:6:network@cinnamon.org:10', 'panel2:right:7:sound@cinnamon.org:11', 'panel1:right:12:power@cinnamon.org:12', 'panel1:right:15:calendar@cinnamon.org:13', 'panel1:right:14:multicore-sys-monitor@ccadeptic23:17', 'panel1:right:13:separator@cinnamon.org:19', 'panel2:right:8:user@cinnamon.org:26', 'panel2:left:0:panel-launchers@cinnamon.org:27', 'panel1:center:0:grouped-window-list@cinnamon.org:28', 'panel1:left:0:menu@cinnamon.org:29'] 27 | enabled-desklets=@as [] 28 | extension-cache-updated=1544028495 29 | favorite-apps=['cinnamon-settings.desktop', 'pidgin.desktop', 'org.gnome.Terminal.desktop', 'nemo.desktop', 'firefox_firefox.desktop'] 30 | next-applet-id=30 31 | next-desklet-id=1 32 | no-adjacent-panel-barriers=true 33 | panel-edit-mode=false 34 | panel-launchers=['DEPRECATED'] 35 | panel-zone-icon-sizes='[{"panelId":1,"left":0,"center":0,"right":24},{"left":0,"center":0,"right":0,"panelId":2}]' 36 | panel-zone-symbolic-icon-sizes='[{"panelId": 1, "left": 24, "center": 28, "right": 20}, {"left": 24, "center": 28, "right": 20, "panelId": 2}]' 37 | panel-zone-text-sizes='[{"panelId":1,"left":0,"center":0,"right":0},{"left":0,"center":0,"right":0,"panelId":2}]' 38 | panels-autohide=['1:false', '2:intel'] 39 | panels-enabled=['1:0:bottom', '2:0:left'] 40 | panels-height=['1:28', '2:28'] 41 | panels-hide-delay=['1:0', '2:0'] 42 | panels-resizable=['1:true', '2:true'] 43 | panels-scale-text-icons=['1:true', '2:true'] 44 | panels-show-delay=['1:0', '2:0'] 45 | show-media-keys-osd='medium' 46 | workspace-osd-duration=400 47 | workspace-osd-x=50 48 | workspace-osd-y=50 49 | 50 | [cinnamon-session] 51 | auto-save-session=true 52 | prefer-hybrid-sleep=true 53 | quit-time-delay=60 54 | 55 | [desktop/a11y/applications] 56 | screen-keyboard-enabled=true 57 | screen-magnifier-enabled=false 58 | screen-reader-enabled=false 59 | 60 | [desktop/a11y/keyboard] 61 | bouncekeys-delay=300 62 | mousekeys-accel-time=300 63 | mousekeys-enable=false 64 | mousekeys-init-delay=300 65 | mousekeys-max-speed=10 66 | slowkeys-delay=300 67 | togglekeys-enable-beep=true 68 | togglekeys-enable-osd=true 69 | 70 | [desktop/a11y/mouse] 71 | dwell-click-enabled=false 72 | dwell-threshold=10 73 | dwell-time=1.2 74 | secondary-click-enabled=false 75 | secondary-click-time=1.2 76 | 77 | [desktop/applications/terminal] 78 | exec='gnome-terminal' 79 | 80 | [desktop/background] 81 | picture-options='none' 82 | picture-uri='file:///home/toran/Pictures/black-wallpaper-1.jpg' 83 | primary-color='#000000000000' 84 | 85 | [desktop/background/slideshow] 86 | delay=15 87 | image-source='directory:///home/toran/Pictures' 88 | 89 | [desktop/interface] 90 | clock-show-date=true 91 | clock-show-seconds=true 92 | clock-use-24h=true 93 | cursor-blink-time=1200 94 | cursor-size=24 95 | first-day-of-week=1 96 | gtk-overlay-scrollbars=false 97 | gtk-theme='Mint-Y-Dark' 98 | gtk-theme-backup='Mint-Y-Dark' 99 | icon-theme='Mint-X-Dark' 100 | icon-theme-backup='Mint-X-Dark' 101 | scaling-factor=uint32 0 102 | text-scaling-factor=1.0 103 | toolkit-accessibility=true 104 | 105 | [desktop/keybindings] 106 | custom-list=['custom0', 'custom1', 'custom2', 'custom3', 'custom4', 'custom5', 'custom6', 'custom8', 'custom9', 'custom7', 'custom10', 'custom11', 'custom12', 'custom13', 'custom14', 'custom15', 'custom16', 'custom17', 'custom18', 'custom19', 'custom20', 'custom21', 'custom22', 'custom23'] 107 | looking-glass-keybinding=@as [] 108 | show-desklets=@as [] 109 | 110 | [desktop/keybindings/custom-keybindings/custom0] 111 | binding=['w'] 112 | command="sh -c '~/.personalized/workspace_nemo.sh'" 113 | name='Workspace' 114 | 115 | [desktop/keybindings/custom-keybindings/custom1] 116 | binding=['t'] 117 | command='gnome-terminal' 118 | name='Terminal' 119 | 120 | [desktop/keybindings/custom-keybindings/custom10] 121 | binding=['space'] 122 | command="sh -c '~/.personalized/rightclick.sh'" 123 | name='Right Click Keyboard' 124 | 125 | [desktop/keybindings/custom-keybindings/custom11] 126 | binding=@as [] 127 | command='gnome-do' 128 | name='gnome-do' 129 | 130 | [desktop/keybindings/custom-keybindings/custom12] 131 | binding=['z'] 132 | command='nemo $HOME' 133 | name='test' 134 | 135 | [desktop/keybindings/custom-keybindings/custom13] 136 | binding=['Up'] 137 | command='xrandr -o 0' 138 | name='Rotate 0' 139 | 140 | [desktop/keybindings/custom-keybindings/custom14] 141 | binding=['Left'] 142 | command='xrandr -o 1' 143 | name='Rotate 270' 144 | 145 | [desktop/keybindings/custom-keybindings/custom15] 146 | binding=['Down'] 147 | command='xrandr -o 2' 148 | name='Rotate 180' 149 | 150 | [desktop/keybindings/custom-keybindings/custom16] 151 | binding=['Right'] 152 | command='xrandr -o 3' 153 | name='Rotate 90' 154 | 155 | [desktop/keybindings/custom-keybindings/custom17] 156 | binding=['f'] 157 | command='firefox' 158 | name='Firefox' 159 | 160 | [desktop/keybindings/custom-keybindings/custom18] 161 | binding=['m'] 162 | command='thunderbird' 163 | name='Thuderbird Mail' 164 | 165 | [desktop/keybindings/custom-keybindings/custom19] 166 | binding=['s'] 167 | command='gnome-screenshot -ac' 168 | name='Screenshot Area + Clipboard' 169 | 170 | [desktop/keybindings/custom-keybindings/custom2] 171 | binding=['c'] 172 | command='gnome-calculator' 173 | name='Calc' 174 | 175 | [desktop/keybindings/custom-keybindings/custom20] 176 | binding=['Print'] 177 | command='gnome-screenshot -i' 178 | name='Screenshot Option' 179 | 180 | [desktop/keybindings/custom-keybindings/custom21] 181 | binding=['i'] 182 | command='idea' 183 | name='IntelliJ idea' 184 | 185 | [desktop/keybindings/custom-keybindings/custom22] 186 | binding=['v'] 187 | command='code' 188 | name='VS Code' 189 | 190 | [desktop/keybindings/custom-keybindings/custom23] 191 | binding=['Insert'] 192 | command='gnome-screenshot -w' 193 | name='Screenshot - selected window - prtScn+w' 194 | 195 | [desktop/keybindings/custom-keybindings/custom3] 196 | binding=['Print'] 197 | command='gnome-screenshot' 198 | name='Screenshot - full monitors - PrtScn' 199 | 200 | [desktop/keybindings/custom-keybindings/custom4] 201 | binding=['e'] 202 | command='nemo ' 203 | name='Home' 204 | 205 | [desktop/keybindings/custom-keybindings/custom5] 206 | binding=['h'] 207 | command='systemctl hibernate' 208 | name='Hibernate' 209 | 210 | [desktop/keybindings/custom-keybindings/custom6] 211 | binding=['s'] 212 | command='systemctl suspend' 213 | name='Suspend systemctl suspend' 214 | 215 | [desktop/keybindings/custom-keybindings/custom7] 216 | binding=['space'] 217 | command="sh -c '~/.personalized/mouserightclick.sh'" 218 | name='Right Click Mouse Cursor Based' 219 | 220 | [desktop/keybindings/custom-keybindings/custom8] 221 | binding=['PowerOff'] 222 | command='sudo pm-suspend&' 223 | name='Suspend pm-suspend&' 224 | 225 | [desktop/keybindings/custom-keybindings/custom9] 226 | binding=['r'] 227 | command='sudo reboot 00' 228 | name='Reboot' 229 | 230 | [desktop/keybindings/media-keys] 231 | home=['XF86Explorer'] 232 | screensaver=['l', 'l'] 233 | screenshot=@as [] 234 | 235 | [desktop/keybindings/wm] 236 | move-to-workspace-left=['Left'] 237 | move-to-workspace-right=['Right'] 238 | push-snap-left=@as [] 239 | push-snap-right=@as [] 240 | switch-to-workspace-left=['Left'] 241 | switch-to-workspace-right=['Right'] 242 | 243 | [desktop/media-handling] 244 | autorun-never=false 245 | autorun-x-content-ignore=@as [] 246 | autorun-x-content-open-folder=['x-content/bootable-media', 'x-content/image-dcf'] 247 | autorun-x-content-start-app=@as [] 248 | 249 | [desktop/notifications] 250 | bottom-notifications=true 251 | fade-on-mouseover=false 252 | fade-opacity=40 253 | remove-old=false 254 | 255 | [desktop/privacy] 256 | recent-files-max-age=5 257 | remember-recent-files=true 258 | 259 | [desktop/screensaver] 260 | layout-group=1 261 | lock-enabled=true 262 | screensaver-name='' 263 | 264 | [desktop/session] 265 | idle-delay=uint32 0 266 | 267 | [desktop/sound] 268 | event-sounds=false 269 | maximum-volume=135 270 | volume-sound-enabled=false 271 | 272 | [desktop/wm/preferences] 273 | min-window-opacity=30 274 | num-workspaces=4 275 | theme='Mint-Y-Dark' 276 | theme-backup='Mint-Y-Dark' 277 | workspace-names=['Workspace 1', 'Workspace 2', 'Workspace 3', 'Workspace 4'] 278 | 279 | [extensions/0dyseus@MultiTranslatorExtension] 280 | all-dependencies-met=false 281 | last-translator='Google.TranslateTS' 282 | open-translator-dialog-keybinding=['g'] 283 | remember-last-translator=true 284 | translate-from-clipboard-keybinding=['g'] 285 | translate-from-selection-keybinding=['g'] 286 | translators-prefs='{"Google.Translate":{"last_target":"","default_source":"auto","default_target":"en","last_source":"","remember_last_lang":true},"Google.TranslateTS":{"last_target":"en","default_source":"auto","default_target":"hi","last_source":"auto","remember_last_lang":true},"Bing.TranslatorTS":{"last_target":"","default_source":"auto","default_target":"en","last_source":"","remember_last_lang":true},"Yandex.Translate":{"last_target":"","default_source":"auto","default_target":"en","last_source":"","remember_last_lang":true},"Apertium.TS":{"last_target":"","default_source":"auto","default_target":"en","last_source":"","remember_last_lang":true},"Transltr":{"last_target":"","default_source":"auto","default_target":"en","last_source":"","remember_last_lang":true}}' 287 | window-height=500 288 | window-width=700 289 | 290 | [muffin] 291 | button-layout=':minimize,maximize,close' 292 | edge-tiling=true 293 | resize-threshold=24 294 | tile-hud-threshold=25 295 | unredirect-fullscreen-windows=true 296 | 297 | [settings-daemon/peripherals/keyboard] 298 | delay=uint32 500 299 | numlock-state='off' 300 | repeat-interval=uint32 30 301 | 302 | [settings-daemon/peripherals/mouse] 303 | custom-acceleration=true 304 | double-click=400 305 | drag-threshold=8 306 | middle-button-enabled=false 307 | motion-acceleration=4.2233400402414487 308 | motion-threshold=1 309 | 310 | [settings-daemon/peripherals/touchpad] 311 | clickpad-click=2 312 | custom-acceleration=true 313 | custom-threshold=false 314 | disable-while-typing=true 315 | horizontal-edge-scrolling=true 316 | horizontal-scrolling=true 317 | horizontal-two-finger-scrolling=false 318 | motion-acceleration=5.1552795031055902 319 | motion-threshold=9 320 | natural-scroll=true 321 | scrolling-method=3 322 | tap-to-click=true 323 | touchpad-enabled=true 324 | 325 | [settings-daemon/peripherals/touchscreen] 326 | orientation-lock=false 327 | 328 | [settings-daemon/plugins/power] 329 | button-power='suspend' 330 | critical-battery-action='nothing' 331 | idle-brightness=10 332 | lid-close-ac-action='nothing' 333 | lid-close-battery-action='suspend' 334 | lid-close-suspend-with-external-monitor=true 335 | sleep-display-ac=600 336 | sleep-display-battery=300 337 | sleep-inactive-ac-timeout=0 338 | sleep-inactive-battery-timeout=300 339 | 340 | [settings-daemon/plugins/xsettings] 341 | buttons-have-icons=true 342 | menus-have-icons=true 343 | 344 | [sounds] 345 | login-enabled=false 346 | logout-enabled=false 347 | notification-enabled=true 348 | plug-enabled=false 349 | switch-enabled=false 350 | tile-enabled=false 351 | unplug-enabled=false 352 | 353 | [theme] 354 | name='Mint-Y-Dark' 355 | symbolic-relative-size=0.67000000000000004 356 | theme-cache-updated=1602522395 357 | --------------------------------------------------------------------------------