mirror of
https://github.com/neoromantique/dotfiles.git
synced 2026-03-13 21:53:20 +03:00
Sync workstation
This commit is contained in:
7
.bashrc
7
.bashrc
@@ -26,6 +26,8 @@ alias mv='mv -i' # ^
|
||||
alias ..='cd ..' # convinient navigation
|
||||
alias vi='vim' # Also convinient
|
||||
|
||||
alias lsblk='lsblk -o name,mountpoint,label,size,fstype,uuid | egrep -v "^loop"'
|
||||
|
||||
alias ss='sshch'
|
||||
alias rtv='rtv --enable-media'
|
||||
|
||||
@@ -120,6 +122,9 @@ if [ -f $HOME/.bash_helpers ]; then
|
||||
. $HOME/.bash_helpers
|
||||
fi
|
||||
|
||||
|
||||
alias genpass="apg -a 1 -M lnc -n 9 -m 26"
|
||||
|
||||
alias screen_record='bash screen_record.sh'
|
||||
export GOPATH=$HOME/go
|
||||
PATH=$GOPATH/bin:$PATH
|
||||
@@ -129,8 +134,6 @@ export PATH="$PATH:$HOME/.rvm/bin"
|
||||
|
||||
[[ -s "/etc/profile.d/grc.bashrc" ]] && source /etc/profile.d/grc.bashrc
|
||||
|
||||
source /home/david/.config/broot/launcher/bash/br
|
||||
|
||||
alias repl="NODE_PATH=$(npm root -g) node"
|
||||
|
||||
# Scaleway CLI autocomplete initialization.
|
||||
|
||||
@@ -14,7 +14,7 @@ set $super Mod4
|
||||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
font pango:monospace 8
|
||||
font pango:monospace 10
|
||||
|
||||
#exec feh --bg-fill /home/david/Pictures/Wallpapers/ellie_full.jpg
|
||||
exec feh --bg-fill /home/david/Pictures/wall.png
|
||||
@@ -59,6 +59,8 @@ bindsym $mod+Return exec i3-sensible-terminal
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
bindsym $mod+Shift+w xdotool getwindowfocus windowkill
|
||||
|
||||
|
||||
# start dmenu (a program launcher)
|
||||
#bindsym $mod+d exec dmenu_run
|
||||
@@ -110,7 +112,7 @@ bindsym $mod+f fullscreen toggle
|
||||
|
||||
for_window [title="^scratchpad$"] border 1pixel, floating enable, move scratchpad
|
||||
bindsym F1 [instance="scratchpad"] scratchpad show; sticky enable
|
||||
exec urxvt -name scratchpad -geometry 200x50
|
||||
exec kitty --title scratchpad --name scratchpad
|
||||
|
||||
# change container layout (stacked, tabbed, toggle split)
|
||||
bindsym $mod+s layout stacking
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
#/bin/bash
|
||||
|
||||
source ~/.secrets/ethplorer.api
|
||||
USDT=$(curl -s "https://api.ethplorer.io/getAddressInfo/$ETH_ADDR?apiKey=$ETH_API_KEY" | jq .tokens[0].balance)
|
||||
echo USDT: $(expr $USDT / 1000000)$
|
||||
|
||||
#USDT=$(curl -s "https://api.ethplorer.io/getAddressInfo/$ETH_ADDR?apiKey=$ETH_API_KEY" | jq .tokens[0].balance)
|
||||
USDT=$(curl -s "https://api.ethplorer.io/getAddressInfo/$ETH_ADDR?apiKey=$ETH_API_KEY" | jq -r '(."ETH".balance)*(."ETH"."price"."rate")')
|
||||
|
||||
echo ETH=${USDT%.*}$
|
||||
#echo USDT: $(expr $USDT)$
|
||||
|
||||
Reference in New Issue
Block a user