update i3config,bashrc,newsboat/urls - added samedir script to open terminal in the current focused terminals path - removed some rss urls - added functions in bashrc
prithugoswami prithugoswami524@gmail.com
Thu, 09 May 2019 10:54:47 +0530
4 files changed,
22 insertions(+),
9 deletions(-)
A
bin/scripts/i3scripts/samedir
@@ -0,0 +1,5 @@
+#!/bin/sh +PID=$(xprop -id "$(xprop -root | awk '/_NET_ACTIVE_WINDOW\(WINDOW\)/{print $NF}')" | grep -m 1 PID | cut -d " " -f 3) +PID=$(echo "$(pstree -lpA "$PID" | tail -n 1)" | awk -F'---' '{print $NF}' | sed -re 's/[^0-9]//g') +cd "$(readlink /proc/"$PID"/cwd)" +"$TERMINAL"
M
i3/config
→
i3/config
@@ -117,16 +117,16 @@ set $base0D #55b5db
set $base0E #a074c4 set $base0F #8a553f -client.focused $base0D $base0D $base00 $base01 -client.focused_inactive $base02 $base02 $base03 $base01 -client.unfocused $base01 $base01 $base03 $base01 -client.urgent $base02 $base08 $base07 $base08 +# client.focused $base0D $base0D $base00 $base01 +# client.focused_inactive $base02 $base02 $base03 $base01 +# client.unfocused $base01 $base01 $base03 $base01 +# client.urgent $base02 $base08 $base07 $base08 #}}} ## Window Decorations ##{{{ # class border backgr. text indic. child_border - client.focused $arc_dark_blue $arc_dark_blue $arc_white + client.focused #ffffff #ffffff $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@@ -158,7 +158,7 @@
### Application Launcher Key Bindings ###{{{ bindsym $mod+Return exec --no-startup-id st -bindsym $mod+Shift+Return exec --no-startup-id urxvt +bindsym $mod+Shift+Return exec --no-startup-id samedir 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"@@ -508,7 +508,7 @@ tray_output primary
colors { separator #222222 - background #000000a0 + background #000000 # background $base00 statusline $base05 # border, backgr, text
M
newsboat/urls
→
newsboat/urls
@@ -4,8 +4,6 @@ http://shallowsky.com/blog/index.rss
https://jvns.ca/atom.xml https://utcc.utoronto.ca/~cks/space/blog/?atom https://nullprogram.com/feed/ -https://blog.acolyer.org/feed/ -http://feeds.feedburner.com/HighScalability " " "======================================="