From 2c6bb95107a053ebe58daba8cc0b70177993fa00 Mon Sep 17 00:00:00 2001 From: Nemo Date: Mon, 16 Apr 2018 23:16:05 +0530 Subject: [PATCH] . --- files/bash/.bashrc | 32 +++--- .../conf.d/10-powerline-symbols.conf | 105 ------------------ .../conf.d/50-enable-terminess-powerline.conf | 11 ++ files/i3/.i3/config | 2 +- files/themes/.config/Trolltech.conf | 55 --------- files/x11/.Xresources | 9 +- 6 files changed, 31 insertions(+), 183 deletions(-) delete mode 100644 files/fonts/.config/fontconfig/conf.d/10-powerline-symbols.conf create mode 100644 files/fonts/.config/fontconfig/conf.d/50-enable-terminess-powerline.conf delete mode 100644 files/themes/.config/Trolltech.conf diff --git a/files/bash/.bashrc b/files/bash/.bashrc index 3c65cb1..47d737e 100644 --- a/files/bash/.bashrc +++ b/files/bash/.bashrc @@ -36,6 +36,8 @@ alias pu='phpunit' alias ghpr='gh pull-request' alias ssdr='sudo systemctl daemon-reload' alias k='kubectl' +# Gets list of all packages from AUR sorted by Size +alias aur.list='expac "%m\t%n" | sort -h > /tmp/expac.txt && pacman -Qqm > /tmp/aur.txt && grep -w -F -f /tmp/aur.txt /tmp/expac.txt' # https://github.com/chef/inspec function inspec { docker run -it --rm -v $(pwd):/share chef/inspec $@; } @@ -90,9 +92,10 @@ if [[ -f /etc/bash_completion ]] && ! shopt -oq posix; then 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_IN.utf8 -export LANG=en_IN.utf8 -#export LC_ALL="C" ##For the weird characters in man pages +export LC_ALL=en_US.utf8 +export LC_ALL=en_US.utf8 +export LANG=C + alias gh='hub' alias rake='bundle exec rake' @@ -104,12 +107,10 @@ function gco_date() { } #My latest prompt -function _update_ps1() { - export PS1="$(~/projects/ubuntu_packages/powerline-shell/powerline-shell.py $? 2> /dev/null)" -} - -export UPDATE_PS1="_update_ps1" -export PROMPT_COMMAND="history -a; history -c; history -r; $UPDATE_PS1" +powerline-daemon -q +POWERLINE_BASH_CONTINUATION=1 +POWERLINE_BASH_SELECT=1 +. /usr/lib/python3.6/site-packages/powerline/bindings/bash/powerline.sh COMP_WORDBREAKS=${COMP_WORDBREAKS/=/} COMP_WORDBREAKS=${COMP_WORDBREAKS/@/} @@ -129,7 +130,7 @@ export HOSTFILE=$HOME/.hosts # 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=$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 LESS='-i -n -w -z-4 -g -e -M -X -F -R -P%t?f%f \' # export LESSOPEN="|lesspipe.sh %s"; export LESSOPEN @@ -325,21 +326,14 @@ eval `keychain --eval --quiet --agents ssh id_rsa` #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"' 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 -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; } + 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; } 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 [ -f /home/nemo/.travis/travis.sh ] && source /home/nemo/.travis/travis.sh #[[ -s "/home/nemo/.gvm/scripts/gvm" ]] && source "/home/nemo/.gvm/scripts/gvm" @@ -350,7 +344,7 @@ export THEOS_DEVICE_PORT=22 # Manage multiple Git identities # karn https://github.com/prydonius/karn -if which karn > /dev/null; then eval "$(karn init)"; fi +# if which karn > /dev/null; then eval "$(karn init)"; fi # Disable beeps xset -b diff --git a/files/fonts/.config/fontconfig/conf.d/10-powerline-symbols.conf b/files/fonts/.config/fontconfig/conf.d/10-powerline-symbols.conf deleted file mode 100644 index 7e34a12..0000000 --- a/files/fonts/.config/fontconfig/conf.d/10-powerline-symbols.conf +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - monospace - PowerlineSymbols - - - Droid Sans Mono - PowerlineSymbols - - - Droid Sans Mono Slashed - PowerlineSymbols - - - Droid Sans Mono Dotted - PowerlineSymbols - - - DejaVu Sans Mono - PowerlineSymbols - - - DejaVu Sans Mono - PowerlineSymbols - - - Envy Code R - PowerlineSymbols - - - Inconsolata - PowerlineSymbols - - - Lucida Console - PowerlineSymbols - - - Monaco - PowerlineSymbols - - - Pragmata - PowerlineSymbols - - - PragmataPro - PowerlineSymbols - - - Menlo - PowerlineSymbols - - - Source Code Pro - PowerlineSymbols - - - Consolas - PowerlineSymbols - - - Anonymous pro - PowerlineSymbols - - - Bitstream Vera Sans Mono - PowerlineSymbols - - - Liberation Mono - PowerlineSymbols - - - Ubuntu Mono - PowerlineSymbols - - - Meslo LG L - PowerlineSymbols - - - Meslo LG L DZ - PowerlineSymbols - - - Meslo LG M - PowerlineSymbols - - - Meslo LG M DZ - PowerlineSymbols - - - Meslo LG S - PowerlineSymbols - - - Meslo LG S DZ - PowerlineSymbols - - diff --git a/files/fonts/.config/fontconfig/conf.d/50-enable-terminess-powerline.conf b/files/fonts/.config/fontconfig/conf.d/50-enable-terminess-powerline.conf new file mode 100644 index 0000000..06c8635 --- /dev/null +++ b/files/fonts/.config/fontconfig/conf.d/50-enable-terminess-powerline.conf @@ -0,0 +1,11 @@ + + + + + + + terminess powerline + + + + \ No newline at end of file diff --git a/files/i3/.i3/config b/files/i3/.i3/config index bc41405..0990ab3 100644 --- a/files/i3/.i3/config +++ b/files/i3/.i3/config @@ -40,7 +40,7 @@ workspace_layout default hide_edge_borders both # Still playing around with this -font pango:DejaVu Sans, FontAwesome 9 +font pango:Input Sans 8,DejaVu Sans, FontAwesome 9 # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod diff --git a/files/themes/.config/Trolltech.conf b/files/themes/.config/Trolltech.conf deleted file mode 100644 index e3b3d34..0000000 --- a/files/themes/.config/Trolltech.conf +++ /dev/null @@ -1,55 +0,0 @@ -[Qt%20Plugin%20Cache%204.8.false] -usr\lib\qt4\plugins\inputmethods\libqimsw-multi.so=40807, 0, x86_64 linux g++-4 full-config, 2018-03-28T04:12:04 -usr\lib\qt4\plugins\sqldrivers\libqsqlibase.so=40807, 0, x86_64 linux g++-4 full-config, 2018-03-28T04:12:04 -usr\lib\qt4\plugins\sqldrivers\libqsqlite.so=40807, 0, x86_64 linux g++-4 full-config, 2018-03-28T04:12:04 -usr\lib\qt4\plugins\sqldrivers\libqsqlmysql.so=40807, 0, x86_64 linux g++-4 full-config, 2018-03-28T04:12:04 -usr\lib\qt4\plugins\sqldrivers\libqsqlodbc.so=40807, 0, x86_64 linux g++-4 full-config, 2018-03-28T04:12:04 -usr\lib\qt4\plugins\sqldrivers\libqsqlpsql.so=40807, 0, x86_64 linux g++-4 full-config, 2018-03-28T04:12:04 -usr\lib\qt4\plugins\imageformats\libqgif.so=40807, 0, x86_64 linux g++-4 full-config, 2018-03-28T04:12:04 -usr\lib\qt4\plugins\imageformats\libqico.so=40807, 0, x86_64 linux g++-4 full-config, 2018-03-28T04:12:04 -usr\lib\qt4\plugins\imageformats\libqjpeg.so=40807, 0, x86_64 linux g++-4 full-config, 2018-03-28T04:12:04 -usr\lib\qt4\plugins\imageformats\libqmng.so=40807, 0, x86_64 linux g++-4 full-config, 2018-03-28T04:12:04 -usr\lib\qt4\plugins\imageformats\libqsvg.so=40807, 0, x86_64 linux g++-4 full-config, 2018-03-28T04:12:04 -usr\lib\qt4\plugins\imageformats\libqtiff.so=40807, 0, x86_64 linux g++-4 full-config, 2018-03-28T04:12:04 -usr\lib\qt4\plugins\iconengines\libqsvgicon.so=40807, 0, x86_64 linux g++-4 full-config, 2018-03-28T04:12:04 -usr\lib\qt4\plugins\bearer\libqconnmanbearer.so=40807, 0, x86_64 linux g++-4 full-config, 2018-03-28T04:12:04 -usr\lib\qt4\plugins\bearer\libqgenericbearer.so=40807, 0, x86_64 linux g++-4 full-config, 2018-03-28T04:12:04 -usr\lib\qt4\plugins\bearer\libqnmbearer.so=40807, 0, x86_64 linux g++-4 full-config, 2018-03-28T04:12:04 - -[Qt%20Factory%20Cache%204.8] -com.trolltech.Qt.QInputContextFactoryInterface%3A\usr\lib\qt4\plugins\inputmethods\libqimsw-multi.so=2018-03-28T04:12:04, imsw-multi -com.trolltech.Qt.QSqlDriverFactoryInterface%3A\usr\lib\qt4\plugins\sqldrivers\libqsqlite.so=2018-03-28T04:12:04, QSQLITE -com.trolltech.Qt.QSqlDriverFactoryInterface%3A\usr\lib\qt4\plugins\sqldrivers\libqsqlmysql.so=2018-03-28T04:12:04, QMYSQL3, QMYSQL -com.trolltech.Qt.QSqlDriverFactoryInterface%3A\usr\lib\qt4\plugins\sqldrivers\libqsqlodbc.so=2018-03-28T04:12:04, QODBC3, QODBC -com.trolltech.Qt.QSqlDriverFactoryInterface%3A\usr\lib\qt4\plugins\sqldrivers\libqsqlpsql.so=2018-03-28T04:12:04, QPSQL7, QPSQL -com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\usr\lib\qt4\plugins\imageformats\libqgif.so=2018-03-28T04:12:04, gif -com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\usr\lib\qt4\plugins\imageformats\libqico.so=2018-03-28T04:12:04, ico -com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\usr\lib\qt4\plugins\imageformats\libqjpeg.so=2018-03-28T04:12:04, jpeg, jpg -com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\usr\lib\qt4\plugins\imageformats\libqmng.so=2018-03-28T04:12:04, mng -com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\usr\lib\qt4\plugins\imageformats\libqsvg.so=2018-03-28T04:12:04, svg, svgz -com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\usr\lib\qt4\plugins\imageformats\libqtiff.so=2018-03-28T04:12:04, tiff, tif -com.trolltech.Qt.QIconEngineFactoryInterfaceV2%3A\usr\lib\qt4\plugins\iconengines\libqsvgicon.so=2018-03-28T04:12:04, svg, svgz, svg.gz -com.trolltech.Qt.QIconEngineFactoryInterface%3A\usr\lib\qt4\plugins\iconengines\libqsvgicon.so=2018-03-28T04:12:04 -com.trolltech.Qt.QBearerEngineFactoryInterface%3A\usr\lib\qt4\plugins\bearer\libqconnmanbearer.so=2018-03-28T04:12:04, connman -com.trolltech.Qt.QBearerEngineFactoryInterface%3A\usr\lib\qt4\plugins\bearer\libqgenericbearer.so=2018-03-28T04:12:04, generic -com.trolltech.Qt.QBearerEngineFactoryInterface%3A\usr\lib\qt4\plugins\bearer\libqnmbearer.so=2018-03-28T04:12:04, networkmanager - -[Qt] -filedialog=@ByteArray(\0\0\0\xbe\0\0\0\x3\0\0\0\x1e\0\0\0\xff\0\0\0\0\0\0\0\x2\0\0\0]\0\0\xe\0\x1\0\0\0\x4\x1\0\0\0\x1\0\0\0\x2\0\0\0\x5\x66ile:\0\0\0\x11\x66ile:///home/nemo\0\0\0\x1\0\0\0\x14\0/\0h\0o\0m\0\x65\0/\0n\0\x65\0m\0o\0\0\0\x14\0/\0h\0o\0m\0\x65\0/\0n\0\x65\0m\0o\0\0\0~\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x1\xec\0\0\0\x4\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\0\xff\0\0\0\x1\0\0\0\0\0\0\0?\0\0\0\x1\0\0\0\0\0\0\0@\0\0\0\x1\0\0\0\0\0\0\0n\0\0\0\x1\0\0\0\0\0\0\0\x1) -style=GTK+ -customColors\0=4294967295 -customColors\1=4294967295 -customColors\2=4294967295 -customColors\3=4294967295 -customColors\4=4294967295 -customColors\5=4294967295 -customColors\6=4294967295 -customColors\7=4294967295 -customColors\8=4294967295 -customColors\9=4294967295 -customColors\10=4294967295 -customColors\11=4294967295 -customColors\12=4294967295 -customColors\13=4294967295 -customColors\14=4294967295 -customColors\15=4294967295 diff --git a/files/x11/.Xresources b/files/x11/.Xresources index bf7f59f..30a71d0 100644 --- a/files/x11/.Xresources +++ b/files/x11/.Xresources @@ -54,15 +54,18 @@ Xft.rgba: rgb Xft.hinting: true Xft.hintstyle: hintslight -URxvt.font: xft:Input Mono:size=12:pixelsize=12 +URxvt.font: xft:Input Mono:size=18:antialias=true +URxvt.boldFont: xft:Input Mono:bold:size=18:antialias=true URxvt.scrollBar: false URxvt.resize-font.smaller: C-Down URxvt.resize-font.bigger: C-Up -URxvt.iso14755: false -URxvt.iso14755_52: false +URxvt.iso14755: true +URxvt.iso14755_52: true URxvt.perl-ext-common: default,matcher,resize-font URxvt.url-launcher: /usr/bin/xdg-open URxvt.matcher.button: 1 URxvt.keysym.C-Delete: perl:matcher:last URxvt.keysym.M-Delete: perl:matcher:list + +URxvt.imLocale: en_US.utf8 \ No newline at end of file