Compare commits
3 Commits
85e5fa4dbf
...
502fdd2149
| Author | SHA1 | Date | |
|---|---|---|---|
| 502fdd2149 | |||
|
50afc6ed7f
|
|||
|
8244d5cf6b
|
20
bashrc
20
bashrc
@@ -1,7 +1,10 @@
|
|||||||
|
|
||||||
PATH=$HOME/.scripts:/opt:$PATH
|
PATH=$HOME/.scripts:/opt:$PATH
|
||||||
HISTSIZE=999999
|
HISTSIZE=999999
|
||||||
HISTFILESIZE=999999
|
HISTFILESIZE=999999
|
||||||
|
export GPG_TTY=$(tty) #Set GPG_TTY veriable, needed for signing git commits other gpg stuff
|
||||||
|
|
||||||
|
export SSH_CA_FILES=/home/shihaam/git/alliedmaldives/ops/ssh-ca
|
||||||
|
|
||||||
#load ble.sh
|
#load ble.sh
|
||||||
source ~/.local/share/blesh/ble.sh
|
source ~/.local/share/blesh/ble.sh
|
||||||
@@ -14,21 +17,28 @@ source ~/.bash-seafly-prompt/command_prompt.bash
|
|||||||
cd(){ builtin cd "$@" && pwd > ~/.cache/whereami;}
|
cd(){ builtin cd "$@" && pwd > ~/.cache/whereami;}
|
||||||
cdl(){ cd $(cat ~/.cache/whereami);};cdl
|
cdl(){ cd $(cat ~/.cache/whereami);};cdl
|
||||||
|
|
||||||
#alias ssh='TERM=xterm ssh -o StrictHostKeyChecking=no'
|
|
||||||
#alias ssh='TERM=xterm ssh'
|
|
||||||
#alias ssh='TERM=xterm-256color ssh'
|
|
||||||
|
|
||||||
|
####### ALIASES ##########
|
||||||
alias nano='nano -i'
|
alias nano='nano -i'
|
||||||
alias hdd='cd /mnt/hdd'
|
alias hdd='cd /mnt/hdd'
|
||||||
|
#########################
|
||||||
|
|
||||||
|
|
||||||
#Adding output colors
|
#Adding output colors
|
||||||
alias ls='ls --color=always'
|
alias ls='ls --color=always'
|
||||||
alias grep='grep --color=always'
|
alias grep='grep --color=auto'
|
||||||
alias less='less -R'
|
alias less='less -R'
|
||||||
|
|
||||||
|
|
||||||
#do math in shell
|
##################### Some cool funcations hehe ###############################
|
||||||
|
# do math in shell
|
||||||
math(){ echo $1 | bc;}
|
math(){ echo $1 | bc;}
|
||||||
|
# Simpleway to see IP resolved to DNS record
|
||||||
|
checkip(){ dig $1 +short;}
|
||||||
|
# search for term and edit first file with that specific text
|
||||||
|
edit(){ nano $(grep $1 * -R | awk '{print $1}'|cut -f1 -d ':' | head -n1);}
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
|
||||||
#load neofetch
|
#load neofetch
|
||||||
neofetch
|
neofetch
|
||||||
|
|||||||
12
config/xsettingsd/xsettingsd.conf
Normal file
12
config/xsettingsd/xsettingsd.conf
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
Net/ThemeName "Breeze-Dark"
|
||||||
|
Gtk/EnableAnimations 1
|
||||||
|
Gtk/DecorationLayout "icon:minimize,maximize,close"
|
||||||
|
Gtk/PrimaryButtonWarpsSlider 0
|
||||||
|
Gtk/ToolbarStyle 3
|
||||||
|
Gtk/MenuImages 1
|
||||||
|
Gtk/ButtonImages 1
|
||||||
|
Gtk/CursorThemeSize 24
|
||||||
|
Gtk/CursorThemeName "breeze_cursors"
|
||||||
|
Net/IconThemeName "breeze-dark"
|
||||||
|
Gtk/FontName "Noto Sans, 10"
|
||||||
|
|
||||||
@@ -29,3 +29,12 @@ then
|
|||||||
ln -s $PWD/bashrc $HOME/.bashrc
|
ln -s $PWD/bashrc $HOME/.bashrc
|
||||||
fi
|
fi
|
||||||
###################################################################
|
###################################################################
|
||||||
|
|
||||||
|
###################################################################
|
||||||
|
read -p "xsettingsd [Y/n]: " XSETTINGSD
|
||||||
|
if [ "$XSETTINGSD" = "Y" ] || [ "$XSETTINGSD" = "y" ] || [ "$XSETTINGSD" = "" ]
|
||||||
|
then
|
||||||
|
sudo pacman -S xsettingsd
|
||||||
|
mkdir -p $HOME/.config/xsettingsd/
|
||||||
|
ln -s $PWD/config/xsettingsd/xsettingsd.conf $HOME/.config/xsettingsd/xsettingsd.conf
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user