about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/dwm/default.nix2
-rwxr-xr-xpkgs/nvim.nix1
-rw-r--r--pkgs/st.config.h10
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 } },
 };
 
 /*