Selaa lähdekoodia

minor changes in termcmd

siduck76 3 vuotta sitten
vanhempi
sitoutus
eb2584afbb
2 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 1 1
      .dwm/bar
  2. 2 2
      chadwm/config.def.h

+ 1 - 1
.dwm/bar

@@ -15,7 +15,7 @@ update_icon() {
 
 # only for void users!
 xbps_updates() {
-  updates=$(xbps-install -un | cut -d' ' -f2 | sort | uniq -c | xargs)
+  updates=$(doas xbps-install -un | wc -l)
 
   if [ -z "$updates" ]; then
     printf "^c#94af7d^ Fully Updated"

+ 2 - 2
chadwm/config.def.h

@@ -141,8 +141,8 @@ static Key keys[] = {
     { MODKEY,                       XK_c,      spawn,          {.v = rofi } },
 
     // if you dont use st my rm this and uncomment line below it!
-    { MODKEY,                       XK_Return, spawn,   SHCMD("~/.local/bin/./st_settings && st")}, 
- // { MODKEY,                       XK_Return, spawn,    {.v = termcmd }}, 
+     //    { MODKEY,                       XK_Return, spawn,   SHCMD("~/.local/bin/./st_settings && st")}, 
+     { MODKEY,                       XK_Return, spawn,    {.v = termcmd }}, 
 
     {MODKEY | ControlMask, XK_u, spawn, SHCMD("maim | xclip -selection clipboard -t image/png")},
     {MODKEY, XK_u, spawn,   SHCMD("maim --select | xclip -selection clipboard -t image/png")},