diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2022-07-05 11:18:09 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2022-07-05 11:18:09 +0530 |
commit | 5a9f4d37f4ed192d84b27472a1ad84cf6db13cd7 (patch) | |
tree | 2cb501a9295144a3871dc1d6be2f87188bfa37e4 | |
parent | 7631fefc29e95a89d9a6c243456af6e7a43b1801 (diff) |
sxhkd dmenukill keybinding changes+mpv wheel speed control+order script
-rw-r--r-- | .config/mpv/input.conf | 4 | ||||
-rw-r--r-- | .config/sxhkd/sxhkdrc | 12 | ||||
-rw-r--r-- | .scripts/order | 14 |
3 files changed, 24 insertions, 6 deletions
diff --git a/.config/mpv/input.conf b/.config/mpv/input.conf index 20789ee..55d3177 100644 --- a/.config/mpv/input.conf +++ b/.config/mpv/input.conf @@ -43,6 +43,10 @@ b multiply speed 1/1.1 # increase the playback speed ] multiply speed 1.1 n multiply speed 1.1 + +Ctrl+WHEEL_UP add speed 0.1 +Ctrl+WHEEL_DOWN add speed -0.1 + # reset the speed to normal \ set speed 1.0 diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index f5406eb..485d4d1 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -84,17 +84,17 @@ super + ctrl + t super + d dmenu_run -hp 4chgetw,bts,dcalc,dmount,dumount,librewolf,passmenu,picomm,pidkill,picomm,setbg,st,telegram-desktop,todo,tolearn,trashy,xkill -#dmenu emoji-picker (universal) +#dmenu pidkill super + F1 - emojisel + pidkill -#dmenu emoji-picker (active-window) +#dmenu emoji-picker (universal) super + F2 - emojiselw + emojisel -#dmenu pidkill +#dmenu emoji-picker (active-window) super + F3 - pidkill + emojiselw # dmenu wifi-menu diff --git a/.scripts/order b/.scripts/order new file mode 100644 index 0000000..155e039 --- /dev/null +++ b/.scripts/order @@ -0,0 +1,14 @@ +#!/bin/sh + +noofdirs=$(find . -mindepth 1 -maxdepth 1 -type d | wc -l) +lenofnod=$(echo -n "$noofdirs" | wc -m) ## Flag n to prevent newline count + +for f in * ; +do mv -n "$f" "$(date -r "$f" +"%Y%m%d_%H%M%S")_$f"; +done + +#open in vimv +#let @a=1 | g/^.\{0,16}/s//\=i.'.' | let i=i+1 +#add zeroes in front if lenofnod = 1 +#add zeroes in front if lenofnod = 2 + |