CHANGES BOIIIIIIIIIII
prithugoswami prithugoswami524@gmail.com
Fri, 19 Apr 2019 20:59:40 +0530
6 files changed,
22 insertions(+),
11 deletions(-)
M
.vimrc
→
.vimrc
@@ -16,7 +16,8 @@ " load filetype-specific indent files
filetype plugin indent on " compiling for different file types -autocmd FileType markdown nnoremap cp :w<Enter>:!pandoc -f gfm -V geometry=margin=1in -V links-as-notes -o %.pdf %<Enter><Enter> +" autocmd FileType markdown nnoremap cp :w<Enter>:!pandoc -f gfm -V geometry=margin=0.75in --resource-path="expand('%:p:h')/img" -V links-as-notes -o %.pdf %<Enter><Enter> +autocmd FileType markdown nnoremap cp :w<Enter>:!pandoc -f markdown -V geometry=margin=0.75in -V papersize=A4 -o pdf/%.pdf %<Enter><Enter> autocmd FileType html setlocal ts=2 sts=2 sw=2 " autocmd FileType c nnoremap cp :w<Enter>:!clear && gcc % && ./a.out<Enter> autocmd BufRead *.pdentry :Goyo
M
bin/scripts/linkhandler
→
bin/scripts/linkhandler
@@ -19,8 +19,8 @@ *mkv|*webm|*mp4|*gif)
setsid mpv -quiet "$1" >/dev/null 2>&1 & ;; *youtube.com*|*youtu.be*) notify-send "Playing youtube video" - setsid mpv --ytdl-format=$ytdlfmt --quiet "$1" >/dev/null 2>&1 & ;; - # setsid youtube-viewer "$1" >/dev/null 2>&1 & ;; + # setsid mpv --ytdl-format=$ytdlfmt --quiet "$1" >/dev/null 2>&1 & ;; + setsid youtube-viewer "$1" >/dev/null 2>&1 & ;; *png|*jpg|*jpe|*jpeg) setsid feh "$1" >/dev/null 2>&1 & ;; *mp3|*flac|*opus|*mp3?source)
M
i3/config
→
i3/config
@@ -4,7 +4,7 @@ ### Appearance ###{{{
## Wallpaper ## {{{ -set $wall_set feh --bg-fill ~/Desktop/walls/gist.jpg +set $wall_set feh --bg-fill ~/Desktop/walls/0f1111.png #set $wall_set wal -e -s -i ~/Desktop/walls/canvas.jpg # pywal will set the wallpaper and change the colors only for@@ -162,7 +162,7 @@ bindsym $mod+Shift+Return exec --no-startup-id urxvt
bindsym $mod+b exec st -e "nnn" bindsym $mod+Ctrl+b exec terminal -e 'bmenu' # bindsym $mod+d exec "rofi -show run -lines 3 -padding 25" -bindsym $mod+d exec --no-startup-id `cat .config/launcher | dmenu -h 23` +bindsym $mod+d exec --no-startup-id `cat .config/launcher | dmenu -nb "#000" -sb "#FFF" -sf "#000" -h 23` # Desktop application launcher #bindsym $mod+Shift+d exec --no-startup-id "rofi -show drun" bindsym $mod+Shift+d exec --no-startup-id "runa -a"@@ -374,7 +374,7 @@ # sets monitor to the right
bindsym y exec $monitor_right , exec $wall_set && sleep 0.01 , exec echo $monitor_right > ~/.screenlayout/last_layout , mode "default" # when there is no external monitor connected - bindsym g exec $monitor_none , exec $wall_set && sleep 0.01 , exec echo $monitor_right > ~/.screenlayout/last_layout , mode "default" + bindsym g exec $monitor_none , exec $wall_set && sleep 0.01 , exec echo $monitor_none > ~/.screenlayout/last_layout , mode "default" # duplicate the laptop screen to an external monitor bindsym f exec $monitor_duplicate , exec $wall_set && sleep 0.01 , exec echo $monitor_duplicate > ~/.screenlayout/last_layout , mode "default"@@ -410,7 +410,7 @@ ### Autostart Applications/Scripts ###{{{
exec --no-startup-id newsboat-cron # Typematic delay and rate (Autorepeating key in X server) -exec --no-startup-id xset r rate 250 40 +exec --no-startup-id xset r rate 250 50 # chaning keyboard layout using Alt+Caps from US to IN exec --no-startup-id setxkbmap -layout us,in -option "grp:alt_caps_toggle" exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1@@ -437,7 +437,7 @@ set $mod Mod4
# Use Mouse+$mod to drag floating windows floating_modifier $mod -exec_always --no-startup-id "killall flashfocus ; flashfocus" +# exec_always --no-startup-id "killall flashfocus ; flashfocus" bindsym $mod+F2 exec --no-startup-id toggle_touchpad # Font for window titles. Will also be used by the bar unless a different font@@ -452,6 +452,9 @@ # Screenshot
bindsym Print exec --no-startup-id i3-scrot bindsym $mod+Print --release exec --no-startup-id i3-scrot -w bindsym $mod+Shift+Print --release exec --no-startup-id i3-scrot -s + +# Screenshots for notes +bindsym $mod+g exec --no-startup-id notes_scrot #exec --no-startup-id volumeicon bindsym $mod+Ctrl+m exec terminal -e 'alsamixer'@@ -508,9 +511,9 @@ separator #222222
background #000000a0 # background $base00 statusline $base05 - focused_workspace $base0C $base0D $base00 + focused_workspace #CCCCCC #CCCCCC #222222 active_workspace $base02 $base02 $base07 - inactive_workspace $base03 $base03 $base06 + inactive_workspace #444444 #444444 $base06 urgent_workspace $base08 $base08 $base07 } # colors {
M
i3blocks/config
→
i3blocks/config
@@ -1,3 +1,7 @@
+#[match] +#command=match_score +#interval=15 + [reminder] command=~/.config/i3blocks/note interval=1
M
i3blocks/newsboat
→
i3blocks/newsboat
@@ -2,6 +2,8 @@ #!/bin/sh
icon=$(echo -en "<span font='Font Awesome 5 Free'>\uf09e</span>") count=$(cat $HOME/.config/newsboat/unread) +[ $count = $(echo -e '\uf2f1') ] || count=$(newsboat -x 'print-unread' | cut -d ' ' -f1) + case $BLOCK_BUTTON in 1) setsid st -e newsboat && count=$(newsboat -x 'print-unread' | cut -d ' ' -f1) ;;
M
ranger/rifle.conf
→
ranger/rifle.conf
@@ -141,8 +141,8 @@
#------------------------------------------- # Documents #------------------------------------------- -ext pdf, has llpp, X, flag f = llpp "$@" ext pdf, has zathura, X, flag f = zathura -- "$@" +ext pdf, has llpp, X, flag f = llpp "$@" ext pdf, has evince, X, flag f = evince -- "$@" ext pdf, has mupdf, X, flag f = mupdf "$@" ext pdf, has mupdf-x11,X, flag f = mupdf-x11 "$@"@@ -166,6 +166,7 @@ ext djvu, has zathura,X, flag f = zathura -- "$@"
ext djvu, has evince, X, flag f = evince -- "$@" ext djvu, has atril, X, flag f = atril -- "$@" +ext chm, has ebook-viewer, X, flag f = ebook-viewer -- "$@" ext epub, has ebook-viewer, X, flag f = ebook-viewer -- "$@" ext mobi, has ebook-viewer, X, flag f = ebook-viewer -- "$@"