switched from webcord to openasar

fixed dmenu quit-prompt having a random "-e" in it
added screenshotting to clipboard keybindings
This commit is contained in:
ISnortPennies 2022-10-23 22:23:50 -04:00
parent 07b4757bde
commit d85d1e7bf0
8 changed files with 32 additions and 12 deletions

View file

@ -38,7 +38,7 @@ index c77ed1b..7b4689a 100644
+void
+quitprompt(const Arg *arg)
+{
+ FILE *pp = popen("echo -e \"no\nrestart\nyes\" | dmenu -i -sb red -p \"Quit DWM?\"", "r");
+ FILE *pp = popen("echo \"no\nrestart\nyes\" | dmenu -i -sb red -p \"Quit DWM?\"", "r");
+ if(pp != NULL) {
+ char buf[1024];
+ if (fgets(buf, sizeof(buf), pp) == NULL) {

View file

@ -1258,7 +1258,7 @@ quit(const Arg *arg)
void
quitprompt(const Arg *arg)
{
FILE *pp = popen("echo -e \"no\nrestart\nyes\" | dmenu -i -sb red -p \"Quit DWM?\"", "r");
FILE *pp = popen("echo \"no\nrestart\nyes\" | dmenu -i -sb red -p \"Quit DWM?\"", "r");
if(pp != NULL) {
char buf[1024];
if (fgets(buf, sizeof(buf), pp) == NULL) {