diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-07-05 13:23:04 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-07-05 13:23:04 +0200 |
commit | fb6fd4d62606f56f156544083d90e1b3ad65c5df (patch) | |
tree | 5e9d58be6499a099ce8f9291dd436142b697677c /pkgs | |
parent | 65147d1a1d40b7fc6664992b129c48369750e407 (diff) | |
download | dots-fb6fd4d62606f56f156544083d90e1b3ad65c5df.tar.gz dots-fb6fd4d62606f56f156544083d90e1b3ad65c5df.zip |
Updates
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/dwm/default.nix | 2 | ||||
-rwxr-xr-x | pkgs/nvim.nix | 1 | ||||
-rw-r--r-- | pkgs/st.config.h | 10 |
3 files changed, 6 insertions, 7 deletions
diff --git a/pkgs/dwm/default.nix b/pkgs/dwm/default.nix index d075e08..5af25fe 100644 --- a/pkgs/dwm/default.nix +++ b/pkgs/dwm/default.nix @@ -5,7 +5,7 @@ pkgs: ./dwm-center.diff ./dwm-autostart.diff ./dwm-mediakeys.diff # Patch for slock mediakeys - # ./dwm-rounded.diff - Resize dont work + # ./dwm-rounded.diff # Resize dont work ]; header_config_file = ./config.h; } diff --git a/pkgs/nvim.nix b/pkgs/nvim.nix index 9dbf07d..037ba05 100755 --- a/pkgs/nvim.nix +++ b/pkgs/nvim.nix @@ -144,7 +144,6 @@ pkgs.neovim.override { start = [ vim-surround vim-fugitive - nerdtree goyo-vim # vimagit vimwiki diff --git a/pkgs/st.config.h b/pkgs/st.config.h index 67b3dc1..fa4322b 100644 --- a/pkgs/st.config.h +++ b/pkgs/st.config.h @@ -224,7 +224,7 @@ static MouseShortcut mshortcuts[] = { /* Internal keyboard shortcuts. */ #define MODKEY (Mod1Mask|ControlMask) -#define TERMMOD (Mod1Mask|ControlMask|ShiftMask) +#define TERMMOD (ControlMask|ShiftMask) MouseKey mkeys[] = { /* button mask function argument */ @@ -234,7 +234,7 @@ MouseKey mkeys[] = { { Button5, TERMMOD, zoom, {.f = -1} }, }; -static char *openurlcmd[] = { "/bin/sh", "-c", "st-urlhandler", "externalpipe", NULL }; +static char *openurlcmd[] = { "/bin/sh", "-c", "st-urlhandler -o", "externalpipe", NULL }; static char *copyurlcmd[] = { "/bin/sh", "-c", "tmp=$(sed 's/.*│//g' | tr -d '\n' | grep -aEo '(((http|https|gopher|gemini|ftp|ftps|git)://|www\\.)[a-zA-Z0-9.]*[:]?[a-zA-Z0-9./@$&%?$#=_-~]*)|((magnet:\\?xt=urn:btih:)[a-zA-Z0-9]*)' | uniq | sed 's/^www./http:\\/\\/www\\./g' ); IFS=; [ ! -z $tmp ] && echo $tmp | dmenu -i -p 'Copy which url?' -l 10 | tr -d '\n' | xclip -selection clipboard", @@ -275,9 +275,9 @@ static Shortcut shortcuts[] = { { TERMMOD, XK_J, zoom, {.f = -1} }, { TERMMOD, XK_U, zoom, {.f = +2} }, { TERMMOD, XK_D, zoom, {.f = -2} }, - { TERMMOD, XK_l, externalpipe, {.v = openurlcmd } }, - { TERMMOD, XK_y, externalpipe, {.v = copyurlcmd } }, - { TERMMOD, XK_o, externalpipe, {.v = copyoutput } }, + { TERMMOD, XK_L, externalpipe, {.v = openurlcmd } }, + { TERMMOD, XK_Y, externalpipe, {.v = copyurlcmd } }, + { TERMMOD, XK_O, externalpipe, {.v = copyoutput } }, }; /* |