diff options
| -rwxr-xr-x | dwm/config.h | 6 | ||||
| -rw-r--r-- | dwm/larbs.mom | 4 | ||||
| -rwxr-xr-x | dwmblocks/config.h | 8 |
3 files changed, 10 insertions, 8 deletions
diff --git a/dwm/config.h b/dwm/config.h index 73514bd..7bc35df 100755 --- a/dwm/config.h +++ b/dwm/config.h @@ -350,7 +350,9 @@ static const Key keys[] = { {MODKEY, XK_space, zoom, {0}}, {MODKEY | ShiftMask, XK_space, togglefloating, {0}}, - {0, XK_Print, spawn, SHCMD("maim pic-full-$(date '+%y%m%d-%H%M-%S').png")}, + {0, XK_Print, spawn, + SHCMD("maim | tee ~/Pictures/screenshot-$(date '+%y%m%d-%H%M-%S').png | " + "xclip -selection clipboard")}, {ShiftMask, XK_Print, spawn, {.v = (const char *[]){"maimpick", NULL}}}, {MODKEY, XK_Print, spawn, {.v = (const char *[]){"dmenurecord", NULL}}}, {MODKEY | ShiftMask, @@ -504,7 +506,7 @@ static const Button buttons[] = { {ClkStatusText, ShiftMask, Button1, sigdwmblocks, {.i = 6}}, #endif {ClkStatusText, ShiftMask, Button3, spawn, - SHCMD(TERMINAL " -e nvim ~/.local/src/dwmblocks/config.h")}, + SHCMD(TERMINAL " -e nvim ~/.local/src/suckless/dwmblocks/config.h")}, {ClkClientWin, MODKEY, Button1, movemouse, {0}}, {ClkClientWin, MODKEY, Button2, defaultgaps, {0}}, {ClkClientWin, MODKEY, Button3, resizemouse, {0}}, diff --git a/dwm/larbs.mom b/dwm/larbs.mom index 999ce1c..09246ad 100644 --- a/dwm/larbs.mom +++ b/dwm/larbs.mom @@ -76,7 +76,7 @@ I'm sure you can figure it out. You can also right click on the module to see what it does. .PP The program dwmblocks is what is run to generate the statusbar from those scripts. -You can edit its config/source code in \f(CW~/.local/src/dwmblocks/\fP to tell it what scripts/commands you want it to display. +You can edit its config/source code in \f(CW~/.local/src/suckless/dwmblocks/\fP to tell it what scripts/commands you want it to display. .HEADING 3 "HiDPI and 4K Displays" .PP If you have a screen with a very high dots-per-inch, the interface, particularly the status bar at the top may be very small. To change this, you can run \f(CWxrandr --dpi 96\fP, replacing 96 with a higher number, then you can refresh the window manager in the menu at \f(CWsuper+backspace\fP. To make this change persistent after reboot, edit \f(CW~/.xprofile\fP and you will see that same command which you can change to have the dots-per-inch value you want. @@ -286,7 +286,7 @@ would expect. .PP Dotfiles/settings files are located in \f(CW~/.config/\fP. .PP -Suckless programs, dwm (the window manager), st (the terminal) and dmenu among others do not have traditional config files, but have their source code location in \f(CW~/.local/src/\fP (press \f(CWrr\fP to jump to that directory). +Suckless programs, dwm (the window manager), st (the terminal) and dmenu among others do not have traditional config files, but have their source code location in \f(CW~/.local/src/suckless/\fP (press \f(CWrr\fP to jump to that directory). There you can modify their \f(CWconfig.h\fP files or other source code, then \f(CWsudo make install\fP to reinstall. .PP vim is set to automatically recompile and install these programs whenever you save changes to any \f(CWconfig.h\fP file diff --git a/dwmblocks/config.h b/dwmblocks/config.h index 3e1b2cf..f890069 100755 --- a/dwmblocks/config.h +++ b/dwmblocks/config.h @@ -16,7 +16,7 @@ static const Block blocks[] = { /* {"", "sb-cpu", 10, 18}, */ /* {"", "sb-moonphase", 18000, 17}, */ {"", "sb-doppler", 0, 13}, - {"", "sb-forecast", 18000, 5}, + {"", "sb-forecast", 10800, 5}, {"", "sb-mailbox", 180, 12}, {"", "sb-memory", 10, 14}, {"", "sb-nettraf", 1, 16}, @@ -35,6 +35,6 @@ static char *delim = " "; // Have dwmblocks automatically recompile and run when you edit this file in // vim with the following line in your vimrc/init.vim: -// autocmd BufWritePost ~/.local/src/dwmblocks/config.h !cd -// ~/.local/src/dwmblocks/; sudo make install && { killall -q dwmblocks;setsid -// dwmblocks & } +// autocmd BufWritePost ~/.local/src/suckless/dwmblocks/config.h !cd +// ~/.local/src/suckless/dwmblocks/; sudo make install && { killall -q +// dwmblocks;setsid dwmblocks & } |
