From b792504571a5fff495a1103a834b8a3112c8b496 Mon Sep 17 00:00:00 2001 From: logan2611 Date: Tue, 21 Jan 2020 21:48:06 -0700 Subject: [PATCH] Added bashrc and made it less ugly --- .bashrc | 21 +++++++++++++++++++++ .config/qt5ct/qt5ct.conf | 6 +++--- .gitignore | 4 +++- .xinitrc | 2 +- 4 files changed, 28 insertions(+), 5 deletions(-) create mode 100644 .bashrc diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..6ae4a82 --- /dev/null +++ b/.bashrc @@ -0,0 +1,21 @@ +# +# ~/.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + + +alias ls='ls --color=auto' +alias grep = 'grep --color=auto' +alias sudo='sudo ' +alias cheat='f() { curl cheat.sh/$1; };f' +alias updatemirrors='sudo reflector --age 12 --number 10 --protocol https --sort rate --save /etc/pacman.d/mirrorlist' +alias pacman-clean='pacman -Rsn $(pacman -Qdtq)' + +complete -cf sudo + +export QT_QPA_PLATFORMTHEME=qt5ct + +PS1='[\u@\h \W]\$ ' +[ -f /opt/miniconda3/etc/profile.d/conda.sh ] && source /opt/miniconda3/etc/profile.d/conda.sh diff --git a/.config/qt5ct/qt5ct.conf b/.config/qt5ct/qt5ct.conf index 6f799b8..7658907 100644 --- a/.config/qt5ct/qt5ct.conf +++ b/.config/qt5ct/qt5ct.conf @@ -6,8 +6,8 @@ standard_dialogs=gtk2 style=gtk2 [Fonts] -fixed=@Variant(\0\0\0@\0\0\0&\0\x42\0i\0t\0s\0t\0r\0\x65\0\x61\0m\0 \0V\0\x65\0r\0\x61\0 \0S\0\x61\0n\0s@(\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10) -general=@Variant(\0\0\0@\0\0\0&\0\x42\0i\0t\0s\0t\0r\0\x65\0\x61\0m\0 \0V\0\x65\0r\0\x61\0 \0S\0\x61\0n\0s@(\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10) +fixed=@Variant(\0\0\0@\0\0\0 \0\x44\0\x65\0j\0\x61\0V\0u\0 \0S\0\x61\0n\0s\0 \0M\0o\0n\0o@(\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10) +general=@Variant(\0\0\0@\0\0\0 \0\x44\0\x65\0j\0\x61\0V\0u\0 \0S\0\x61\0n\0s\0 \0M\0o\0n\0o@(\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10) [Interface] activate_item_on_single_click=1 @@ -28,4 +28,4 @@ wheel_scroll_lines=3 geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x2}\0\0\x1\x6\0\0\x4\xff\0\0\x2\xf8\0\0\x2}\0\0\x1\x6\0\0\x4\xff\0\0\x2\xf8\0\0\0\0\0\0\0\0\a\x80\0\0\x2}\0\0\x1\x6\0\0\x4\xff\0\0\x2\xf8) [SettingsWindow] -geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\x4\0\0\0\x1a\0\0\a{\0\0\x4\x33\0\0\0\x4\0\0\0\x1a\0\0\a{\0\0\x4\x33\0\0\0\0\0\0\0\0\a\x80\0\0\0\x4\0\0\0\x1a\0\0\a{\0\0\x4\x33) +geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x2\x82\0\0\0\x1a\0\0\x4\xfd\0\0\x4\x33\0\0\x2\x82\0\0\0\x1a\0\0\x4\xfd\0\0\x4\x33\0\0\0\0\0\0\0\0\a\x80\0\0\x2\x82\0\0\0\x1a\0\0\x4\xfd\0\0\x4\x33) diff --git a/.gitignore b/.gitignore index 541c4fd..1f4cca7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +1,12 @@ * !.config/ -!.config/* +!.config/** !.vimrc !.Xresources !.xinitrc !.gtkrc-2.0 !.gitignore +!.inputrc +!.bashrc !README.md diff --git a/.xinitrc b/.xinitrc index 33ba6b0..9be4d46 100644 --- a/.xinitrc +++ b/.xinitrc @@ -56,6 +56,6 @@ fi #exec startkde -export QT_QPA_PLATFORMTHEME=qt5ct +#export QT_QPA_PLATFORMTHEME=qt5ct #export QT_QPA_PLATFORMTHEME=gtk3 exec dbus-launch i3