update
prithugoswami prithugoswami524@gmail.com
Sun, 14 Jul 2019 11:05:46 +0530
5 files changed,
33 insertions(+),
16 deletions(-)
M
.bashrc
→
.bashrc
@@ -25,14 +25,19 @@ man `man -k . | fzf -i --reverse --height=40% --tiebreak=begin |\
cut -d ' ' -f1` } -# 's'earch 'e'dit -se(){ +# 'f'ind 'e'dit +fe(){ vim `fzf` } -# search - simply cd's into the dir -s(){ - cd "$(dirname "$(fzf)")" +# f - simply cd's into the dir beneath the current +f(){ + cd "$(dirname "$(fzf -i --reverse)")" +} + +# find from home +fh(){ + cd "$(dirname "$(find ~/* -type f | fzf -i --reverse)")" } # cheat.sh@@ -45,17 +50,17 @@ alias todo="task modify -in"
alias cfi="vim ~/.i3/config" alias cfz="vim ~/.zshrc" +alias cfb="vim ~/.bashrc" alias cfv="vim ~/.vimrc" alias cfx="vim ~/.Xresources" -alias cfr="vim ~/.config/rofi/config.rasi" +alias cfr="vim ~/.config/ranger/rifle.conf" alias rx="xrdb ~/.Xresources" -alias sn="shutdown now" -alias rn="shutdown -r now" alias :wq="exit" alias tmux="tmux -u" alias ch="ping 8.8.8.8" alias n="nautilus" alias yv="youtube-viewer" +alias mkddir="mkdir `date +%d-%m-%Y`" # Read pd from the cloud@@ -147,7 +152,7 @@ PS1='\[\033[01;31m\][\h\[\033[01;36m\] \W\[\033[01;31m\]]\$\[\033[00m\] '
else # PS1='\[\033[01;32m\][\u@\h\[\033[01;37m\] \W\[\033[01;32m\]]\$\[\033[00m\] ' # PS1='\[\033[01;32m\][\[\033[01;37m\]\W\[\033[01;32m\]]\$\[\033[00m\] ' - PS1='\[\033[01;32m\]ॐ [\[\033[37m\]\W\[\033[32m\]]\[\033[00m\]> ' + PS1='\[\033[01;32m\]ॐ [\[\033[37m\]\W\[\033[32m\]]\[\033[00m\] ' fi alias ls='ls --color=auto'
M
i3/config
→
i3/config
@@ -126,13 +126,21 @@ #}}}
## Window Decorations ##{{{ # class border backgr. text indic. child_border - client.focused $arc_dark_blue $arc_dark_blue $arc_white - client.focused_inactive $arc_darker_blue $arc_darker_blue $arc_white - client.unfocused $arc_darker_blue $arc_darker_blue $arc_grey + client.focused #252626 #252626 #dddddd + client.focused_inactive #000000 #000000 #dddddd + client.unfocused #000000 #000000 #777777 client.urgent $arc_red $arc_red $arc_white client.placeholder #000000 #0c0c0c #ffffff #000000 client.background #2B2C2B + + # client.focused $arc_dark_blue $arc_dark_blue $arc_white + # client.focused_inactive $arc_darker_blue $arc_darker_blue $arc_white + # client.unfocused $arc_darker_blue $arc_darker_blue $arc_grey + # client.urgent $arc_red $arc_red $arc_white + # client.placeholder #000000 #0c0c0c #ffffff #000000 + + # client.background #2B2C2B #}}} ## Pywal Color Scheme ##{{{@@ -160,6 +168,7 @@
set $dmenu_args -nb "#000" -sb "#FFF" -sf "#000" -h 20 bindsym $mod+Return exec --no-startup-id st +bindsym $mod+Ctrl+Return exec --no-startup-id st -e tmux bindsym $mod+Shift+Return exec --no-startup-id samedir bindsym $mod+b exec st -e "nnn" bindsym $mod+Ctrl+b exec terminal -e 'bmenu'@@ -168,7 +177,7 @@ # bindsym $mod+d exec --no-startup-id `cat .config/launcher | dmenu -nb "#000" -sb "#FFF" -sf "#000" -h 20`
bindsym $mod+d exec --no-startup-id `cat .config/launcher | dmenu $dmenu_args` bindsym $mod+i exec --no-startup-id clipmenu $dmenu_args -l 15 # Desktop application launcher -#bindsym $mod+Shift+d exec --no-startup-id "rofi -show drun" +# bindsym $mod+Shift+d exec --no-startup-id "rofi -show drun" bindsym $mod+Shift+d exec --no-startup-id "runa -a" # bindsym $mod+i exec --no-startup-id "qutebrowser" # PD@@ -448,7 +457,7 @@
bindsym $mod+F2 exec --no-startup-id toggle_touchpad # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. -font pango:Roboto 8 +font pango:Hack 8 # kill focused window bindsym $mod+o kill
M
i3blocks/config
→
i3blocks/config
@@ -1,7 +1,7 @@
#[match] #command=match_score -#interval=15 -# +#interval=10 + [reminder] command=~/.config/i3blocks/note interval=1
M
newsboat/urls
→
newsboat/urls
@@ -10,6 +10,7 @@ "======================================="
https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA youtube # Luke Smith https://www.youtube.com/feeds/videos.xml?channel_id=UCS0N5baNlQWJCUrhCEo8WlA youtube # Ben Eater https://www.youtube.com/feeds/videos.xml?channel_id=UCFzGyNKXPAglNq28qWYTDFA youtube # Kai Hendry +https://www.youtube.com/feeds/videos.xml?channel_id=UCvuJAtwzU-fTQH3zQpvt7Fg youtube # PT Education https://www.youtube.com/feeds/videos.xml?channel_id=UCk9NvmsPBC3lTn_L9kFaylA youtube # iBSD https://www.youtube.com/feeds/videos.xml?channel_id=UCimiUgDLbi6P17BdaCZpVbg youtube # exurb1a https://www.youtube.com/feeds/videos.xml?channel_id=UCbiGcwDWZjz05njNPrJU7jA youtube # ExplainingComputers