From 73c39f9eeb2efe5459630f55fbfd34a399abe546 Mon Sep 17 00:00:00 2001 From: randomuser Date: Fri, 24 Mar 2023 10:24:33 -0500 Subject: [PATCH] misc changes --- bash/bashrc | 1 + bash/profile | 3 +++ bspwm/bspwmrc | 1 + nvim/init.lua | 2 ++ sxhkd/contingency | 2 +- sxhkd/sxhkdrc | 26 +++++++++++++------------- 6 files changed, 21 insertions(+), 14 deletions(-) diff --git a/bash/bashrc b/bash/bashrc index 67985d3..338bc07 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -65,3 +65,4 @@ start_bitlbee() { alias gs='git status' alias f=files alias lofi="mpv https://www.youtube.com/watch?v=jfKfPfyJRdk --no-video" +alias pavucontrol="ncpamixer" diff --git a/bash/profile b/bash/profile index 780812f..cc5a9e8 100644 --- a/bash/profile +++ b/bash/profile @@ -45,6 +45,9 @@ export SFEED_URL_FILE="$SFEED_URL_FILE/.urls" export $(dbus-launch) export GTK_THEME="earth" +# elinks +export ELINKS_CONFDIR="$HOME/.config/elinks" + # source the bashrc(s) [ -f $HOME/.config/bash/bashrc ] && . $HOME/.config/bash/bashrc [ -f $HOME/.bashrc ] && . $HOME/.bashrc diff --git a/bspwm/bspwmrc b/bspwm/bspwmrc index 430189b..3e602d6 100755 --- a/bspwm/bspwmrc +++ b/bspwm/bspwmrc @@ -24,3 +24,4 @@ bspc rule -a tmenu-prompt border=on sticky=on state=floating bspc rule -a Xmessage border=on state=floating bspc rule -a Zathura state=tiled bspc rule -a generic-st-window state=floating manage=on sticky=on border=on +bspc rule -a floating-feh state=floating diff --git a/nvim/init.lua b/nvim/init.lua index 2fb4577..6c3132c 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -45,6 +45,8 @@ end) inoremap('qp', 'u[s1z=`]au') inoremap("", "mZ0i`ZlA") +inoremap('jk', '') +inoremap('zz', ':w!a') tnoremap('', '') -- }}} diff --git a/sxhkd/contingency b/sxhkd/contingency index 7667902..0ca4065 100644 --- a/sxhkd/contingency +++ b/sxhkd/contingency @@ -1,2 +1,2 @@ -super + shift + p +super + shift + XF86AudioRaiseVolume toggle-contingency-mode diff --git a/sxhkd/sxhkdrc b/sxhkd/sxhkdrc index a63971b..96a3e62 100644 --- a/sxhkd/sxhkdrc +++ b/sxhkd/sxhkdrc @@ -55,21 +55,21 @@ super + {_,shift + }v vol {inc,dec} # mouse movement -super + u - xdotool mousemove_relative -- -10 0 +super + {u, i, o, p} + xdotool mousemove_relative -- {-10 0, 0 10, 0 -10, 10 0} -super + i - xdotool mousemove_relative -- 0 10 - -super + o - xdotool mousemove_relative -- 0 -10 - -super + p - xdotool mousemove_relative -- 10 0 +super + alt + {u, i, o, p} + xdotool mousemove_relative -- {-20 0, 0 20, 0 -20, 20 0} super + shift + u xdotool click 1 +super + ctrl + shift + u + xdotool mousedown 1 + +@super + @ctrl + @shift + @u + xdotool mouseup 1 + super + shift + p xdotool click 2 @@ -77,9 +77,6 @@ super + shift + p super + x toggle-contingency-mode -super + = - st -c generic-st-window -e nvim ~/.config/sxhkd/sxhkdrc - # bspwm super + q bspc node -c @@ -102,3 +99,6 @@ super + {t,f,s} super + shift + t bspwm-toggle-gaps + +alt + F4 + exit