From 425172301cb74d7f2db2a1cf3c64b5f9a5775e34 Mon Sep 17 00:00:00 2001 From: root_sti Date: Mon, 26 Feb 2024 01:32:24 -0300 Subject: [PATCH] litle changes. --- README.md | 17 +++++++++++++ art/wms.ascii | 33 ++++++++++++++++++------ config/{sxhkdrc_example => sxhkdrc} | 0 config/wms.desktop | 7 +++++ config/{wms_names_example => wms_names} | 0 config/{wms_var_example => wms_var} | 0 config/{xinitrc_example => xninitrc} | 0 opt/wms.sh | 8 ++++++ opt/wms_backgroundize.sh | 7 ++--- opt/wms_batlarm.sh | 1 + opt/wms_clearer.sh | 1 + opt/wms_jumper.sh | 1 + opt/wms_layout.sh | 1 + opt/wms_mimic.sh | 3 +++ opt/wms_screensaver.sh | 3 ++- opt/wms_shepperd.sh | 2 +- opt/wms_termrename.sh | 1 + opt/wms_toggle.sh | 34 +++++++++++++++++++++++++ opt/wms_value.sh | 4 ++- wms_focuser.sh | 3 ++- wms_usher.sh | 1 + wms_voyeur.sh | 2 ++ 22 files changed, 114 insertions(+), 15 deletions(-) rename config/{sxhkdrc_example => sxhkdrc} (100%) create mode 100644 config/wms.desktop rename config/{wms_names_example => wms_names} (100%) rename config/{wms_var_example => wms_var} (100%) rename config/{xinitrc_example => xninitrc} (100%) create mode 100644 opt/wms.sh create mode 100755 opt/wms_toggle.sh diff --git a/README.md b/README.md index 92477d3..c5ec378 100644 --- a/README.md +++ b/README.md @@ -77,5 +77,22 @@ send windows to the background and ingore them. **[wms_screensaver.sh]** experimental scripts that keps windows in a loop of random movements. + +**SETUP STEPS** +1 - download, compile and install wmutils/core and wmutils/opt. + +2 - clone this repo and put at least the main scripts in some executable path. + +3 - install a daemon for keyboard events, I have used sxhkd. Copy your configuration file, sxhkdrc, from wms/config to .config/sxhkd/. + +4 - copy the wms variables file, wms_var, contained in wms/config to .config/wms/. + +5 - add the following lines in .xinitrc or sxrc: + sxhkd & + exec wms_voyeur.sh + +!! In the case of using a Display Manager, copy the wms.desktop file contained in wms/config to /usr/share/xsessions and add the file wms.sh to the executable path. + + **This spawn doesn't have mouse support** **Sorry for the verbosity of the comments, the idea is to explain each script in general terms so that it can be easier to hack them** \ No newline at end of file diff --git a/art/wms.ascii b/art/wms.ascii index a8d74a5..2a8b8e4 100644 --- a/art/wms.ascii +++ b/art/wms.ascii @@ -1,8 +1,25 @@ -━━━━━━━━━━━━━━ -━━━━━━━━━━━━━━ -┏┓┏┓┏┓┏┓┏┓┏━━┓ -┃┗┛┗┛┃┃┗┛┃┃━━┫ -┗┓┏┓┏┛┃┃┃┃┣━━┃ -━┗┛┗┛━┗┻┻┛┗━━┛ -━━━━━━━━━━━━━━ -━━━━━━━━━━━━━━ + +┌─────────────────────────────────────────┐ +│ ..:::/::-. │ +│ `-:::-::-::::` │ +│ `:::-::::-:::-- │ +│ .:::::::::://-/. │ +│ .::::::::-::::/. │ +│ :` `.//-` .: │ +│ :-----:--.---: │ +│ `..` `--::::::::--. ``` │ +│ -:::-` .:-::::- `-:::. │ +│ `:::::::-.` ````` ..-:::::/: │ +│ ``` ..--::-:....-::::..```` │ +│ `.::-::::--. │ +│ `--.--::::-.` `.-::/:-...-` │ +│ .::::..` ``-::::. │ +│ .::` .::- │ +│ `.` ... │ +│ .____ ____. │ +│ | _| __ _ _______ ______ |_ | │ +│ | | \ \/ \/ / \ / ___/ | | │ +│ | | \ / Y Y \\___ \ | | │ +│ | |_ \/\_/|__|_| /____ > _| | │ +│ |____| \/ \/ |____| │ +└─────────────────────────────────────────┘ diff --git a/config/sxhkdrc_example b/config/sxhkdrc similarity index 100% rename from config/sxhkdrc_example rename to config/sxhkdrc diff --git a/config/wms.desktop b/config/wms.desktop new file mode 100644 index 0000000..2f66255 --- /dev/null +++ b/config/wms.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=wms +Comment=Window Manipulation Shellscripts +Type=Application +Terminal=False +Exec=