mirror of
https://github.com/captn3m0/dotfiles.git
synced 2024-09-27 19:22:50 +00:00
Compare commits
212 Commits
Author | SHA1 | Date | |
---|---|---|---|
be4e2ca749 | |||
cbc764a4f8 | |||
81a71b0f33 | |||
2eb17f82ab | |||
98ab59fe3a | |||
c1ff2c1426 | |||
143fb69190 | |||
ae9fedf489 | |||
336eebaa36 | |||
f6e4e9cde3 | |||
7dc2199a90 | |||
220b5fe741 | |||
83414c24d6 | |||
e434294c24 | |||
030aecceec | |||
7bda21482f | |||
9bd6396ec6 | |||
ee681c8c40 | |||
9a436039d0 | |||
ce0661556f | |||
6963de19f6 | |||
1ece8b8d18 | |||
eedae21cc1 | |||
42318f334f | |||
2f383b303e | |||
bb6ff7d46d | |||
5c79f156e7 | |||
8b3804ab0b | |||
3b62a55016 | |||
4982283e87 | |||
0f52fd8d16 | |||
6ea81d1f7c | |||
68ac5b067f | |||
1a9581b573 | |||
09519a0507 | |||
e86e0de124 | |||
d5b6080a96 | |||
4dc1b7f528 | |||
addca83d88 | |||
d604618a5e | |||
0cdf920bd3 | |||
aec042b2ef | |||
639f47e650 | |||
0b4f802fd5 | |||
e15bd39654 | |||
a626a5d233 | |||
e9169abfe5 | |||
3bbd401d02 | |||
3f3c743eec | |||
b26a34f522 | |||
9bf34561f9 | |||
eb6de211ac | |||
c37316a3b3 | |||
4117669b3d | |||
aa97b3f6d4 | |||
cc2cc708c7 | |||
86ccbde5a4 | |||
a1c12e705f | |||
0afa000a5b | |||
a8fb7991f5 | |||
9f0f06a036 | |||
77b83130b3 | |||
759ec414e4 | |||
f32219521c | |||
8796a25c87 | |||
32c5687e5e | |||
0cf78866bd | |||
67d65eb6e9 | |||
a8f4719ea2 | |||
b624742362 | |||
685744d5ed | |||
980022798f | |||
ace32ae7c8 | |||
2d1fc44a55 | |||
a131dbe261 | |||
7d6c1ebaef | |||
58f4b48c72 | |||
c614342852 | |||
5740252747 | |||
7ff6f8374e | |||
ffef8c0595 | |||
ad5b471e5f | |||
6e9172450b | |||
61e12e8f3d | |||
0819cd42c8 | |||
f7716742e7 | |||
a33d7874cf | |||
e14b54e50d | |||
35c3a7f347 | |||
590d1a2925 | |||
a10c928a54 | |||
ec7b77cf88 | |||
272d5a137f | |||
eb0b15d215 | |||
ece57e9b67 | |||
1fcb64c6a2 | |||
bcfa21830a | |||
6710df332c | |||
e55aadb973 | |||
23592db850 | |||
3b6f0dd3bd | |||
a76a49830a | |||
0c537880db | |||
ebe42cdf04 | |||
ee4c4776ad | |||
a36b298f3e | |||
74f3bb8db2 | |||
5b35e033ba | |||
8a650f004b | |||
5709348b88 | |||
dc42f42176 | |||
b106b130d3 | |||
f3de635d15 | |||
ca5d91df83 | |||
4f95d87ec5 | |||
b8d468b5de | |||
2b99de3a60 | |||
a2cf7b1ee1 | |||
dbbdee6faa | |||
adadf6e247 | |||
0fd87c72cc | |||
31ff91089b | |||
1fc2c1d3b4 | |||
3392030c3d | |||
96ac1d4a6c | |||
4375964e19 | |||
f0c461be13 | |||
28fa1a6040 | |||
b98161f7a8 | |||
1740a47014 | |||
fdc9db8810 | |||
294d642638 | |||
6cd1dbf562 | |||
0f290a3b08 | |||
8eba098410 | |||
00cdae020d | |||
1f9b50e9e4 | |||
c6be9b147b | |||
444f2858a2 | |||
4bf9786182 | |||
666c25d509 | |||
40f7601d9f | |||
720ccb42b4 | |||
16996af597 | |||
9ba1a7a4a3 | |||
2c6bb95107 | |||
b7c57c5c78 | |||
5e4b955b23 | |||
10762c9fe2 | |||
260744c051 | |||
851fe7a8dc | |||
bd4f379da8 | |||
89b202cb77 | |||
bf222385a3 | |||
28f4051805 | |||
871089acc8 | |||
146b31d92c | |||
7501ccfa40 | |||
d2bf479784 | |||
3bef14a194 | |||
51d3dcf447 | |||
a771bcec15 | |||
db71c1cb20 | |||
60769ffaba | |||
0ca48b61ef | |||
5c57b77e9e | |||
fc21c39aa3 | |||
550d406a90 | |||
71e05a5d22 | |||
4d8ebaa7be | |||
7b8c36710a | |||
371660be26 | |||
0bc57c0966 | |||
44b65fafd9 | |||
395a34ce0c | |||
894e1fd219 | |||
9978e051b8 | |||
804909b085 | |||
d24f7fcc68 | |||
9afda3825a | |||
9f399d297c | |||
586a3649b0 | |||
4ec01eb675 | |||
5e75c75f8e | |||
aa7949ffaf | |||
e2690d6b3c | |||
367c5b24e6 | |||
d33a5d93ae | |||
1c8d92b515 | |||
50d3bbeaec | |||
9839c1afdf | |||
1ebedef502 | |||
b87a69926c | |||
feefe1314f | |||
88ff98d2fa | |||
39aaf79c5e | |||
3805401787 | |||
9d11a3c953 | |||
3123dda7e0 | |||
c00155be02 | |||
903153e7ef | |||
8b121f408d | |||
4ea4909109 | |||
d83c73a082 | |||
b15e918890 | |||
40339ae277 | |||
31c26d9e6e | |||
88f4900e78 | |||
7c72d1c1de | |||
dad226f547 | |||
0229ee6589 | |||
01d8ea287e |
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@ files/ranger/.config/ranger/history
|
|||||||
files/ranger/.config/ranger/bookmarks
|
files/ranger/.config/ranger/bookmarks
|
||||||
files/ranger/.config/ranger/tagged
|
files/ranger/.config/ranger/tagged
|
||||||
files/mpv/.config/mpv/watch_later/
|
files/mpv/.config/mpv/watch_later/
|
||||||
|
files/display/.config/nitrogen
|
6
.gitmodules
vendored
Normal file
6
.gitmodules
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[submodule "files/vim/.vim/bundle/dracula-theme"]
|
||||||
|
path = files/vim/.vim/bundle/dracula-theme
|
||||||
|
url = git@github.com:dracula/vim.git
|
||||||
|
[submodule "files/themes/.config/alacritty/themes"]
|
||||||
|
path = files/themes/.config/alacritty/themes
|
||||||
|
url = https://github.com/aaron-williamson/base16-alacritty.git
|
18
README.md
18
README.md
@ -1,6 +1,20 @@
|
|||||||
My dotfiles
|
# My dotfiles
|
||||||
===========
|
|
||||||
|
|
||||||
I'm using GNU Stow to manage my configuration for now.
|
I'm using GNU Stow to manage my configuration for now.
|
||||||
|
|
||||||
See `bootstrap.sh` to see how stow works in this context.
|
See `bootstrap.sh` to see how stow works in this context.
|
||||||
|
|
||||||
|
## Notes for self:
|
||||||
|
|
||||||
|
Things that just dotfiles will miss out:
|
||||||
|
|
||||||
|
1. [scripts repo](https://github.captnemo.in/scripts)
|
||||||
|
1. `~/bin` directory, which I don't version control.
|
||||||
|
1. Wallpapers
|
||||||
|
1. nvm
|
||||||
|
1. rvm
|
||||||
|
1. npm preinstalled packages
|
||||||
|
|
||||||
|
## LICENSE
|
||||||
|
|
||||||
|
CC-BY-SA
|
||||||
|
34
files/audio/.config/spectrum.conf
Normal file
34
files/audio/.config/spectrum.conf
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[Main]
|
||||||
|
source = 1
|
||||||
|
|
||||||
|
# valid options: normal, desktop, screensize, workarea, fullscreen, maximize, keep_below, skip_taskbar, skip_pager
|
||||||
|
state = workarea
|
||||||
|
render = curves
|
||||||
|
|
||||||
|
[Bars]
|
||||||
|
padding = 0
|
||||||
|
scale = 1.4
|
||||||
|
rgba = 00B1FF
|
||||||
|
count = 64
|
||||||
|
|
||||||
|
[Offset]
|
||||||
|
left = 0
|
||||||
|
right = 500
|
||||||
|
top = 0
|
||||||
|
bottom = 236
|
||||||
|
|
||||||
|
[Smoothing]
|
||||||
|
# Valid modes: none, normal, scientific, waves
|
||||||
|
mode = waves
|
||||||
|
|
||||||
|
# default fall acceleration is 1% of maximum bar height per frame. more - faster bars fall speed
|
||||||
|
gravity = 1.2
|
||||||
|
|
||||||
|
# number of frames to delay fast bars raising. more - slower
|
||||||
|
slowpeak = 4
|
||||||
|
|
||||||
|
# agressiveness of waves mode. less - more agressive smoothing (1 is most agressive)
|
||||||
|
waves = 2
|
||||||
|
|
||||||
|
# agressiveness of scientific mode. less - more agressive smoothing (1 is most agressive)
|
||||||
|
scientific = 2
|
44
files/audio/.config/systemd/user.conf
Normal file
44
files/audio/.config/systemd/user.conf
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
# This file is part of systemd.
|
||||||
|
#
|
||||||
|
# systemd is free software; you can redistribute it and/or modify it
|
||||||
|
# under the terms of the GNU Lesser General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# You can override the directives in this file by creating files in
|
||||||
|
# /etc/systemd/user.conf.d/*.conf.
|
||||||
|
#
|
||||||
|
# See systemd-user.conf(5) for details
|
||||||
|
|
||||||
|
[Manager]
|
||||||
|
#LogLevel=info
|
||||||
|
#LogTarget=console
|
||||||
|
#LogColor=yes
|
||||||
|
#LogLocation=no
|
||||||
|
#SystemCallArchitectures=
|
||||||
|
#TimerSlackNSec=
|
||||||
|
#DefaultTimerAccuracySec=1min
|
||||||
|
#DefaultStandardOutput=inherit
|
||||||
|
#DefaultStandardError=inherit
|
||||||
|
#DefaultTimeoutStartSec=90s
|
||||||
|
#DefaultTimeoutStopSec=90s
|
||||||
|
#DefaultRestartSec=100ms
|
||||||
|
#DefaultStartLimitIntervalSec=10s
|
||||||
|
#DefaultStartLimitBurst=5
|
||||||
|
#DefaultEnvironment=
|
||||||
|
#DefaultLimitCPU=
|
||||||
|
#DefaultLimitFSIZE=
|
||||||
|
#DefaultLimitDATA=
|
||||||
|
#DefaultLimitSTACK=
|
||||||
|
#DefaultLimitCORE=
|
||||||
|
#DefaultLimitRSS=
|
||||||
|
#DefaultLimitNOFILE=
|
||||||
|
#DefaultLimitAS=
|
||||||
|
#DefaultLimitNPROC=
|
||||||
|
#DefaultLimitMEMLOCK=
|
||||||
|
#DefaultLimitLOCKS=
|
||||||
|
#DefaultLimitSIGPENDING=
|
||||||
|
#DefaultLimitMSGQUEUE=
|
||||||
|
#DefaultLimitNICE=
|
||||||
|
#DefaultLimitRTPRIO=
|
||||||
|
#DefaultLimitRTTIME=
|
@ -0,0 +1 @@
|
|||||||
|
/usr/lib/systemd/user/keybase.service
|
@ -0,0 +1 @@
|
|||||||
|
/usr/lib/systemd/user/rslsync.service
|
@ -0,0 +1 @@
|
|||||||
|
/home/nemo/.config/systemd/user/ssh-agent.service
|
@ -0,0 +1,6 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Timer for Profile-sync-daemon
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnUnitActiveSec=
|
||||||
|
OnUnitActiveSec=5m
|
@ -0,0 +1 @@
|
|||||||
|
/usr/lib/systemd/user/gpg-agent-extra.socket
|
@ -5,13 +5,6 @@
|
|||||||
<location>20,000 Leagues under the sea</location>
|
<location>20,000 Leagues under the sea</location>
|
||||||
<admin>me@captnemo.in</admin>
|
<admin>me@captnemo.in</admin>
|
||||||
|
|
||||||
<!-- IMPORTANT!
|
|
||||||
Especially for inexperienced users:
|
|
||||||
Start out by ONLY changing all passwords and restarting Icecast.
|
|
||||||
For detailed setup instructions please refer to the documentation.
|
|
||||||
It's also available here: http://icecast.org/docs/
|
|
||||||
-->
|
|
||||||
|
|
||||||
<limits>
|
<limits>
|
||||||
<clients>50</clients>
|
<clients>50</clients>
|
||||||
<sources>2</sources>
|
<sources>2</sources>
|
||||||
@ -196,7 +189,7 @@
|
|||||||
|
|
||||||
<!-- Note that if <chroot> is turned on below, these paths must both
|
<!-- Note that if <chroot> is turned on below, these paths must both
|
||||||
be relative to the new root, not the original root -->
|
be relative to the new root, not the original root -->
|
||||||
<logdir>/home/nemo/logs/icecast</logdir>
|
<logdir>/home/nemo/logs</logdir>
|
||||||
<webroot>/home/nemo/projects/personal/icecast-web/</webroot>
|
<webroot>/home/nemo/projects/personal/icecast-web/</webroot>
|
||||||
<adminroot>/usr/share/icecast/admin</adminroot>
|
<adminroot>/usr/share/icecast/admin</adminroot>
|
||||||
<pidfile>/tmp/icecast.pid</pidfile>
|
<pidfile>/tmp/icecast.pid</pidfile>
|
||||||
@ -220,8 +213,8 @@
|
|||||||
</paths>
|
</paths>
|
||||||
|
|
||||||
<logging>
|
<logging>
|
||||||
<accesslog>access.log</accesslog>
|
<accesslog>icecast-access.log</accesslog>
|
||||||
<errorlog>error.log</errorlog>
|
<errorlog>icecast-access.log</errorlog>
|
||||||
<!-- <playlistlog>playlist.log</playlistlog> -->
|
<!-- <playlistlog>playlist.log</playlistlog> -->
|
||||||
<loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
|
<loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
|
||||||
<logsize>10000</logsize> <!-- Max size of a logfile -->
|
<logsize>10000</logsize> <!-- Max size of a logfile -->
|
||||||
|
@ -6,35 +6,182 @@ pathadd() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Read a gemfile contents
|
||||||
|
# https://stackoverflow.com/a/43298099
|
||||||
|
gemread() {
|
||||||
|
tar --to-stdout -xf "$1" data.tar.gz | tar -zt
|
||||||
|
}
|
||||||
|
|
||||||
pathadd '/home/nemo/bin'
|
pathadd '/home/nemo/bin'
|
||||||
|
pathadd '/home/nemo/projects/go/bin'
|
||||||
|
pathadd '/bin'
|
||||||
|
pathadd '/snap/bin'
|
||||||
|
|
||||||
|
pathadd /home/nemo/.local/share/junest/bin
|
||||||
|
|
||||||
|
export GPG_TTY="$(tty)"
|
||||||
|
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||||
|
|
||||||
|
function gemls(){
|
||||||
|
tar --to-stdout -xf "$1" data.tar.gz | tar -zt
|
||||||
|
}
|
||||||
|
alias adb.run='apktool build src/ -o patched.apk && java -jar ~/apps/uber-apk-signer-1.1.0.jar -a patched.apk && adb install -r -d patched-aligned-debugSigned.apk && adb shell monkey -p '$1' -v 1'
|
||||||
|
alias mk='microk8s.kubectl'
|
||||||
|
alias settings='env XDG_CURRENT_DESKTOP=GNOME gnome-control-center'
|
||||||
|
alias watch='watch '
|
||||||
alias xclip='xclip -selection c'
|
alias xclip='xclip -selection c'
|
||||||
alias sl=ls
|
alias sl=ls
|
||||||
|
alias dynamodump='docker run bchew/dynamodump /usr/local/bin/dynamodump'
|
||||||
|
alias dh='du -d1 -h'
|
||||||
|
alias wine32='WINEARCH=win32 WINEPREFIX=~/win32 wine'
|
||||||
|
alias signal_update='podman run docker.io/captn3m0/signal-arch-builder'
|
||||||
|
alias kc='kapitan compile'
|
||||||
|
# https://tizardsbriefcase.com/1059/linux/remove-query-string-filename-wget
|
||||||
|
alias clean.filenames='for file in *; do mv "$file" "${file%%\?*}"; done'
|
||||||
|
|
||||||
|
alias dunst.pause='notify-send "DUNST_COMMAND_PAUSE"'
|
||||||
|
alias dunst.resume='notify-send "DUNST_COMMAND_RESUME"'
|
||||||
|
|
||||||
|
alias sp="docker exec -it steampipe steampipe "
|
||||||
|
|
||||||
|
alias steampipe.service="docker run \
|
||||||
|
-p 9193:9193 \
|
||||||
|
--name steampipe \
|
||||||
|
--mount type=bind,source=/home/nemo/.config/steampipe,target=/home/steampipe/.steampipe/config \
|
||||||
|
--mount type=volume,source=steampipe_data,target=/home/steampipe/.steampipe/db/12.1.0/data \
|
||||||
|
--mount type=volume,source=steampipe_internal,target=/home/steampipe/.steampipe/internal \
|
||||||
|
--mount type=volume,source=steampipe_logs,target=/home/steampipe/.steampipe/logs \
|
||||||
|
--mount type=volume,source=steampipe_plugins,target=/home/steampipe/.steampipe/plugins \
|
||||||
|
turbot/steampipe service start --foreground"
|
||||||
|
|
||||||
|
function aur.make() {
|
||||||
|
find . -maxdepth 1 -iregex '.*\.\(bz2\|tar\|zip\|deb\|xz\|part\|rpm\|gz\|zst\|AppImage\|pacman\|jar\)$' -delete
|
||||||
|
makepkg --printsrcinfo > .SRCINFO
|
||||||
|
makepkg -sric
|
||||||
|
}
|
||||||
# ... or force ignoredups and ignorespace
|
# ... or force ignoredups and ignorespace
|
||||||
#metasploit, my own scripts, texlive
|
|
||||||
pathadd '/opt/framework-3.5.2/app/'
|
|
||||||
pathadd '/sbin'
|
pathadd '/sbin'
|
||||||
pathadd '/home/nemo/projects/scripts/'
|
pathadd '/home/nemo/projects/scripts/'
|
||||||
pathadd '/home/nemo/projects/ubuntu_packages/android-sdk-linux/tools'
|
|
||||||
pathadd '/opt/vagrant/bin'
|
|
||||||
pathadd "$HOME/.phpenv/bin"
|
pathadd "$HOME/.phpenv/bin"
|
||||||
PATH="$PATH:$HOME/apps/ec2/bin"
|
pathadd "$HOME/apps/ec2/bin"
|
||||||
|
pathadd "$HOME/.gem/ruby/3.0.0/bin"
|
||||||
|
# needs a kubectl upgrade
|
||||||
|
pathadd "$HOME/.krew/bin"
|
||||||
|
pathadd "$HOME/.local/bin"
|
||||||
|
|
||||||
source $HOME/.nvm/nvm.sh #node version manager
|
# slows shell for now.
|
||||||
|
source <(kubectl completion bash)
|
||||||
|
# Enable kubectl completion with k
|
||||||
|
complete -F __start_kubectl k
|
||||||
|
|
||||||
# Python virtualenv
|
|
||||||
export WORKON_HOME=~/.virtualenvs
|
# https://substrakt.com/journal/easy-peasy-composer-local-package-symlink-composer-link/
|
||||||
source /usr/bin/virtualenvwrapper.sh
|
composer-link() {
|
||||||
source /usr/share/doc/pkgfile/command-not-found.bash
|
jq '.repositories |= [{"type": "path", "url": "'$1'", "options": {"symlink": true}}] + . ' composer.json > composer.tmp.json && mv composer.tmp.json composer.json
|
||||||
|
|
||||||
|
packageName=$(jq -r '.name' $1/composer.json)
|
||||||
|
|
||||||
|
composer require $packageName @dev
|
||||||
|
}
|
||||||
|
|
||||||
|
composer-unlink() {
|
||||||
|
git checkout composer.json composer.lock
|
||||||
|
composer update
|
||||||
|
}
|
||||||
|
|
||||||
|
# These 2 methods change the color scheme for my:
|
||||||
|
# 1. Editor (sublime text)
|
||||||
|
# 2. Terminal (alacritty)
|
||||||
|
# 3. bat
|
||||||
|
# 4. Monitor brightness (only one of the monitors). See https://github.com/rockowitz/ddcutil/issues/140
|
||||||
|
# 5. Gtk theme
|
||||||
|
|
||||||
|
export ALACRITTY_COLOR_DIR=/home/nemo/projects/personal/dotfiles/files/themes/.config/alacritty/themes/colors
|
||||||
|
export BAT_THEME="Solarized (light)"
|
||||||
|
GTK_THEME_dark="NumixSolarizedDarkRed"
|
||||||
|
GTK_THEME_light="NumixSolarizedLightGreen"
|
||||||
|
BRIGHTNESS_dark=0
|
||||||
|
BRIGHTNESS_light=99
|
||||||
|
|
||||||
|
function colorchange() {
|
||||||
|
export BAT_THEME="Solarized ($1)"
|
||||||
|
echo "✔️ bat"
|
||||||
|
|
||||||
|
alacritty-colorscheme -C "$ALACRITTY_COLOR_DIR" apply "base16-solarized-$1.yml"
|
||||||
|
echo "✔️ alacritty"
|
||||||
|
|
||||||
|
gtk_theme="GTK_THEME_$1"
|
||||||
|
xfconf-query -c xsettings -p /Net/ThemeName -s "${!gtk_theme}"
|
||||||
|
echo "✔️ gtk"
|
||||||
|
|
||||||
|
# subl_settings="/home/nemo/.config/sublime-text-3/Packages/User/Preferences.sublime-settings"
|
||||||
|
# strip-json-comments "$subl_settings" | jq ".color_scheme=\"Packages/Solarized Color Scheme/Solarized ($1).sublime-color-scheme\"" > /tmp/sublime.json
|
||||||
|
# mv /tmp/sublime.json "$subl_settings"
|
||||||
|
# echo "✔️ sublime"
|
||||||
|
|
||||||
|
brightness="BRIGHTNESS_$1"
|
||||||
|
if [[ $(xrandr --listmonitors|grep 2560) ]]; then
|
||||||
|
ddcutil --model "LG ULTRAWIDE" setvcp 0x10 ${!brightness}
|
||||||
|
fi
|
||||||
|
echo "✔️ monitor"
|
||||||
|
}
|
||||||
|
|
||||||
|
alias dark="colorchange dark"
|
||||||
|
alias light="colorchange light"
|
||||||
|
|
||||||
|
# https://prefetch.net/blog/2020/07/14/decoding-json-web-tokens-jwts-from-the-linux-command-line/
|
||||||
|
# This puts them in bash history, so be careful
|
||||||
|
jwtd() {
|
||||||
|
if [[ -x $(command -v jq) ]]; then
|
||||||
|
jq -R 'split(".") | .[0],.[1] | @base64d | fromjson' <<< "${1}"
|
||||||
|
echo "Signature: $(echo "${1}" | awk -F'.' '{print $3}')"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
if [ -f /usr/sbin/virtualenvwrapper.sh ]; then
|
||||||
|
export WORKON_HOME=~/.virtualenvs
|
||||||
|
export VIRTUALENVWRAPPER_SCRIPT=/usr/sbin/virtualenvwrapper.sh
|
||||||
|
source /usr/sbin/virtualenvwrapper_lazy.sh
|
||||||
|
fi
|
||||||
|
|
||||||
alias sublime='/usr/bin/sublime-text'
|
alias sublime='/usr/bin/sublime-text'
|
||||||
|
alias subl3=subl
|
||||||
alias chrome='chromium-browser'
|
alias chrome='chromium-browser'
|
||||||
alias gittunnel='ssh mobile@10.42.43.2 -L 2000:github.com:22 -N'
|
|
||||||
alias gp='git push'
|
alias gp='git push'
|
||||||
alias subtitles='subliminal -p addic7ed -l en -s -- $1'
|
alias subtitles='subliminal -p addic7ed -l en -s -- $1'
|
||||||
alias charge='BUSNUM=003 DEVNUM="`lsusb -d 05ac:12a2 |cut -c16-18`" /home/nemo/projects/ubuntu_packages/ipad_charge/ipad_charge'
|
|
||||||
alias pu='phpunit'
|
alias pu='phpunit'
|
||||||
|
alias ghpr='gh pull-request'
|
||||||
|
alias ssdr='sudo systemctl daemon-reload'
|
||||||
|
alias cat='bat'
|
||||||
|
alias fomu.setup='export PATH=/home/nemo/apps/fomu/bin:$PATH'
|
||||||
|
|
||||||
|
# Gets list of all packages from AUR sorted by Size
|
||||||
|
alias aur.list='expac -H M "%m\t%n" | sort -h > /tmp/expac.txt && pacman -Qqm > /tmp/aur.txt && grep --color=never -w -F -f /tmp/aur.txt /tmp/expac.txt'
|
||||||
|
# Same as above, but all packages (except AUR)
|
||||||
|
alias package.list='expac -sH M "%-30n %m" | sort -hk 2'
|
||||||
|
alias package.owns='pacman -F'
|
||||||
|
# Download size of all packages marked for upgrade
|
||||||
|
alias package.dlsize='expac -S -H M '%k\t%n' $(pacman -Qqu) | sort -sh'
|
||||||
|
# To list the packages marked for upgrade with their download size
|
||||||
|
alias upgrade.size='pacman -Quq|xargs expac -SH M "%k\t%n" | sort -sh'
|
||||||
|
|
||||||
|
# https://github.com/chef/inspec
|
||||||
|
function inspec { podman run -it --rm -v $(pwd):/share chef/inspec $@; }
|
||||||
|
|
||||||
|
# Most common invocation: terraform.docs markdown --html=false --anchor=false --show "outputs"
|
||||||
|
function terraform.docs { podman run -it --rm -u $(id -u) -v $(pwd):/src quay.io/terraform-docs/terraform-docs:0.14.1 $@ /src; }
|
||||||
|
|
||||||
|
# Run as pingen N where N = Number of digits in PIN
|
||||||
|
function pingen { pwgen -1Avs -r=qwertyuiopasdfghjklzxcvbnm "$1"; }
|
||||||
|
|
||||||
|
# Sort a file in-place
|
||||||
|
function sortinplace { sort -o "$1" "$1"; }
|
||||||
|
|
||||||
|
function download_as_pdf {
|
||||||
|
rdrview --template "title,body" "$1" -H | tidy | pandoc --from html --pdf-engine=xelatex -o "$2"
|
||||||
|
}
|
||||||
|
|
||||||
|
alias kapitan='podman run -t --rm -u $(id -u) -v $(pwd):/src:delegated deepmind/kapitan'
|
||||||
# check the window size after each command and, if necessary,
|
# check the window size after each command and, if necessary,
|
||||||
# update the values of LINES and COLUMNS.
|
# update the values of LINES and COLUMNS.
|
||||||
shopt -s checkwinsize
|
shopt -s checkwinsize
|
||||||
@ -57,43 +204,92 @@ if [[ -x /usr/bin/dircolors ]]; then
|
|||||||
alias fgrep='fgrep --color=auto'
|
alias fgrep='fgrep --color=auto'
|
||||||
alias egrep='egrep --color=auto'
|
alias egrep='egrep --color=auto'
|
||||||
fi
|
fi
|
||||||
export TERM=xterm-256color
|
|
||||||
|
# Drone related stuff
|
||||||
|
export DRONE_SERVER=https://drone.razorpay.com
|
||||||
|
|
||||||
# some more ls aliases
|
# some more ls aliases
|
||||||
alias ll='ls -alF'
|
alias ll='ls -alF'
|
||||||
alias la='ls -A'
|
alias la='ls -A'
|
||||||
alias l='ls -CF'
|
alias l='ls -CF'
|
||||||
|
|
||||||
if [[ -f /etc/bash_completion ]] && ! shopt -oq posix; then
|
# k8s
|
||||||
. /etc/bash_completion
|
alias k='kubectl'
|
||||||
fi
|
alias kontext='kubectl config use-context'
|
||||||
if [[ -f /etc/bash_completion ]] && ! shopt -oq posix; then
|
alias kgpa='kubectl get pods --all-namespaces'
|
||||||
. /etc/bash_completion
|
alias kgp='kubectl get pods -o wide'
|
||||||
fi
|
alias kgpn='kubectl get pods -o wide -n '
|
||||||
function sympathy() { chromium-browser "chrome-extension://ilcgkjlgdddhjpbchiikkainlfiamkog/main.html#`pwd`/$1" ;}
|
alias kno='kubectl get nodes'
|
||||||
function smallmkv() { ffmpeg -i "$1" -b 1000k -acodec libmp3lame -vcodec libx264 -ar 44100 -ab 56k -ac 2 -vpre fast -crf 24 \ "$1.mkv" ;}
|
|
||||||
export LC_ALL=en_IN.utf8
|
|
||||||
export LANG=en_IN.utf8
|
|
||||||
#export LC_ALL="C" ##For the weird characters in man pages
|
|
||||||
|
|
||||||
alias rake='spring rake'
|
# https://twitter.com/indradhanush92/status/1003493096158420992
|
||||||
alias rails='spring rails'
|
# kubectl and minikube completion is moved to /etc/bash_completion.d/
|
||||||
alias rt='ruby -I"lib:test"' # rake test shortcut to run test for one script
|
|
||||||
|
|
||||||
#My latest prompt
|
function kpssh() { kubectl exec -it $1 -n $2 sh ; }
|
||||||
|
function kcssh() { kubectl exec -it $1 -n $2 -c $3 sh ; }
|
||||||
function _update_ps1() {
|
function klog() { kubetail $1 -n $1 ; }
|
||||||
export PS1="$(~/projects/ubuntu_packages/powerline-shell/powerline-shell.py $? 2> /dev/null)"
|
function kne() {
|
||||||
|
kubectl get events -n $1 --sort-by='.metadata.creationTimestamp' \
|
||||||
|
-o 'go-template={{range .items}}{{.involvedObject.name}}{{"\t"}}{{.involvedObject.kind}}{{"\t"}}{{.message}}{{"\t"}}{{.reason}}{{"\t"}}{{.type}}{{"\t"}}{{.firstTimestamp}}{{"\n"}}{{end}}'
|
||||||
}
|
}
|
||||||
|
|
||||||
export UPDATE_PS1="_update_ps1"
|
# Export a secret automatically with the filename on pass
|
||||||
export PROMPT_COMMAND="history -a; history -c; history -r; $UPDATE_PS1"
|
function gettoken() {
|
||||||
###b-egin-npm-completion-###
|
export "`basename $1`"="$(pass show $1)"
|
||||||
#
|
}
|
||||||
# npm command completion script
|
|
||||||
#
|
# Get inotify listener counts
|
||||||
# Installation: npm completion >> ~/.bashrc (or ~/.zshrc)
|
function inotifytop() {
|
||||||
# Or, maybe: npm completion > /usr/local/etc/bash_completion.d/npm
|
for foo in /proc/*/fd/*; do readlink -f $foo; done |grep inotify |cut -d/ -f3 |xargs -I '{}' -- ps --no-headers -o '%p %U %a' -p '{}' |uniq -c |sort -n
|
||||||
#
|
}
|
||||||
|
|
||||||
|
## COMPLETION SCRIPTS
|
||||||
|
|
||||||
|
if [[ -f /etc/bash_completion ]] && ! shopt -oq posix; then
|
||||||
|
. /etc/bash_completion
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -f /usr/share/bash-completion/completions/pipenv ]] && ! shopt -oq posix; then
|
||||||
|
. /usr/share/bash-completion/completions/pipenv
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -f /usr/share/bash-completion/completions/pass ]] && ! shopt -oq posix; then
|
||||||
|
. /usr/share/bash-completion/completions/pass
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -f /usr/share/bash-completion/completions/npm ]] && ! shopt -oq posix; then
|
||||||
|
. /usr/share/bash-completion/completions/npm
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -f /usr/share/bash-completion/completions/poetry ]] && ! shopt -oq posix; then
|
||||||
|
. /usr/share/bash-completion/completions/poetry
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -f /usr/share/doc/pkgfile/command-not-found.bash ]] && ! shopt -oq posix; then
|
||||||
|
. /usr/share/doc/pkgfile/command-not-found.bash
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -f /usr/share/git/completion/git-completion.bash ]] && ! shopt -oq posix; then
|
||||||
|
. /usr/share/git/completion/git-completion.bash
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -f /etc/bash_completion.d/pdm.bash-completion ]] && ! shopt -oq posix; then
|
||||||
|
. /etc/bash_completion.d/pdm.bash-completion
|
||||||
|
fi
|
||||||
|
|
||||||
|
function smallmkv() { ffmpeg -i "$1" -b 1000k -acodec libmp3lame -vcodec libx264 -ar 44100 -ab 56k -ac 2 -vpre fast -crf 24 \ "$1.mkv" ;}
|
||||||
|
export LC_ALL=en_US.utf8
|
||||||
|
export LC_ALL=en_US.utf8
|
||||||
|
export LANG=C
|
||||||
|
|
||||||
|
# Checkout an older commit
|
||||||
|
function gco_date() {
|
||||||
|
git checkout `git rev-list -n 1 --before="$1" master`
|
||||||
|
}
|
||||||
|
|
||||||
|
function make_aoc() {
|
||||||
|
pdftk $1 cat 1 output 1-$1
|
||||||
|
pdftk 1-$1 aoc.pdf cat output aoc-$1
|
||||||
|
}
|
||||||
|
|
||||||
COMP_WORDBREAKS=${COMP_WORDBREAKS/=/}
|
COMP_WORDBREAKS=${COMP_WORDBREAKS/=/}
|
||||||
COMP_WORDBREAKS=${COMP_WORDBREAKS/@/}
|
COMP_WORDBREAKS=${COMP_WORDBREAKS/@/}
|
||||||
@ -104,52 +300,45 @@ export COMP_WORDBREAKS
|
|||||||
export BLOCKSIZE=K
|
export BLOCKSIZE=K
|
||||||
# export CDPATH=.:~:~/src:/etc
|
# export CDPATH=.:~:~/src:/etc
|
||||||
# export DISPLAY=:79
|
# export DISPLAY=:79
|
||||||
export EDITOR='nvim'
|
export EDITOR='vim'
|
||||||
# export ftp_proxy=${MY_PROXY}
|
|
||||||
# export GPG_TTY='tty' # gpg-agent says it needs this
|
export GREP_OPTIONS='-D skip --binary-files=without-match --ignore-case'
|
||||||
# export GREP_OPTIONS='-D skip --binary-files=without-match --ignore-case' # most commonly used grep options
|
# put list of remote hosts in ~/.hosts ...
|
||||||
export HOSTFILE=$HOME/.hosts # put list of remote hosts in ~/.hosts ...
|
export HOSTFILE=$HOME/.hosts
|
||||||
# export http_proxy=${MY_PROXY}
|
|
||||||
# export https_proxy=${MY_PROXY}
|
|
||||||
# export IGNOREEOF=1 # prevent CTRL-D from immediately logging out
|
# export IGNOREEOF=1 # prevent CTRL-D from immediately logging out
|
||||||
# export INPUTRC=/etc/inputrc # it's possible that this will make bash find my delete key (and everything else)((but i don't think it did))
|
# export INPUTRC=/etc/inputrc # it's possible that this will make bash find my delete key (and everything else)((but i don't think it did))
|
||||||
# export INPUTRC=$HOME/.inputrc # type in ‘whatever’ and press ‘Page Up’ key and bash automatically fetches last command that starts with whatever and completes the command for you (requires '$HOME/.inputrc' with these lines: #Page up/page down && "\e[5~": history-search-backward && "\e[6~": history-search-forward)
|
# export INPUTRC=$HOME/.inputrc # type in ‘whatever’ and press ‘Page Up’ key and bash automatically fetches last command that starts with whatever and completes the command for you (requires '$HOME/.inputrc' with these lines: #Page up/page down && "\e[5~": history-search-backward && "\e[6~": history-search-forward)
|
||||||
# export LC_COLLATE="en_CA.utf8" # change sorting methods [a-Z] instead of [A-Z]
|
export LC_COLLATE="en_US.utf8" # change sorting methods [a-Z] instead of [A-Z]
|
||||||
export LESSCHARSET='latin1'
|
export LESSCHARSET="UTF-8"
|
||||||
export LESS='-i -N -w -z-4 -g -e -M -X -F -R -P%t?f%f \'
|
export LESS='-i -n -w -z-4 -g -e -M -X -F -Q -R -P%t?f%f \'
|
||||||
# export LESSOPEN="|lesspipe.sh %s"; export LESSOPEN
|
# export LESSOPEN="|lesspipe.sh %s"; export LESSOPEN
|
||||||
export LESSOPEN='|/usr/bin/lesspipe.sh %s 2>&-' # use this if lesspipe.sh exists
|
export LESSOPEN='|/usr/bin/lesspipe.sh %s 2>&-' # use this if lesspipe.sh exists
|
||||||
# export LESS="-QR" # tell less not to beep and also display colours
|
|
||||||
# export LESS='-R'
|
|
||||||
# export LESS_TERMCAP_mb=$'\E[01;31m' # less colors for Man pages # begin blinking
|
# export LESS_TERMCAP_mb=$'\E[01;31m' # less colors for Man pages # begin blinking
|
||||||
# export LESS_TERMCAP_md=$'\E[01;38;5;74m' # less colors for Man pages # begin bold
|
export LESS_TERMCAP_md=$'\E[01;38;5;74m' # less colors for Man pages # begin bold
|
||||||
# export LESS_TERMCAP_me=$'\E[0m' # less colors for Man pages # end mode
|
export LESS_TERMCAP_me=$'\E[0m' # less colors for Man pages # end mode
|
||||||
# export LESS_TERMCAP_se=$'\E[0m' # less colors for Man pages # end standout-mode
|
export LESS_TERMCAP_se=$'\E[0m' # less colors for Man pages # end standout-mode
|
||||||
# export LESS_TERMCAP_so=$'\E[38;5;246m' # less colors for Man pages # begin standout-mode - info box
|
export LESS_TERMCAP_so=$'\E[38;5;246m' # less colors for Man pages # begin standout-mode - info box
|
||||||
# export LESS_TERMCAP_ue=$'\E[0m' # less colors for Man pages # end underline
|
export LESS_TERMCAP_ue=$'\E[0m' # less colors for Man pages # end underline
|
||||||
# export LESS_TERMCAP_us=$'\E[04;38;5;146m' # less colors for Man pages # begin underline
|
export LESS_TERMCAP_us=$'\E[04;38;5;146m' # less colors for Man pages # begin underline
|
||||||
# export MY_PROXY='http://YOUR_USERNAME:YOUR_PASSWORD@PROXY_IP:PROXY_PORT/'
|
# export MY_PROXY='http://YOUR_USERNAME:YOUR_PASSWORD@PROXY_IP:PROXY_PORT/'
|
||||||
# export OOO_FORCE_DESKTOP=gnome # openoffice preferences
|
# export OOO_FORCE_DESKTOP=gnome # openoffice preferences
|
||||||
export PAGER='less -e'
|
export PAGER='less -e'
|
||||||
# export PILOTRATE=57600 # make pilot-xfer go faster than 9600
|
# export PILOTRATE=57600 # make pilot-xfer go faster than 9600
|
||||||
export TERM='xterm'
|
export TERM='xterm'
|
||||||
export TIMEFORMAT=$'\nreal %3R\tuser %3U\tsys %3S\tpcpu %P\n'
|
export TIMEFORMAT=$'\nreal %3R\tuser %3U\tsys %3S\tpcpu %P\n'
|
||||||
# export USER_CLIENT=deluge
|
|
||||||
# export USER_DPRT=22218
|
|
||||||
# export USER_OPRT=47426
|
|
||||||
# export USER_VPRT=79
|
|
||||||
# export USER_WPRT=30818
|
|
||||||
#export VISUAL='nano'
|
|
||||||
# export wpsetters=feh
|
|
||||||
# ${file%\.[^.]*} # to remove filename extensions in bash
|
# ${file%\.[^.]*} # to remove filename extensions in bash
|
||||||
# fortune -a # fortunes at each new shell
|
# Disallow messages from other users
|
||||||
# mesg n #
|
mesg n
|
||||||
set -b # causes output from background processes to be output right away, not on wait for next primary prompt
|
# causes output from background processes to be output right away, not on wait for next primary prompt
|
||||||
# set bell-style visible # I hate noise
|
set -b
|
||||||
#set completion-ignore-case on # complete things that have been typed in the wrong case
|
|
||||||
|
set bell-style visible # I hate noise
|
||||||
|
set completion-ignore-case on # complete things that have been typed in the wrong case
|
||||||
# set -o ignoreeof # can't c-d out of shell
|
# set -o ignoreeof # can't c-d out of shell
|
||||||
# set -o noclobber # disallow > to work on files that already exist (prevents catting over file)
|
# notify when jobs running in background terminate
|
||||||
set -o notify # notify when jobs running in background terminate
|
set -o notify
|
||||||
# set -o nounset # attempt to use undefined variable outputs error message and forces exit (messes up completion if enabled)
|
# set -o nounset # attempt to use undefined variable outputs error message and forces exit (messes up completion if enabled)
|
||||||
# set +o nounset # otherwise some completions will fail
|
# set +o nounset # otherwise some completions will fail
|
||||||
#setopt autopushd pushdminus pushdsilent pushdtohome
|
#setopt autopushd pushdminus pushdsilent pushdtohome
|
||||||
@ -157,7 +346,6 @@ set -o notify # notify when jobs running in background terminate
|
|||||||
# setopt extendedglob
|
# setopt extendedglob
|
||||||
# setopt hist_verify # verify when using !
|
# setopt hist_verify # verify when using !
|
||||||
# setopt nocheckjobs # don't complain about background jobs on e
|
# setopt nocheckjobs # don't complain about background jobs on e
|
||||||
# setopt no_clobber # don't overwrite files when redirect
|
|
||||||
# setopt nohup # don't kill bg jobs when tty quits
|
# setopt nohup # don't kill bg jobs when tty quits
|
||||||
# setopt printexitvalue # print exit value from jobs
|
# setopt printexitvalue # print exit value from jobs
|
||||||
# setopt share_history
|
# setopt share_history
|
||||||
@ -169,10 +357,10 @@ shopt -s cdspell # this will correct minor spelling errors in a cd command
|
|||||||
shopt -s checkhash
|
shopt -s checkhash
|
||||||
shopt -s checkwinsize # update windows size on command
|
shopt -s checkwinsize # update windows size on command
|
||||||
shopt -s cmdhist # save multi-line commands in history as single line
|
shopt -s cmdhist # save multi-line commands in history as single line
|
||||||
# shopt -s dotglob # files beginning with . to be returned in the results of path-name expansion
|
shopt -s dotglob # files beginning with . to be returned in the results of path-name expansion
|
||||||
# shopt -s expand aliases # expand aliases
|
# shopt -s expand aliases # expand aliases
|
||||||
shopt -s extglob # necessary for bash completion (programmable completion)
|
shopt -s extglob # necessary for bash completion (programmable completion)
|
||||||
# shopt -s globstar # enables the ** globbing operator
|
shopt -s globstar # enables the ** globbing operator
|
||||||
shopt -s histappend histreedit histverify
|
shopt -s histappend histreedit histverify
|
||||||
shopt -s hostcomplete # attempt hostname expansion when @ is at the beginning of a word
|
shopt -s hostcomplete # attempt hostname expansion when @ is at the beginning of a word
|
||||||
# shopt -s huponexit
|
# shopt -s huponexit
|
||||||
@ -183,15 +371,15 @@ shopt -s no_empty_cmd_completion # no empty completion (bash>=2.04 only)
|
|||||||
# shopt -s nullglob dotglob
|
# shopt -s nullglob dotglob
|
||||||
shopt -s sourcepath
|
shopt -s sourcepath
|
||||||
# shopt -u cmdhist # do not treat multiple line commands as a single entry
|
# shopt -u cmdhist # do not treat multiple line commands as a single entry
|
||||||
# shopt -u force_fignore # expand to complete an ignored word, if no other words match.
|
shopt -u force_fignore # expand to complete an ignored word, if no other words match.
|
||||||
# shopt -u mailwarn
|
# shopt -u mailwarn
|
||||||
# shopt -u sourcepath
|
# shopt -u sourcepath
|
||||||
# stty -ixon # disable XON/XOFF flow control (^s/^q)
|
# stty -ixon # disable XON/XOFF flow control (^s/^q)
|
||||||
stty start undef
|
stty start undef
|
||||||
stty stop undef
|
stty stop undef
|
||||||
# stty stop '' # use C-s to search forward through history (do not block output)
|
stty stop '' # use C-s to search forward through history (do not block output)
|
||||||
# ulimit -c unlimited # let me have core dumps
|
ulimit -c unlimited # let me have core dumps
|
||||||
ulimit -S -c 0 # (core file size) don't want any coredumps
|
# ulimit -S -c 0 # (core file size) don't want any coredumps
|
||||||
# ulimit -S -f 1024 # open files
|
# ulimit -S -f 1024 # open files
|
||||||
# ulimit -S -s 8192 # stack size
|
# ulimit -S -s 8192 # stack size
|
||||||
# ulimit -S -u 256 # max user processes
|
# ulimit -S -u 256 # max user processes
|
||||||
@ -202,21 +390,16 @@ ulimit -S -c 0 # (core file size) don't want any coredumps
|
|||||||
# unsetopt bgnice # don't nice bg command
|
# unsetopt bgnice # don't nice bg command
|
||||||
|
|
||||||
|
|
||||||
##################################################
|
# To create a ZIP archive of a file or folder
|
||||||
# To create a ZIP archive of a file or folder #
|
|
||||||
##################################################
|
|
||||||
|
|
||||||
function zipf() { zip -r "$1".zip "$1" ; }
|
function zipf() { zip -r "$1".zip "$1" ; }
|
||||||
|
|
||||||
|
# Custom Functions For adding and fetching covers from a pdf
|
||||||
|
|
||||||
### Custom Functions For adding and fetching covers from a pdf ###
|
|
||||||
function addcover() { convert "$2" /tmp/cover.pdf; pdftk /tmp/cover.pdf "$1" cat output /tmp/final.pdf;mv /tmp/final.pdf "$1"; }
|
function addcover() { convert "$2" /tmp/cover.pdf; pdftk /tmp/cover.pdf "$1" cat output /tmp/final.pdf;mv /tmp/final.pdf "$1"; }
|
||||||
function getcover() { pdftk "$1" cat 1 output /tmp/cover.pdf; convert /tmp/cover.pdf cover.jpg;}
|
function getcover() { pdftk "$1" cat 1 output /tmp/cover.pdf; convert /tmp/cover.pdf cover.jpg;}
|
||||||
|
|
||||||
##################################################
|
#######################
|
||||||
# Directory shortcuts #
|
# Directory shortcuts #
|
||||||
##################################################
|
#######################
|
||||||
|
|
||||||
alias ..='cd ..'
|
alias ..='cd ..'
|
||||||
alias ...='cd ../..'
|
alias ...='cd ../..'
|
||||||
@ -265,79 +448,103 @@ alias lt='ls -ltr' # sort by date, most recent last
|
|||||||
alias lu='ls -ltur' # sort by and show access time, most recent last
|
alias lu='ls -ltur' # sort by and show access time, most recent last
|
||||||
alias lx='ls -lXB' # sort by extension
|
alias lx='ls -lXB' # sort by extension
|
||||||
alias sss='sudo systemctl start'
|
alias sss='sudo systemctl start'
|
||||||
alias ssh="cat ~/.ssh/config.d/* > ~/.ssh/config; ssh"
|
alias sse='sudo systemctl enable'
|
||||||
|
alias ssd='sudo systemctl disable'
|
||||||
|
alias ssS='sudo systemctl stop'
|
||||||
|
alias ssh="cat ~/.ssh/config.d/p* > ~/.ssh/config; ssh"
|
||||||
alias ssr='sudo systemctl restart'
|
alias ssr='sudo systemctl restart'
|
||||||
alias cda='composer dump-autoload'
|
alias cda='composer dump-autoload'
|
||||||
|
|
||||||
#### FASD
|
#### autojump using z
|
||||||
eval "$(fasd --init auto)"
|
alias z='j' # cd, same functionality as j in autojump
|
||||||
alias a='fasd -a' # any
|
source /etc/profile.d/autojump.bash
|
||||||
alias s='fasd -si' # show / search / select
|
|
||||||
alias d='fasd -d' # directory
|
|
||||||
alias f='fasd -f' # file
|
|
||||||
alias sd='fasd -sid' # interactive directory selection
|
|
||||||
alias sf='fasd -sif' # interactive file selection
|
|
||||||
alias z='fasd_cd -d' # cd, same functionality as j in autojump
|
|
||||||
alias zz='fasd_cd -d -i' # cd with interactive selection
|
|
||||||
|
|
||||||
|
# Docker
|
||||||
|
# docker run image
|
||||||
|
alias dri='docker run --volume /home/nemo/tmp:/data --tty --rm --interactive --entrypoint /bin/sh '
|
||||||
|
|
||||||
|
# Better caching (among other things)
|
||||||
|
# https://github.com/moby/moby/issues/15717
|
||||||
|
export DOCKER_BUILDKIT=1
|
||||||
|
|
||||||
|
# docker run image, but with current directory mounted as /current
|
||||||
|
# Do not run this on untrusted images
|
||||||
|
alias dri_cwd='docker run --volume `pwd`:/current --volume /home/nemo/tmp:/data --tty --rm --interactive --entrypoint /bin/sh '
|
||||||
|
|
||||||
|
# container-top
|
||||||
|
alias ctop='docker run --name ctop -it --rm -v /var/run/docker.sock:/var/run/docker.sock:ro quay.io/vektorlab/ctop '
|
||||||
|
|
||||||
|
# Run hadolint
|
||||||
|
alias dockerlint='LC_ALL=C hadolint'
|
||||||
|
|
||||||
|
# https://github.com/uber/makisu
|
||||||
|
function makisu_build() {
|
||||||
|
makisu_version=${MAKISU_VERSION:-v0.1.10}
|
||||||
|
cd ${@: -1}
|
||||||
|
docker run -i --rm --net host \
|
||||||
|
-v /var/run/docker.sock:/docker.sock \
|
||||||
|
-e DOCKER_HOST=unix:///docker.sock \
|
||||||
|
-v $(pwd):/makisu-context \
|
||||||
|
-v /tmp/makisu-storage:/makisu-storage \
|
||||||
|
gcr.io/makisu-project/makisu:$makisu_version build \
|
||||||
|
--commit=explicit \
|
||||||
|
--modifyfs=true \
|
||||||
|
--load \
|
||||||
|
${@:1:${#@}-1} /makisu-context
|
||||||
|
cd -
|
||||||
|
}
|
||||||
|
|
||||||
|
# Terraform
|
||||||
|
export TF_PLUGIN_CACHE_DIR="$HOME/.terraform.d/plugin-cache"
|
||||||
|
alias t=terraform
|
||||||
|
alias tp='terraform plan'
|
||||||
|
alias tpt='terraform plan --target '
|
||||||
|
alias ta='terraform apply'
|
||||||
|
alias tat='terraform apply --target '
|
||||||
|
alias tfa='terraform apply --auto-approve'
|
||||||
|
alias tfat='terraform apply --auto-approve --target '
|
||||||
|
alias tfit='terraform init'
|
||||||
|
|
||||||
##### History Shenanigans
|
##### History Shenanigans
|
||||||
export HISTCONTROL=ignoredups:erasedups # for 'ignoreboth': ignore duplicates and /^\s/
|
export HISTCONTROL=ignorespace:ignoredups:erasedups # for 'ignoreboth': ignore duplicates and /^\s/
|
||||||
export HISTFILE='/home/nemo/.bash_history'
|
export HISTFILE='/home/nemo/.bash_history'
|
||||||
# export HISTFILESIZE=10000 # increase or decrease the size of the history to '10,000'
|
# export HISTFILESIZE=10000 # increase or decrease the size of the history to '10,000'
|
||||||
# export HISTFILESIZE=${HISTSIZE} # bash will remember 'N' commands
|
# export HISTFILESIZE=${HISTSIZE} # bash will remember 'N' commands
|
||||||
#export HISTIGNORE='&:bg:fg:ll:h'
|
export HISTIGNORE='&:bg:fg:ll:h'
|
||||||
#export HISTIGNORE='${HISTIGNORE:+$HISTIGNORE:}la:ll:lah:lat:;a:-:fg:bg:j:sync:esu:rma:rmp:fol:pfol'
|
export HISTIGNORE='${HISTIGNORE:+$HISTIGNORE:}la:ll:lah:lat:;a:-:fg:bg:j:sync:esu:rma:rmp:fol:pfol'
|
||||||
#export HISTIGNORE="&:ls:ll:la:l.:pwd:exit:clear"
|
export HISTIGNORE="&:ls:ll:la:l.:pwd:exit:clear"
|
||||||
#export HISTIGNORE='pwd:cd:ls:ls -l:' # ignore commands given
|
export HISTIGNORE='pwd:cd:ls:ls -l:' # ignore commands given
|
||||||
#export HISTSIZE=10000 # increase or decrease the size of the history to '10,000'
|
#export HISTSIZE=10000 # increase or decrease the size of the history to '10,000'
|
||||||
# export HISTTIMEFORMAT='| %d/%m/%y %T | ' # make 'History' Show The Date For Each Command
|
export HISTTIMEFORMAT='| %d/%m/%y %T | ' # make 'History' Show The Date For Each Command
|
||||||
# export HISTTIMEFORMAT='%F %T ' # adds date and time to history
|
# export HISTTIMEFORMAT='%F %T ' # adds date and time to history
|
||||||
#export HISTTIMEFORMAT='%H:%M > '
|
#export HISTTIMEFORMAT='%H:%M > '
|
||||||
# export HISTTIMEFORMAT='%s' # the beloved Second of Our Linux
|
# export HISTTIMEFORMAT='%s' # the beloved Second of Our Linux
|
||||||
# export HISTTIMEFORMAT='%Y-%b-%d::%Hh:%Mm:%Ss '
|
# export HISTTIMEFORMAT='%Y-%b-%d::%Hh:%Mm:%Ss '
|
||||||
#export HISTTIMEFORMAT='%Y-%m-%d_%H:%M:%S_%a ' # makes history display in YYYY-MM-DD_HH:MM:SS_3CharWeekdaySpaceSpace format
|
#export HISTTIMEFORMAT='%Y-%m-%d_%H:%M:%S_%a ' # makes history display in YYYY-MM-DD_HH:MM:SS_3CharWeekdaySpaceSpace format
|
||||||
# unset HISTFILESIZE # infinite History
|
unset HISTFILESIZE # infinite History
|
||||||
# unset HISTSIZE # infinite History
|
unset HISTSIZE # infinite History
|
||||||
# append to the history file, don't overwrite it
|
# append to the history file, don't overwrite it
|
||||||
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
|
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
|
||||||
HISTSIZE=1000000
|
HISTSIZE=1000000
|
||||||
HISTFILESIZE=1000000
|
HISTFILESIZE=1000000
|
||||||
shopt -s histappend
|
shopt -s histappend
|
||||||
|
|
||||||
### Added by the Heroku Toolbelt
|
# Don't use this for sensitive files
|
||||||
pathadd '/usr/local/heroku/bin'
|
transfer() { if [ $# -eq 0 ]; then echo -e "No arguments specified. Usage:\necho transfer /tmp/test.md\ncat /tmp/test.md | transfer test.md"; return 1; fi
|
||||||
eval `keychain --eval --agents ssh id_rsa`
|
tmpfile=$( mktemp -t transferXXX ); if tty -s; then basefile=$(basename "$1" | sed -e 's/[^a-zA-Z0-9._-]/-/g'); curl --progress-bar --upload-file "$1" "https://transfer.sh/$basefile" >> $tmpfile; else curl --progress-bar --upload-file "-" "https://transfer.sh/$1" >> $tmpfile ; fi; cat $tmpfile; rm -f $tmpfile; }
|
||||||
#Importing phpenv
|
|
||||||
# eval "$(phpenv init -)"
|
|
||||||
|
|
||||||
#UTF-8 Alias
|
|
||||||
export LC_ALL=en_IN.UTF-8
|
|
||||||
alias suidchromium='sudo chown root:root chrome_sandbox && sudo chmod 4755 chrome_sandbox && export CHROME_DEVEL_SANDBOX="$PWD/chrome_sandbox"'
|
|
||||||
export JAVA_HOME=/usr/lib/jvm/default-runtime
|
export JAVA_HOME=/usr/lib/jvm/default-runtime
|
||||||
export GROOVY_HOME=/home/nemo/apps/groovy
|
|
||||||
pathadd "$GROOVY_HOME/bin"
|
|
||||||
export EC2_HOME=/home/nemo/apps/ec2
|
|
||||||
|
|
||||||
# iOS Jailbreak development
|
|
||||||
export THEOS=/home/nemo/apps/theos
|
|
||||||
export THEOS_DEVICE_IP=192.168.1.101
|
|
||||||
export THEOS_DEVICE_PORT=22
|
|
||||||
|
|
||||||
# added by travis gem
|
# added by travis gem
|
||||||
[ -f /home/nemo/.travis/travis.sh ] && source /home/nemo/.travis/travis.sh
|
[ -f /home/nemo/.travis/travis.sh ] && source /home/nemo/.travis/travis.sh
|
||||||
#[[ -s "/home/nemo/.gvm/scripts/gvm" ]] && source "/home/nemo/.gvm/scripts/gvm"
|
|
||||||
|
|
||||||
#PERL_MB_OPT="--install_base \"/home/nemo/perl5\""; export PERL_MB_OPT;
|
#PERL_MB_OPT="--install_base \"/home/nemo/perl5\""; export PERL_MB_OPT;
|
||||||
#PERL_MM_OPT="INSTALL_BASE=/home/nemo/perl5"; export PERL_MM_OPT;
|
#PERL_MM_OPT="INSTALL_BASE=/home/nemo/perl5"; export PERL_MM_OPT;
|
||||||
#eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
|
#eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
|
||||||
|
|
||||||
# Ruby version manager, must be loaded before
|
# Manage multiple Git identities
|
||||||
# scm_breeze
|
|
||||||
source "$HOME/.rvm/scripts/rvm"
|
|
||||||
|
|
||||||
# karn https://github.com/prydonius/karn
|
# karn https://github.com/prydonius/karn
|
||||||
if which karn > /dev/null; then eval "$(karn init)"; fi
|
if command -v karn > /dev/null; then eval "$(karn init)"; fi
|
||||||
|
|
||||||
# Disable beeps
|
# Disable beeps
|
||||||
xset -b
|
xset -b
|
||||||
@ -360,20 +567,74 @@ xset -b
|
|||||||
# }
|
# }
|
||||||
|
|
||||||
|
|
||||||
|
# http://boredzo.org/blog/archives/2016-08-15/colorized-man-pages-understood-and-customized
|
||||||
# Overrides the display provided by imagemagick
|
# colorized man pages
|
||||||
function display() {
|
man() {
|
||||||
`cd ~/.screenlayout && sh $1.sh`
|
env \
|
||||||
# Write the current layout
|
LESS_TERMCAP_mb=$(printf "\e[1;31m") \
|
||||||
echo $1 > ~/.screenlayout/current
|
LC_ALL=C \
|
||||||
if [[ -e "~/Pictures/$1.jpg" ]]; then
|
LESS_TERMCAP_md=$(printf "\e[1;31m") \
|
||||||
(cd ~/Pictures && cp "$1.jpg" "./xin_1.jpg")
|
LESS_TERMCAP_me=$(printf "\e[0m") \
|
||||||
fi
|
LESS_TERMCAP_se=$(printf "\e[0m") \
|
||||||
nitrogen --restore
|
LESS_TERMCAP_so=$(printf "\e[1;44;33m") \
|
||||||
|
LESS_TERMCAP_ue=$(printf "\e[0m") \
|
||||||
|
LESS_TERMCAP_us=$(printf "\e[1;32m") \
|
||||||
|
MANWIDTH=$(expr $COLUMNS - 4) \
|
||||||
|
man "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
#SCM Breeze
|
function mkcd() {
|
||||||
[ -s "/home/nemo/.scm_breeze/scm_breeze.sh" ] && source "/home/nemo/.scm_breeze/scm_breeze.sh"
|
mkdir --parents "$1"
|
||||||
|
cd "$1"
|
||||||
|
}
|
||||||
|
|
||||||
|
# To allow global package installations for the current user
|
||||||
|
PATH="$HOME/.node_modules/bin:$PATH"
|
||||||
|
export npm_config_prefix=~/.node_modules
|
||||||
|
|
||||||
|
# Stolen from @ThatHarmanSingh
|
||||||
|
function sprint() {
|
||||||
|
|
||||||
|
# Set time format to unix so we can subtract
|
||||||
|
HISTTIMEFORMAT='%s ' history |
|
||||||
|
# History returns way more than needed
|
||||||
|
tail -n 4000 |
|
||||||
|
# Grep for git commits (after timestamps)
|
||||||
|
grep -E '^\d+\s+\d+\s+gc' |
|
||||||
|
# Max 15 days ago
|
||||||
|
awk -v now=$(date +%s) '(now - $2) < 15*24*60*60' |
|
||||||
|
# Cut out the timestamps for uniq check
|
||||||
|
cut -d ' ' -f 4- |
|
||||||
|
# To handle multiple commit-pull-reset-commit cycles
|
||||||
|
uniq
|
||||||
|
}
|
||||||
|
|
||||||
|
# https://starship.rs/advanced-config/#change-window-title
|
||||||
|
function starship_set_win_title(){
|
||||||
|
echo -ne "\033]0; $PWD \007"
|
||||||
|
}
|
||||||
|
|
||||||
|
starship_precmd_user_func="starship_set_win_title"
|
||||||
|
eval "$(starship init bash)"
|
||||||
|
|
||||||
|
[ -s "/usr/share/scm_breeze/scm_breeze.sh" ] && source "/usr/share/scm_breeze/scm_breeze.sh"
|
||||||
|
|
||||||
|
|
||||||
|
function ytdl.album() {
|
||||||
|
cd $(mktemp -d)
|
||||||
|
youtube-dl --quiet -f "bestaudio[ext=m4a]" --output "audio.m4a" "$1"
|
||||||
|
youtube-cue --audio-file "audio.m4a" "$1" tracks.cue
|
||||||
|
m4acut -C tracks.cue "audio.m4a" && \
|
||||||
|
trash audio.m4a && \
|
||||||
|
beet import -map .
|
||||||
|
}
|
||||||
|
|
||||||
|
function gaanadl.album() {
|
||||||
|
cd $(mktemp -d)
|
||||||
|
youtube-dl --rm-cache-dir --no-cache-dir --quiet --autonumber-start 1 --add-metadata -o "%(autonumber)d - %(title)s.m4a" "$1"
|
||||||
|
beet import -map .
|
||||||
|
cd -
|
||||||
|
}
|
||||||
PATH="/home/nemo/perl5/bin${PATH:+:${PATH}}"; export PATH;
|
PATH="/home/nemo/perl5/bin${PATH:+:${PATH}}"; export PATH;
|
||||||
PERL5LIB="/home/nemo/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;
|
PERL5LIB="/home/nemo/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;
|
||||||
PERL_LOCAL_LIB_ROOT="/home/nemo/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT;
|
PERL_LOCAL_LIB_ROOT="/home/nemo/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT;
|
||||||
|
47
files/bash/.config/starship.toml
Normal file
47
files/bash/.config/starship.toml
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
add_newline = false
|
||||||
|
|
||||||
|
format = """\
|
||||||
|
$username\
|
||||||
|
$hostname\
|
||||||
|
$kubernetes\
|
||||||
|
$directory\
|
||||||
|
$git_branch\
|
||||||
|
$git_commit\
|
||||||
|
$git_state\
|
||||||
|
$git_status\
|
||||||
|
$docker_context\
|
||||||
|
$package\
|
||||||
|
$elixir\
|
||||||
|
$golang\
|
||||||
|
$nodejs\
|
||||||
|
$php\
|
||||||
|
$python\
|
||||||
|
$ruby\
|
||||||
|
$rust\
|
||||||
|
$terraform\
|
||||||
|
$aws\
|
||||||
|
$env_var\
|
||||||
|
$crystal\
|
||||||
|
$cmd_duration\
|
||||||
|
$custom\
|
||||||
|
$line_break\
|
||||||
|
$memory_usage\
|
||||||
|
$jobs\
|
||||||
|
$time\
|
||||||
|
$character"""
|
||||||
|
|
||||||
|
[time]
|
||||||
|
disabled = false
|
||||||
|
time_format = "[%d %b | %H:%M]"
|
||||||
|
utc_time_offset = "+5.5"
|
||||||
|
|
||||||
|
[jobs]
|
||||||
|
symbol = "+ "
|
||||||
|
threshold = 2
|
||||||
|
|
||||||
|
[memory_usage]
|
||||||
|
disabled = false
|
||||||
|
|
||||||
|
[cmd_duration]
|
||||||
|
min_time = 500
|
||||||
|
disabled = false
|
@ -8,12 +8,11 @@
|
|||||||
# for ssh logins, install and configure the libpam-umask package.
|
# for ssh logins, install and configure the libpam-umask package.
|
||||||
#umask 022
|
#umask 022
|
||||||
|
|
||||||
# if running bash
|
export PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:$HOME/bin:/sbin:$HOME/projects/scripts/:$HOME/.node_modules/bin:$HOME/.gem/ruby/2.5.0/bin:/home/nemo/.local/bin:$HOME/bin:/bin"
|
||||||
if [ -n "$BASH_VERSION" ]; then
|
export npm_config_prefix=~/.node_modules
|
||||||
# include .bashrc if it exists
|
export GOPATH="/home/nemo/projects/go"
|
||||||
if [ -f "$HOME/.bashrc" ]; then
|
PATH="/usr/sbin:/usr/games:$PATH"
|
||||||
. "$HOME/.bashrc"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
export PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/nemo/bin:/sbin:/home/nemo/projects/scripts/:/home/nemo/.nvm/v5.0.1/bin"
|
# Make sure qt5-styleplugins is installed for this to work
|
||||||
|
# https://wiki.archlinux.org/index.php/Uniform_look_for_Qt_and_GTK_applications#Theme_engines
|
||||||
|
export QT_QPA_PLATFORMTHEME=gtk2
|
22
files/bat/.config/bat/config
Normal file
22
files/bat/.config/bat/config
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# This is `bat`s configuration file. Each line either contains a comment or
|
||||||
|
# a command-line option that you want to pass to `bat` by default. You can
|
||||||
|
# run `bat --help` to get a list of all possible configuration options.
|
||||||
|
|
||||||
|
# The theme is set by the light/dark functions
|
||||||
|
# in bashrc
|
||||||
|
|
||||||
|
# Show line numbers, Git modifications and file header (but no grid)
|
||||||
|
# --style="changes,header"
|
||||||
|
|
||||||
|
# Use italic text on the terminal (not supported on all terminals)
|
||||||
|
# --italic-text=always
|
||||||
|
|
||||||
|
# Add mouse scrolling support in less (does not work with older
|
||||||
|
# versions of "less")
|
||||||
|
--pager="less -FR"
|
||||||
|
|
||||||
|
# Use C++ syntax (instead of C) for .h header files
|
||||||
|
--map-syntax h:cpp
|
||||||
|
|
||||||
|
# Use "gitignore" highlighting for ".ignore" files
|
||||||
|
--map-syntax .ignore:.gitignore
|
1
files/cmus/.cmus/.gitignore
vendored
1
files/cmus/.cmus/.gitignore
vendored
@ -5,3 +5,4 @@ search-history
|
|||||||
*.pl
|
*.pl
|
||||||
now-playing.txt
|
now-playing.txt
|
||||||
resume
|
resume
|
||||||
|
playlists
|
@ -31,5 +31,5 @@ bind -f common mouse_scroll_up win-up
|
|||||||
|
|
||||||
set lib_sort=albumartist album discnumber tracknumber title filename
|
set lib_sort=albumartist album discnumber tracknumber title filename
|
||||||
set status_display_program=~/projects/scripts/cmus-current-track.sh
|
set status_display_program=~/projects/scripts/cmus-current-track.sh
|
||||||
set output_plugin=alsa
|
set output_plugin=pulse
|
||||||
set softvol=true
|
set softvol=true
|
2
files/dev/.config/composer/.gitignore
vendored
Normal file
2
files/dev/.config/composer/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
auth.json
|
||||||
|
vendor/
|
1
files/dev/.config/composer/.htaccess
Normal file
1
files/dev/.config/composer/.htaccess
Normal file
@ -0,0 +1 @@
|
|||||||
|
Deny from all
|
6
files/dev/.config/composer/composer.json
Normal file
6
files/dev/.config/composer/composer.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"require": {
|
||||||
|
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
|
||||||
|
"phpcompatibility/php-compatibility": "^9.3"
|
||||||
|
}
|
||||||
|
}
|
207
files/dev/.config/composer/composer.lock
generated
Normal file
207
files/dev/.config/composer/composer.lock
generated
Normal file
@ -0,0 +1,207 @@
|
|||||||
|
{
|
||||||
|
"_readme": [
|
||||||
|
"This file locks the dependencies of your project to a known state",
|
||||||
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
|
"This file is @generated automatically"
|
||||||
|
],
|
||||||
|
"content-hash": "27770b082235d40e3f8879ce2ee76de1",
|
||||||
|
"packages": [
|
||||||
|
{
|
||||||
|
"name": "dealerdirect/phpcodesniffer-composer-installer",
|
||||||
|
"version": "v0.7.1",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer.git",
|
||||||
|
"reference": "fe390591e0241955f22eb9ba327d137e501c771c"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/fe390591e0241955f22eb9ba327d137e501c771c",
|
||||||
|
"reference": "fe390591e0241955f22eb9ba327d137e501c771c",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"composer-plugin-api": "^1.0 || ^2.0",
|
||||||
|
"php": ">=5.3",
|
||||||
|
"squizlabs/php_codesniffer": "^2.0 || ^3.0 || ^4.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"composer/composer": "*",
|
||||||
|
"phpcompatibility/php-compatibility": "^9.0",
|
||||||
|
"sensiolabs/security-checker": "^4.1.0"
|
||||||
|
},
|
||||||
|
"type": "composer-plugin",
|
||||||
|
"extra": {
|
||||||
|
"class": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin"
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Franck Nijhof",
|
||||||
|
"email": "franck.nijhof@dealerdirect.com",
|
||||||
|
"homepage": "http://www.frenck.nl",
|
||||||
|
"role": "Developer / IT Manager"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "PHP_CodeSniffer Standards Composer Installer Plugin",
|
||||||
|
"homepage": "http://www.dealerdirect.com",
|
||||||
|
"keywords": [
|
||||||
|
"PHPCodeSniffer",
|
||||||
|
"PHP_CodeSniffer",
|
||||||
|
"code quality",
|
||||||
|
"codesniffer",
|
||||||
|
"composer",
|
||||||
|
"installer",
|
||||||
|
"phpcs",
|
||||||
|
"plugin",
|
||||||
|
"qa",
|
||||||
|
"quality",
|
||||||
|
"standard",
|
||||||
|
"standards",
|
||||||
|
"style guide",
|
||||||
|
"stylecheck",
|
||||||
|
"tests"
|
||||||
|
],
|
||||||
|
"support": {
|
||||||
|
"issues": "https://github.com/dealerdirect/phpcodesniffer-composer-installer/issues",
|
||||||
|
"source": "https://github.com/dealerdirect/phpcodesniffer-composer-installer"
|
||||||
|
},
|
||||||
|
"time": "2020-12-07T18:04:37+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "phpcompatibility/php-compatibility",
|
||||||
|
"version": "9.3.5",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/PHPCompatibility/PHPCompatibility.git",
|
||||||
|
"reference": "9fb324479acf6f39452e0655d2429cc0d3914243"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/9fb324479acf6f39452e0655d2429cc0d3914243",
|
||||||
|
"reference": "9fb324479acf6f39452e0655d2429cc0d3914243",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.3",
|
||||||
|
"squizlabs/php_codesniffer": "^2.3 || ^3.0.2"
|
||||||
|
},
|
||||||
|
"conflict": {
|
||||||
|
"squizlabs/php_codesniffer": "2.6.2"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "~4.5 || ^5.0 || ^6.0 || ^7.0"
|
||||||
|
},
|
||||||
|
"suggest": {
|
||||||
|
"dealerdirect/phpcodesniffer-composer-installer": "^0.5 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically.",
|
||||||
|
"roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
|
||||||
|
},
|
||||||
|
"type": "phpcodesniffer-standard",
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"LGPL-3.0-or-later"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Wim Godden",
|
||||||
|
"homepage": "https://github.com/wimg",
|
||||||
|
"role": "lead"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Juliette Reinders Folmer",
|
||||||
|
"homepage": "https://github.com/jrfnl",
|
||||||
|
"role": "lead"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Contributors",
|
||||||
|
"homepage": "https://github.com/PHPCompatibility/PHPCompatibility/graphs/contributors"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "A set of sniffs for PHP_CodeSniffer that checks for PHP cross-version compatibility.",
|
||||||
|
"homepage": "http://techblog.wimgodden.be/tag/codesniffer/",
|
||||||
|
"keywords": [
|
||||||
|
"compatibility",
|
||||||
|
"phpcs",
|
||||||
|
"standards"
|
||||||
|
],
|
||||||
|
"support": {
|
||||||
|
"issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues",
|
||||||
|
"source": "https://github.com/PHPCompatibility/PHPCompatibility"
|
||||||
|
},
|
||||||
|
"time": "2019-12-27T09:44:58+00:00"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "squizlabs/php_codesniffer",
|
||||||
|
"version": "3.6.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
|
||||||
|
"reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ffced0d2c8fa8e6cdc4d695a743271fab6c38625",
|
||||||
|
"reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"ext-simplexml": "*",
|
||||||
|
"ext-tokenizer": "*",
|
||||||
|
"ext-xmlwriter": "*",
|
||||||
|
"php": ">=5.4.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
|
||||||
|
},
|
||||||
|
"bin": [
|
||||||
|
"bin/phpcs",
|
||||||
|
"bin/phpcbf"
|
||||||
|
],
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "3.x-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"BSD-3-Clause"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Greg Sherwood",
|
||||||
|
"role": "lead"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
|
||||||
|
"homepage": "https://github.com/squizlabs/PHP_CodeSniffer",
|
||||||
|
"keywords": [
|
||||||
|
"phpcs",
|
||||||
|
"standards"
|
||||||
|
],
|
||||||
|
"support": {
|
||||||
|
"issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues",
|
||||||
|
"source": "https://github.com/squizlabs/PHP_CodeSniffer",
|
||||||
|
"wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki"
|
||||||
|
},
|
||||||
|
"time": "2021-04-09T00:54:41+00:00"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"packages-dev": [],
|
||||||
|
"aliases": [],
|
||||||
|
"minimum-stability": "stable",
|
||||||
|
"stability-flags": [],
|
||||||
|
"prefer-stable": false,
|
||||||
|
"prefer-lowest": false,
|
||||||
|
"platform": [],
|
||||||
|
"platform-dev": [],
|
||||||
|
"plugin-api-version": "2.1.0"
|
||||||
|
}
|
3
files/dev/.docker/.gitignore
vendored
Normal file
3
files/dev/.docker/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.buildNodeID
|
||||||
|
buildx
|
||||||
|
.token_seed*
|
2
files/dev/.docker/cli-plugins/.gitignore
vendored
Normal file
2
files/dev/.docker/cli-plugins/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Ignore this, but keep the name so I remember to install it
|
||||||
|
docker-scan
|
10
files/dev/.docker/config.json
Normal file
10
files/dev/.docker/config.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"auths": {
|
||||||
|
"c.rzp.io": {},
|
||||||
|
"ghcr.io": {},
|
||||||
|
"harbor.razorpay.com": {},
|
||||||
|
"https://index.docker.io/v1/": {},
|
||||||
|
"quay.io": {}
|
||||||
|
},
|
||||||
|
"credsStore": "pass"
|
||||||
|
}
|
1
files/dev/.docker/scan/.gitignore
vendored
Normal file
1
files/dev/.docker/scan/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
tokens.json
|
1
files/dev/.docker/scan/config.json
Normal file
1
files/dev/.docker/scan/config.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{"path":"","optin":true}
|
19
files/display/.autorandr/conference-room/config
Normal file
19
files/display/.autorandr/conference-room/config
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
output DP1
|
||||||
|
off
|
||||||
|
output DP2
|
||||||
|
off
|
||||||
|
output HDMI2
|
||||||
|
off
|
||||||
|
output VIRTUAL1
|
||||||
|
off
|
||||||
|
output eDP1
|
||||||
|
gamma 1.0:1.0:0.909
|
||||||
|
mode 1368x768
|
||||||
|
pos 0x0
|
||||||
|
primary
|
||||||
|
rate 59.88
|
||||||
|
output HDMI1
|
||||||
|
gamma 1.0:1.0:0.909
|
||||||
|
mode 1360x768
|
||||||
|
pos 0x0
|
||||||
|
rate 60.37
|
2
files/display/.autorandr/conference-room/setup
Normal file
2
files/display/.autorandr/conference-room/setup
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
HDMI1 00ffffffffffff007fff00900f0000000112010380a05a780a01c1a057479827124c4c21080031404540614081800101010101010101982150b051001b304070360040846300001e4c1d007251d01e206e28550040846300001e000000fc004c4344545631360a2020202020000000fd00303e0e440f000a2020202020200199020323704f01020304050607101112131415161f230907078301000066030c00200080011d80d0721c1620102c258040846300009e011d8018711c1620582c2500408463000098011d00bc52d01e20b828554040846300001e023a80d072382d40102c458040846300001e023a801871382d40582c450040846300001e0000f8
|
||||||
|
eDP1 00ffffffffffff000610f09c0000000011160104951d127802ef05975754922722505400000001010101010101010101010101010101b922a0a050841a30302036001eb300000018000000100000000000000000000000000000000000fe004c534e31333342543031413032000000fc00436f6c6f72204c43440a2020200009
|
19
files/display/.autorandr/duplicate-office/config
Normal file
19
files/display/.autorandr/duplicate-office/config
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
output DP1
|
||||||
|
off
|
||||||
|
output DP2
|
||||||
|
off
|
||||||
|
output HDMI2
|
||||||
|
off
|
||||||
|
output VIRTUAL1
|
||||||
|
off
|
||||||
|
output eDP1
|
||||||
|
gamma 1.0:1.0:0.909
|
||||||
|
mode 1368x768
|
||||||
|
pos 0x0
|
||||||
|
primary
|
||||||
|
rate 59.88
|
||||||
|
output HDMI1
|
||||||
|
gamma 1.0:1.0:0.909
|
||||||
|
mode 1366x768
|
||||||
|
pos 2x0
|
||||||
|
rate 60.00
|
2
files/display/.autorandr/duplicate-office/setup
Normal file
2
files/display/.autorandr/duplicate-office/setup
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
HDMI1 00ffffffffffff000d0430000100000001170103808b4e782a501fa359499724bb4f53210800818081c08100d1c0617c81fc01010101023a801871382d40582c450072105300001e662150b051001b304070360072105300001e000000fc00434855440a2020202020202020000000fd00174c0f501e000a202020202020019202032ef25101020304050790121314169f202206111523091707830100006f030c002000b83c20006201020300001622569e510031303e90a500721053000018023a80d072382d40102c458072105300001e023a801871382d405828450072105300001e0e1f008051001e305080370072105300001c000000000000000000e5
|
||||||
|
eDP1 00ffffffffffff000610f09c0000000011160104951d127802ef05975754922722505400000001010101010101010101010101010101b922a0a050841a30302036001eb300000018000000100000000000000000000000000000000000fe004c534e31333342543031413032000000fc00436f6c6f72204c43440a2020200009
|
17
files/display/.autorandr/home/config
Normal file
17
files/display/.autorandr/home/config
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
output HDMI1
|
||||||
|
off
|
||||||
|
output VIRTUAL1
|
||||||
|
off
|
||||||
|
output DP2
|
||||||
|
crtc 1
|
||||||
|
gamma 1.0:1.0:0.909
|
||||||
|
mode 1920x1080
|
||||||
|
pos 0x0
|
||||||
|
rate 60.00
|
||||||
|
output DP1
|
||||||
|
crtc 0
|
||||||
|
gamma 1.0:1.0:0.909
|
||||||
|
mode 2560x1080
|
||||||
|
pos 1920x0
|
||||||
|
primary
|
||||||
|
rate 60.00
|
2
files/display/.autorandr/home/setup
Normal file
2
files/display/.autorandr/home/setup
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DP1 00ffffffffffff001e6df1594a940700081c010380431c78eaca95a6554ea1260f5054a54b80714f818081c0a9c0b3000101010101017e4800e0a0381f4040403a00a11c21000018023a801871382d40582c4500a11c2100001e000000fc004c4720554c545241574944450a000000fd00384b1e5a18000a20202020202001ac02031cf1499004031412051f0113230907078301000065030c001000023a801871382d40582c450056512100001e011d8018711c1620582c250056512100009e011d007251d01e206e28550056512100001e8c0ad08a20e02d10103e9600565121000018000000ff003830384e545954454c3731340a00000000000000000077
|
||||||
|
DP2 00ffffffffffff004c2d2c0d42335030201c010380341d782a5295a556549d250e5054bb8c00b30081c0810081809500a9c001010101023a801871382d40582c450009252100001e000000fd0032481e5111000a202020202020000000fc00433234463339300a2020202020000000ff004854514b3830313635300a2020017b02031af14690041f131313230904078301000066030c00100080011d00bc52d01e20b828554009252100001e011d007251d01e206e285500092521000018011d007251d01e206e285500092521000018000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060
|
19
files/display/.autorandr/mac-home/config
Normal file
19
files/display/.autorandr/mac-home/config
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
output DP2
|
||||||
|
off
|
||||||
|
output HDMI1
|
||||||
|
off
|
||||||
|
output HDMI2
|
||||||
|
off
|
||||||
|
output VIRTUAL1
|
||||||
|
off
|
||||||
|
output DP1
|
||||||
|
gamma 1.0:0.769:0.625
|
||||||
|
mode 1920x1080
|
||||||
|
pos 0x0
|
||||||
|
rate 60.00
|
||||||
|
output eDP1
|
||||||
|
gamma 1.0:0.769:0.625
|
||||||
|
mode 1440x900
|
||||||
|
pos 1920x180
|
||||||
|
primary
|
||||||
|
rate 60.00
|
2
files/display/.autorandr/mac-home/setup
Normal file
2
files/display/.autorandr/mac-home/setup
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DP1 00ffffffffffff004c2d2d0d42335030201c01030e341d782a5295a556549d250e5054bb8c00b30081c0810081809500a9c001010101023a801871382d40582c450009252100001e000000fd0038481e5111000a202020202020000000fc00433234463339300a2020202020000000ff004854514b3830313635300a202000e7
|
||||||
|
eDP1 00ffffffffffff000610f09c0000000011160104951d127802ef05975754922722505400000001010101010101010101010101010101b922a0a050841a30302036001eb300000018000000100000000000000000000000000000000000fe004c534e31333342543031413032000000fc00436f6c6f72204c43440a2020200009
|
16
files/display/.autorandr/mac-single/config
Normal file
16
files/display/.autorandr/mac-single/config
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
output DP1
|
||||||
|
off
|
||||||
|
output DP2
|
||||||
|
off
|
||||||
|
output HDMI1
|
||||||
|
off
|
||||||
|
output HDMI2
|
||||||
|
off
|
||||||
|
output VIRTUAL1
|
||||||
|
off
|
||||||
|
output eDP1
|
||||||
|
gamma 1.0:1.0:0.909
|
||||||
|
mode 1440x900
|
||||||
|
pos 0x0
|
||||||
|
primary
|
||||||
|
rate 60.00
|
1
files/display/.autorandr/mac-single/setup
Normal file
1
files/display/.autorandr/mac-single/setup
Normal file
@ -0,0 +1 @@
|
|||||||
|
eDP1 00ffffffffffff000610f09c0000000011160104951d127802ef05975754922722505400000001010101010101010101010101010101b922a0a050841a30302036001eb300000018000000100000000000000000000000000000000000fe004c534e31333342543031413032000000fc00436f6c6f72204c43440a2020200009
|
15
files/display/.autorandr/nuc/config
Normal file
15
files/display/.autorandr/nuc/config
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
output HDMI1
|
||||||
|
off
|
||||||
|
output VIRTUAL1
|
||||||
|
off
|
||||||
|
output DP2
|
||||||
|
gamma 1.0:1.0:0.909
|
||||||
|
mode 1920x1080
|
||||||
|
pos 0x0
|
||||||
|
rate 60.00
|
||||||
|
output DP1
|
||||||
|
gamma 1.0:1.0:0.909
|
||||||
|
mode 2560x1080
|
||||||
|
pos 1920x0
|
||||||
|
primary
|
||||||
|
rate 60.00
|
2
files/display/.autorandr/nuc/setup
Normal file
2
files/display/.autorandr/nuc/setup
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DP1 00ffffffffffff001e6df1594a940700081c010380431c78eaca95a6554ea1260f5054a54b80714f818081c0a9c0b3000101010101017e4800e0a0381f4040403a00a11c21000018023a801871382d40582c4500a11c2100001e000000fc004c4720554c545241574944450a000000fd00384b1e5a18000a20202020202001ac02031cf1499004031412051f0113230907078301000065030c002000023a801871382d40582c450056512100001e011d8018711c1620582c250056512100009e011d007251d01e206e28550056512100001e8c0ad08a20e02d10103e9600565121000018000000ff003830384e545954454c3731340a00000000000000000067
|
||||||
|
DP2 00ffffffffffff004c2d2d0d42335030201c010380341d782a5295a556549d250e5054bb8c00b30081c0810081809500a9c001010101023a801871382d40582c450009252100001e000000fd0038481e5111000a202020202020000000fc00433234463339300a2020202020000000ff004854514b3830313635300a2020017402031101411067030c001000003ce2000f023a801871382d40582c45006d552100001e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000031
|
4
files/display/.autorandr/postswitch
Executable file
4
files/display/.autorandr/postswitch
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
sleep 2
|
||||||
|
nitrogen --restore
|
15
files/display/.autorandr/work/config
Normal file
15
files/display/.autorandr/work/config
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
output DP1
|
||||||
|
off
|
||||||
|
output VIRTUAL1
|
||||||
|
off
|
||||||
|
output DP2
|
||||||
|
gamma 1.0:1.0:0.909
|
||||||
|
mode 1920x1200
|
||||||
|
pos 1920x0
|
||||||
|
rate 59.95
|
||||||
|
output eDP1
|
||||||
|
gamma 1.0:1.0:0.909
|
||||||
|
mode 1920x1080
|
||||||
|
pos 0x120
|
||||||
|
primary
|
||||||
|
rate 60.00
|
2
files/display/.autorandr/work/setup
Normal file
2
files/display/.autorandr/work/setup
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DP2 00ffffffffffff0010acbaa055354b31091c010380342078220495a9554d9d26105054a54b00714f8180a940d1c0d100010101010101283c80a070b023403020360006442100001e000000ff004635474a32383252314b35550a000000fc0044454c4c2055323431350a2020000000fd00313d1e5311000a2020202020200177020322c14f9005040302071601141f12132021222309070765030c00100083010000023a801871382d40582c450006442100001e011d8018711c1620582c250006442100009e011d007251d01e206e28550006442100001e8c0ad08a20e02d10103e9600064421000018000000000000000000000000000000000000000000b2
|
||||||
|
eDP1 00ffffffffffff004d10841400000000281b0104a51d11780ede50a3544c99260f505400000001010101010101010101010101010101ac3780a070383e403020350026a510000018892c80a070383e403020350026a510000018000000fe005754315233814c513133334d31000000000002410328001200000b010a20200001
|
@ -1,19 +0,0 @@
|
|||||||
[:0.0]
|
|
||||||
file=/home/nemo/projects/personal/avatars/wallpaper/1920x1080.jpg
|
|
||||||
mode=4
|
|
||||||
bgcolor=#000000
|
|
||||||
|
|
||||||
[xin_0]
|
|
||||||
file=/home/nemo/projects/personal/avatars/wallpaper/1920x1080.jpg
|
|
||||||
mode=4
|
|
||||||
bgcolor=#000000
|
|
||||||
|
|
||||||
[xin_1]
|
|
||||||
file=/home/nemo/Pictures/korra-1920x1080.jpg
|
|
||||||
mode=4
|
|
||||||
bgcolor=#000000
|
|
||||||
|
|
||||||
[xin_2]
|
|
||||||
file=/home/nemo/Pictures/659972.jpg
|
|
||||||
mode=4
|
|
||||||
bgcolor=#000000
|
|
@ -1,10 +0,0 @@
|
|||||||
[geometry]
|
|
||||||
posx=3850
|
|
||||||
posy=535
|
|
||||||
sizex=1900
|
|
||||||
sizey=515
|
|
||||||
|
|
||||||
[nitrogen]
|
|
||||||
view=icon
|
|
||||||
icon_caps=false
|
|
||||||
dirs=/home/nemo/projects/personal/avatars/wallpaper;/home/nemo/Pictures;
|
|
2
files/display/.screenlayout/duplicate_mac.sh
Executable file
2
files/display/.screenlayout/duplicate_mac.sh
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
xrandr --output VIRTUAL1 --off --output eDP1 --primary --mode 1280x800 --pos 0x0 --rotate normal --output DP1 --off --output HDMI2 --off --output HDMI1 --mode 1280x800 --pos 0x0 --rotate normal --output DP2 --off
|
7
files/display/.screenlayout/home.sh
Executable file
7
files/display/.screenlayout/home.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
xrandr \
|
||||||
|
--output HDMI2 --mode 2560x1080 --pos 1920x0 --rotate normal \
|
||||||
|
--output HDMI1 --off \
|
||||||
|
--output DP1 --mode 1920x1080 --pos 0x0 --rotate normal \
|
||||||
|
--output eDP1 --off \
|
||||||
|
--output VIRTUAL1 --off
|
2
files/display/.screenlayout/lr.sh
Executable file
2
files/display/.screenlayout/lr.sh
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
xrandr --output HDMI2 --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI1 --off --output DP1 --mode 1600x900 --pos 1920x0 --rotate normal --output eDP1 --off --output VIRTUAL1 --off
|
2
files/display/.screenlayout/mac_office.sh
Executable file
2
files/display/.screenlayout/mac_office.sh
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
xrandr --output VIRTUAL1 --off --output eDP1 --primary --mode 1440x900 --pos 1920x0 --rotate normal --output DP1 --off --output HDMI2 --off --output HDMI1 --off --output DP1 --mode 1920x1080 --pos 0x0
|
@ -1,2 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
xrandr --output VIRTUAL1 --off --output eDP1 --primary --mode 1920x1080 --pos 1920x0 --rotate normal --output HDMI2 --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI1 --off --output VGA1 --off --output DP1 --mode 1600x900 --rotate normal --pos 3840x0
|
MONITOR=${1:-DP1}
|
||||||
|
xrandr --output eDP1 --primary --mode 1440x900 --pos 0x300 --rotate normal \
|
||||||
|
--output $MONITOR --mode 1920x1200 --pos 1440x0 --rotate normal
|
2
files/display/.screenlayout/office_left_only.sh
Executable file
2
files/display/.screenlayout/office_left_only.sh
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
xrandr --output HDMI2 --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI1 --off --output DP1 --off --output eDP1 --primary --mode 1920x1080 --pos 1920x0 --rotate normal --output VIRTUAL1 --off
|
2
files/display/.screenlayout/projector_office.sh
Executable file
2
files/display/.screenlayout/projector_office.sh
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
xrandr --output VIRTUAL1 --off --output eDP1 --primary --mode 1368x768 --pos 0x0 --rotate normal --output DP1 --off --output HDMI2 --off --output HDMI1 --mode 1366x768 --pos 0x0 --rotate normal --output DP2 --off
|
2
files/display/.screenlayout/recroom.sh
Executable file
2
files/display/.screenlayout/recroom.sh
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
xrandr --output VIRTUAL1 --off --output eDP1 --primary --mode 1368x768 --pos 0x0 --rotate normal --output DP1 --off --output HDMI2 --off --output HDMI1 --mode 1360x768 --pos 0x0 --rotate normal --output DP2 --off
|
@ -1,2 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
xrandr --output VIRTUAL1 --off --output eDP1 --mode 1920x1080 --pos 968x0 --rotate normal --output DP1 --off --output HDMI2 --off --output HDMI1 --off --output VGA1 --off
|
xrandr --output VIRTUAL1 --off --output eDP1 --primary --mode 1440x900 --pos 0x0 --rotate normal --output DP1 --off --output DP1-1 --off --output HDMI2 --off --output HDMI1 --off --output DP1-8 --off --output DP2 --off
|
||||||
|
2
files/display/.screenlayout/single_mac.sh
Executable file
2
files/display/.screenlayout/single_mac.sh
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
xrandr --output eDP1 --mode 1440x900 --rotate normal --output DP1-1 --off --output DP1 --off --output DP1-8 off --output HDMI2 --off
|
@ -1,4 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
xrandr --newmode "1600x900_60.00" 118.25 1600 1696 1856 2112 900 903 908 934 -hsync +vsync
|
xrandr --output VIRTUAL1 --off --output eDP1 --primary --mode 1440x900 --pos 0x300 --rotate normal --output DP1 --mode 1920x1200 --pos 1440x0 --rotate normal --output HDMI2 --off --output HDMI1 --off --output DP2 --off
|
||||||
xrandr --addmode DP1 1600x900_60.00
|
|
||||||
xrandr --output VIRTUAL1 --off --output eDP1 --mode 1920x1080 --pos 1600x360 --rotate normal --output DP1 --mode 1600x900_60.00 --pos 0x0 --rotate normal --output HDMI2 --off --output HDMI1 --off --output VGA1 --off
|
|
||||||
|
@ -2,25 +2,25 @@
|
|||||||
#timestamping = on
|
#timestamping = on
|
||||||
|
|
||||||
# Do not go up in the directory structure when downloading recursively
|
# Do not go up in the directory structure when downloading recursively
|
||||||
no_parent = on
|
# no_parent = on
|
||||||
|
|
||||||
# Wait 60 seconds before timing out. This applies to all timeouts: DNS, connect and read. (The default read timeout is 15 minutes!)
|
# Wait 60 seconds before timing out. This applies to all timeouts: DNS, connect and read. (The default read timeout is 15 minutes!)
|
||||||
timeout = 60
|
timeout = 3
|
||||||
|
|
||||||
# Retry a few times when a download fails, but don’t overdo it. (The default is 20!)
|
# Retry a few times when a download fails, but don’t overdo it. (The default is 20!)
|
||||||
tries = 3
|
tries = 1
|
||||||
|
|
||||||
# Retry even when the connection was refused
|
# Retry even when the connection was refused
|
||||||
retry_connrefused = on
|
retry_connrefused = off
|
||||||
|
|
||||||
# Use the last component of a redirection URL for the local file name
|
# Use the last component of a redirection URL for the local file name
|
||||||
trust_server_names = on
|
trust_server_names = on
|
||||||
|
|
||||||
# Follow FTP links from HTML documents by default
|
# Follow FTP links from HTML documents by default
|
||||||
follow_ftp = on
|
# follow_ftp = on
|
||||||
|
|
||||||
# Add a `.html` extension to `text/html` or `application/xhtml+xml` files that lack one, or a `.css` extension to `text/css` files that lack one
|
# Add a `.html` extension to `text/html` or `application/xhtml+xml` files that lack one, or a `.css` extension to `text/css` files that lack one
|
||||||
adjust_extension = on
|
#adjust_extension = on
|
||||||
|
|
||||||
# Use UTF-8 as the default system encoding
|
# Use UTF-8 as the default system encoding
|
||||||
# Disabled as it makes `wget` builds that don’t support this feature unusable.
|
# Disabled as it makes `wget` builds that don’t support this feature unusable.
|
||||||
@ -32,7 +32,7 @@ adjust_extension = on
|
|||||||
robots = off
|
robots = off
|
||||||
|
|
||||||
# Print the HTTP and FTP server responses
|
# Print the HTTP and FTP server responses
|
||||||
#server_response = off
|
server_response = off
|
||||||
|
|
||||||
# Disguise as IE 9 on Windows 7
|
user_agent = Mozilla/Gecko/Firefox/58.0
|
||||||
user_agent = Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)
|
content_disposition = on
|
4
files/fonts/.config/fontconfig/conf.d/00-monospace.conf
Normal file
4
files/fonts/.config/fontconfig/conf.d/00-monospace.conf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<alias>
|
||||||
|
<family>monospace</family>
|
||||||
|
<prefer><family>Input Mono</family></prefer>
|
||||||
|
</alias>
|
29
files/fonts/.config/fontconfig/conf.d/01-emoji.conf
Normal file
29
files/fonts/.config/fontconfig/conf.d/01-emoji.conf
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<!-- Use Google Emojis -->
|
||||||
|
<match target="pattern">
|
||||||
|
<test qual="any" name="family"><string>Segoe UI Emoji</string></test>
|
||||||
|
<edit name="family" mode="assign" binding="same"><string>Noto Color Emoji</string></edit>
|
||||||
|
</match>
|
||||||
|
|
||||||
|
<alias binding="weak">
|
||||||
|
<family>sans-serif</family>
|
||||||
|
<prefer>
|
||||||
|
<family>emoji</family>
|
||||||
|
</prefer>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<alias binding="weak">
|
||||||
|
<family>serif</family>
|
||||||
|
<prefer>
|
||||||
|
<family>emoji</family>
|
||||||
|
</prefer>
|
||||||
|
</alias>
|
||||||
|
<alias binding="weak">
|
||||||
|
<family>monospace</family>
|
||||||
|
<prefer>
|
||||||
|
<family>emoji</family>
|
||||||
|
</prefer>
|
||||||
|
</alias>
|
||||||
|
</fontconfig>
|
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<!-- Generated by Font Manager. Do NOT edit this file. -->
|
||||||
|
<fontconfig>
|
||||||
|
<dir>/home/nemo/.fonts</dir>
|
||||||
|
</fontconfig>
|
@ -10,6 +10,18 @@
|
|||||||
<family>Droid Sans Mono</family>
|
<family>Droid Sans Mono</family>
|
||||||
<prefer><family>PowerlineSymbols</family></prefer>
|
<prefer><family>PowerlineSymbols</family></prefer>
|
||||||
</alias>
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Droid Sans Mono Slashed</family>
|
||||||
|
<prefer><family>PowerlineSymbols</family></prefer>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Droid Sans Mono Dotted</family>
|
||||||
|
<prefer><family>PowerlineSymbols</family></prefer>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>DejaVu Sans Mono</family>
|
||||||
|
<prefer><family>PowerlineSymbols</family></prefer>
|
||||||
|
</alias>
|
||||||
<alias>
|
<alias>
|
||||||
<family>DejaVu Sans Mono</family>
|
<family>DejaVu Sans Mono</family>
|
||||||
<prefer><family>PowerlineSymbols</family></prefer>
|
<prefer><family>PowerlineSymbols</family></prefer>
|
||||||
@ -66,4 +78,28 @@
|
|||||||
<family>Ubuntu Mono</family>
|
<family>Ubuntu Mono</family>
|
||||||
<prefer><family>PowerlineSymbols</family></prefer>
|
<prefer><family>PowerlineSymbols</family></prefer>
|
||||||
</alias>
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Meslo LG L</family>
|
||||||
|
<prefer><family>PowerlineSymbols</family></prefer>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Meslo LG L DZ</family>
|
||||||
|
<prefer><family>PowerlineSymbols</family></prefer>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Meslo LG M</family>
|
||||||
|
<prefer><family>PowerlineSymbols</family></prefer>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Meslo LG M DZ</family>
|
||||||
|
<prefer><family>PowerlineSymbols</family></prefer>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Meslo LG S</family>
|
||||||
|
<prefer><family>PowerlineSymbols</family></prefer>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Meslo LG S DZ</family>
|
||||||
|
<prefer><family>PowerlineSymbols</family></prefer>
|
||||||
|
</alias>
|
||||||
</fontconfig>
|
</fontconfig>
|
||||||
|
@ -0,0 +1,22 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<!-- Generated by Font Manager. Do NOT edit this file. -->
|
||||||
|
<fontconfig>
|
||||||
|
<match target="font">
|
||||||
|
<edit name="hintstyle" mode="assign" binding="same">
|
||||||
|
<int>1</int>
|
||||||
|
</edit>
|
||||||
|
<edit name="antialias" mode="assign" binding="same">
|
||||||
|
<bool>true</bool>
|
||||||
|
</edit>
|
||||||
|
<edit name="hinting" mode="assign" binding="same">
|
||||||
|
<bool>true</bool>
|
||||||
|
</edit>
|
||||||
|
<edit name="autohint" mode="assign" binding="same">
|
||||||
|
<bool>true</bool>
|
||||||
|
</edit>
|
||||||
|
<edit name="embeddedbitmap" mode="assign" binding="same">
|
||||||
|
<bool>false</bool>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
</fontconfig>
|
@ -0,0 +1,19 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<!-- Generated by Font Manager. Do NOT edit this file. -->
|
||||||
|
<fontconfig>
|
||||||
|
<match target="font">
|
||||||
|
<edit name="rgba" mode="assign" binding="same">
|
||||||
|
<int>1</int>
|
||||||
|
</edit>
|
||||||
|
<edit name="lcdfilter" mode="assign" binding="same">
|
||||||
|
<int>1</int>
|
||||||
|
</edit>
|
||||||
|
<edit name="scale" mode="assign" binding="same">
|
||||||
|
<double>1.0</double>
|
||||||
|
</edit>
|
||||||
|
<edit name="dpi" mode="assign" binding="same">
|
||||||
|
<double>120.0</double>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
</fontconfig>
|
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<match target="font">
|
||||||
|
<edit name="embeddedbitmap" mode="assign">
|
||||||
|
<bool>false</bool>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
</fontconfig>
|
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<selectfont>
|
||||||
|
<acceptfont>
|
||||||
|
<pattern>
|
||||||
|
<patelt name="family"><string>terminess powerline</string></patelt>
|
||||||
|
</pattern>
|
||||||
|
</acceptfont>
|
||||||
|
</selectfont>
|
||||||
|
</fontconfig>
|
12
files/fonts/.config/fontconfig/conf.d/55-emoji-prepend.conf
Normal file
12
files/fonts/.config/fontconfig/conf.d/55-emoji-prepend.conf
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<match>
|
||||||
|
<test name="prgname">
|
||||||
|
<string>firefox</string>
|
||||||
|
</test>
|
||||||
|
<edit name="family" mode="prepend" binding="weak">
|
||||||
|
<string>Noto Color Emoji</string>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
</fontconfig>
|
29
files/fonts/.config/fontconfig/conf.d/70-unuglify-fonts.conf
Normal file
29
files/fonts/.config/fontconfig/conf.d/70-unuglify-fonts.conf
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<match target="font" >
|
||||||
|
<edit mode="assign" name="rgba" >
|
||||||
|
<const>rgb</const>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
<match target="font" >
|
||||||
|
<edit mode="assign" name="hinting" >
|
||||||
|
<bool>true</bool>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
<match target="font" >
|
||||||
|
<edit mode="assign" name="hintstyle" >
|
||||||
|
<const>hintslight</const>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
<match target="font" >
|
||||||
|
<edit mode="assign" name="antialias" >
|
||||||
|
<bool>true</bool>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
<match target="font">
|
||||||
|
<edit mode="assign" name="lcdfilter">
|
||||||
|
<const>lcddefault</const>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
</fontconfig>
|
8
files/fonts/.config/fontconfig/conf.d/78-Reject.conf
Normal file
8
files/fonts/.config/fontconfig/conf.d/78-Reject.conf
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<!-- Generated by Font Manager. Do NOT edit this file. -->
|
||||||
|
<fontconfig>
|
||||||
|
<selectfont>
|
||||||
|
<rejectfont/>
|
||||||
|
</selectfont>
|
||||||
|
</fontconfig>
|
10
files/fonts/.config/fontconfig/conf.d/99-input-mono.conf
Normal file
10
files/fonts/.config/fontconfig/conf.d/99-input-mono.conf
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
|
||||||
|
<!-- aliases -->
|
||||||
|
<alias>
|
||||||
|
<family>monospace</family>
|
||||||
|
<prefer><family>Input Mono</family></prefer>
|
||||||
|
</alias>
|
||||||
|
</fontconfig>
|
12
files/games/.local/share/DoorKickers/options.xml
Normal file
12
files/games/.local/share/DoorKickers/options.xml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<Options game="DoorKickers" build="1.1.5" version="4">
|
||||||
|
<!--RECOMMENDED resolutions (16:9 format): 2560x1440, 2048x1152, 1920x1080, 1600x900, 1366x768, 1280x720-->
|
||||||
|
<!--More or less recommended resolutions (16:10 format): 2560x1600, 1920x1200, 1680x1050, 1440x900, 1280x800-->
|
||||||
|
<!--Note: The game will work in ANY resolution you set, but it won't look as intended.-->
|
||||||
|
<!--mode=0 is windowed, mode=1 is fullscreen windowed, mode=2 is fulscreen-->
|
||||||
|
<Video width="1920" height="1080" mode="2" stretchToFit="1" maxFPS="60" vsync="false" monitor="3" gore="2" skipLogo="true"/>
|
||||||
|
<Sound masterVolume="1" musicVolume="1" gameVolume="1" ambientalVolume="1" dynamicReverb="1"/>
|
||||||
|
<Game scrollSpeed="0.1" allowZoomPan="1" previewLOS="1" showSoundsRange="1" showLoadingScreens="1" coloredPaths="1" keepPrevPlan="0" invertHUD="0"/>
|
||||||
|
<DevMode value="false" useRandomMapPool="false" fullDebugOutput="false"/>
|
||||||
|
<KHGCloud uniqueId=""/>
|
||||||
|
<Language value="English"/>
|
||||||
|
</Options>
|
64
files/git/.config/git/gitk
Normal file
64
files/git/.config/git/gitk
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
set mainfont {sans 9}
|
||||||
|
set textfont {monospace 9}
|
||||||
|
set uifont {sans 9 bold}
|
||||||
|
set tabstop 8
|
||||||
|
set findmergefiles 0
|
||||||
|
set maxgraphpct 50
|
||||||
|
set maxwidth 16
|
||||||
|
set cmitmode tree
|
||||||
|
set wrapcomment none
|
||||||
|
set autoselect 1
|
||||||
|
set autosellen 40
|
||||||
|
set showneartags 1
|
||||||
|
set maxrefs 20
|
||||||
|
set visiblerefs {"master"}
|
||||||
|
set hideremotes 0
|
||||||
|
set showlocalchanges 1
|
||||||
|
set datetimeformat {%Y-%m-%d %H:%M:%S}
|
||||||
|
set limitdiffs 1
|
||||||
|
set uicolor grey85
|
||||||
|
set want_ttk 1
|
||||||
|
set bgcolor white
|
||||||
|
set fgcolor black
|
||||||
|
set uifgcolor black
|
||||||
|
set uifgdisabledcolor #999
|
||||||
|
set colors {"#00ff00" red blue magenta darkgrey brown orange}
|
||||||
|
set diffcolors {"#c30000" "#009800" blue}
|
||||||
|
set mergecolors {red blue "#00ff00" purple brown "#009090" magenta "#808000" "#009000" "#ff0080" cyan "#b07070" "#70b0f0" "#70f0b0" "#f0b070" "#ff70b0"}
|
||||||
|
set markbgcolor #e0e0ff
|
||||||
|
set diffcontext 3
|
||||||
|
set selectbgcolor gray85
|
||||||
|
set foundbgcolor yellow
|
||||||
|
set currentsearchhitbgcolor orange
|
||||||
|
set extdifftool meld
|
||||||
|
set perfile_attrs 0
|
||||||
|
set headbgcolor #00ff00
|
||||||
|
set headfgcolor black
|
||||||
|
set headoutlinecolor black
|
||||||
|
set remotebgcolor #ffddaa
|
||||||
|
set tagbgcolor yellow
|
||||||
|
set tagfgcolor black
|
||||||
|
set tagoutlinecolor black
|
||||||
|
set reflinecolor black
|
||||||
|
set filesepbgcolor #aaaaaa
|
||||||
|
set filesepfgcolor black
|
||||||
|
set linehoverbgcolor #ffff80
|
||||||
|
set linehoverfgcolor black
|
||||||
|
set linehoveroutlinecolor black
|
||||||
|
set mainheadcirclecolor yellow
|
||||||
|
set workingfilescirclecolor red
|
||||||
|
set indexcirclecolor #00ff00
|
||||||
|
set circlecolors {white blue gray blue blue}
|
||||||
|
set linkfgcolor blue
|
||||||
|
set circleoutlinecolor black
|
||||||
|
set diffbgcolors {"#fff3f3" "#f0fff0"}
|
||||||
|
set web_browser xdg-open
|
||||||
|
set geometry(main) 1303x960+583+34
|
||||||
|
set geometry(state) normal
|
||||||
|
set geometry(topwidth) 1303
|
||||||
|
set geometry(topheight) 164
|
||||||
|
set geometry(pwsash0) "531 1"
|
||||||
|
set geometry(pwsash1) "796 1"
|
||||||
|
set geometry(botwidth) 858
|
||||||
|
set geometry(botheight) 791
|
||||||
|
set permviews {}
|
10
files/git/.config/systemd/user/autosync-repos.service
Normal file
10
files/git/.config/systemd/user/autosync-repos.service
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Automatically does git push and pull on a number of repos
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
ExecStart=/home/nemo/projects/scripts/syncrepos
|
||||||
|
Nice=19
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=autosync-repos.target
|
9
files/git/.config/systemd/user/autosync-repos.timer
Normal file
9
files/git/.config/systemd/user/autosync-repos.timer
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Automatically does git push and pull on a number of repos
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnBootSec=1min
|
||||||
|
OnUnitActiveSec=15min
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
@ -18,7 +18,7 @@ export git_setup_aliases="yes"
|
|||||||
# Git Index Config
|
# Git Index Config
|
||||||
# ----------------------------------------------
|
# ----------------------------------------------
|
||||||
# Repos will be automatically added from this directory.
|
# Repos will be automatically added from this directory.
|
||||||
export GIT_REPO_DIR="$HOME/code"
|
export GIT_REPO_DIR="$HOME/projects"
|
||||||
# Add the full paths of any extra repos to GIT_REPOS, separated with ':'
|
# Add the full paths of any extra repos to GIT_REPOS, separated with ':'
|
||||||
# e.g. "/opt/rails/project:/opt/rails/another project:$HOME/other/repo"
|
# e.g. "/opt/rails/project:/opt/rails/another project:$HOME/other/repo"
|
||||||
export GIT_REPOS=""
|
export GIT_REPOS=""
|
||||||
@ -26,7 +26,6 @@ export git_status_command="git_status_shortcuts"
|
|||||||
# Alias
|
# Alias
|
||||||
git_index_alias="c" # Switch to a repo in the (c)ode directory
|
git_index_alias="c" # Switch to a repo in the (c)ode directory
|
||||||
|
|
||||||
|
|
||||||
# Git Aliases
|
# Git Aliases
|
||||||
# ----------------------------------------------
|
# ----------------------------------------------
|
||||||
git_alias="g"
|
git_alias="g"
|
||||||
@ -111,4 +110,4 @@ git_commit_all_with_ci_skip_keys="\C-xv" # CTRL+x, v (Appends [ci skip] to c
|
|||||||
# Expand numbered args for common shell commands
|
# Expand numbered args for common shell commands
|
||||||
shell_command_wrapping_enabled="true"
|
shell_command_wrapping_enabled="true"
|
||||||
# Here you can tweak the list of wrapped commands.
|
# Here you can tweak the list of wrapped commands.
|
||||||
scmb_wrapped_shell_commands="vim emacs gedit cat rm cp mv ln cd"
|
scmb_wrapped_shell_commands="vim emacs gedit cat rm cp mv ln cd bat glow"
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
[user]
|
[user]
|
||||||
name = Abhay Rana
|
name = Nemo
|
||||||
email = me@captnemo.in
|
email = me@captnemo.in
|
||||||
signingkey = B8963685
|
signingkey = 468F9102AB8BF8C959C2F9A4F94EA74A4EA9EB52
|
||||||
|
|
||||||
[github]
|
[github]
|
||||||
user = captn3m0
|
user = captn3m0
|
||||||
|
|
||||||
[alias]
|
[alias]
|
||||||
rod = rebase origin/development
|
rod = rebase origin/development
|
||||||
rom = rebase origin/master
|
rom = rebase origin/master
|
||||||
@ -17,28 +19,55 @@
|
|||||||
fo = fetch origin
|
fo = fetch origin
|
||||||
co = checkout
|
co = checkout
|
||||||
ci = commit
|
ci = commit
|
||||||
|
from = "! git fetch origin; git rebase origin/master"
|
||||||
|
frogh = "! git fetch origin; git rebase origin/gh-pages"
|
||||||
|
frum = "! git fetch upstream; git rebase upstream/master"
|
||||||
|
pushall = !git remote | xargs -L1 git push --all
|
||||||
|
|
||||||
[rerere]
|
[rerere]
|
||||||
enabled = true
|
enabled = true
|
||||||
|
|
||||||
[color]
|
[color]
|
||||||
branch = auto
|
branch = auto
|
||||||
diff = auto
|
diff = auto
|
||||||
status = auto
|
status = auto
|
||||||
ui = true
|
ui = true
|
||||||
|
|
||||||
[alias]
|
[alias]
|
||||||
l50 = "!git log --abbrev-commit --date=short --pretty=format:'%x00%h%x00%cd%x00%s%x00%an%x00%d' | gawk -F '\\0' '{ printf \"%s\\033[31m%s\\033[0m \\033[32m%s\\033[0m %-50s \\033[30;1m%s\\033[0m\\033[33m%s\\n\", $1, $2, $3, gensub(/(.{49}).{2,}/, \"\\\\1…\",\"g\",$4), $5, $6 }' | less -R"
|
l50 = "!git log --abbrev-commit --date=short --pretty=format:'%x00%h%x00%cd%x00%s%x00%an%x00%d' | gawk -F '\\0' '{ printf \"%s\\033[31m%s\\033[0m \\033[32m%s\\033[0m %-50s \\033[30;1m%s\\033[0m\\033[33m%s\\n\", $1, $2, $3, gensub(/(.{49}).{2,}/, \"\\\\1…\",\"g\",$4), $5, $6 }' | less -R"
|
||||||
l80 = "!git log --abbrev-commit --date=short --pretty=format:'%x00%h%x00%cd%x00%s%x00%an%x00%d' | gawk -F '\\0' '{ printf \"%s\\033[31m%s\\033[0m \\033[32m%s\\033[0m %-80s \\033[30;1m%s\\033[0m\\033[33m%s\\n\", $1, $2, $3, gensub(/(.{79}).{2,}/, \"\\\\1…\",\"g\",$4), $5, $6 }' | less -R"
|
l80 = "!git log --abbrev-commit --date=short --pretty=format:'%x00%h%x00%cd%x00%s%x00%an%x00%d' | gawk -F '\\0' '{ printf \"%s\\033[31m%s\\033[0m \\033[32m%s\\033[0m %-80s \\033[30;1m%s\\033[0m\\033[33m%s\\n\", $1, $2, $3, gensub(/(.{79}).{2,}/, \"\\\\1…\",\"g\",$4), $5, $6 }' | less -R"
|
||||||
lg50 = "!git log --graph --color=always --abbrev-commit --date=relative --pretty=format:'%x00%h%x00%s%x00%cd%x00%an%x00%d' | gawk -F '\\0' '{ printf \"%s\\033[31m%s\\033[0m %-50s \\033[32m%14s\\033[0m \\033[30;1m%s\\033[0m\\033[33m%s\\n\", $1, $2, gensub(/(.{49}).{2,}/, \"\\\\1…\",\"g\",$3), $4, $5, $6 }' | less -R"
|
lg50 = "!git log --graph --color=always --abbrev-commit --date=relative --pretty=format:'%x00%h%x00%s%x00%cd%x00%an%x00%d' | gawk -F '\\0' '{ printf \"%s\\033[31m%s\\033[0m %-50s \\033[32m%14s\\033[0m \\033[30;1m%s\\033[0m\\033[33m%s\\n\", $1, $2, gensub(/(.{49}).{2,}/, \"\\\\1…\",\"g\",$3), $4, $5, $6 }' | less -R"
|
||||||
lg80 = "!git log --graph --color=always --abbrev-commit --date=relative --pretty=format:'%x00%h%x00%s%x00%cd%x00%an%x00%d' | gawk -F '\\0' '{ printf \"%s\\033[31m%s\\033[0m %-80s \\033[32m%14s\\033[0m \\033[30;1m%s\\033[0m\\033[33m%s\\n\", $1, $2, gensub(/(.{79}).{2,}/, \"\\\\1…\",\"g\",$3), $4, $5, $6 }' | less -R"
|
lg80 = "!git log --graph --color=always --abbrev-commit --date=relative --pretty=format:'%x00%h%x00%s%x00%cd%x00%an%x00%d' | gawk -F '\\0' '{ printf \"%s\\033[31m%s\\033[0m %-80s \\033[32m%14s\\033[0m \\033[30;1m%s\\033[0m\\033[33m%s\\n\", $1, $2, gensub(/(.{79}).{2,}/, \"\\\\1…\",\"g\",$3), $4, $5, $6 }' | less -R"
|
||||||
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset %C(blue)(%an <%ae>)%Creset' --abbrev-commit --date=relative
|
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset %C(blue)(%an <%ae>)%Creset' --abbrev-commit --date=relative
|
||||||
|
hooks = !~/.githooks/bin/githooks
|
||||||
[help]
|
[help]
|
||||||
autocorrect = 10
|
autocorrect = 10
|
||||||
|
|
||||||
[push]
|
[push]
|
||||||
default = current
|
default = current
|
||||||
|
|
||||||
[color "diff-highlight"]
|
[color "diff-highlight"]
|
||||||
oldNormal = red bold
|
oldNormal = red bold
|
||||||
oldHighlight = red bold 52
|
oldHighlight = red bold 52
|
||||||
newNormal = green bold
|
newNormal = green bold
|
||||||
newHighlight = green bold 22
|
newHighlight = green bold 22
|
||||||
|
|
||||||
[core]
|
[core]
|
||||||
# https://github.com/so-fancy/diff-so-fancy
|
# https://github.com/so-fancy/diff-so-fancy
|
||||||
pager = diff-so-fancy | less --tabs=4 -RFX
|
pager = diff-so-fancy | less --tabs=4 -RFX
|
||||||
|
preloadindex = true
|
||||||
|
quotepath = false
|
||||||
|
|
||||||
|
[credential]
|
||||||
|
helper = /usr/bin/pass-git-helper
|
||||||
|
[color "diff"]
|
||||||
|
meta = yellow
|
||||||
|
frag = magenta bold
|
||||||
|
commit = yellow bold
|
||||||
|
old = red bold
|
||||||
|
new = green bold
|
||||||
|
whitespace = red reverse
|
||||||
|
[diff-so-fancy]
|
||||||
|
useUnicodeRuler = false
|
||||||
|
[init]
|
||||||
|
defaultBranch = main
|
||||||
|
@ -4,4 +4,16 @@
|
|||||||
email: nemo@razorpay.com
|
email: nemo@razorpay.com
|
||||||
~/projects/personal:
|
~/projects/personal:
|
||||||
name: Nemo
|
name: Nemo
|
||||||
email: me@captnemo.in
|
email: commits@captnemo.in
|
||||||
|
# AUR packages
|
||||||
|
~/projects/personal/aur:
|
||||||
|
name: Nemo
|
||||||
|
email: archlinux@captnemo.in
|
||||||
|
~/projects/personal/shauryaa:
|
||||||
|
name: Abhishek
|
||||||
|
email: mama@shauryaa.in
|
||||||
|
# This is a Google Project, so requires a
|
||||||
|
# email that I have in my Google Account
|
||||||
|
~/projects/personal/kapitan:
|
||||||
|
Name: Abhay Rana
|
||||||
|
email: google@captnemo.in
|
129
files/git/.scmbrc
Normal file
129
files/git/.scmbrc
Normal file
@ -0,0 +1,129 @@
|
|||||||
|
#
|
||||||
|
# Git File Shortcuts Config
|
||||||
|
# ----------------------------------------------
|
||||||
|
# - Set your preferred prefix for env variable file shortcuts.
|
||||||
|
# (I chose 'e' because it is easy to slide your finger to it from '$'.)
|
||||||
|
export git_env_char="e"
|
||||||
|
# - Max changed files before reverting to 'git status'. git_status_shortcuts() will be slower for lots of changed files.
|
||||||
|
export gs_max_changes="150"
|
||||||
|
# - When using the git_add_shorcuts() command, automatically invoke 'git rm' to remove deleted files?
|
||||||
|
export ga_auto_remove="yes"
|
||||||
|
|
||||||
|
# - Set the following option to 'no' if you want to use your existing git aliases
|
||||||
|
# instead of overwriting them.
|
||||||
|
# Note: Bash tab completion will not be automatically set up for your aliases if you disable this option.
|
||||||
|
export git_setup_aliases="yes"
|
||||||
|
|
||||||
|
|
||||||
|
# Git Index Config
|
||||||
|
# ----------------------------------------------
|
||||||
|
# Repos will be automatically added from this directory.
|
||||||
|
export GIT_REPO_DIR="$HOME/projects/personal"
|
||||||
|
# Add the full paths of any extra repos to GIT_REPOS, separated with ':'
|
||||||
|
# e.g. "/opt/rails/project:/opt/rails/another project:$HOME/other/repo"
|
||||||
|
export GIT_REPOS=""
|
||||||
|
export git_status_command="git_status_shortcuts"
|
||||||
|
# Alias
|
||||||
|
git_index_alias="c" # Switch to a repo in the (c)ode directory
|
||||||
|
|
||||||
|
|
||||||
|
# Git Aliases
|
||||||
|
# ----------------------------------------------
|
||||||
|
git_alias="g"
|
||||||
|
|
||||||
|
# 1. 'SCM Breeze' functions
|
||||||
|
git_status_shortcuts_alias="gs"
|
||||||
|
git_add_shortcuts_alias="ga"
|
||||||
|
exec_scmb_expand_args_alias="ge"
|
||||||
|
git_show_files_alias="gsf"
|
||||||
|
git_commit_all_alias="gca"
|
||||||
|
git_grep_shortcuts_alias="gtrep"
|
||||||
|
# 2. Commands that handle paths (with shortcut args expanded)
|
||||||
|
git_checkout_alias="gco"
|
||||||
|
git_checkout_branch_alias="gcb"
|
||||||
|
git_commit_alias="gc"
|
||||||
|
git_commit_verbose_alias="gcv"
|
||||||
|
git_reset_alias="grs"
|
||||||
|
git_reset_hard_alias="grsh"
|
||||||
|
git_rm_alias="grm"
|
||||||
|
git_blame_alias="gbl"
|
||||||
|
git_diff_alias="gd"
|
||||||
|
git_diff_no_whitespace_alias="gdnw"
|
||||||
|
git_diff_file_alias="gdf"
|
||||||
|
git_diff_word_alias="gdw"
|
||||||
|
git_diff_cached_alias="gdc"
|
||||||
|
git_difftool_alias="gdt"
|
||||||
|
git_mergetool_alias="gmt"
|
||||||
|
# 3. Standard commands
|
||||||
|
git_clone_alias="gcl"
|
||||||
|
git_fetch_alias="gf"
|
||||||
|
git_fetch_all_alias="gfa"
|
||||||
|
git_fetch_and_rebase_alias="gfr"
|
||||||
|
git_pull_alias="gpl"
|
||||||
|
git_pull_rebase_alias="gplr"
|
||||||
|
git_push_alias="gps"
|
||||||
|
git_push_force_alias="gpsf"
|
||||||
|
git_pull_then_push_alias="gpls"
|
||||||
|
git_status_original_alias="gst"
|
||||||
|
git_status_short_alias="gss"
|
||||||
|
git_clean_alias="gce"
|
||||||
|
git_clean_force_alias="gcef"
|
||||||
|
git_add_all_alias="gaa"
|
||||||
|
git_add_patch_alias="gap"
|
||||||
|
git_add_updated_alias="gau"
|
||||||
|
git_commit_amend_alias="gcm"
|
||||||
|
git_commit_amend_no_msg_alias="gcmh"
|
||||||
|
git_commit_no_msg_alias="gch"
|
||||||
|
git_remote_alias="gr"
|
||||||
|
git_branch_alias="gb"
|
||||||
|
git_branch_all_alias="gba"
|
||||||
|
git_branch_move_alias="gbm"
|
||||||
|
git_branch_delete_alias="gbd"
|
||||||
|
git_branch_delete_force_alias="gbD"
|
||||||
|
git_rebase_alias="grb"
|
||||||
|
git_rebase_interactive_alias="grbi"
|
||||||
|
git_rebase_alias_continue="grbc"
|
||||||
|
git_rebase_alias_abort="grba"
|
||||||
|
git_reset_last_commit="grsl"
|
||||||
|
git_merge_alias="gm"
|
||||||
|
git_merge_no_fast_forward_alias="gmnff"
|
||||||
|
git_merge_only_fast_forward_alias="gmff"
|
||||||
|
git_cherry_pick_alias="gcp"
|
||||||
|
git_log_alias="gl"
|
||||||
|
git_log_all_alias="gla"
|
||||||
|
git_log_stat_alias="glst"
|
||||||
|
git_log_graph_alias="glg"
|
||||||
|
git_show_alias="gsh"
|
||||||
|
git_show_summary="gsm" # (gss taken by git status short)
|
||||||
|
git_stash_alias="gash"
|
||||||
|
git_stash_apply_alias="gasha"
|
||||||
|
git_stash_pop_alias="gashp"
|
||||||
|
git_stash_list_alias="gashl"
|
||||||
|
git_tag_alias="gt"
|
||||||
|
git_submodule_update_alias="gsu"
|
||||||
|
git_submodule_update_rec_alias="gsur"
|
||||||
|
git_top_level_alias="gtop"
|
||||||
|
git_whatchanged_alias="gwc"
|
||||||
|
git_apply_alias="gapp"
|
||||||
|
# Hub aliases (https://github.com/github/hub)
|
||||||
|
git_pull_request_alias="gpr"
|
||||||
|
|
||||||
|
|
||||||
|
# Git Keyboard Shortcuts
|
||||||
|
# ----------------------------------------------
|
||||||
|
# Keyboard shortcuts are on by default. Set this to 'false' to disable them.
|
||||||
|
git_keyboard_shortcuts_enabled="true"
|
||||||
|
git_commit_all_keys="\C-x " # CTRL+x, SPACE
|
||||||
|
git_add_and_commit_keys="\C-xc" # CTRL+x, c
|
||||||
|
git_commit_all_with_ci_skip_keys="\C-xv" # CTRL+x, v (Appends [ci skip] to message)
|
||||||
|
git_add_and_amend_commit_keys="\C-xz" # CTRL+x, z
|
||||||
|
|
||||||
|
|
||||||
|
# Shell Command Wrapping
|
||||||
|
# ----------------------------------------------
|
||||||
|
# Expand numbered args for common shell commands
|
||||||
|
shell_command_wrapping_enabled="true"
|
||||||
|
# Here you can tweak the list of wrapped commands.
|
||||||
|
scmb_wrapped_shell_commands="vim emacs gedit cat rm cp mv ln cd"
|
||||||
|
# Add numbered shortcuts to output of ls -l, just like 'git status'
|
||||||
|
shell_ls_aliases_enabled="true"
|
@ -0,0 +1 @@
|
|||||||
|
/usr/lib/systemd/user/gpg-agent-browser.socket
|
@ -0,0 +1 @@
|
|||||||
|
/usr/lib/systemd/user/gpg-agent-extra.socket
|
@ -0,0 +1 @@
|
|||||||
|
/usr/lib/systemd/user/gpg-agent-ssh.socket
|
@ -0,0 +1 @@
|
|||||||
|
/usr/lib/systemd/user/gpg-agent.socket
|
1
files/gtk/.config/gtk-2.0/.gitignore
vendored
Normal file
1
files/gtk/.config/gtk-2.0/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
gtkfilechooser.ini
|
7
files/gtk/.config/gtk-3.0/gtk.css
Normal file
7
files/gtk/.config/gtk-3.0/gtk.css
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
/* Remove dotted lines from GTK+ 3 applications */
|
||||||
|
undershoot.top,
|
||||||
|
undershoot.right,
|
||||||
|
undershoot.bottom,
|
||||||
|
undershoot.left {
|
||||||
|
background-image: none;
|
||||||
|
}
|
0
files/gtk/.gtkrc-2.0.mine
Normal file
0
files/gtk/.gtkrc-2.0.mine
Normal file
@ -1,235 +1,87 @@
|
|||||||
#################################
|
# Shadow
|
||||||
#
|
shadow = false
|
||||||
# Backend
|
shadow-radius = 7;
|
||||||
#
|
shadow-offset-x = -7;
|
||||||
#################################
|
shadow-offset-y = -7;
|
||||||
|
log-level = "warn";
|
||||||
# Backend to use: "xrender" or "glx".
|
# log-file = "/path/to/your/log/file";
|
||||||
# GLX backend is typically much faster but depends on a sane driver.
|
# shadow-opacity = 0.7;
|
||||||
backend = "glx";
|
# shadow-red = 0.0;
|
||||||
|
# shadow-green = 0.0;
|
||||||
#################################
|
# shadow-blue = 0.0;
|
||||||
#
|
|
||||||
# GLX backend
|
|
||||||
#
|
|
||||||
#################################
|
|
||||||
|
|
||||||
glx-no-stencil = true;
|
|
||||||
|
|
||||||
# GLX backend: Copy unmodified regions from front buffer instead of redrawing them all.
|
|
||||||
# My tests with nvidia-drivers show a 10% decrease in performance when the whole screen is modified,
|
|
||||||
# but a 20% increase when only 1/4 is.
|
|
||||||
# My tests on nouveau show terrible slowdown.
|
|
||||||
# Useful with --glx-swap-method, as well.
|
|
||||||
glx-copy-from-front = false;
|
|
||||||
|
|
||||||
# GLX backend: Use MESA_copy_sub_buffer to do partial screen update.
|
|
||||||
# My tests on nouveau shows a 200% performance boost when only 1/4 of the screen is updated.
|
|
||||||
# May break VSync and is not available on some drivers.
|
|
||||||
# Overrides --glx-copy-from-front.
|
|
||||||
# glx-use-copysubbuffermesa = true;
|
|
||||||
|
|
||||||
# GLX backend: Avoid rebinding pixmap on window damage.
|
|
||||||
# Probably could improve performance on rapid window content changes, but is known to break things on some drivers (LLVMpipe).
|
|
||||||
# Recommended if it works.
|
|
||||||
# glx-no-rebind-pixmap = true;
|
|
||||||
|
|
||||||
|
|
||||||
# GLX backend: GLX buffer swap method we assume.
|
|
||||||
# Could be undefined (0), copy (1), exchange (2), 3-6, or buffer-age (-1).
|
|
||||||
# undefined is the slowest and the safest, and the default value.
|
|
||||||
# copy is fastest, but may fail on some drivers,
|
|
||||||
# 2-6 are gradually slower but safer (6 is still faster than 0).
|
|
||||||
# Usually, double buffer means 2, triple buffer means 3.
|
|
||||||
# buffer-age means auto-detect using GLX_EXT_buffer_age, supported by some drivers.
|
|
||||||
# Useless with --glx-use-copysubbuffermesa.
|
|
||||||
# Partially breaks --resize-damage.
|
|
||||||
# Defaults to undefined.
|
|
||||||
glx-swap-method = "undefined";
|
|
||||||
|
|
||||||
#################################
|
|
||||||
#
|
|
||||||
# Shadows
|
|
||||||
#
|
|
||||||
#################################
|
|
||||||
|
|
||||||
# Enabled client-side shadows on windows.
|
|
||||||
shadow = true;
|
|
||||||
# Don't draw shadows on DND windows.
|
|
||||||
no-dnd-shadow = true;
|
|
||||||
# Avoid drawing shadows on dock/panel windows.
|
|
||||||
no-dock-shadow = false;
|
|
||||||
# Zero the part of the shadow's mask behind the window. Fix some weirdness with ARGB windows.
|
|
||||||
clear-shadow = true;
|
|
||||||
# The blur radius for shadows. (default 12)
|
|
||||||
shadow-radius = 3;
|
|
||||||
# The left offset for shadows. (default -15)
|
|
||||||
shadow-offset-x = -5;
|
|
||||||
# The top offset for shadows. (default -15)
|
|
||||||
shadow-offset-y = -5;
|
|
||||||
# The translucency for shadows. (default .75)
|
|
||||||
shadow-opacity = 0.85;
|
|
||||||
|
|
||||||
# Set if you want different colour shadows
|
|
||||||
shadow-red = 0.03;
|
|
||||||
shadow-green = 0.03;
|
|
||||||
shadow-blue = 0.04;
|
|
||||||
|
|
||||||
# The shadow exclude options are helpful if you have shadows enabled. Due to the way compton draws its shadows, certain applications will have visual glitches
|
|
||||||
# (most applications are fine, only apps that do weird things with xshapes or argb are affected).
|
|
||||||
# This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher.
|
|
||||||
shadow-exclude = [
|
shadow-exclude = [
|
||||||
# "! name~=''",
|
"name = 'Notification'",
|
||||||
# "name = 'Notification'",
|
"class_g = 'Conky'",
|
||||||
# "name = 'Plank'",
|
"class_g ?= 'Notify-osd'",
|
||||||
# "name = 'Docky'",
|
"class_g = 'Cairo-clock'",
|
||||||
# "name = 'Kupfer'",
|
"class_g = 'Firefox Beta'",
|
||||||
# "name = 'xfce4-notifyd'",
|
"class_g = 'Firefox'",
|
||||||
# "name *= 'VLC'",
|
"_GTK_FRAME_EXTENTS@:c"
|
||||||
# "name *= 'compton'",
|
|
||||||
# "name *= 'Chromium'",
|
|
||||||
# "name *= 'Chrome'",
|
|
||||||
# "name *= 'Firefox'",
|
|
||||||
# "class_g = 'Conky'",
|
|
||||||
# "class_g = 'Kupfer'",
|
|
||||||
# "class_g = 'Synapse'",
|
|
||||||
# "class_g ?= 'Notify-osd'",
|
|
||||||
# "class_g ?= 'Cairo-dock'",
|
|
||||||
# "class_g ?= 'Xfce4-notifyd'",
|
|
||||||
# "class_g ?= 'Xfce4-power-manager'"
|
|
||||||
"name = 'poniesbox'"
|
|
||||||
];
|
];
|
||||||
# Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners)
|
# shadow-exclude = "n:e:Notification";
|
||||||
shadow-ignore-shaped = false;
|
# shadow-exclude-reg = "x10+0+0";
|
||||||
|
# xinerama-shadow-crop = true;
|
||||||
|
|
||||||
#################################
|
|
||||||
#
|
|
||||||
# Opacity
|
# Opacity
|
||||||
#
|
inactive-opacity = 0.5;
|
||||||
#################################
|
|
||||||
|
|
||||||
menu-opacity = 1;
|
|
||||||
inactive-opacity = 0.7;
|
|
||||||
active-opacity = 1.0;
|
active-opacity = 1.0;
|
||||||
frame-opacity = 0.7;
|
frame-opacity = 1.0;
|
||||||
inactive-opacity-override = false;
|
inactive-opacity-override = false;
|
||||||
alpha-step = 0.06;
|
# inactive-dim = 0.2;
|
||||||
|
# inactive-dim-fixed = true;
|
||||||
# Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred.
|
# blur-background = true;
|
||||||
#blur-kern = "7,7,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
|
# blur-background-frame = true;
|
||||||
#blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"
|
blur-kern = "3x3box";
|
||||||
##blur-kern = "3,3,1,1,1,1,1,1,1,1"
|
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
|
||||||
blur-background = true;
|
# blur-background-fixed = true;
|
||||||
# Blur background of opaque windows with transparent frames as well.
|
|
||||||
blur-background-frame = false;
|
|
||||||
# Do not let blur radius adjust based on window opacity.
|
|
||||||
blur-background-fixed = false;
|
|
||||||
blur-background-exclude = [
|
blur-background-exclude = [
|
||||||
"window_type = 'dock'",
|
"window_type = 'dock'",
|
||||||
"window_type = 'desktop'"
|
"window_type = 'desktop'",
|
||||||
|
"_GTK_FRAME_EXTENTS@:c"
|
||||||
];
|
];
|
||||||
|
# opacity-rule = [ "80:class_g = 'URxvt'" ];
|
||||||
|
|
||||||
#################################
|
|
||||||
#
|
|
||||||
# Fading
|
# Fading
|
||||||
#
|
fading = false;
|
||||||
#################################
|
fade-delta = 15;
|
||||||
|
fade-in-step = 0.05;
|
||||||
# Fade windows during opacity changes.
|
fade-out-step = 0.05;
|
||||||
fading = true;
|
|
||||||
# The time between steps in a fade in milliseconds. (default 10).
|
|
||||||
fade-delta = 4;
|
|
||||||
# Opacity change between steps while fading in. (default 0.028).
|
|
||||||
fade-in-step = 0.03;
|
|
||||||
# Opacity change between steps while fading out. (default 0.03).
|
|
||||||
fade-out-step = 0.03;
|
|
||||||
# Fade windows in/out when opening/closing
|
|
||||||
# no-fading-openclose = true;
|
# no-fading-openclose = true;
|
||||||
|
# no-fading-destroyed-argb = true;
|
||||||
|
fade-exclude = [ ];
|
||||||
|
|
||||||
# Specify a list of conditions of windows that should not be faded.
|
|
||||||
fade-exclude = [
|
|
||||||
"name = 'poniesbox'"
|
|
||||||
];
|
|
||||||
|
|
||||||
#################################
|
|
||||||
#
|
|
||||||
# Other
|
# Other
|
||||||
#
|
backend = "xr_glx_hybrid";
|
||||||
#################################
|
|
||||||
|
|
||||||
# Try to detect WM windows and mark them as active.
|
|
||||||
mark-wmwin-focused = true;
|
mark-wmwin-focused = true;
|
||||||
# Mark all non-WM but override-redirect windows active (e.g. menus).
|
|
||||||
mark-ovredir-focused = true;
|
mark-ovredir-focused = true;
|
||||||
# Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused instead of using FocusIn/Out events.
|
# use-ewmh-active-win = true;
|
||||||
# Usually more reliable but depends on a EWMH-compliant WM.
|
|
||||||
use-ewmh-active-win = true;
|
|
||||||
# Detect rounded corners and treat them as rectangular when --shadow-ignore-shaped is on.
|
|
||||||
detect-rounded-corners = true;
|
detect-rounded-corners = true;
|
||||||
|
|
||||||
# Detect _NET_WM_OPACITY on client windows, useful for window managers not passing _NET_WM_OPACITY of client windows to frame windows.
|
|
||||||
# This prevents opacity being ignored for some apps.
|
|
||||||
# For example without this enabled my xfce4-notifyd is 100% opacity no matter what.
|
|
||||||
detect-client-opacity = true;
|
detect-client-opacity = true;
|
||||||
|
refresh-rate = 0;
|
||||||
# Specify refresh rate of the screen.
|
vsync = true;
|
||||||
# If not specified or 0, compton will try detecting this with X RandR extension.
|
# sw-opti = true;
|
||||||
refresh-rate = 60;
|
# Fixes flicker
|
||||||
|
unredir-if-possible = false;
|
||||||
# Set VSync method. VSync methods currently available:
|
# unredir-if-possible-delay = 5000;
|
||||||
# none: No VSync
|
# unredir-if-possible-exclude = [ ];
|
||||||
# drm: VSync with DRM_IOCTL_WAIT_VBLANK. May only work on some drivers.
|
focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
||||||
# opengl: Try to VSync with SGI_video_sync OpenGL extension. Only work on some drivers.
|
|
||||||
# opengl-oml: Try to VSync with OML_sync_control OpenGL extension. Only work on some drivers.
|
|
||||||
# opengl-swc: Try to VSync with SGI_swap_control OpenGL extension. Only work on some drivers. Works only with GLX backend. Known to be most effective on many drivers. Does not actually control paint timing, only buffer swap is affected, so it doesn’t have the effect of --sw-opti unlike other methods. Experimental.
|
|
||||||
# opengl-mswc: Try to VSync with MESA_swap_control OpenGL extension. Basically the same as opengl-swc above, except the extension we use.
|
|
||||||
# (Note some VSync methods may not be enabled at compile time.)
|
|
||||||
vsync = "opengl-swc";
|
|
||||||
|
|
||||||
# Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing.
|
|
||||||
# Reported to have no effect, though.
|
|
||||||
dbe = false;
|
|
||||||
# Painting on X Composite overlay window. Recommended.
|
|
||||||
paint-on-overlay = true;
|
|
||||||
|
|
||||||
# Limit compton to repaint at most once every 1 / refresh_rate second to boost performance.
|
|
||||||
# This should not be used with --vsync drm/opengl/opengl-oml as they essentially does --sw-opti's job already,
|
|
||||||
# unless you wish to specify a lower refresh rate than the actual value.
|
|
||||||
sw-opti = false;
|
|
||||||
|
|
||||||
# Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows, like games.
|
|
||||||
# Known to cause flickering when redirecting/unredirecting windows.
|
|
||||||
# paint-on-overlay may make the flickering less obvious.
|
|
||||||
unredir-if-possible = true;
|
|
||||||
|
|
||||||
# Specify a list of conditions of windows that should always be considered focused.
|
|
||||||
focus-exclude = [ ];
|
|
||||||
|
|
||||||
# Use WM_TRANSIENT_FOR to group windows, and consider windows in the same group focused at the same time.
|
|
||||||
detect-transient = true;
|
detect-transient = true;
|
||||||
# Use WM_CLIENT_LEADER to group windows, and consider windows in the same group focused at the same time.
|
|
||||||
# WM_TRANSIENT_FOR has higher priority if --detect-transient is enabled, too.
|
|
||||||
detect-client-leader = true;
|
detect-client-leader = true;
|
||||||
|
invert-color-include = [ ];
|
||||||
|
# resize-damage = 1;
|
||||||
|
|
||||||
|
# GLX backend
|
||||||
|
# glx-no-stencil = true;
|
||||||
|
# glx-no-rebind-pixmap = true;
|
||||||
|
# xrender-sync-fence = true;
|
||||||
|
use-damage = true;
|
||||||
|
|
||||||
#################################
|
|
||||||
#
|
|
||||||
# Window type settings
|
# Window type settings
|
||||||
#
|
|
||||||
#################################
|
|
||||||
|
|
||||||
wintypes:
|
wintypes:
|
||||||
{
|
{
|
||||||
tooltip =
|
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
|
||||||
{
|
dock = { shadow = false; }
|
||||||
# fade: Fade the particular type of windows.
|
dnd = { shadow = false; }
|
||||||
fade = true;
|
popup_menu = { opacity = 1; }
|
||||||
# shadow: Give those windows shadow
|
dropdown_menu = { opacity = 1; }
|
||||||
shadow = false;
|
|
||||||
# opacity: Default opacity for the type of windows.
|
|
||||||
opacity = 0.85;
|
|
||||||
# focus: Whether to always consider windows of this type focused.
|
|
||||||
focus = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
138
files/i3/.config/dunst/dunstrc
Normal file
138
files/i3/.config/dunst/dunstrc
Normal file
@ -0,0 +1,138 @@
|
|||||||
|
[global]
|
||||||
|
font = Input Sans Narrow 12
|
||||||
|
|
||||||
|
markup = yes
|
||||||
|
plain_text = no
|
||||||
|
|
||||||
|
format = "<b>%s</b>\n%b"
|
||||||
|
sort = no
|
||||||
|
indicate_hidden = yes
|
||||||
|
alignment = right
|
||||||
|
bounce_freq = 1
|
||||||
|
show_age_threshold = 60;
|
||||||
|
word_wrap = yes
|
||||||
|
geometry = "500x50-15+49"
|
||||||
|
|
||||||
|
# Shrink window if it's smaller than the width. Will be ignored if
|
||||||
|
# width is 0.
|
||||||
|
shrink = no
|
||||||
|
|
||||||
|
# The transparency of the window. Range: [0; 100].
|
||||||
|
# This option will only work if a compositing windowmanager is
|
||||||
|
# present (e.g. xcompmgr, compiz, etc.).
|
||||||
|
transparency = 5
|
||||||
|
|
||||||
|
# Don't remove messages, if the user is idle (no mouse or keyboard input)
|
||||||
|
# for longer than idle_threshold seconds.
|
||||||
|
# Set to 0 to disable.
|
||||||
|
idle_threshold = 20
|
||||||
|
|
||||||
|
# Which monitor should the notifications be displayed on.
|
||||||
|
# This picks the one with keyboard focus
|
||||||
|
follow = keyboard
|
||||||
|
|
||||||
|
# Should a notification popped up from history be sticky or timeout
|
||||||
|
# as if it would normally do.
|
||||||
|
sticky_history = yes
|
||||||
|
|
||||||
|
# Maximum amount of notifications kept in history
|
||||||
|
history_length = 15
|
||||||
|
|
||||||
|
# Display indicators for URLs (U) and actions (A).
|
||||||
|
show_indicators = yes
|
||||||
|
|
||||||
|
# The height of a single line. If the height is smaller than the
|
||||||
|
# font height, it will get raised to the font height.
|
||||||
|
# This adds empty space above and under the text.
|
||||||
|
line_height = 3
|
||||||
|
|
||||||
|
notification_height = 80
|
||||||
|
|
||||||
|
# Draw a line of "separatpr_height" pixel height between two
|
||||||
|
# notifications.
|
||||||
|
# Set to 0 to disable.
|
||||||
|
separator_height = 5;
|
||||||
|
|
||||||
|
# Define a color for the separator.
|
||||||
|
# possible values are:
|
||||||
|
# * auto: dunst tries to find a color fitting to the background;
|
||||||
|
# * foreground: use the same color as the foreground;
|
||||||
|
# * frame: use the same color as the frame;
|
||||||
|
# * anything else will be interpreted as a X color.
|
||||||
|
separator_color = auto
|
||||||
|
|
||||||
|
# Padding between text and separator.
|
||||||
|
padding = 10
|
||||||
|
|
||||||
|
# Horizontal padding.
|
||||||
|
horizontal_padding = 6
|
||||||
|
|
||||||
|
frame_width = 2
|
||||||
|
|
||||||
|
# Hide duplicate's count and stack them
|
||||||
|
stack_duplicates = yes
|
||||||
|
hide_duplicates_count = yes
|
||||||
|
|
||||||
|
# Align icons left/right/off
|
||||||
|
icon_position = off
|
||||||
|
max_icon_size = 80
|
||||||
|
|
||||||
|
# Paths to default icons.
|
||||||
|
icon_path = /usr/share/icons/Adwaita/16x16/status/:/usr/share/icons/Adwaita/16x16/devices/
|
||||||
|
|
||||||
|
notification_limit = 10
|
||||||
|
|
||||||
|
### Progress bar ###
|
||||||
|
|
||||||
|
# Turn on the progess bar. It appears when a progress hint is passed with
|
||||||
|
# for example dunstify -h int:value:12
|
||||||
|
progress_bar = true
|
||||||
|
|
||||||
|
# Set the progress bar height. This includes the frame, so make sure
|
||||||
|
# it's at least twice as big as the frame width.
|
||||||
|
progress_bar_height = 10
|
||||||
|
|
||||||
|
# Set the frame width of the progress bar
|
||||||
|
progress_bar_frame_width = 1
|
||||||
|
|
||||||
|
# Set the minimum width for the progress bar
|
||||||
|
progress_bar_min_width = 150
|
||||||
|
|
||||||
|
# Set the maximum width for the progress bar
|
||||||
|
progress_bar_max_width = 300
|
||||||
|
|
||||||
|
# Show how many messages are currently hidden (because of
|
||||||
|
# notification_limit).
|
||||||
|
indicate_hidden = yes
|
||||||
|
|
||||||
|
# Context menu.
|
||||||
|
|
||||||
|
[shortcuts]
|
||||||
|
close = mod4+x
|
||||||
|
close_all = mod4+n
|
||||||
|
history = mod4+backslash
|
||||||
|
context = ctrl+shift+period
|
||||||
|
|
||||||
|
[urgency_low]
|
||||||
|
frame_color = "#2c3e50"
|
||||||
|
foreground = "#ecf0f1"
|
||||||
|
background = "#95a5a6"
|
||||||
|
timeout = 4
|
||||||
|
|
||||||
|
[urgency_normal]
|
||||||
|
frame_color = "#95a5a6"
|
||||||
|
foreground = "#34495e"
|
||||||
|
background = "#ecf0f1"
|
||||||
|
timeout = 6
|
||||||
|
|
||||||
|
[urgency_critical]
|
||||||
|
frame_color = "#e74c3c"
|
||||||
|
foreground = "#ecf0f1"
|
||||||
|
background = "#e74c3c"
|
||||||
|
timeout = 20
|
||||||
|
|
||||||
|
[fullscreen_delay_everything]
|
||||||
|
fullscreen = delay
|
||||||
|
[fullscreen_show_critical]
|
||||||
|
msg_urgency = critical
|
||||||
|
fullscreen = show
|
153
files/i3/.config/i3blocks/config
Normal file
153
files/i3/.config/i3blocks/config
Normal file
@ -0,0 +1,153 @@
|
|||||||
|
# i3blocks config file
|
||||||
|
#
|
||||||
|
# Please see man i3blocks for a complete reference!
|
||||||
|
# The man page is also hosted at http://vivien.github.io/i3blocks
|
||||||
|
#
|
||||||
|
# List of valid properties:
|
||||||
|
#
|
||||||
|
# align
|
||||||
|
# color
|
||||||
|
# command
|
||||||
|
# full_text
|
||||||
|
# instance
|
||||||
|
# interval
|
||||||
|
# label
|
||||||
|
# min_width
|
||||||
|
# name
|
||||||
|
# separator
|
||||||
|
# separator_block_width
|
||||||
|
# short_text
|
||||||
|
# signal
|
||||||
|
# urgent
|
||||||
|
|
||||||
|
# Global properties
|
||||||
|
#
|
||||||
|
# The top properties below are applied to every block, but can be overridden.
|
||||||
|
# Each block command defaults to the script name to avoid boilerplate.
|
||||||
|
# Change $SCRIPT_DIR to the location of your scripts!
|
||||||
|
command=/home/nemo/.config/i3blocks/$BLOCK_NAME/$BLOCK_NAME
|
||||||
|
separator_block_width=15
|
||||||
|
markup=none
|
||||||
|
|
||||||
|
#[wifi]
|
||||||
|
#label=wifi:
|
||||||
|
#align=left
|
||||||
|
#interval=5
|
||||||
|
|
||||||
|
[pomodoro]
|
||||||
|
command=/home/nemo/projects/go/bin/openpomodoro-cli status
|
||||||
|
interval=1
|
||||||
|
color=#e74c3c
|
||||||
|
|
||||||
|
[weather]
|
||||||
|
command=curl -Ss 'https://wttr.in/Bangalore?0&T&Q' | cut -c 16- | head -2 | xargs echo
|
||||||
|
# Every 5 minutes
|
||||||
|
interval=300
|
||||||
|
color=#A4C2F4
|
||||||
|
|
||||||
|
[ip]
|
||||||
|
command=ip address show dev wlan0 | grep inet | head -n1 | cut -d ' ' -f 6
|
||||||
|
interval=3600
|
||||||
|
color=#91E78B
|
||||||
|
|
||||||
|
#[volume]
|
||||||
|
#LABEL=♪
|
||||||
|
#interval=once
|
||||||
|
#signal=10
|
||||||
|
|
||||||
|
# I rarely run out of memory, so this is commented
|
||||||
|
#[memory]
|
||||||
|
#separator=|
|
||||||
|
#interval=30
|
||||||
|
|
||||||
|
[dunst]
|
||||||
|
interval=once
|
||||||
|
format=json
|
||||||
|
markup=pango
|
||||||
|
|
||||||
|
# Shows disk space remaining in /home
|
||||||
|
[disk]
|
||||||
|
interval=30
|
||||||
|
label=Disk
|
||||||
|
|
||||||
|
[bandwidth2]
|
||||||
|
interval=persist
|
||||||
|
markup=pango
|
||||||
|
LABEL=
|
||||||
|
interval=60
|
||||||
|
|
||||||
|
[cpu_usage2]
|
||||||
|
markup=pango
|
||||||
|
interval=persist
|
||||||
|
min_width=CPU 100.00%
|
||||||
|
REFRESH_TIME=1
|
||||||
|
LABEL=CPU
|
||||||
|
WARN_PERCENT=50
|
||||||
|
CRIT_PERCENT=80
|
||||||
|
DECIMALS=2
|
||||||
|
|
||||||
|
[load_average]
|
||||||
|
label=🗠
|
||||||
|
interval=10
|
||||||
|
|
||||||
|
# Battery indicator
|
||||||
|
#
|
||||||
|
# The battery instance defaults to 0.
|
||||||
|
#[battery]
|
||||||
|
#label=BAT
|
||||||
|
#label=⚡
|
||||||
|
#interval=30
|
||||||
|
|
||||||
|
# Generic media player support
|
||||||
|
#
|
||||||
|
# This displays "ARTIST - SONG" if a music is playing.
|
||||||
|
# Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others.
|
||||||
|
[mediaplayer]
|
||||||
|
instance=%any
|
||||||
|
interval=5
|
||||||
|
signal=10
|
||||||
|
|
||||||
|
[nm-vpn]
|
||||||
|
interval=20
|
||||||
|
|
||||||
|
[rofi-calendar]
|
||||||
|
interval=30
|
||||||
|
LABEL=
|
||||||
|
FONT=Monospace 10
|
||||||
|
|
||||||
|
[time]
|
||||||
|
command=date '+%H:%M'
|
||||||
|
interval=60
|
||||||
|
|
||||||
|
[temperature]
|
||||||
|
interval=10
|
||||||
|
T_WARN=85
|
||||||
|
T_CRIT=90
|
||||||
|
SENSOR_CHIP=coretemp-isa-0000
|
||||||
|
interval=2
|
||||||
|
|
||||||
|
[monitor_manager]
|
||||||
|
interval=once
|
||||||
|
SHOW_ON_OFF=1
|
||||||
|
SHOW_NAMES=0
|
||||||
|
SHOW_PRIMARY=0
|
||||||
|
SHOW_MODE=1
|
||||||
|
SHOW_BLANKED=0
|
||||||
|
SHOW_DUPLICATE=0
|
||||||
|
SHOW_ROTATION=0
|
||||||
|
SHOW_REFLECTION=0
|
||||||
|
SHOW_BRIGHTNESS=0
|
||||||
|
SHOW_BRIGHTNESS_VALUE=0
|
||||||
|
SHOW_UP_DOWN=0
|
||||||
|
FONT_FAMILY=DejaVu Sans Mono
|
||||||
|
FONT_SIZE=12
|
||||||
|
CLOSE_TO_BOUNDARY_BUFFER=30
|
||||||
|
|
||||||
|
[i3volume]
|
||||||
|
label=
|
||||||
|
command=~/i3-volume/volume output i3blocks
|
||||||
|
interval=once
|
||||||
|
signal=10
|
||||||
|
color=#b8bb26
|
||||||
|
separator_block_width=10
|
||||||
|
markup=pango
|
@ -1,6 +1,3 @@
|
|||||||
# i3status configuration file.
|
|
||||||
# see "man i3status" for documentation.
|
|
||||||
|
|
||||||
# It is important that this file is edited as UTF-8.
|
# It is important that this file is edited as UTF-8.
|
||||||
# The following line should contain a sharp s:
|
# The following line should contain a sharp s:
|
||||||
# ß
|
# ß
|
||||||
@ -12,16 +9,17 @@ general {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#order += "ipv6"
|
#order += "ipv6"
|
||||||
order += "external_script cmus"
|
#order += "external_script cmus"
|
||||||
order += "disk /home"
|
order += "disk /home/nemo"
|
||||||
|
order += "disk /"
|
||||||
order += "bluetooth"
|
order += "bluetooth"
|
||||||
#order += "weather_yahoo"
|
#order += "weather_yahoo"
|
||||||
#order += "run_watch DHCP"
|
#order += "run_watch DHCP"
|
||||||
#order += "run_watch VPN"
|
#order += "run_watch VPN"
|
||||||
order += "wireless _first_"
|
order += "wireless _first_"
|
||||||
#order += "ethernet _first_"
|
#order += "ethernet _first_"
|
||||||
order += "battery_level"
|
#order += "battery_level"
|
||||||
# order += "load"
|
order += "load"
|
||||||
order += "tztime local"
|
order += "tztime local"
|
||||||
|
|
||||||
wireless _first_ {
|
wireless _first_ {
|
||||||
@ -35,23 +33,14 @@ ethernet _first_ {
|
|||||||
format_down = "E: down"
|
format_down = "E: down"
|
||||||
}
|
}
|
||||||
|
|
||||||
battery_level{
|
|
||||||
color_bad = "#ECF0F1"
|
|
||||||
color_charging = "#FCE94F"
|
|
||||||
color = "#FCE94F"
|
|
||||||
color_degraded = "#2ECC71"
|
|
||||||
color_good = "#2ECC71"
|
|
||||||
format = "⚡ {}"
|
|
||||||
mode = "text"
|
|
||||||
}
|
|
||||||
|
|
||||||
external_script "cmus" {
|
#external_script "cmus" {
|
||||||
# Refresh every 5 seconds
|
# # Refresh every 5 seconds
|
||||||
cache_timeout = 5
|
# cache_timeout = 5
|
||||||
format = "► {output}"
|
# format = "► {output}"
|
||||||
color = "#E67E22"
|
# color = "#E67E22"
|
||||||
script_path = "~/projects/scripts/get-current-track.sh"
|
# script_path = "python /home/nemo/projects/scripts/get_current_track.py"
|
||||||
}
|
#}
|
||||||
|
|
||||||
run_watch DHCP {
|
run_watch DHCP {
|
||||||
pidfile = "/var/run/dhclient*.pid"
|
pidfile = "/var/run/dhclient*.pid"
|
||||||
@ -62,7 +51,7 @@ run_watch VPN {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tztime local {
|
tztime local {
|
||||||
format = "%Y-%m-%d %H:%M:%S"
|
format = "%d/%m %H:%M:%S"
|
||||||
}
|
}
|
||||||
|
|
||||||
load {
|
load {
|
||||||
@ -73,17 +62,21 @@ disk "/home" {
|
|||||||
format = "%avail"
|
format = "%avail"
|
||||||
}
|
}
|
||||||
|
|
||||||
weather_yahoo {
|
disk "/" {
|
||||||
city_code = "INKA0686"
|
format = "%avail"
|
||||||
}
|
}
|
||||||
|
|
||||||
bluetooth {
|
#weather_yahoo {
|
||||||
format = "{name}"
|
# city_code = "INKA0686"
|
||||||
format_no_conn = ""
|
#}
|
||||||
format_prefix = "ß "
|
|
||||||
format_no_conn_prefix = ""
|
|
||||||
}
|
|
||||||
|
|
||||||
pomodoro {
|
#bluetooth {
|
||||||
|
# format = "{name}"
|
||||||
|
# format_no_conn = ""
|
||||||
|
# format_prefix = "ß "
|
||||||
|
# format_no_conn_prefix = ""
|
||||||
|
#}
|
||||||
|
|
||||||
}
|
#pomodoro {
|
||||||
|
|
||||||
|
#}
|
7
files/i3/.config/rofi/config.rasi
Normal file
7
files/i3/.config/rofi/config.rasi
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
configuration {
|
||||||
|
modi: "window,drun,combi";
|
||||||
|
font: "Input Mono 10";
|
||||||
|
combi-modi: "window,drun";
|
||||||
|
}
|
||||||
|
@theme "/usr/share/rofi/themes/paper-float.rasi"
|
||||||
|
@import "/usr/share/rofi/themes/gruvbox-light.rasi"
|
329
files/i3/.config/sway/config
Normal file
329
files/i3/.config/sway/config
Normal file
@ -0,0 +1,329 @@
|
|||||||
|
# sway config file
|
||||||
|
#
|
||||||
|
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
|
||||||
|
|
||||||
|
include /etc/sway/config.d/*
|
||||||
|
|
||||||
|
exec systemctl --user import-environment SSH_AUTH_SOCK
|
||||||
|
exec dbus-update-activation-environment --systemd SSH_AUTH_SOCK
|
||||||
|
|
||||||
|
# I use the Super key on my laptop for i3
|
||||||
|
set $mod Mod4
|
||||||
|
|
||||||
|
# 4 named workspaces
|
||||||
|
set $WS1 1:
|
||||||
|
set $WS2 2:
|
||||||
|
set $WS3 3:
|
||||||
|
set $WS4 4:
|
||||||
|
|
||||||
|
# Startup items that don't have their windows
|
||||||
|
exec gammastep
|
||||||
|
|
||||||
|
exec yubikey-touch-detector --libnotify
|
||||||
|
|
||||||
|
# This ensures that GTK changes are applied immediately
|
||||||
|
exec xfsettingsd --replace --no-daemon
|
||||||
|
|
||||||
|
# execute ibus XIM server.
|
||||||
|
exec ibus-daemon --replace --xim
|
||||||
|
|
||||||
|
# Launch the VPN app, but turn it off
|
||||||
|
exec riseup-vpn-git --start-vpn off
|
||||||
|
|
||||||
|
# Launch easyeffects
|
||||||
|
exec easyeffects --hide-window
|
||||||
|
|
||||||
|
## Press Ctrl+C twice to search a word
|
||||||
|
## Dictionaries are kept in ~/Documents/Dictionaries
|
||||||
|
exec --no-startup-id goldendict
|
||||||
|
|
||||||
|
# For ArchLinux
|
||||||
|
exec --no-startup-id connman-gtk
|
||||||
|
exec --no-startup-id /usr/sbin/hackertray --firefox auto --comments/usr/sbin/hackertray
|
||||||
|
|
||||||
|
# For Ubuntu
|
||||||
|
exec --no-startup-id nm-applet
|
||||||
|
exec --no-startup-id aa-notify -p -s 1 -w 60 -f /var/log/audit/audit.log
|
||||||
|
exec --no-startup-id autorandr --change
|
||||||
|
|
||||||
|
input * {
|
||||||
|
#xkb_layout = "in(eng),in(hin-wx),in(hin-kagapa)"
|
||||||
|
# Caps Lock = Hyper_L
|
||||||
|
xkb_options "grp_led:caps,caps:hyper,compose:ralt"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# Quick switching between workspace is disabled
|
||||||
|
# Just leads to confusion
|
||||||
|
workspace_auto_back_and_forth no
|
||||||
|
|
||||||
|
# I am still learning splitting properly
|
||||||
|
workspace_layout default
|
||||||
|
hide_edge_borders both
|
||||||
|
|
||||||
|
# Still playing around with this
|
||||||
|
font pango:Cantarell 10,Fira Sans 8,Dejavu Sans,FontAwesome 9
|
||||||
|
|
||||||
|
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||||
|
floating_modifier $mod
|
||||||
|
|
||||||
|
# start a terminal
|
||||||
|
bindsym $mod+Return split v; exec alacritty
|
||||||
|
bindsym $mod+Shift+Return split h; exec alacritty
|
||||||
|
bindsym $mod+Shift+f exec killall firefox;
|
||||||
|
|
||||||
|
# Snippy for quick text
|
||||||
|
# https://gist.github.com/coderofsalvation/46549e3788ade2f3a938
|
||||||
|
bindsym $mod+grave exec snippy.sh
|
||||||
|
# This one because of a 60% keyboard
|
||||||
|
bindsym $mod+Escape exec snippy.sh
|
||||||
|
|
||||||
|
bindsym $mod+z exec fsearch
|
||||||
|
|
||||||
|
bindsym $mod+Hyper_L exec wofi --show drun -icon-theme "Papirus" -show-icons -font "Cantarell 14"
|
||||||
|
# TODO: Window switch does not work
|
||||||
|
bindsym --release Hyper_L exec wofi --show window -icon-theme "Papirus" -show-icons -font "Cantarell 14"
|
||||||
|
|
||||||
|
bindsym $mod+F8 exec nemo --no-desktop
|
||||||
|
|
||||||
|
# kill focused window
|
||||||
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
|
# keyboard backlight, for Mac
|
||||||
|
# increase/decrease keyboard brightness
|
||||||
|
# TODO: Switch to wayland?
|
||||||
|
#bindsym XF86KbdBrightnessUp exec /home/nemo/projects/scripts/backlight up
|
||||||
|
#bindsym XF86KbdBrightnessDown exec /home/nemo/projects/scripts/backlight down
|
||||||
|
|
||||||
|
# Setup wallpapers
|
||||||
|
exec swaybg --output "Samsung Electric Company C24F390 HTQK801650" --mode fit --image /home/nemo/Pictures/wallpapers/personal/zurich.jpg \
|
||||||
|
--output "HDMI-A-1" --mode stretch --image /home/nemo/Pictures/wallpapers/personal/titlis.jpg
|
||||||
|
|
||||||
|
# Notifications
|
||||||
|
exec swaync
|
||||||
|
# Toggle control center
|
||||||
|
bindsym $mod+Shift+n exec swaync-client -t -sw
|
||||||
|
|
||||||
|
# Lock Related
|
||||||
|
exec swayidle -w \
|
||||||
|
timeout 1800 'swaylock -f' \
|
||||||
|
timeout 2000 'swaymsg "output * dpms off"' \
|
||||||
|
resume 'swaymsg "output * power on"' \
|
||||||
|
before-sleep 'swaylock -f' \
|
||||||
|
lock 'swaylock -f' \
|
||||||
|
unlock 'killall -s SIGUSR1 swaylock' \
|
||||||
|
idlehint 1800
|
||||||
|
|
||||||
|
exec swayidle -w timeout 10 \
|
||||||
|
'if pgrep -x swaylock; then swaymsg "output * dpms off"; fi' resume 'swaymsg "output * dpms on"'
|
||||||
|
|
||||||
|
bindsym $mod+l exec "killall -s SIGUSR1 swayidle"
|
||||||
|
|
||||||
|
## And manual locking as well
|
||||||
|
## TODO: Get this working
|
||||||
|
# bindsym $mod+l exec loginctl lock-session
|
||||||
|
|
||||||
|
# Print screen
|
||||||
|
bindsym Print exec flameshot gui
|
||||||
|
bindsym $mod+I exec grimshot copy area
|
||||||
|
|
||||||
|
bindsym Ctrl+Print exec flameshot screen
|
||||||
|
bindsym Ctrl+$mod+I exec grimshot save area
|
||||||
|
|
||||||
|
bindsym $mod+P exec /home/nemo/projects/scripts/wofipass --type
|
||||||
|
|
||||||
|
# focus
|
||||||
|
bindsym $mod+Left focus left
|
||||||
|
bindsym $mod+Down focus down
|
||||||
|
bindsym $mod+Up focus up
|
||||||
|
bindsym $mod+Right focus right
|
||||||
|
|
||||||
|
# move focused window
|
||||||
|
bindsym $mod+Shift+Left move left
|
||||||
|
bindsym $mod+Shift+Down move down
|
||||||
|
bindsym $mod+Shift+Up move up
|
||||||
|
bindsym $mod+Shift+Right move right
|
||||||
|
|
||||||
|
# Switching to a different workspace
|
||||||
|
bindsym $mod+Ctrl+Left workspace prev_on_output
|
||||||
|
bindsym $mod+Ctrl+Right workspace next_on_output
|
||||||
|
|
||||||
|
# split in horizontal orientation
|
||||||
|
bindsym $mod+h split h; exec wofi --show drun
|
||||||
|
|
||||||
|
# split in vertical orientation
|
||||||
|
bindsym $mod+v split v; exec wofi --show drun
|
||||||
|
|
||||||
|
# enter fullscreen mode for the focused container
|
||||||
|
bindsym $mod+f fullscreen toggle
|
||||||
|
|
||||||
|
# change container layout (stacked, tabbed, toggle split)
|
||||||
|
bindsym $mod+s layout stacking
|
||||||
|
bindsym $mod+w layout tabbed
|
||||||
|
bindsym $mod+e layout toggle split
|
||||||
|
|
||||||
|
# toggle tiling / floating
|
||||||
|
bindsym $mod+Shift+space floating toggle
|
||||||
|
|
||||||
|
# change focus between tiling / floating windows
|
||||||
|
bindsym $mod+space focus mode_toggle
|
||||||
|
|
||||||
|
# focus the parent container
|
||||||
|
bindsym $mod+a focus parent
|
||||||
|
|
||||||
|
# focus the child container
|
||||||
|
#bindsym $mod+d focus child
|
||||||
|
|
||||||
|
# switch to workspace
|
||||||
|
bindsym $mod+1 workspace $WS1
|
||||||
|
bindsym $mod+2 workspace $WS2
|
||||||
|
bindsym $mod+3 workspace $WS3
|
||||||
|
bindsym $mod+4 workspace $WS4
|
||||||
|
bindsym $mod+5 workspace 5
|
||||||
|
bindsym $mod+6 workspace 6
|
||||||
|
bindsym $mod+7 workspace 7
|
||||||
|
bindsym $mod+8 workspace 8
|
||||||
|
bindsym $mod+9 workspace 9
|
||||||
|
bindsym $mod+0 workspace 10
|
||||||
|
|
||||||
|
# move focused container to workspace
|
||||||
|
bindsym $mod+Shift+1 move container to workspace $WS1
|
||||||
|
bindsym $mod+Shift+2 move container to workspace $WS2
|
||||||
|
bindsym $mod+Shift+3 move container to workspace $WS3
|
||||||
|
bindsym $mod+Shift+4 move container to workspace $WS4
|
||||||
|
bindsym $mod+Shift+5 move container to workspace 5
|
||||||
|
bindsym $mod+Shift+6 move container to workspace 6
|
||||||
|
bindsym $mod+Shift+7 move container to workspace 7
|
||||||
|
bindsym $mod+Shift+8 move container to workspace 8
|
||||||
|
bindsym $mod+Shift+9 move container to workspace 9
|
||||||
|
bindsym $mod+Shift+0 move container to workspace 10
|
||||||
|
|
||||||
|
# rename a workspace
|
||||||
|
bindsym $mod+ctrl+r exec i3-input -F 'rename workspace to "%s"' -P 'New name: '
|
||||||
|
|
||||||
|
# reload the configuration file
|
||||||
|
bindsym $mod+Shift+c reload
|
||||||
|
|
||||||
|
# exit i3 (logs you out of your X session)
|
||||||
|
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
|
||||||
|
|
||||||
|
#bindsym button 6 exec "notify-send 123"
|
||||||
|
# resize window (you can also use the mouse for that)
|
||||||
|
mode "resize" {
|
||||||
|
# These bindings trigger as soon as you enter the resize mode
|
||||||
|
|
||||||
|
# Pressing left will shrink the window’s width.
|
||||||
|
# Pressing right will grow the window’s width.
|
||||||
|
# Pressing up will shrink the window’s height.
|
||||||
|
# Pressing down will grow the window’s height.
|
||||||
|
bindsym j resize shrink width 10 px or 10 ppt
|
||||||
|
bindsym k resize grow height 10 px or 10 ppt
|
||||||
|
bindsym l resize shrink height 10 px or 10 ppt
|
||||||
|
bindsym semicolon resize grow width 10 px or 10 ppt
|
||||||
|
|
||||||
|
# same bindings, but for the arrow keys
|
||||||
|
bindsym Left resize shrink width 10 px or 10 ppt
|
||||||
|
bindsym Down resize grow height 10 px or 10 ppt
|
||||||
|
bindsym Up resize shrink height 10 px or 10 ppt
|
||||||
|
bindsym Right resize grow width 10 px or 10 ppt
|
||||||
|
|
||||||
|
# back to normal: Enter or Escape
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
|
||||||
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
|
# backlight support
|
||||||
|
bindsym XF86MonBrightnessUp exec xbacklight -inc 10
|
||||||
|
bindsym XF86MonBrightnessDown exec xbacklight -dec 10
|
||||||
|
|
||||||
|
## Volume control
|
||||||
|
|
||||||
|
# pulseaudio-utils settings
|
||||||
|
#
|
||||||
|
# Symbolic name for sink (numeric index not supported)
|
||||||
|
# Recommended: comment out this setting and omit the -s option to use default sink
|
||||||
|
# List sink names: pacmd list-sinks | awk -F "[<>]" '/^\s+name: <.*>/{print $2}'
|
||||||
|
#set $sinkname alsa_output.pci-0000_00_1b.0.analog-stereo
|
||||||
|
|
||||||
|
# Pulse Audio controls
|
||||||
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer --increase 2 && notify-send `pamixer --get-volume` -t 200 -e
|
||||||
|
bindsym XF86AudioLowerVolume exec --no-startup-id pamixer --decrease 2 && notify-send `pamixer --get-volume` -t 200 -e
|
||||||
|
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle
|
||||||
|
|
||||||
|
# Window assignments
|
||||||
|
for_window [class="Wine"] floating enable
|
||||||
|
for_window [class="Blueberry.py"] floating enable
|
||||||
|
for_window [class="Transmission-gtk"] floating enable
|
||||||
|
for_window [window_role="pop-up"] floating enable
|
||||||
|
for_window [window_role="bubble"] floating enable
|
||||||
|
for_window [class="xpad"] floating enable
|
||||||
|
for_window [class="Zeal"] floating enable
|
||||||
|
for_window [class="Pavucontrol"] floating enable resize 940 600
|
||||||
|
for_window [class="Connman-gtk"] floating enable resize 800 420
|
||||||
|
for_window [class="Firefox" instance="Browser"] floating enable
|
||||||
|
for_window [class="Firefox Beta" instance="Browser"] floating enable
|
||||||
|
for_window [class="Fsearch"] floating enable
|
||||||
|
for_window [class="Com.github.parnold-x.nasc"] floating enable 800 420
|
||||||
|
for_window [class="xpad" window_role="info-"] move scratchpad
|
||||||
|
for_window [class="Com.github.parnold-x.nasc"] move scratchpad
|
||||||
|
for_window [class="Blueman-manager"] floating enable resize 640 600
|
||||||
|
|
||||||
|
# Sticky Notepad
|
||||||
|
exec --no-startup-id xpad
|
||||||
|
# Sticky math app
|
||||||
|
exec --no-startup-id GTK_THEME=Ambiance com.github.parnold-x.nasc
|
||||||
|
bindsym $mod+F1 [class="xpad" instance="xpad"] scratchpad show
|
||||||
|
# Only for Nasc
|
||||||
|
bindsym $mod+F3 [class="Com.github.parnold-x.nasc"] scratchpad show
|
||||||
|
|
||||||
|
# Go through all windows
|
||||||
|
|
||||||
|
# Scratchpad
|
||||||
|
bindsym $mod+shift+minus move scratchpad
|
||||||
|
bindsym $mod+minus scratchpad show
|
||||||
|
|
||||||
|
# gaps are native in sway
|
||||||
|
for_window [class="^.*"] border pixel 0
|
||||||
|
gaps inner 10
|
||||||
|
gaps outer 5
|
||||||
|
smart_gaps on
|
||||||
|
smart_borders on
|
||||||
|
|
||||||
|
bar {
|
||||||
|
font xft:Cantarell, FontAwesome 11
|
||||||
|
status_command i3blocks
|
||||||
|
colors {
|
||||||
|
separator #657b83
|
||||||
|
background #002b36
|
||||||
|
statusline #fdf6e3
|
||||||
|
focused_workspace #fdf6e3 #859900 #fdf6e3
|
||||||
|
active_workspace #fdf6e3 #6c71c4 #fdf6e3
|
||||||
|
inactive_workspace #586e75 #93a1a1 #002b36
|
||||||
|
urgent_workspace #d33682 #d33682 #fdf6e3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
# Multi monitor
|
||||||
|
bindsym $mod+shift+a move workspace to output left
|
||||||
|
bindsym $mod+shift+s move workspace to output right
|
||||||
|
|
||||||
|
# class border backgr. text indicator
|
||||||
|
client.focused #859900 #859900 #fdf6e3 #2e9ef4
|
||||||
|
client.focused_inactive #268bd2 #268bd2 #fdf6e3 #484e50
|
||||||
|
client.unfocused #333333 #93a1a1 #fdf6e3 #292d2e
|
||||||
|
|
||||||
|
exec_always --no-startup-id kitti3 -p TL
|
||||||
|
|
||||||
|
# https://github.com/swaywm/sway/wiki/GTK-3-settings-on-Wayland/#setting-values-in-gsettings
|
||||||
|
exec_always import-gsettings
|
||||||
|
|
||||||
|
bindsym $mod+n nop kitti3
|
||||||
|
|
||||||
|
output 'Samsung Electric Company C24F390 HTQK801650' position 0 0
|
||||||
|
output 'LG Electronics LG ULTRAWIDE 0x0000974A' position 1920 0
|
||||||
|
|
||||||
|
for_window [app_id="flameshot"] border pixel 0, floating enable, fullscreen disable, move absolute position 0 0
|
||||||
|
|
||||||
|
for_window [app_id="signal"] floating enable
|
20
files/i3/.config/sway/outputs
Normal file
20
files/i3/.config/sway/outputs
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# Generated by nwg-displays on 2024-02-23 at 17:21:41. Do not edit manually.
|
||||||
|
|
||||||
|
output "HDMI-A-1" {
|
||||||
|
mode 2560x1080@60.0Hz
|
||||||
|
pos 1920 0
|
||||||
|
transform normal
|
||||||
|
scale 1.0
|
||||||
|
scale_filter nearest
|
||||||
|
adaptive_sync off
|
||||||
|
dpms on
|
||||||
|
}
|
||||||
|
output "DP-1" {
|
||||||
|
mode 1920x1080@60.0Hz
|
||||||
|
pos 0 0
|
||||||
|
transform normal
|
||||||
|
scale 1.0
|
||||||
|
scale_filter nearest
|
||||||
|
adaptive_sync off
|
||||||
|
dpms on
|
||||||
|
}
|
@ -2,34 +2,62 @@
|
|||||||
#
|
#
|
||||||
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
|
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
|
||||||
|
|
||||||
# I use the ubuntu key on my laptop for i3
|
# I use the Super key on my laptop for i3
|
||||||
set $mod Mod4
|
set $mod Mod4
|
||||||
|
|
||||||
# 4 named workspaces
|
# 4 named workspaces
|
||||||
set $WS1 1:
|
set $WS1 1:
|
||||||
set $WS2 2:
|
set $WS2 2:
|
||||||
set $WS3 3:
|
set $WS3 3:
|
||||||
set $WS4 4:
|
set $WS4 4:
|
||||||
|
|
||||||
# Startup items that don't have their windows
|
# Startup items that don't have their windows
|
||||||
exec --no-startup-id nitrogen --restore
|
|
||||||
exec --no-startup-id volumeicon
|
|
||||||
exec --no-startup-id redshift-gtk
|
|
||||||
exec --no-startup-id compton --config ~/.compton.conf
|
|
||||||
exec --no-startup-id nm-applet
|
|
||||||
|
|
||||||
#terminal
|
exec --no-startup-id redshift-gtk
|
||||||
exec urxvtd -q -f -o
|
|
||||||
|
exec yubikey-touch-detector --libnotify
|
||||||
|
|
||||||
|
# This ensures that GTK changes are applied immediately
|
||||||
|
exec xfsettingsd --replace --no-daemon
|
||||||
|
|
||||||
|
# execute ibus XIM server.
|
||||||
|
exec ibus-daemon --replace --xim
|
||||||
|
|
||||||
|
# Launch the VPN app, but turn it off
|
||||||
|
exec riseup-vpn-git --start-vpn off
|
||||||
|
|
||||||
|
# Launch easyeffects
|
||||||
|
exec easyeffects --hide-window
|
||||||
|
|
||||||
|
## Press Ctrl+C twice to search a word
|
||||||
|
## Dictionaries are kept in ~/Documents/Dictionaries
|
||||||
|
exec --no-startup-id goldendict
|
||||||
|
|
||||||
|
# For ArchLinux
|
||||||
|
exec --no-startup-id connman-gtk
|
||||||
|
exec --no-startup-id /usr/sbin/hackertray --firefox auto --comments/usr/sbin/hackertray
|
||||||
|
|
||||||
|
# For Ubuntu
|
||||||
|
exec --no-startup-id nm-applet
|
||||||
|
exec --no-startup-id aa-notify -p -s 1 -w 60 -f /var/log/audit/audit.log
|
||||||
|
exec --no-startup-id autorandr --change
|
||||||
|
|
||||||
|
# Caps Lock = Hyper_L
|
||||||
|
exec setxkbmap -option ctrl:nocaps
|
||||||
|
exec xmodmap -e 'clear lock'
|
||||||
|
exec xmodmap -e 'keycode 66 = Hyper_L'
|
||||||
|
|
||||||
# Set default backlight
|
# Set default backlight
|
||||||
exec xbacklight -set 15
|
exec xbacklight -set 15
|
||||||
|
|
||||||
# Code Workspace
|
# Code Workspace
|
||||||
exec i3-msg "workspace $WS1; exec cwdterm.sh"
|
exec i3-msg "workspace $WS1; exec subl"
|
||||||
exec i3-msg "workspace $WS1; exec subl3"
|
|
||||||
|
|
||||||
# Web workspace
|
# Web workspace (Run both, depending on the system I'm on)
|
||||||
exec i3-msg "workspace $WS2; exec google-chrome-unstable"
|
exec i3-msg "workspace $WS2; exec firefox"
|
||||||
|
|
||||||
|
# Startup figure out monitors
|
||||||
|
exec autorandr -c home
|
||||||
|
|
||||||
# Quick switching between workspace is disabled
|
# Quick switching between workspace is disabled
|
||||||
# Just leads to confusion
|
# Just leads to confusion
|
||||||
@ -40,67 +68,66 @@ workspace_layout default
|
|||||||
hide_edge_borders both
|
hide_edge_borders both
|
||||||
|
|
||||||
# Still playing around with this
|
# Still playing around with this
|
||||||
font pango:DejaVu Sans, FontAwesome 9
|
font pango:Cantarell 10,Fira Sans 8,Dejavu Sans,FontAwesome 9
|
||||||
|
|
||||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||||
floating_modifier $mod
|
floating_modifier $mod
|
||||||
|
|
||||||
# start a terminal
|
# start a terminal
|
||||||
bindsym $mod+Return split v; exec cwdterm.sh
|
bindsym $mod+Return split v; exec foot
|
||||||
bindsym $mod+Shift+Return split h; exec cwdterm.sh
|
bindsym $mod+Shift+Return split h; exec foot
|
||||||
|
bindsym $mod+Shift+f exec killall firefox;
|
||||||
# Split terminals using byobu shortcuts
|
|
||||||
bindsym Shift+F2 split v; exec cwdterm.sh
|
|
||||||
bindsym Ctrl+F2 split h; exec cwdterm.sh
|
|
||||||
|
|
||||||
# Snippy for quick text
|
# Snippy for quick text
|
||||||
# https://gist.github.com/coderofsalvation/46549e3788ade2f3a938
|
# https://gist.github.com/coderofsalvation/46549e3788ade2f3a938
|
||||||
bindsym $mod+grave exec snippy.sh
|
bindsym $mod+grave exec snippy.sh
|
||||||
|
# This one because of a 60% keyboard
|
||||||
|
bindsym $mod+Escape exec snippy.sh
|
||||||
|
|
||||||
|
bindsym $mod+z exec fsearch
|
||||||
|
|
||||||
|
bindsym $mod+Hyper_L exec rofi -show drun -icon-theme "Papirus" -show-icons -font "Input Sans 12"
|
||||||
|
bindsym --release Hyper_L exec rofi -show window -icon-theme "Papirus" -show-icons -font "Input Sans 12"
|
||||||
|
|
||||||
|
bindsym $mod+F8 exec pcmanfm
|
||||||
|
|
||||||
# kill focused window
|
# kill focused window
|
||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
#### Lock screen config #####
|
# keyboard backlight, for Mac
|
||||||
# Use i3lock as screensaver (works on suspend)
|
# increase/decrease keyboard brightness
|
||||||
exec --no-startup-id "xss-lock /home/nemo/projects/scripts/i3lock.sh > /home/nemo/projects/scripts/xss-lock.log"
|
bindsym XF86KbdBrightnessUp exec /home/nemo/projects/scripts/backlight up
|
||||||
|
bindsym XF86KbdBrightnessDown exec /home/nemo/projects/scripts/backlight down
|
||||||
|
|
||||||
# Autolock screen after 2 minutes
|
# dunst for notifications
|
||||||
exec --no-startup-id "xautolock -corners -000 -detectsleep -time 2 -locker /home/nemo/projects/scripts/i3lock.sh > /home/nemo/logs/i3/xautolock.log"
|
exec "dunst"
|
||||||
|
|
||||||
# Win+L
|
# Lock Related
|
||||||
bindsym $mod+l exec --no-startup-id xautolock -locknow
|
## Setup a new lock screen on every boot
|
||||||
|
exec "betterlockscreen --fx dim -u /home/nemo/Pictures/wallpapers/"
|
||||||
|
|
||||||
# start dmenu (I actually have dmenu2 installed)
|
## Run xss-lock for handling suspend + session locks
|
||||||
bindsym $mod+d exec dmenu_run -i -o 0.1
|
exec xss-lock -l -- betterlockscreen -l dim
|
||||||
|
|
||||||
# For starting applications with a .desktop entry
|
## And manual locking as well
|
||||||
bindsym $mod+shift+d exec --no-startup-id i3-dmenu-desktop
|
bindsym $mod+l exec loginctl lock-session
|
||||||
|
|
||||||
# Print screen
|
# Print screen
|
||||||
set $screenshot_file '/home/nemo/Desktop/Screenshots/%Y-%m-%d_%H-%M-$wx$h.png'
|
bindsym Print exec flameshot gui
|
||||||
bindsym Print exec escrotum --select --selection-delay 300 $screenshot_file
|
bindsym $mod+I exec flameshot gui
|
||||||
bindsym Shift+Print exec escrotum --clipboard --select --selection-delay 300 $screenshot_file
|
|
||||||
bindsym Ctrl+Print exec scrot --focused --count --delay 0.5 --quality 80 --silent $screenshot_file
|
|
||||||
|
|
||||||
# change focus
|
bindsym Ctrl+Print exec flameshot screen
|
||||||
bindsym $mod+j focus left
|
bindsym Ctrl+$mod+I exec flameshot screen
|
||||||
# bindsym $mod+k focus down
|
|
||||||
# bindsym $mod+l focus up I use this for lock screen
|
|
||||||
bindsym $mod+semicolon focus right
|
|
||||||
|
|
||||||
# alternatively, you can use the cursor keys:
|
bindsym $mod+P exec passmenu --type -fn "Input Mono" -nb "#002b36" -nf "white" -sf "#fdf6e3"
|
||||||
|
|
||||||
|
# focus
|
||||||
bindsym $mod+Left focus left
|
bindsym $mod+Left focus left
|
||||||
bindsym $mod+Down focus down
|
bindsym $mod+Down focus down
|
||||||
bindsym $mod+Up focus up
|
bindsym $mod+Up focus up
|
||||||
bindsym $mod+Right focus right
|
bindsym $mod+Right focus right
|
||||||
|
|
||||||
# move focused window
|
# move focused window
|
||||||
bindsym $mod+Shift+j move left
|
|
||||||
bindsym $mod+Shift+k move down
|
|
||||||
bindsym $mod+Shift+l move up
|
|
||||||
bindsym $mod+Shift+semicolon move right
|
|
||||||
|
|
||||||
# alternatively, you can use the cursor keys:
|
|
||||||
bindsym $mod+Shift+Left move left
|
bindsym $mod+Shift+Left move left
|
||||||
bindsym $mod+Shift+Down move down
|
bindsym $mod+Shift+Down move down
|
||||||
bindsym $mod+Shift+Up move up
|
bindsym $mod+Shift+Up move up
|
||||||
@ -161,7 +188,7 @@ bindsym $mod+Shift+9 move container to workspace 9
|
|||||||
bindsym $mod+Shift+0 move container to workspace 10
|
bindsym $mod+Shift+0 move container to workspace 10
|
||||||
|
|
||||||
# rename a workspace
|
# rename a workspace
|
||||||
# bindsym $mod+ctrl+r exec i3-input -F 'rename workspace to "%s"' -P 'New name: '
|
bindsym $mod+ctrl+r exec i3-input -F 'rename workspace to "%s"' -P 'New name: '
|
||||||
|
|
||||||
# reload the configuration file
|
# reload the configuration file
|
||||||
bindsym $mod+Shift+c reload
|
bindsym $mod+Shift+c reload
|
||||||
@ -172,6 +199,7 @@ bindsym $mod+Shift+r restart
|
|||||||
# exit i3 (logs you out of your X session)
|
# exit i3 (logs you out of your X session)
|
||||||
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
|
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
|
||||||
|
|
||||||
|
#bindsym button 6 exec "notify-send 123"
|
||||||
# resize window (you can also use the mouse for that)
|
# resize window (you can also use the mouse for that)
|
||||||
mode "resize" {
|
mode "resize" {
|
||||||
# These bindings trigger as soon as you enter the resize mode
|
# These bindings trigger as soon as you enter the resize mode
|
||||||
@ -202,57 +230,95 @@ bindsym $mod+r mode "resize"
|
|||||||
bindsym XF86MonBrightnessUp exec xbacklight -inc 10
|
bindsym XF86MonBrightnessUp exec xbacklight -inc 10
|
||||||
bindsym XF86MonBrightnessDown exec xbacklight -dec 10
|
bindsym XF86MonBrightnessDown exec xbacklight -dec 10
|
||||||
|
|
||||||
# volumeicon cannot seem to unmute it
|
|
||||||
bindsym XF86AudioMute exec amixer -D pulse set Master toggle
|
|
||||||
|
|
||||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
# https://github.com/vivien/i3blocks-contrib/tree/master/volume#usage
|
||||||
# finds out, if available)
|
# Review the lines below and append to ~/.config/i3/config
|
||||||
bar {
|
|
||||||
workspace_buttons yes
|
## Volume control
|
||||||
status_command py3status -c ~/.config/i3status/config
|
|
||||||
colors {
|
# Path to volume control, without trailing slash
|
||||||
separator #888888
|
set $volumepath ~/i3-volume
|
||||||
background #333333
|
|
||||||
statusline #FFFFFF
|
# Amount to increase/decrease volume as a percentage
|
||||||
focused_workspace #4E9C00 #4E9C00 #FFFFFF
|
set $volumestep 5
|
||||||
active_workspace #333333 #333333 #FFFFFF
|
|
||||||
inactive_workspace #333333 #333333 #888888
|
# pulseaudio-utils settings
|
||||||
urgent_workspace #C20000 #C20000 #FFFFFF
|
#
|
||||||
}
|
# Symbolic name for sink (numeric index not supported)
|
||||||
}
|
# Recommended: comment out this setting and omit the -s option to use default sink
|
||||||
|
# List sink names: pacmd list-sinks | awk -F "[<>]" '/^\s+name: <.*>/{print $2}'
|
||||||
|
#set $sinkname alsa_output.pci-0000_00_1b.0.analog-stereo
|
||||||
|
|
||||||
|
# Pulse Audio controls
|
||||||
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer --increase 2 && notify-send `pamixer --get-volume` -t 200
|
||||||
|
bindsym XF86AudioLowerVolume exec --no-startup-id pamixer --decrease 2 && notify-send `pamixer --get-volume` -t 200
|
||||||
|
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle
|
||||||
|
|
||||||
# Window assignments
|
# Window assignments
|
||||||
for_window [class="Wine"] floating enable
|
for_window [class="Wine"] floating enable
|
||||||
|
for_window [class="Blueberry.py"] floating enable
|
||||||
for_window [class="Transmission-gtk"] floating enable
|
for_window [class="Transmission-gtk"] floating enable
|
||||||
for_window [window_role="pop-up"] floating enable
|
for_window [window_role="pop-up"] floating enable
|
||||||
for_window [window_role="bubble"] floating enable
|
for_window [window_role="bubble"] floating enable
|
||||||
for_window [class="xpad"] floating enable
|
for_window [class="xpad"] floating enable
|
||||||
for_window [class="Zeal"] floating enable
|
for_window [class="Zeal"] floating enable
|
||||||
|
for_window [class="Pavucontrol"] floating enable resize 940 600
|
||||||
|
for_window [class="Connman-gtk"] floating enable resize 800 420
|
||||||
|
for_window [class="Firefox" instance="Browser"] floating enable
|
||||||
|
for_window [class="Firefox Beta" instance="Browser"] floating enable
|
||||||
|
for_window [class="Fsearch"] floating enable
|
||||||
|
for_window [class="Com.github.parnold-x.nasc"] floating enable 800 420
|
||||||
|
for_window [class="xpad" window_role="info-"] move scratchpad
|
||||||
|
for_window [class="Com.github.parnold-x.nasc"] move scratchpad
|
||||||
|
for_window [class="Blueman-manager"] floating enable resize 640 600
|
||||||
|
|
||||||
# Sticky Notepad
|
# Sticky Notepad
|
||||||
exec --no-startup-id xpad
|
exec --no-startup-id xpad
|
||||||
bindsym F1 [class="xpad" instance="xpad"] scratchpad show
|
# Sticky math app
|
||||||
bindsym F2 [class="^(?!xpad$)"] scratchpad show
|
exec --no-startup-id GTK_THEME=Ambiance com.github.parnold-x.nasc
|
||||||
|
bindsym $mod+F1 [class="xpad" instance="xpad"] scratchpad show
|
||||||
|
# Only for Nasc
|
||||||
|
bindsym $mod+F3 [class="Com.github.parnold-x.nasc"] scratchpad show
|
||||||
|
|
||||||
|
# Go through all windows
|
||||||
|
|
||||||
# Scratchpad
|
# Scratchpad
|
||||||
bindsym $mod+shift+z move scratchpad
|
bindsym $mod+shift+minus move scratchpad
|
||||||
|
bindsym $mod+minus scratchpad show
|
||||||
|
|
||||||
# i3 gaps
|
# i3 gaps
|
||||||
for_window [class="^.*"] border pixel 0
|
for_window [class="^.*"] border pixel 0
|
||||||
gaps inner 10
|
gaps inner 10
|
||||||
gaps outer 0
|
gaps outer 5
|
||||||
smart_gaps on
|
smart_gaps on
|
||||||
smart_borders on
|
smart_borders on
|
||||||
|
|
||||||
|
bar {
|
||||||
|
font xft:Cantarell, FontAwesome 11
|
||||||
|
status_command i3blocks
|
||||||
|
colors {
|
||||||
|
separator #657b83
|
||||||
|
background #002b36
|
||||||
|
statusline #fdf6e3
|
||||||
|
focused_workspace #fdf6e3 #859900 #fdf6e3
|
||||||
|
active_workspace #fdf6e3 #6c71c4 #fdf6e3
|
||||||
|
inactive_workspace #586e75 #93a1a1 #002b36
|
||||||
|
urgent_workspace #d33682 #d33682 #fdf6e3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
# Multi monitor
|
# Multi monitor
|
||||||
bindsym $mod+shift+a move workspace to output left
|
bindsym $mod+shift+a move workspace to output left
|
||||||
bindsym $mod+shift+s move workspace to output right
|
bindsym $mod+shift+s move workspace to output right
|
||||||
bindsym $mod+shift+w move workspace to output up
|
|
||||||
bindsym $mod+shift+x move workspace to output down
|
|
||||||
|
|
||||||
bindsym XF86Display exec arandr
|
bindsym XF86Display exec autorandr
|
||||||
|
bindsym $mod+F9 exec autorandr
|
||||||
|
|
||||||
client.focused #4E9C00 #4E9C00 #FFFFFF #FFFFFF
|
|
||||||
client.focused_inactive #1B3600 #1B3600 #888888 #FFFFFF
|
# class border backgr. text indicator
|
||||||
client.unfocused #333333 #333333 #888888 #FFFFFF
|
client.focused #859900 #859900 #fdf6e3 #2e9ef4
|
||||||
client.urgent #C20000 #C20000 #FFFFFF #FFFFFF
|
client.focused_inactive #268bd2 #268bd2 #fdf6e3 #484e50
|
||||||
|
client.unfocused #333333 #93a1a1 #fdf6e3 #292d2e
|
||||||
|
|
||||||
|
exec_always --no-startup-id kitti3 -p TL
|
||||||
|
bindsym $mod+n nop kitti3
|
406
files/irc/.irssi/config
Normal file
406
files/irc/.irssi/config
Normal file
@ -0,0 +1,406 @@
|
|||||||
|
servers = (
|
||||||
|
{ address = "irc.dal.net"; chatnet = "DALnet"; port = "6667"; },
|
||||||
|
{
|
||||||
|
address = "ssl.efnet.org";
|
||||||
|
chatnet = "EFNet";
|
||||||
|
port = "9999";
|
||||||
|
use_tls = "yes";
|
||||||
|
},
|
||||||
|
{
|
||||||
|
address = "irc.esper.net";
|
||||||
|
chatnet = "EsperNet";
|
||||||
|
port = "6697";
|
||||||
|
use_tls = "yes";
|
||||||
|
tls_verify = "yes";
|
||||||
|
},
|
||||||
|
{
|
||||||
|
address = "chat.freenode.net";
|
||||||
|
chatnet = "Freenode";
|
||||||
|
port = "6697";
|
||||||
|
use_tls = "yes";
|
||||||
|
tls_verify = "yes";
|
||||||
|
},
|
||||||
|
{
|
||||||
|
address = "irc.gamesurge.net";
|
||||||
|
chatnet = "GameSurge";
|
||||||
|
port = "6667";
|
||||||
|
},
|
||||||
|
{
|
||||||
|
address = "eu.irc6.net";
|
||||||
|
chatnet = "IRCnet";
|
||||||
|
port = "6667";
|
||||||
|
use_tls = "yes";
|
||||||
|
},
|
||||||
|
{ address = "open.ircnet.net"; chatnet = "IRCnet"; port = "6667"; },
|
||||||
|
{
|
||||||
|
address = "irc.ircsource.net";
|
||||||
|
chatnet = "IRCSource";
|
||||||
|
port = "6667";
|
||||||
|
},
|
||||||
|
{ address = "irc.netfuze.net"; chatnet = "NetFuze"; port = "6667"; },
|
||||||
|
{
|
||||||
|
address = "irc.oftc.net";
|
||||||
|
chatnet = "OFTC";
|
||||||
|
port = "6697";
|
||||||
|
use_tls = "yes";
|
||||||
|
tls_verify = "yes";
|
||||||
|
},
|
||||||
|
{
|
||||||
|
address = "irc.quakenet.org";
|
||||||
|
chatnet = "QuakeNet";
|
||||||
|
port = "6667";
|
||||||
|
},
|
||||||
|
{
|
||||||
|
address = "irc.rizon.net";
|
||||||
|
chatnet = "Rizon";
|
||||||
|
port = "6697";
|
||||||
|
use_tls = "yes";
|
||||||
|
tls_verify = "yes";
|
||||||
|
},
|
||||||
|
{ address = "silc.silcnet.org"; chatnet = "SILC"; port = "706"; },
|
||||||
|
{
|
||||||
|
address = "irc.undernet.org";
|
||||||
|
chatnet = "Undernet";
|
||||||
|
port = "6667";
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
chatnets = {
|
||||||
|
DALnet = {
|
||||||
|
type = "IRC";
|
||||||
|
max_kicks = "4";
|
||||||
|
max_msgs = "20";
|
||||||
|
max_whois = "30";
|
||||||
|
};
|
||||||
|
EFNet = {
|
||||||
|
type = "IRC";
|
||||||
|
max_kicks = "1";
|
||||||
|
max_msgs = "4";
|
||||||
|
max_whois = "1";
|
||||||
|
};
|
||||||
|
EsperNet = {
|
||||||
|
type = "IRC";
|
||||||
|
max_kicks = "1";
|
||||||
|
max_msgs = "4";
|
||||||
|
max_whois = "1";
|
||||||
|
};
|
||||||
|
Freenode = {
|
||||||
|
type = "IRC";
|
||||||
|
max_kicks = "1";
|
||||||
|
max_msgs = "4";
|
||||||
|
max_whois = "1";
|
||||||
|
};
|
||||||
|
GameSurge = {
|
||||||
|
type = "IRC";
|
||||||
|
max_kicks = "1";
|
||||||
|
max_msgs = "1";
|
||||||
|
max_whois = "1";
|
||||||
|
};
|
||||||
|
IRCnet = {
|
||||||
|
type = "IRC";
|
||||||
|
max_kicks = "1";
|
||||||
|
max_msgs = "1";
|
||||||
|
max_whois = "1";
|
||||||
|
};
|
||||||
|
IRCSource = {
|
||||||
|
type = "IRC";
|
||||||
|
max_kicks = "1";
|
||||||
|
max_msgs = "4";
|
||||||
|
max_whois = "1";
|
||||||
|
};
|
||||||
|
NetFuze = {
|
||||||
|
type = "IRC";
|
||||||
|
max_kicks = "1";
|
||||||
|
max_msgs = "1";
|
||||||
|
max_whois = "1";
|
||||||
|
};
|
||||||
|
OFTC = { type = "IRC"; max_kicks = "1"; max_msgs = "1"; max_whois = "1"; };
|
||||||
|
QuakeNet = {
|
||||||
|
type = "IRC";
|
||||||
|
max_kicks = "1";
|
||||||
|
max_msgs = "1";
|
||||||
|
max_whois = "1";
|
||||||
|
};
|
||||||
|
Rizon = {
|
||||||
|
type = "IRC";
|
||||||
|
max_kicks = "1";
|
||||||
|
max_msgs = "1";
|
||||||
|
max_whois = "1";
|
||||||
|
};
|
||||||
|
SILC = { type = "SILC"; };
|
||||||
|
Undernet = {
|
||||||
|
type = "IRC";
|
||||||
|
max_kicks = "1";
|
||||||
|
max_msgs = "1";
|
||||||
|
max_whois = "1";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
channels = (
|
||||||
|
{ name = "#lobby"; chatnet = "EsperNet"; autojoin = "No"; },
|
||||||
|
{ name = "#freenode"; chatnet = "Freenode"; autojoin = "No"; },
|
||||||
|
{ name = "#irssi"; chatnet = "Freenode"; autojoin = "No"; },
|
||||||
|
{ name = "#gamesurge"; chatnet = "GameSurge"; autojoin = "No"; },
|
||||||
|
{ name = "#irssi"; chatnet = "IRCNet"; autojoin = "No"; },
|
||||||
|
{ name = "#ircsource"; chatnet = "IRCSource"; autojoin = "No"; },
|
||||||
|
{ name = "#netfuze"; chatnet = "NetFuze"; autojoin = "No"; },
|
||||||
|
{ name = "#oftc"; chatnet = "OFTC"; autojoin = "No"; },
|
||||||
|
{ name = "silc"; chatnet = "SILC"; autojoin = "No"; }
|
||||||
|
);
|
||||||
|
|
||||||
|
aliases = {
|
||||||
|
ATAG = "WINDOW SERVER";
|
||||||
|
ADDALLCHANS = "SCRIPT EXEC foreach my \\$channel (Irssi::channels()) { Irssi::command(\"CHANNEL ADD -auto \\$channel->{name} \\$channel->{server}->{tag} \\$channel->{key}\")\\;}";
|
||||||
|
B = "BAN";
|
||||||
|
BACK = "AWAY";
|
||||||
|
BANS = "BAN";
|
||||||
|
BYE = "QUIT";
|
||||||
|
C = "CLEAR";
|
||||||
|
CALC = "EXEC - if command -v bc >/dev/null 2>&1\\; then printf '%s=' '$*'\\; echo '$*' | bc -l\\; else echo bc was not found\\; fi";
|
||||||
|
CHAT = "DCC CHAT";
|
||||||
|
CUBES = "SCRIPT EXEC Irssi::active_win->print(\"%_bases\", MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print( do { join '', map { \"%x0\\${_}0\\$_\" } '0'..'9','A'..'F' }, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print(\"%_cubes\", MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print( do { my \\$y = \\$_*6 \\; join '', map { my \\$x = \\$_ \\; map { \"%x\\$x\\$_\\$x\\$_\" } @{['0'..'9','A'..'Z']}[\\$y .. \\$y+5] } 1..6 }, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) for 0..5 \\; Irssi::active_win->print(\"%_grays\", MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print( do { join '', map { \"%x7\\${_}7\\$_\" } 'A'..'X' }, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print(\"%_mIRC extended colours\", MSGLEVEL_CLIENTCRAP) \\; my \\$x \\; \\$x .= sprintf \"\00399,%02d%02d\",\\$_,\\$_ for 0..15 \\; Irssi::active_win->print(\\$x, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) \\; for my \\$z (0..6) { my \\$x \\; \\$x .= sprintf \"\00399,%02d%02d\",\\$_,\\$_ for 16+(\\$z*12)..16+(\\$z*12)+11 \\; Irssi::active_win->print(\\$x, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) }";
|
||||||
|
DATE = "TIME";
|
||||||
|
DEHIGHLIGHT = "DEHILIGHT";
|
||||||
|
DESCRIBE = "ACTION";
|
||||||
|
DHL = "DEHILIGHT";
|
||||||
|
EXEMPTLIST = "MODE $C +e";
|
||||||
|
EXIT = "QUIT";
|
||||||
|
GOTO = "SCROLLBACK GOTO";
|
||||||
|
HIGHLIGHT = "HILIGHT";
|
||||||
|
HL = "HILIGHT";
|
||||||
|
HOST = "USERHOST";
|
||||||
|
INVITELIST = "MODE $C +I";
|
||||||
|
J = "JOIN";
|
||||||
|
K = "KICK";
|
||||||
|
KB = "KICKBAN";
|
||||||
|
KN = "KNOCKOUT";
|
||||||
|
LAST = "LASTLOG";
|
||||||
|
LEAVE = "PART";
|
||||||
|
M = "MSG";
|
||||||
|
MUB = "UNBAN *";
|
||||||
|
N = "NAMES";
|
||||||
|
NMSG = "^MSG";
|
||||||
|
P = "PART";
|
||||||
|
Q = "QUERY";
|
||||||
|
RESET = "SET -default";
|
||||||
|
RUN = "SCRIPT LOAD";
|
||||||
|
SAY = "MSG *";
|
||||||
|
SB = "SCROLLBACK";
|
||||||
|
SBAR = "STATUSBAR";
|
||||||
|
SIGNOFF = "QUIT";
|
||||||
|
SV = "MSG * Irssi $J ($V) - http://www.irssi.org";
|
||||||
|
T = "TOPIC";
|
||||||
|
UB = "UNBAN";
|
||||||
|
UMODE = "MODE $N";
|
||||||
|
UNSET = "SET -clear";
|
||||||
|
W = "WHO";
|
||||||
|
WC = "WINDOW CLOSE";
|
||||||
|
WG = "WINDOW GOTO";
|
||||||
|
WJOIN = "JOIN -window";
|
||||||
|
WI = "WHOIS";
|
||||||
|
WII = "WHOIS $0 $0";
|
||||||
|
WL = "WINDOW LIST";
|
||||||
|
WN = "WINDOW NEW HIDDEN";
|
||||||
|
WQUERY = "QUERY -window";
|
||||||
|
WW = "WHOWAS";
|
||||||
|
1 = "WINDOW GOTO 1";
|
||||||
|
2 = "WINDOW GOTO 2";
|
||||||
|
3 = "WINDOW GOTO 3";
|
||||||
|
4 = "WINDOW GOTO 4";
|
||||||
|
5 = "WINDOW GOTO 5";
|
||||||
|
6 = "WINDOW GOTO 6";
|
||||||
|
7 = "WINDOW GOTO 7";
|
||||||
|
8 = "WINDOW GOTO 8";
|
||||||
|
9 = "WINDOW GOTO 9";
|
||||||
|
10 = "WINDOW GOTO 10";
|
||||||
|
11 = "WINDOW GOTO 11";
|
||||||
|
12 = "WINDOW GOTO 12";
|
||||||
|
13 = "WINDOW GOTO 13";
|
||||||
|
14 = "WINDOW GOTO 14";
|
||||||
|
15 = "WINDOW GOTO 15";
|
||||||
|
16 = "WINDOW GOTO 16";
|
||||||
|
17 = "WINDOW GOTO 17";
|
||||||
|
18 = "WINDOW GOTO 18";
|
||||||
|
19 = "WINDOW GOTO 19";
|
||||||
|
20 = "WINDOW GOTO 20";
|
||||||
|
21 = "WINDOW GOTO 21";
|
||||||
|
22 = "WINDOW GOTO 22";
|
||||||
|
23 = "WINDOW GOTO 23";
|
||||||
|
24 = "WINDOW GOTO 24";
|
||||||
|
25 = "WINDOW GOTO 25";
|
||||||
|
26 = "WINDOW GOTO 26";
|
||||||
|
27 = "WINDOW GOTO 27";
|
||||||
|
28 = "WINDOW GOTO 28";
|
||||||
|
29 = "WINDOW GOTO 29";
|
||||||
|
30 = "WINDOW GOTO 30";
|
||||||
|
31 = "WINDOW GOTO 31";
|
||||||
|
32 = "WINDOW GOTO 32";
|
||||||
|
33 = "WINDOW GOTO 33";
|
||||||
|
34 = "WINDOW GOTO 34";
|
||||||
|
35 = "WINDOW GOTO 35";
|
||||||
|
36 = "WINDOW GOTO 36";
|
||||||
|
37 = "WINDOW GOTO 37";
|
||||||
|
38 = "WINDOW GOTO 38";
|
||||||
|
39 = "WINDOW GOTO 39";
|
||||||
|
40 = "WINDOW GOTO 40";
|
||||||
|
41 = "WINDOW GOTO 41";
|
||||||
|
42 = "WINDOW GOTO 42";
|
||||||
|
43 = "WINDOW GOTO 43";
|
||||||
|
44 = "WINDOW GOTO 44";
|
||||||
|
45 = "WINDOW GOTO 45";
|
||||||
|
46 = "WINDOW GOTO 46";
|
||||||
|
47 = "WINDOW GOTO 47";
|
||||||
|
48 = "WINDOW GOTO 48";
|
||||||
|
49 = "WINDOW GOTO 49";
|
||||||
|
50 = "WINDOW GOTO 50";
|
||||||
|
51 = "WINDOW GOTO 51";
|
||||||
|
52 = "WINDOW GOTO 52";
|
||||||
|
53 = "WINDOW GOTO 53";
|
||||||
|
54 = "WINDOW GOTO 54";
|
||||||
|
55 = "WINDOW GOTO 55";
|
||||||
|
56 = "WINDOW GOTO 56";
|
||||||
|
57 = "WINDOW GOTO 57";
|
||||||
|
58 = "WINDOW GOTO 58";
|
||||||
|
59 = "WINDOW GOTO 59";
|
||||||
|
60 = "WINDOW GOTO 60";
|
||||||
|
61 = "WINDOW GOTO 61";
|
||||||
|
62 = "WINDOW GOTO 62";
|
||||||
|
63 = "WINDOW GOTO 63";
|
||||||
|
64 = "WINDOW GOTO 64";
|
||||||
|
65 = "WINDOW GOTO 65";
|
||||||
|
66 = "WINDOW GOTO 66";
|
||||||
|
67 = "WINDOW GOTO 67";
|
||||||
|
68 = "WINDOW GOTO 68";
|
||||||
|
69 = "WINDOW GOTO 69";
|
||||||
|
70 = "WINDOW GOTO 70";
|
||||||
|
71 = "WINDOW GOTO 71";
|
||||||
|
72 = "WINDOW GOTO 72";
|
||||||
|
73 = "WINDOW GOTO 73";
|
||||||
|
74 = "WINDOW GOTO 74";
|
||||||
|
75 = "WINDOW GOTO 75";
|
||||||
|
76 = "WINDOW GOTO 76";
|
||||||
|
77 = "WINDOW GOTO 77";
|
||||||
|
78 = "WINDOW GOTO 78";
|
||||||
|
79 = "WINDOW GOTO 79";
|
||||||
|
80 = "WINDOW GOTO 80";
|
||||||
|
81 = "WINDOW GOTO 81";
|
||||||
|
82 = "WINDOW GOTO 82";
|
||||||
|
83 = "WINDOW GOTO 83";
|
||||||
|
84 = "WINDOW GOTO 84";
|
||||||
|
85 = "WINDOW GOTO 85";
|
||||||
|
86 = "WINDOW GOTO 86";
|
||||||
|
87 = "WINDOW GOTO 87";
|
||||||
|
88 = "WINDOW GOTO 88";
|
||||||
|
89 = "WINDOW GOTO 89";
|
||||||
|
90 = "WINDOW GOTO 90";
|
||||||
|
91 = "WINDOW GOTO 91";
|
||||||
|
92 = "WINDOW GOTO 92";
|
||||||
|
93 = "WINDOW GOTO 93";
|
||||||
|
94 = "WINDOW GOTO 94";
|
||||||
|
95 = "WINDOW GOTO 95";
|
||||||
|
96 = "WINDOW GOTO 96";
|
||||||
|
97 = "WINDOW GOTO 97";
|
||||||
|
98 = "WINDOW GOTO 98";
|
||||||
|
99 = "WINDOW GOTO 99";
|
||||||
|
};
|
||||||
|
|
||||||
|
statusbar = {
|
||||||
|
|
||||||
|
items = {
|
||||||
|
|
||||||
|
barstart = "{sbstart}";
|
||||||
|
barend = "{sbend}";
|
||||||
|
|
||||||
|
topicbarstart = "{topicsbstart}";
|
||||||
|
topicbarend = "{topicsbend}";
|
||||||
|
|
||||||
|
time = "{sb $Z}";
|
||||||
|
user = "{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}";
|
||||||
|
|
||||||
|
window = "{sb $winref:$tag/$itemname{sbmode $M}}";
|
||||||
|
window_empty = "{sb $winref{sbservertag $tag}}";
|
||||||
|
|
||||||
|
prompt = "{prompt $[.15]itemname}";
|
||||||
|
prompt_empty = "{prompt $winname}";
|
||||||
|
|
||||||
|
topic = " $topic";
|
||||||
|
topic_empty = " Irssi v$J - http://www.irssi.org";
|
||||||
|
|
||||||
|
lag = "{sb Lag: $0-}";
|
||||||
|
act = "{sb Act: $0-}";
|
||||||
|
more = "-- more --";
|
||||||
|
};
|
||||||
|
|
||||||
|
default = {
|
||||||
|
|
||||||
|
window = {
|
||||||
|
|
||||||
|
disabled = "no";
|
||||||
|
type = "window";
|
||||||
|
placement = "bottom";
|
||||||
|
position = "1";
|
||||||
|
visible = "active";
|
||||||
|
|
||||||
|
items = {
|
||||||
|
barstart = { priority = "100"; };
|
||||||
|
time = { };
|
||||||
|
user = { };
|
||||||
|
window = { };
|
||||||
|
window_empty = { };
|
||||||
|
lag = { priority = "-1"; };
|
||||||
|
act = { priority = "10"; };
|
||||||
|
more = { priority = "-1"; alignment = "right"; };
|
||||||
|
barend = { priority = "100"; alignment = "right"; };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
window_inact = {
|
||||||
|
|
||||||
|
type = "window";
|
||||||
|
placement = "bottom";
|
||||||
|
position = "1";
|
||||||
|
visible = "inactive";
|
||||||
|
|
||||||
|
items = {
|
||||||
|
barstart = { priority = "100"; };
|
||||||
|
window = { };
|
||||||
|
window_empty = { };
|
||||||
|
more = { priority = "-1"; alignment = "right"; };
|
||||||
|
barend = { priority = "100"; alignment = "right"; };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
prompt = {
|
||||||
|
|
||||||
|
type = "root";
|
||||||
|
placement = "bottom";
|
||||||
|
position = "100";
|
||||||
|
visible = "always";
|
||||||
|
|
||||||
|
items = {
|
||||||
|
prompt = { priority = "-1"; };
|
||||||
|
prompt_empty = { priority = "-1"; };
|
||||||
|
input = { priority = "10"; };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
topic = {
|
||||||
|
|
||||||
|
type = "root";
|
||||||
|
placement = "top";
|
||||||
|
position = "1";
|
||||||
|
visible = "always";
|
||||||
|
|
||||||
|
items = {
|
||||||
|
topicbarstart = { priority = "100"; };
|
||||||
|
topic = { };
|
||||||
|
topic_empty = { };
|
||||||
|
topicbarend = { priority = "100"; alignment = "right"; };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
settings = {
|
||||||
|
core = { real_name = "Nemo"; user_name = "nemo"; nick = "nemo"; };
|
||||||
|
"fe-text" = { actlist_sort = "refnum"; };
|
||||||
|
};
|
139
files/media/.config/cava/config
Normal file
139
files/media/.config/cava/config
Normal file
@ -0,0 +1,139 @@
|
|||||||
|
## Configuration file for CAVA. Default values are commented out. Use either ';' or '#' for commenting.
|
||||||
|
|
||||||
|
|
||||||
|
[general]
|
||||||
|
|
||||||
|
# Smoothing mode. Can be 'normal', 'scientific' or 'waves'. DEPRECATED as of 0.6.0
|
||||||
|
; mode = normal
|
||||||
|
|
||||||
|
# Accepts only non-negative values.
|
||||||
|
; framerate = 60
|
||||||
|
|
||||||
|
# 'autosens' will attempt to decrease sensitivity if the bars peak. 1 = on, 0 = off
|
||||||
|
# new as of 0.6.0 autosens of low values (dynamic range)
|
||||||
|
# 'overshoot' allows bars to overshoot (in % of terminal height) without initiating autosens. DEPRECATED as of 0.6.0
|
||||||
|
; autosens = 1
|
||||||
|
; overshoot = 20
|
||||||
|
|
||||||
|
# Manual sensitivity in %. Autosens must be turned off for this to take effect.
|
||||||
|
# 200 means double height. Accepts only non-negative values.
|
||||||
|
; sensitivity = 100
|
||||||
|
|
||||||
|
# The number of bars (0-200). 0 sets it to auto (fill up console).
|
||||||
|
# Bars' width and space between bars in number of characters.
|
||||||
|
; bars = 0
|
||||||
|
; bar_width = 2
|
||||||
|
; bar_spacing = 1
|
||||||
|
|
||||||
|
|
||||||
|
# Lower and higher cutoff frequencies for lowest and highest bars
|
||||||
|
# the bandwidth of the visualizer.
|
||||||
|
# Note: there is a minimum total bandwidth of 43Mhz x number of bars.
|
||||||
|
# Cava will automatically increase the higher cutoff if a too low band is specified.
|
||||||
|
; lower_cutoff_freq = 50
|
||||||
|
; higher_cutoff_freq = 10000
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[input]
|
||||||
|
|
||||||
|
# Audio capturing method. Possible methods are: 'pulse', 'alsa' or 'fifo'.
|
||||||
|
# Defaults to 'pulse', 'alsa' or 'fifo', in that order, dependent on what support cava was built with.
|
||||||
|
#
|
||||||
|
# All input methods uses the same config variable 'source'
|
||||||
|
# to define where it should get the audio.
|
||||||
|
#
|
||||||
|
# For pulseaudio 'source' will be the source. Default: 'auto', which uses the monitor source of the default sink
|
||||||
|
# (all pulseaudio sinks(outputs) have 'monitor' sources(inputs) associated with them).
|
||||||
|
#
|
||||||
|
# For alsa 'source' will be the capture device.
|
||||||
|
# For fifo 'source' will be the path to fifo-file.
|
||||||
|
; method = pulse
|
||||||
|
; source = auto
|
||||||
|
|
||||||
|
; method = alsa
|
||||||
|
; source = hw:Loopback,1
|
||||||
|
|
||||||
|
; method = fifo
|
||||||
|
; source = /tmp/mpd.fifo
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[output]
|
||||||
|
|
||||||
|
# Ouput method. Can be 'ncurses', 'noncurses' or 'raw'.
|
||||||
|
# 'noncurses' is for systems that does not suport ncurses.
|
||||||
|
# 'raw' is a 16 bit data stream of the bar heights that can be used to send to other applications.
|
||||||
|
# 'raw' defaults to 200 bars, which can be adjusted in the 'bars' option above.
|
||||||
|
; method = ncurses
|
||||||
|
|
||||||
|
# Visual channels. Can be 'stereo' or 'mono'.
|
||||||
|
# 'stereo' mirrors both channels with low frequencies in center.
|
||||||
|
# 'mono' averages both channels and outputs left to right lowest to highest frequencies.
|
||||||
|
; channels = stereo
|
||||||
|
|
||||||
|
# Raw output target. A fifo will be created if target does not exist.
|
||||||
|
; raw_target = /dev/stdout
|
||||||
|
|
||||||
|
# Raw data format. Can be 'binary' or 'ascii'.
|
||||||
|
; data_format = binary
|
||||||
|
|
||||||
|
# Binary bit format, can be '8bit' (0-255) or '16bit' (0-65530).
|
||||||
|
; bit_format = 16bit
|
||||||
|
|
||||||
|
# Ascii max value. In 'ascii' mode range will run from 0 to value specified here
|
||||||
|
; ascii_max_range = 1000
|
||||||
|
|
||||||
|
# Ascii delimiters. In ascii format each bar and frame is separated by a delimiters.
|
||||||
|
# Use decimal value in ascii table (i.e. 59 = ';' and 10 = '\n' (line feed)).
|
||||||
|
; bar_delimiter = 59
|
||||||
|
; frame_delimiter = 10
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[color]
|
||||||
|
|
||||||
|
# Colors can be one of seven predefined: black, blue, cyan, green, magenta, red, white, yellow.
|
||||||
|
# Or defined by hex code '#xxxxxx' (hex code must be within ''). User defined colors requires a
|
||||||
|
# terminal that can change color definitions such as Gnome-terminal or rxvt.
|
||||||
|
; background = black
|
||||||
|
; foreground = cyan
|
||||||
|
|
||||||
|
# Gradient mode, only hex defined colors are supported, background must also be defined in hex
|
||||||
|
# or remain commented out. 1 = on, 0 = off. Warning: for certain terminal emulators cava will
|
||||||
|
# not able to restore color definitions on exit, simply restart your terminal to restore colors.
|
||||||
|
; gradient = 0
|
||||||
|
; gradient_color_1 = '#0099ff'
|
||||||
|
; gradient_color_2 = '#ff3399'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[smoothing]
|
||||||
|
|
||||||
|
# Percentage value for integral smoothing. Takes values from 0 - 100.
|
||||||
|
# Higher values means smoother, but less precise. 0 to disable.
|
||||||
|
; integral = 70
|
||||||
|
|
||||||
|
# Disables or enables the so-called "Monstercat smoothing" with or without "waves". Set to 0 to disable.
|
||||||
|
; monstercat = 1
|
||||||
|
; waves = 0;
|
||||||
|
|
||||||
|
# Set gravity percentage for "drop off". Higher values means bars will drop faster.
|
||||||
|
# Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off".
|
||||||
|
; gravity = 100
|
||||||
|
|
||||||
|
|
||||||
|
# In bar height, bars that would have been lower that this will not be drawn.
|
||||||
|
; ignore = 0
|
||||||
|
|
||||||
|
|
||||||
|
[eq]
|
||||||
|
|
||||||
|
# This one is tricky. You can have as much keys as you want.
|
||||||
|
# Remember to uncomment more then one key! More keys = more precision.
|
||||||
|
# Look at readme.md on github for further explanations and examples.
|
||||||
|
; 1 = 1 # bass
|
||||||
|
; 2 = 1
|
||||||
|
; 3 = 1 # midtone
|
||||||
|
; 4 = 1
|
||||||
|
; 5 = 1 # treble
|
1
files/mpv/.config/mpv/mpv.conf
Normal file
1
files/mpv/.config/mpv/mpv.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
# sub-font="Serif"sub-auto=fuzzy
|
2
files/python/.config/pip/pip.conf
Normal file
2
files/python/.config/pip/pip.conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
[install]
|
||||||
|
# user = yes
|
@ -1,10 +1,11 @@
|
|||||||
; Global settings
|
; Global settings
|
||||||
[redshift]
|
[redshift]
|
||||||
temp-day=6200
|
temp-day=6200
|
||||||
temp-night=5500
|
temp-night=4000
|
||||||
transition=1
|
transition=1
|
||||||
location-provider=manual
|
location-provider=manual
|
||||||
|
brightness-day=1.0
|
||||||
|
brightness-night=0.9
|
||||||
; The location provider and adjustment method settings
|
; The location provider and adjustment method settings
|
||||||
; are in their own sections.
|
; are in their own sections.
|
||||||
[manual]
|
[manual]
|
||||||
|
1
files/ruby/.bundle/.gitignore
vendored
Normal file
1
files/ruby/.bundle/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
cache/
|
15
files/ruby/.bundle/config
Normal file
15
files/ruby/.bundle/config
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
BUNDLE_PATH: "vendor/bundle"
|
||||||
|
# BUNDLE_GLOBAL_GEM_CACHE: "true"
|
||||||
|
BUNDLE_FORCE_RUBY_PLATFORM: "false"
|
||||||
|
BUNDLE_DEFAULT_INSTALL_USES_PATH: "false"
|
||||||
|
# BUNDLE_ALLOW_OFFLINE_INSTALL: "true"
|
||||||
|
BUNDLE_CACHE_ALL: "true"
|
||||||
|
BUNDLE_BUILD__NOKOGIRI: "--use-system-libraries"
|
||||||
|
BUNDLE_DISABLE_SHARED_GEMS: "true"
|
||||||
|
BUNDLE_GEM__COC: "true"
|
||||||
|
BUNDLE_GEM__TEST: "false"
|
||||||
|
BUNDLE_GEM__MIT: "false"
|
||||||
|
BUNDLE_JOBS: "4"
|
||||||
|
BUNDLE_GEM__CI: "github"
|
||||||
|
BUNDLE_GEM__RUBOCOP: "true"
|
@ -1,2 +1,3 @@
|
|||||||
install: --no-rdoc --no-ri
|
install: --no-rdoc --no-ri
|
||||||
update: --no-rdoc --no-ri
|
update: --no-rdoc --no-ri
|
||||||
|
gem: --user-install
|
7
files/snippets/.snippy/MIT
Normal file
7
files/snippets/.snippy/MIT
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
Copyright 2021 Abhay Rana
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user