diff options
| -rw-r--r-- | config.h | 1 | ||||
| -rw-r--r-- | main.cpp | 2 | ||||
| -rw-r--r-- | readme.org | 2 |
3 files changed, 3 insertions, 2 deletions
@@ -10,6 +10,7 @@ std::string startup[] = {"picom -fD 3", "feh --bg-scale /usr/share/backgrounds/v //Main config int gaps = 3; int outerGaps = 3; +std::string logFile = "/tmp/yatlog"; //WS config const int numWS = 10; @@ -609,7 +609,7 @@ int main(int argc, char** argv) dpy = XOpenDisplay(nullptr); root = Window(DefaultRootWindow(dpy)); - yatlog.open("/tmp/yatlog.txt", std::ios_base::app); + yatlog.open(logFile, std::ios_base::app); auto timeUnformatted = std::chrono::system_clock::now(); std::time_t time = std::chrono::system_clock::to_time_t(timeUnformatted); @@ -22,7 +22,7 @@ The current default config is just my config. Add a bash command to the ~startup~ string array in config.h and it will execute on startup. *** General You can change either the inner gaps (padding around each window - so double it for space between windows), or the outer gaps (padding around the display - add to inner gaps to get space between window and screen edges). -They can be changed with the integers ~gaps~ and ~outerGaps~ in the config.h file. +They can be changed with the integers ~gaps~ and ~outerGaps~ in the config.h file. YATwm also keeps a log file, the location of this file can be changed with the string ~logFile~. You can change the number of workspaces by editing ~numWS~ in the config.h file, and the names by editing ~workspaceNames~. You can think of workspaces as virtual desktops. *** Keybinds |
