summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--INSTALL/arch-install7
-rw-r--r--INSTALL/gentoo-install7
-rwxr-xr-xscripts/.local/bin/colorset47
-rwxr-xr-xscripts/.local/bin/flatpaks4
-rwxr-xr-xshell/.config/shell/env2
-rw-r--r--suckless/.config/suckless/dmenu/config.h20
-rw-r--r--suckless/.config/suckless/dwm/config.h172
-rw-r--r--suckless/.config/suckless/neovimb/config.h (renamed from neovimb/config.h)0
-rw-r--r--suckless/.config/suckless/sent/config.h55
-rw-r--r--suckless/.config/suckless/slock/config.h15
-rw-r--r--suckless/.config/suckless/slstatus/config.h71
-rw-r--r--suckless/.config/suckless/st/config.h71
-rwxr-xr-xsuckless/.local/src/compileSource59
-rwxr-xr-xsuckless/.local/src/suck/sucklessUpdate47
14 files changed, 490 insertions, 87 deletions
diff --git a/INSTALL/arch-install b/INSTALL/arch-install
index 353021c..a1dab9b 100644
--- a/INSTALL/arch-install
+++ b/INSTALL/arch-install
@@ -30,12 +30,9 @@ chsh -s /bin/zsh
# Deploy Dots
stow --target="$HOME" fonts gtk man misc mpd ncmpcpp newsboat neovim npm picom qt shell scripts suckless sxiv vifm X11 zathura zsh
-touch ~/.config/X11/Xauthority ~/.xprofile ~/.config/mpd/database ~/.config/mpd/log ~/.config/mpd/pid ~/.config/mpd/state ~/.config/mpd/sticker.sql
+touch ~/.config/X11/Xauthority ~/.config/mpd/database ~/.config/mpd/log ~/.config/mpd/pid ~/.config/mpd/state ~/.config/mpd/sticker.sql
-cd ~/.local/src/suck && sh sucklessUpdate && cd "$CURDIR" || exit
-
-## Neovimb Setup
-cp -rf "$(pwd)"/../neovimb "$HOME"/.config
+cd ~/.local/src && sh compileSource && cd "$CURDIR" || exit
# Setting up Neovim
## Linking Neovim to Vim
diff --git a/INSTALL/gentoo-install b/INSTALL/gentoo-install
index b5086b8..cc4eee1 100644
--- a/INSTALL/gentoo-install
+++ b/INSTALL/gentoo-install
@@ -52,12 +52,9 @@ else
# Deploy Dots
stow --target="$HOME" fonts gtk man misc mpd ncmpcpp newsboat neovim npm picom qt shell scripts suckless sxiv vifm X11 zathura zsh
- touch ~/.config/X11/Xauthority ~/.xprofile ~/.config/mpd/database ~/.config/mpd/log ~/.config/mpd/pid ~/.config/mpd/state ~/.config/mpd/sticker.sql
+ touch ~/.config/X11/Xauthority ~/.config/mpd/database ~/.config/mpd/log ~/.config/mpd/pid ~/.config/mpd/state ~/.config/mpd/sticker.sql
- cd ~/.local/src/suck && sh sucklessUpdate && cd "$CURDIR" || exit
-
- ## Neovimb Setup
- cd "$CURDIR" && cd .. && cp -rf neovimb "$HOME"/.config/ && cd "$CURDIR" || exit
+ cd ~/.local/src && sh compileSource && cd "$CURDIR" || exit
# Setting up Neovim
## Linking Neovim to Vim
diff --git a/scripts/.local/bin/colorset b/scripts/.local/bin/colorset
index 38eb44c..6eaf9e4 100755
--- a/scripts/.local/bin/colorset
+++ b/scripts/.local/bin/colorset
@@ -7,41 +7,38 @@ else
fi
# Checking for non-existant dirs
-! [ -f "$SUCK"/colors/dmenu ] && mkdir -p "$SUCK"/colors/dmenu
-! [ -f "$SUCK"/colors/dwm ] && mkdir -p "$SUCK"/colors/dwm
-! [ -f "$SUCK"/colors/neovimb/src ] && mkdir -p "$SUCK"/colors/neovimb/src
-! [ -f "$SUCK"/colors/st ] && mkdir -p "$SUCK"/colors/st
+! [ -f "$SRC"/colors/dmenu ] && mkdir -p "$SRC"/colors/dmenu
+! [ -f "$SRC"/colors/dwm ] && mkdir -p "$SRC"/colors/dwm
+! [ -f "$SRC"/colors/neovimb/src ] && mkdir -p "$SRC"/colors/neovimb/src
+! [ -f "$SRC"/colors/st ] && mkdir -p "$SRC"/colors/st
# Purging previous colorscheme files
-convert "$1" "$SUCK"/colors/wallpaper.png
+convert "$1" "$SRC"/colors/wallpaper.png
# Setting the new colorscheme based on the wallpaper and making some color tweaks
-cp -rf ~/.cache/wal/colors-wal-dmenu.h "$SUCK"/colors/dmenu/colors.h
-cp -rf ~/.cache/wal/colors-wal-st.h "$SUCK"/colors/st/colors.h
-head -7 ~/.cache/wal/colors-wal-dwm.h > "$SUCK"/colors/dwm/colors.h
-sed -i s/"$(grep norm_border "$SUCK"/colors/dwm/colors.h | cut -d# -f 2 | cut -d\" -f 1)"/"$(grep black "$SUCK"/colors/st/colors.h | head -1 | cut -d# -f 2 | cut -d\" -f 1)"/g "$SUCK"/colors/dwm/colors.h
+cp -rf ~/.cache/wal/colors-wal-dmenu.h "$SRC"/colors/dmenu/colors.h
+cp -rf ~/.cache/wal/colors-wal-st.h "$SRC"/colors/st/colors.h
+head -7 ~/.cache/wal/colors-wal-dwm.h > "$SRC"/colors/dwm/colors.h
+sed -i s/"$(grep norm_border "$SRC"/colors/dwm/colors.h | cut -d# -f 2 | cut -d\" -f 1)"/"$(grep black "$SRC"/colors/st/colors.h | head -1 | cut -d# -f 2 | cut -d\" -f 1)"/g "$SRC"/colors/dwm/colors.h
###
-cp -rf "$XDG_CONFIG_HOME"/neovimb/config.h "$SUCK"/colors/neovimb/src/
+cp -rf "$XDG_CONFIG_HOME"/suckless/neovimb/config.h "$SRC"/colors/neovimb/src/
###
-OLDSTRING=$(grep SETTING_INPUT_CSS "$SUCK"/colors/neovimb/src/config.h)
-NEWSTRING="#define SETTING_INPUT_CSS \"background-color:$(head -2 "$SUCK"/colors/dwm/colors.h | grep bg | cut -d\" -f2);color:$(head -2 "$SUCK"/colors/dwm/colors.h | grep fg | cut -d\" -f2);font:\" SETTING_GUI_FONT_NORMAL"
-sed -i s."$OLDSTRING"."$NEWSTRING".g "$SUCK"/colors/neovimb/src/config.h
+OLDSTRING=$(grep SETTING_INPUT_CSS "$SRC"/colors/neovimb/src/config.h)
+NEWSTRING="#define SETTING_INPUT_CSS \"background-color:$(head -2 "$SRC"/colors/dwm/colors.h | grep bg | cut -d\" -f2);color:$(head -2 "$SRC"/colors/dwm/colors.h | grep fg | cut -d\" -f2);font:\" SETTING_GUI_FONT_NORMAL"
+sed -i s."$OLDSTRING"."$NEWSTRING".g "$SRC"/colors/neovimb/src/config.h
###
-OLDSTRING=$(grep SETTING_STATUS_CSS "$SUCK"/colors/neovimb/src/config.h)
-NEWSTRING="#define SETTING_STATUS_CSS \"color:$(tail -3 "$SUCK"/colors/dwm/colors.h | grep fg | cut -d\" -f2);background-color:$(tail -3 "$SUCK"/colors/dwm/colors.h | grep bg | cut -d\" -f2);font:\" SETTING_GUI_FONT_EMPH"
-sed -i s."$OLDSTRING"."$NEWSTRING".g "$SUCK"/colors/neovimb/src/config.h
+OLDSTRING=$(grep SETTING_STATUS_CSS "$SRC"/colors/neovimb/src/config.h)
+NEWSTRING="#define SETTING_STATUS_CSS \"color:$(tail -3 "$SRC"/colors/dwm/colors.h | grep fg | cut -d\" -f2);background-color:$(tail -3 "$SRC"/colors/dwm/colors.h | grep bg | cut -d\" -f2);font:\" SETTING_GUI_FONT_EMPH"
+sed -i s."$OLDSTRING"."$NEWSTRING".g "$SRC"/colors/neovimb/src/config.h
###
-OLDSTRING=$(grep SETTING_STATUS_SSL_CSS "$SUCK"/colors/neovimb/src/config.h)
-NEWSTRING="#define SETTING_STATUS_SSL_CSS \"background-color:$(tail -3 "$SUCK"/colors/dwm/colors.h | grep bg | cut -d\" -f2);color:$(tail -3 "$SUCK"/colors/dwm/colors.h | grep fg | cut -d\" -f2);\""
-sed -i s."$OLDSTRING"."$NEWSTRING".g "$SUCK"/colors/neovimb/src/config.h
+OLDSTRING=$(grep SETTING_STATUS_SSL_CSS "$SRC"/colors/neovimb/src/config.h)
+NEWSTRING="#define SETTING_STATUS_SSL_CSS \"background-color:$(tail -3 "$SRC"/colors/dwm/colors.h | grep bg | cut -d\" -f2);color:$(tail -3 "$SRC"/colors/dwm/colors.h | grep fg | cut -d\" -f2);\""
+sed -i s."$OLDSTRING"."$NEWSTRING".g "$SRC"/colors/neovimb/src/config.h
# Recompiling Suckless Programs with new colorscheme
-cp -rf "$SUCK"/colors/* "$SUCK"
-cp -rf "$SUCK"/colors/wallpaper.png ~/.config/wallpaper
+cp -rf "$SRC"/colors/* "$SRC"
+cp -rf "$SRC"/colors/wallpaper.png ~/.config/wallpaper
xwallpaper --stretch "$WALLPAPER"
-cd "$SUCK"/dwm && git pull ; doas make clean install ; make clean
-cd "$SUCK"/dmenu && git pull ; doas make clean install ; make clean
-cd "$SUCK"/neovimb && git pull ; doas make clean install ; make clean
-cd "$SUCK"/st && git pull ; doas make clean install ; make clean
+"$SRC"/compileSource
diff --git a/scripts/.local/bin/flatpaks b/scripts/.local/bin/flatpaks
deleted file mode 100755
index 9e07a58..0000000
--- a/scripts/.local/bin/flatpaks
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-# Flatpak Run Script
-flatpak run "$(flatpak list --app --columns=application | grep -vi "Application ID" | dmenu -i -l 15 -p "Flatpak:")"
diff --git a/shell/.config/shell/env b/shell/.config/shell/env
index ca0dd5b..e39dbd4 100755
--- a/shell/.config/shell/env
+++ b/shell/.config/shell/env
@@ -14,7 +14,7 @@ export DOCS="man -l $HOME/.local/man/dots.1"
export XDG_CONFIG_HOME="$HOME"/.config
export XDG_DATA_HOME="$HOME"/.local/share
export XDG_CACHE_HOME="$HOME"/.cache
-export SUCK="$HOME"/.local/src/suck
+export SRC="$HOME"/.local/src
export LESSHISTFILE="-"
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc-2.0
export ELECTRUMDIR="$XDG_DATA_HOME"/electrum
diff --git a/suckless/.config/suckless/dmenu/config.h b/suckless/.config/suckless/dmenu/config.h
new file mode 100644
index 0000000..bc8e1bb
--- /dev/null
+++ b/suckless/.config/suckless/dmenu/config.h
@@ -0,0 +1,20 @@
+/* See LICENSE file for copyright and license details. */
+/* Default settings; can be overriden by command line. */
+
+static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */
+/* -fn option overrides fonts[0]; default X11 font or font set */
+static const char *fonts[] = {
+ "FiraCode Nerd Font:size=14"
+};
+static const char *prompt = NULL; /* -p option; prompt to the left of input field */
+
+#include "colors.h"
+
+/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
+static unsigned int lines = 0;
+
+/*
+ * Characters not considered part of a word while deleting words
+ * for example: " /?\"&[]"
+ */
+static const char worddelimiters[] = " ";
diff --git a/suckless/.config/suckless/dwm/config.h b/suckless/.config/suckless/dwm/config.h
new file mode 100644
index 0000000..da3fee9
--- /dev/null
+++ b/suckless/.config/suckless/dwm/config.h
@@ -0,0 +1,172 @@
+/* See LICENSE file for copyright and license details. */
+
+#include "colors.h"
+
+/* appearance */
+static const unsigned int borderpx = 2; /* border pixel of windows */
+static const unsigned int snap = 32; /* snap pixel */
+static const unsigned int gappih = 10; /* horiz inner gap between windows */
+static const unsigned int gappiv = 10; /* vert inner gap between windows */
+static const unsigned int gappoh = 10; /* horiz outer gap between windows and screen edge */
+static const unsigned int gappov = 10; /* vert outer gap between windows and screen edge */
+static int smartgaps = 0; /* 1 means no outer gap when there is only one window */
+static const int swallowfloating = 0; /* 1 means swallow floating windows by default */
+static const int showbar = 1; /* 0 means no bar */
+static const int topbar = 1; /* 0 means bottom bar */
+static const int focusonwheel = 0;
+static const char *fonts[] = { "FiraCode Nerd Font:size=14" };
+static const char *colors[][3] = {
+ /* fg bg border */
+ [SchemeNorm] = { norm_fg, norm_bg, norm_border }, // Unfocused Windows
+ [SchemeSel] = { sel_fg, sel_bg, sel_border }, // Focused Windows
+};
+
+/* tagging */
+static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
+
+static const Rule rules[] = {
+ /* xprop(1):
+ * WM_CLASS(STRING) = instance, class
+ * WM_NAME(STRING) = title
+ */
+ /* class instance title tags mask isfloating isterminal noswallow monitor */
+ { NULL, NULL, NULL, 0, False, 0, 0, -1 },
+ { "st", NULL, NULL, 0, False, 1, -1, -1 },
+
+};
+
+/* layout(s) */
+static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
+static const int nmaster = 1; /* number of clients in master area */
+static const int resizehints = 0; /* 1 means respect size hints in tiled resizals */
+static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */
+
+//#define FORCE_VSPLIT 1 /* nrowgrid layout: force two clients to always split vertically */
+#include "vanitygaps.c"
+
+static const Layout layouts[] = {
+ /* symbol arrange function */
+ { "[]=", tile }, /* first entry is default */
+ { "><>", NULL }, /* no layout function means floating behavior */
+ { "[M]", monocle },
+};
+
+/* key definitions */
+#define ALTKEY Mod1Mask
+#define CTRLKEY ControlMask
+#define SHIFTKEY ShiftMask
+#define MODKEY Mod4Mask
+#define TAGKEYS(KEY,TAG) \
+ { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+
+/* helper for spawning shell commands in the pre dwm-5.0 fashion */
+#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
+
+static Key keys[] = {
+ /* modifier key function argument */
+ /* Managing Windows */
+ { MODKEY, XK_j, focusstack, {.i = +1 } },
+ { MODKEY, XK_k, focusstack, {.i = -1 } },
+ { MODKEY|CTRLKEY, XK_p, incnmaster, {.i = +1 } },
+ { MODKEY|CTRLKEY, XK_d, incnmaster, {.i = -1 } },
+ { MODKEY|CTRLKEY, XK_h, setmfact, {.f = -0.05} },
+ { MODKEY|CTRLKEY, XK_l, setmfact, {.f = +0.05} },
+ { MODKEY, XK_Tab, view, {0} },
+ { MODKEY, XK_space, zoom, {0} },
+ { MODKEY|SHIFTKEY, XK_q, killclient, {0} },
+ { MODKEY|SHIFTKEY, XK_x, quit, {0} },
+ { MODKEY|SHIFTKEY, XK_r, quit, {1} },
+ { MODKEY, XK_Down, moveresize, {.v = "0x 25y 0w 0h" } },
+ { MODKEY, XK_Up, moveresize, {.v = "0x -25y 0w 0h" } },
+ { MODKEY, XK_Right, moveresize, {.v = "25x 0y 0w 0h" } },
+ { MODKEY, XK_Left, moveresize, {.v = "-25x 0y 0w 0h" } },
+ { MODKEY|CTRLKEY, XK_Down, moveresize, {.v = "0x 0y 0w 25h" } },
+ { MODKEY|CTRLKEY, XK_Up, moveresize, {.v = "0x 0y 0w -25h" } },
+ { MODKEY|CTRLKEY, XK_Right, moveresize, {.v = "0x 0y 25w 0h" } },
+ { MODKEY|CTRLKEY, XK_Left, moveresize, {.v = "0x 0y -25w 0h" } },
+
+ /* Managing Gaps */
+ { MODKEY|ALTKEY, XK_period, incrgaps, {.i = +1 } },
+ { MODKEY|ALTKEY, XK_comma, incrgaps, {.i = -1 } },
+ { MODKEY|ALTKEY, XK_t, togglegaps, {0} },
+ { MODKEY|ALTKEY, XK_d, defaultgaps, {0} },
+
+ /* Managing Tags and Status Bar */
+ { MODKEY, XK_h, viewtoleft, {0} },
+ { MODKEY, XK_l, viewtoright, {0} },
+ { MODKEY, XK_comma, focusmon, {.i = -1 } },
+ { MODKEY, XK_period, focusmon, {.i = +1 } },
+ { MODKEY|SHIFTKEY, XK_h, tagtoleft, {0} },
+ { MODKEY|SHIFTKEY, XK_l, tagtoright, {0} },
+ { MODKEY|SHIFTKEY, XK_comma, tagmon, {.i = -1 } },
+ { MODKEY|SHIFTKEY, XK_period, tagmon, {.i = +1 } },
+ { MODKEY, XK_b, togglebar, {0} },
+ { MODKEY, XK_0, view, {.ui = ~0 } },
+ { MODKEY|SHIFTKEY, XK_0, tag, {.ui = ~0 } },
+ TAGKEYS( XK_1, 0)
+ TAGKEYS( XK_2, 1)
+ TAGKEYS( XK_3, 2)
+ TAGKEYS( XK_4, 3)
+ TAGKEYS( XK_5, 4)
+ TAGKEYS( XK_6, 5)
+ TAGKEYS( XK_7, 6)
+ TAGKEYS( XK_8, 7)
+ TAGKEYS( XK_9, 8)
+
+ /* Managing Layouts */
+ { MODKEY|ALTKEY, XK_1, setlayout, {.v = &layouts[0]} },
+ { MODKEY|ALTKEY, XK_2, setlayout, {.v = &layouts[1]} },
+ { MODKEY|ALTKEY, XK_3, setlayout, {.v = &layouts[2]} },
+ { MODKEY|ALTKEY, XK_space, togglefloating, {0} },
+
+ /* Regular Apps */
+ { MODKEY, XK_d, spawn, SHCMD("dmenu_run -i") },//dmenu
+ { MODKEY, XK_Return, spawn, SHCMD("$TERMINAL") },//Terminal
+ { MODKEY, XK_w, spawn, SHCMD("$BROWSER") },//Web-Browser
+ { MODKEY, XK_f, spawn, SHCMD("$TERMINAL -e $FILE") },//File Manager
+ { MODKEY, XK_n, spawn, SHCMD("$TERMINAL -e $NEWS") },//News Manager
+ { MODKEY|SHIFTKEY, XK_d, spawn, SHCMD("$TERMINAL -e $DOCS") },//Dotfiles Documentation
+
+ /* Scripts */
+ { MODKEY, XK_s, spawn, SHCMD("search") },//Quick Web Search
+ { MODKEY, XK_e, spawn, SHCMD("glypher") },//Glyph Selector
+ { MODKEY|SHIFTKEY, XK_o, spawn, SHCMD("monitor") },//Set Screen Output
+ { MODKEY, XK_m, spawn, SHCMD("musicselect") },//Music Selector
+ { MODKEY|SHIFTKEY, XK_c, spawn, SHCMD("powermenu") },//Power Menu
+ { MODKEY, XK_p, spawn, SHCMD("screenshot") },//Screenshot Tool Script
+ { MODKEY|SHIFTKEY, XK_p, spawn, SHCMD("passmenu") },//Opens PassMenu Password Manager
+ { MODKEY|SHIFTKEY, XK_s, spawn, SHCMD("screenkeys") },//Enable Screenkeys
+ { MODKEY, XK_v, spawn, SHCMD("yt") },//Youtube
+ { MODKEY, XK_t, spawn, SHCMD("switchLayout") },//Switches Between Keyboard Layouts
+
+ /* Quick Actions */
+ { MODKEY, XK_F1, spawn, SHCMD("mixer t") },//Toggle Mute
+ { MODKEY, XK_F2, spawn, SHCMD("mixer -") },//Decrease Volume by 5%
+ { MODKEY, XK_F3, spawn, SHCMD("mixer +") },//Increase Volume by 5%
+ { MODKEY, XK_F4, spawn, SHCMD("mixer m") },//Toggle Mic Mute
+ { MODKEY, XK_F5, spawn, SHCMD("doas light -U 5") },//Decrease Brightness by 5%
+ { MODKEY, XK_F6, spawn, SHCMD("doas light -A 5") },//Increase Brightness by 5%
+ { MODKEY, XK_F7, spawn, SHCMD("bluelight") },//Toggle Bluelight Filter
+ { MODKEY, XK_F8, spawn, SHCMD("screenrecord") },//Screen Recording Script
+ { MODKEY, XK_F9, spawn, SHCMD("mpc toggle") },//Music Pause/Play
+ { MODKEY, XK_F10, spawn, SHCMD("killall mpd") },//Music Quit/Stop
+ { MODKEY, XK_F11, spawn, SHCMD("mpc prev") },//Music Previous
+ { MODKEY, XK_F12, spawn, SHCMD("mpc next") },//Music Next
+};
+
+/* button definitions */
+/* click can be ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */
+static Button buttons[] = {
+ /* click event mask button function argument */
+ { ClkWinTitle, 0, Button2, zoom, {0} },
+ { ClkClientWin, MODKEY, Button1, movemouse, {0} },
+ { ClkClientWin, MODKEY, Button2, togglefloating, {0} },
+ { ClkClientWin, MODKEY, Button3, resizemouse, {0} },
+ { ClkTagBar, 0, Button1, view, {0} },
+ { ClkTagBar, 0, Button3, toggleview, {0} },
+ { ClkTagBar, MODKEY, Button1, tag, {0} },
+ { ClkTagBar, MODKEY, Button3, toggletag, {0} },
+};
diff --git a/neovimb/config.h b/suckless/.config/suckless/neovimb/config.h
index 6f7168f..6f7168f 100644
--- a/neovimb/config.h
+++ b/suckless/.config/suckless/neovimb/config.h
diff --git a/suckless/.config/suckless/sent/config.h b/suckless/.config/suckless/sent/config.h
new file mode 100644
index 0000000..800844d
--- /dev/null
+++ b/suckless/.config/suckless/sent/config.h
@@ -0,0 +1,55 @@
+/* See LICENSE file for copyright and license details. */
+
+static char *fontfallbacks[] = {
+ "FiraCode Nerd Font",
+};
+#define NUMFONTSCALES 42
+#define FONTSZ(x) ((int)(10.0 * powf(1.1288, (x)))) /* x in [0, NUMFONTSCALES-1] */
+
+static const char *colors[] = {
+ "#FFFFFF", /* foreground color */
+ "#000000", /* background color */
+};
+
+static const float linespacing = 1.4;
+
+/* how much screen estate is to be used at max for the content */
+static const float usablewidth = 0.75;
+static const float usableheight = 0.75;
+
+static Mousekey mshortcuts[] = {
+ /* button function argument */
+ { Button1, advance, {.i = +1} },
+ { Button3, advance, {.i = -1} },
+ { Button4, advance, {.i = -1} },
+ { Button5, advance, {.i = +1} },
+};
+
+static Shortcut shortcuts[] = {
+ /* keysym function argument */
+ { XK_Escape, quit, {0} },
+ { XK_q, quit, {0} },
+ { XK_Right, advance, {.i = +1} },
+ { XK_Left, advance, {.i = -1} },
+ { XK_Return, advance, {.i = +1} },
+ { XK_space, advance, {.i = +1} },
+ { XK_BackSpace, advance, {.i = -1} },
+ { XK_l, advance, {.i = +1} },
+ { XK_h, advance, {.i = -1} },
+ { XK_j, advance, {.i = +1} },
+ { XK_k, advance, {.i = -1} },
+ { XK_Down, advance, {.i = +1} },
+ { XK_Up, advance, {.i = -1} },
+ { XK_Next, advance, {.i = +1} },
+ { XK_Prior, advance, {.i = -1} },
+ { XK_n, advance, {.i = +1} },
+ { XK_p, advance, {.i = -1} },
+ { XK_r, reload, {0} },
+ { XK_x, toggle_cursor, {0} },
+};
+
+static Filter filters[] = {
+ { "\\.ff$", "cat" },
+ { "\\.ff.bz2$", "bunzip2" },
+ { "\\.[a-z0-9]+$", "2ff" },
+};
diff --git a/suckless/.config/suckless/slock/config.h b/suckless/.config/suckless/slock/config.h
new file mode 100644
index 0000000..2c1bee0
--- /dev/null
+++ b/suckless/.config/suckless/slock/config.h
@@ -0,0 +1,15 @@
+/* user and group to drop privileges to */
+static const char *user = "nobody";
+static const char *group = "wheel";
+
+static const char *colorname[NUMCOLS] = {
+ [INIT] = "grey", /* after initialization */
+ [INPUT] = "#005577", /* during input */
+ [FAILED] = "#CC3333", /* wrong password */
+};
+
+/* treat a cleared input like a wrong password (color) */
+static const int failonclear = 1;
+
+/* time to cancel lock with mouse movement in seconds */
+static const int timetocancel = 3;
diff --git a/suckless/.config/suckless/slstatus/config.h b/suckless/.config/suckless/slstatus/config.h
new file mode 100644
index 0000000..b119c25
--- /dev/null
+++ b/suckless/.config/suckless/slstatus/config.h
@@ -0,0 +1,71 @@
+/* See LICENSE file for copyright and license details. */
+
+/* interval between updates (in ms) */
+const unsigned int interval = 1000;
+
+/* text to show if no value can be retrieved */
+static const char unknown_str[] = "n/a";
+
+/* maximum output string length */
+#define MAXLEN 2048
+
+/*
+ * function description argument (example)
+ *
+ * battery_perc battery percentage battery name (BAT0)
+ * NULL on OpenBSD/FreeBSD
+ * battery_state battery charging state battery name (BAT0)
+ * NULL on OpenBSD/FreeBSD
+ * battery_remaining battery remaining HH:MM battery name (BAT0)
+ * NULL on OpenBSD/FreeBSD
+ * cpu_perc cpu usage in percent NULL
+ * cpu_freq cpu frequency in MHz NULL
+ * datetime date and time format string (%F %T)
+ * disk_free free disk space in GB mountpoint path (/)
+ * disk_perc disk usage in percent mountpoint path (/)
+ * disk_total total disk space in GB mountpoint path (/")
+ * disk_used used disk space in GB mountpoint path (/)
+ * entropy available entropy NULL
+ * gid GID of current user NULL
+ * hostname hostname NULL
+ * ipv4 IPv4 address interface name (eth0)
+ * ipv6 IPv6 address interface name (eth0)
+ * kernel_release `uname -r` NULL
+ * keyboard_indicators caps/num lock indicators format string (c?n?)
+ * see keyboard_indicators.c
+ * keymap layout (variant) of current NULL
+ * keymap
+ * load_avg load average NULL
+ * netspeed_rx receive network speed interface name (wlan0)
+ * netspeed_tx transfer network speed interface name (wlan0)
+ * num_files number of files in a directory path
+ * (/home/foo/Inbox/cur)
+ * ram_free free memory in GB NULL
+ * ram_perc memory usage in percent NULL
+ * ram_total total memory size in GB NULL
+ * ram_used used memory in GB NULL
+ * run_command custom shell command command (echo foo)
+ * swap_free free swap in GB NULL
+ * swap_perc swap usage in percent NULL
+ * swap_total total swap size in GB NULL
+ * swap_used used swap in GB NULL
+ * temp temperature in degree celsius sensor file
+ * (/sys/class/thermal/...)
+ * NULL on OpenBSD
+ * thermal zone on FreeBSD
+ * (tz0, tz1, etc.)
+ * uid UID of current user NULL
+ * uptime system uptime NULL
+ * username username of current user NULL
+ * vol_perc OSS/ALSA volume in percent mixer file (/dev/mixer)
+ * wifi_perc WiFi signal in percent interface name (wlan0)
+ * wifi_essid WiFi ESSID interface name (wlan0)
+ */
+static const struct arg args[] = {
+ /* function format argument */
+ //{ battery_perc, "[  %s%% ]", "BAT0" },
+ { cpu_perc, "[  %s%% ]", NULL },
+ { ram_used, "[  %s/", NULL },
+ { ram_total, " %s]", NULL },
+ { datetime, "[  %s ]", "%F %T" },
+};
diff --git a/suckless/.config/suckless/st/config.h b/suckless/.config/suckless/st/config.h
new file mode 100644
index 0000000..b119c25
--- /dev/null
+++ b/suckless/.config/suckless/st/config.h
@@ -0,0 +1,71 @@
+/* See LICENSE file for copyright and license details. */
+
+/* interval between updates (in ms) */
+const unsigned int interval = 1000;
+
+/* text to show if no value can be retrieved */
+static const char unknown_str[] = "n/a";
+
+/* maximum output string length */
+#define MAXLEN 2048
+
+/*
+ * function description argument (example)
+ *
+ * battery_perc battery percentage battery name (BAT0)
+ * NULL on OpenBSD/FreeBSD
+ * battery_state battery charging state battery name (BAT0)
+ * NULL on OpenBSD/FreeBSD
+ * battery_remaining battery remaining HH:MM battery name (BAT0)
+ * NULL on OpenBSD/FreeBSD
+ * cpu_perc cpu usage in percent NULL
+ * cpu_freq cpu frequency in MHz NULL
+ * datetime date and time format string (%F %T)
+ * disk_free free disk space in GB mountpoint path (/)
+ * disk_perc disk usage in percent mountpoint path (/)
+ * disk_total total disk space in GB mountpoint path (/")
+ * disk_used used disk space in GB mountpoint path (/)
+ * entropy available entropy NULL
+ * gid GID of current user NULL
+ * hostname hostname NULL
+ * ipv4 IPv4 address interface name (eth0)
+ * ipv6 IPv6 address interface name (eth0)
+ * kernel_release `uname -r` NULL
+ * keyboard_indicators caps/num lock indicators format string (c?n?)
+ * see keyboard_indicators.c
+ * keymap layout (variant) of current NULL
+ * keymap
+ * load_avg load average NULL
+ * netspeed_rx receive network speed interface name (wlan0)
+ * netspeed_tx transfer network speed interface name (wlan0)
+ * num_files number of files in a directory path
+ * (/home/foo/Inbox/cur)
+ * ram_free free memory in GB NULL
+ * ram_perc memory usage in percent NULL
+ * ram_total total memory size in GB NULL
+ * ram_used used memory in GB NULL
+ * run_command custom shell command command (echo foo)
+ * swap_free free swap in GB NULL
+ * swap_perc swap usage in percent NULL
+ * swap_total total swap size in GB NULL
+ * swap_used used swap in GB NULL
+ * temp temperature in degree celsius sensor file
+ * (/sys/class/thermal/...)
+ * NULL on OpenBSD
+ * thermal zone on FreeBSD
+ * (tz0, tz1, etc.)
+ * uid UID of current user NULL
+ * uptime system uptime NULL
+ * username username of current user NULL
+ * vol_perc OSS/ALSA volume in percent mixer file (/dev/mixer)
+ * wifi_perc WiFi signal in percent interface name (wlan0)
+ * wifi_essid WiFi ESSID interface name (wlan0)
+ */
+static const struct arg args[] = {
+ /* function format argument */
+ //{ battery_perc, "[  %s%% ]", "BAT0" },
+ { cpu_perc, "[  %s%% ]", NULL },
+ { ram_used, "[  %s/", NULL },
+ { ram_total, " %s]", NULL },
+ { datetime, "[  %s ]", "%F %T" },
+};
diff --git a/suckless/.local/src/compileSource b/suckless/.local/src/compileSource
new file mode 100755
index 0000000..573d32e
--- /dev/null
+++ b/suckless/.local/src/compileSource
@@ -0,0 +1,59 @@
+#!/bin/sh
+
+###################
+# Setting Up Vars #
+###################
+
+SRC=$(pwd)
+
+#################################
+# Cloning and Cleaning Programs #
+#################################
+
+git clone https://gitlab.com/rafa_99/dmenu
+git clone https://gitlab.com/rafa_99/dwm
+git clone https://gitlab.com/rafa_99/farbfeld
+git clone https://gitlab.com/rafa_99/neovimb
+git clone https://gitlab.com/rafa_99/pkg
+git clone https://gitlab.com/rafa_99/queryt
+git clone https://gitlab.com/rafa_99/sent
+git clone https://gitlab.com/rafa_99/slock
+git clone https://gitlab.com/rafa_99/slstatus
+git clone https://gitlab.com/rafa_99/st
+cd "$SRC"/dmenu && git pull ;
+cd "$SRC"/dwm && git pull ;
+cd "$SRC"/farbfeld && git pull ;
+cd "$SRC"/neovimb && git pull ;
+cd "$SRC"/pkg && git pull ;
+cd "$SRC"/queryt && git pull ;
+cd "$SRC"/sent && git pull ;
+cd "$SRC"/slock && git pull ;
+cd "$SRC"/slstatus && git pull ;
+cd "$SRC"/st && git pull ;
+
+##########################
+# Setting Configurations #
+##########################
+
+[ ! -f "$SRC"/dmenu/config.h ] && cp -rf "$HOME"/.config/suckless/dmenu/config.h "$SRC"/dmenu/ ;
+[ ! -f "$SRC"/dwm/config.h ] && cp -rf "$HOME"/.config/suckless/dwm/config.h "$SRC"/dwm/ ;
+[ ! -f "$SRC"/neovimb/src/config.h ] && cp -rf "$HOME"/.config/suckless/neovimb/config.h "$SRC"/neovimb/src ;
+[ ! -f "$SRC"/sent/config.h ] && cp -rf "$HOME"/.config/suckless/sent/config.h "$SRC"/sent/ ;
+[ ! -f "$SRC"/slock/config.h ] && cp -rf "$HOME"/.config/suckless/slock/config.h "$SRC"/slock/ ;
+[ ! -f "$SRC"/slstatus/config.h ] && cp -rf "$HOME"/.config/suckless/slstatus/config.h "$SRC"/slstatus/ ;
+[ ! -f "$SRC"/st/config.h ] && cp -rf "$HOME"/.config/suckless/st/config.h "$SRC"/st/ ;
+
+########################
+# Recompiling Programs #
+########################
+
+cd "$SRC"/dwm && git pull ; doas make clean install ; make clean
+cd "$SRC"/dmenu && git pull ; doas make clean install ; make clean
+cd "$SRC"/farbfeld && git pull ; doas make clean install ; make clean
+cd "$SRC"/neovimb && git pull ; doas make clean install ; make clean
+cd "$SRC"/pkg && git pull ; doas make clean install ; make clean
+cd "$SRC"/queryt && git pull ; doas make clean install ; make clean
+cd "$SRC"/sent && git pull ; doas make clean install ; make clean
+cd "$SRC"/slock && git pull ; doas make clean install ; make clean
+cd "$SRC"/slstatus && git pull ; doas make clean install ; make clean
+cd "$SRC"/st && git pull ; doas make clean install ; make clean
diff --git a/suckless/.local/src/suck/sucklessUpdate b/suckless/.local/src/suck/sucklessUpdate
deleted file mode 100755
index c57c390..0000000
--- a/suckless/.local/src/suck/sucklessUpdate
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh
-
-###################
-# Setting Up Vars #
-###################
-
-SUCK=$(pwd)
-
-#################################
-# Cloning and Cleaning Programs #
-#################################
-
-git clone https://gitlab.com/rafa_99/dmenu
-git clone https://gitlab.com/rafa_99/dwm
-git clone https://gitlab.com/rafa_99/farbfeld
-git clone https://gitlab.com/rafa_99/neovimb
-git clone https://gitlab.com/rafa_99/pkg
-git clone https://gitlab.com/rafa_99/queryt
-git clone https://gitlab.com/rafa_99/sent
-git clone https://gitlab.com/rafa_99/slock
-git clone https://gitlab.com/rafa_99/slstatus
-git clone https://gitlab.com/rafa_99/st
-cd "$SUCK"/dmenu && git pull ;
-cd "$SUCK"/dwm && git pull ;
-cd "$SUCK"/farbfeld && git pull ;
-cd "$SUCK"/neovimb && git pull ;
-cd "$SUCK"/pkg && git pull ;
-cd "$SUCK"/queryt && git pull ;
-cd "$SUCK"/sent && git pull ;
-cd "$SUCK"/slock && git pull ;
-cd "$SUCK"/slstatus && git pull ;
-cd "$SUCK"/st && git pull ;
-
-########################
-# Recompiling Programs #
-########################
-
-cd "$SUCK"/dwm && git pull ; doas make clean install ; make clean
-cd "$SUCK"/dmenu && git pull ; doas make clean install ; make clean
-cd "$SUCK"/farbfeld && git pull ; doas make clean install ; make clean
-cd "$SUCK"/neovimb && git pull ; doas make clean install ; make clean
-cd "$SUCK"/pkg && git pull ; doas make clean install ; make clean
-cd "$SUCK"/queryt && git pull ; doas make clean install ; make clean
-cd "$SUCK"/sent && git pull ; doas make clean install ; make clean
-cd "$SUCK"/slock && git pull ; doas make clean install ; make clean
-cd "$SUCK"/slstatus && git pull ; doas make clean install ; make clean
-cd "$SUCK"/st && git pull ; doas make clean install ; make clean