From 12a81d6c9bef762ebf9fd7268d068f985dfe5d39 Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Mon, 7 Jun 2021 10:02:34 +0530 Subject: some new func --- bin/.bin/disp | 1 - polybar/.config/polybar/config | 2 +- ranger/.config/ranger/rc.conf | 2 +- tmux/.tmux.conf | 2 +- x/.Xresources | 2 +- zsh/.zshrc | 8 ++++++++ 6 files changed, 12 insertions(+), 5 deletions(-) diff --git a/bin/.bin/disp b/bin/.bin/disp index 1ebbd8d..618f93f 100755 --- a/bin/.bin/disp +++ b/bin/.bin/disp @@ -2,7 +2,6 @@ status=$(cat /sys/class/drm/card0/*HDMI*/status) if [ $status == "connected" ]; then - # xrandr --output eDP-1 --mode 1920x1080 --pos 0x1076 --rotate normal --output HDMI-1 --primary --mode 1366x768 --scale 1.4x1.4 --pos 0x0 --rotate normal --output DP-1 --off xrandr --output eDP-1 --mode 1920x1080 --pos 0x768 --scale 1 --output HDMI-1 --primary --mode 1366x768 --pos 318x0 --scale 1 bspc wm -r else diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index b5c486a..c4205e3 100755 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -3,7 +3,7 @@ screenchange-reload = true [colors] ;background = ${xrdb:background:#060808} -background = #171a1f +background = #00171a1f background-alt = ${xrdb:color0:#000} ;foreground = ${xrdb:foreground:#c5c8c6} foreground = #b7b7b7 diff --git a/ranger/.config/ranger/rc.conf b/ranger/.config/ranger/rc.conf index a209c77..21506c1 100755 --- a/ranger/.config/ranger/rc.conf +++ b/ranger/.config/ranger/rc.conf @@ -348,7 +348,7 @@ map ! console shell%space map @ console -p6 shell %%s map # console shell -p%space map s console shell%space -map r chain draw_possible_programs; console open_with%%space +map r chain draw_possible_programs; console open_with%space map f console find%space map cd console cd%space diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 175df16..7730a8c 100755 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -37,4 +37,4 @@ set -g window-status-current-format "#[fg=colour15] #W" set -g window-status-format "#[fg=colour8] #W" set -g status-left-length 100 -set -ag status-left "#[fg=colour8]bat #[fg=colour15]#(~/.bin/bat) " +set -ag status-left "#[fg=colour8]bat #[fg=colour15]#(~/.bin/batc) " diff --git a/x/.Xresources b/x/.Xresources index 041af28..7008466 100755 --- a/x/.Xresources +++ b/x/.Xresources @@ -1,6 +1,6 @@ ! special *.foreground: #FFF -*.background: #171a1f +*.background: #1d2021 *.cursorColor: #F8F8F2 ! black diff --git a/zsh/.zshrc b/zsh/.zshrc index fa6a5c2..e987a0e 100755 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -69,6 +69,14 @@ findstr() { find . -type f -exec grep -H "$1" {} \; } +revid() { + ffmpeg -i $1 -vf reverse -qp 16 $2 +} + +slowvid() { + ffmpeg -i $1 -vf "setpts=0.5*PTS" $2 +} + # Enable colors and change prompt: autoload -U colors && colors fpath+=$HOME/.cache/zsh/pure -- cgit v1.2.3