mirror of
https://github.com/neoromantique/dotfiles.git
synced 2026-03-13 21:53:20 +03:00
upd.
This commit is contained in:
4
.bashrc
4
.bashrc
@@ -98,6 +98,8 @@ export NVM_DIR="$HOME/.nvm"
|
|||||||
alias yavide="gvim --servername yavide -f -N -u /opt/yavide/.vimrc"
|
alias yavide="gvim --servername yavide -f -N -u /opt/yavide/.vimrc"
|
||||||
|
|
||||||
alias t="clear; python ~/t/t.py --task-dir ~/Dropbox --list tasks"
|
alias t="clear; python ~/t/t.py --task-dir ~/Dropbox --list tasks"
|
||||||
|
alias tw="t | grep 'verify'"
|
||||||
|
|
||||||
function ta() {
|
function ta() {
|
||||||
t "$1"
|
t "$1"
|
||||||
t
|
t
|
||||||
@@ -106,6 +108,8 @@ function tf() {
|
|||||||
t -f "$1"
|
t -f "$1"
|
||||||
t
|
t
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# include .bashrc helpers if they exist (Non-Open Source helpers)
|
# include .bashrc helpers if they exist (Non-Open Source helpers)
|
||||||
if [ -f $HOME/.bash_helpers ]; then
|
if [ -f $HOME/.bash_helpers ]; then
|
||||||
. $HOME/.bash_helpers
|
. $HOME/.bash_helpers
|
||||||
|
|||||||
@@ -51,29 +51,33 @@ bindsym $mod+Return exec i3-sensible-terminal
|
|||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
# start dmenu (a program launcher)
|
# start dmenu (a program launcher)
|
||||||
bindsym $mod+d exec dmenu_run
|
#bindsym $mod+d exec dmenu_run
|
||||||
|
bindsym $mod+d exec rofi -show run -modi run -theme Arc-Dark
|
||||||
|
bindsym F3 exec rofi -modi ssh -show ssh -theme Arc-Dark
|
||||||
|
bindsym F2 exec rofi -modi window -show window -theme Arc-Dark
|
||||||
|
|
||||||
# There also is the (new) i3-dmenu-desktop which only displays applications
|
# There also is the (new) i3-dmenu-desktop which only displays applications
|
||||||
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
||||||
# installed.
|
# installed.
|
||||||
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
|
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
|
||||||
|
|
||||||
# change focus
|
# change focus
|
||||||
bindsym $mod+Shif+j focus left
|
bindsym $mod+h focus left
|
||||||
bindsym $mod+Shift+k focus down
|
bindsym $mod+k focus down
|
||||||
bindsym $mod+l focus up
|
bindsym $mod+j focus up
|
||||||
bindsym $mod+semicolon focus right
|
bindsym $mod+l focus right
|
||||||
|
|
||||||
# alternatively, you can use the cursor keys:
|
# alternatively, you can use the cursor keys:
|
||||||
#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+h move left
|
||||||
#bindsym $mod+Shift+k move down
|
bindsym $mod+Shift+k move down
|
||||||
#bindsym $mod+Shift+l move up
|
bindsym $mod+Shift+j move up
|
||||||
#bindsym $mod+Shift+semicolon move right
|
bindsym $mod+Shift+l move right
|
||||||
|
|
||||||
# alternatively, you can use the cursor keys:
|
# alternatively, you can use the cursor keys:
|
||||||
bindsym $mod+Shift+Left move left
|
bindsym $mod+Shift+Left move left
|
||||||
@@ -82,14 +86,18 @@ bindsym $mod+Shift+Up move up
|
|||||||
bindsym $mod+Shift+Right move right
|
bindsym $mod+Shift+Right move right
|
||||||
|
|
||||||
# split in horizontal orientation
|
# split in horizontal orientation
|
||||||
bindsym $mod+h split h
|
bindsym F8 split h
|
||||||
|
|
||||||
# split in vertical orientation
|
# split in vertical orientation
|
||||||
bindsym $mod+v split v
|
bindsym F9 split v
|
||||||
|
|
||||||
# enter fullscreen mode for the focused container
|
# enter fullscreen mode for the focused container
|
||||||
bindsym $mod+f fullscreen toggle
|
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 186x48
|
||||||
|
|
||||||
# change container layout (stacked, tabbed, toggle split)
|
# change container layout (stacked, tabbed, toggle split)
|
||||||
bindsym $mod+s layout stacking
|
bindsym $mod+s layout stacking
|
||||||
bindsym $mod+w layout tabbed
|
bindsym $mod+w layout tabbed
|
||||||
@@ -140,8 +148,8 @@ bindsym --release Print exec scrot -s '/tmp/%F_%T_$wx$h.png' -e 'xclip -selectio
|
|||||||
# mocp
|
# mocp
|
||||||
#bindsym $mod+Shift+j exec "/usr/bin/mocp -G"
|
#bindsym $mod+Shift+j exec "/usr/bin/mocp -G"
|
||||||
bindsym $mod+p exec "/usr/bin/mocp -G"
|
bindsym $mod+p exec "/usr/bin/mocp -G"
|
||||||
bindsym $mod+k exec "/usr/bin/mocp -f"
|
bindsym $mod+o exec "/usr/bin/mocp -f"
|
||||||
bindsym $mod+j exec "/usr/bin/mocp -r"
|
bindsym $mod+i exec "/usr/bin/mocp -r"
|
||||||
|
|
||||||
# Force mpv to left-most screen
|
# Force mpv to left-most screen
|
||||||
for_window [class="mpv"] move to workspace media
|
for_window [class="mpv"] move to workspace media
|
||||||
|
|||||||
@@ -4,11 +4,6 @@ command= sh ~/Scripts/docker.sh
|
|||||||
color=#0db7ed
|
color=#0db7ed
|
||||||
interval=10
|
interval=10
|
||||||
|
|
||||||
[balance]
|
|
||||||
command= sh ~/Scripts/getTransferBal.sh
|
|
||||||
interval=120
|
|
||||||
color=#00ff00
|
|
||||||
|
|
||||||
[memory]
|
[memory]
|
||||||
command= sh ~/Scripts/memory.sh
|
command= sh ~/Scripts/memory.sh
|
||||||
label=MEM
|
label=MEM
|
||||||
@@ -19,23 +14,12 @@ command= sh ~/Scripts/disk.sh
|
|||||||
label=HOME:
|
label=HOME:
|
||||||
interval=30
|
interval=30
|
||||||
|
|
||||||
[clicker]
|
|
||||||
command= sh ~/Scripts/getTimeWorked.sh
|
|
||||||
interval=480
|
|
||||||
color=#00f404
|
|
||||||
|
|
||||||
# Guess the weather hourly
|
# Guess the weather hourly
|
||||||
[weather]
|
[weather]
|
||||||
command=curl -Ss 'https://wttr.in?0&T&Q' | cut -c 16- | head -2 | xargs echo
|
command=curl -Ss 'https://wttr.in?0&T&Q' | cut -c 16- | head -2 | xargs echo
|
||||||
interval=3600
|
interval=3600
|
||||||
color=#A4C2F4
|
color=#A4C2F4
|
||||||
|
|
||||||
# Query my default IP address only on startup
|
|
||||||
[ip]
|
|
||||||
command=curl -s ip.me | awk '{ print "IP:" $1 }'
|
|
||||||
interval=once
|
|
||||||
color=#91E78B
|
|
||||||
|
|
||||||
[covid]
|
[covid]
|
||||||
command= sh ~/Scripts/corona.sh
|
command= sh ~/Scripts/corona.sh
|
||||||
color=#ffffff
|
color=#ffffff
|
||||||
@@ -43,6 +27,6 @@ interval=240
|
|||||||
|
|
||||||
# Update time every 5 seconds
|
# Update time every 5 seconds
|
||||||
[time]
|
[time]
|
||||||
command=echo "Local: $(date +%H:%M) | LA: $(TZ="America/Los_Angeles" date +%H:%M)"
|
command=echo "🇱🇹 $(date +%H:%M) 🇺🇸 $(TZ="America/Los_Angeles" date +%H:%M) "
|
||||||
color=#ffffff
|
color=#ffffff
|
||||||
interval=5
|
interval=5
|
||||||
|
|||||||
1
setup.sh
1
setup.sh
@@ -95,6 +95,7 @@ echo -e "vim-airline"
|
|||||||
echo -e "${GREEN} Please run :helptags on first run ${RESET}"
|
echo -e "${GREEN} Please run :helptags on first run ${RESET}"
|
||||||
|
|
||||||
git clone https://github.com/vim-airline/vim-airline ~/.vim/bundle/vim-airline &> /dev/null
|
git clone https://github.com/vim-airline/vim-airline ~/.vim/bundle/vim-airline &> /dev/null
|
||||||
|
git clone git://github.com/digitaltoad/vim-pug.git &> /dev/null
|
||||||
|
|
||||||
echo -e "${GREEN} nerdtree ${RESET}"
|
echo -e "${GREEN} nerdtree ${RESET}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user