<commit_before>#!/bin/sh

## curl https://raw.githubusercontent.com/ryanpcmcquen/linuxTweaks/master/windowmakerSetup.sh | sh

## everyone loves the terminal, says the unix nerd
if [ -z "$(grep 'Mod1+F1' ~/GNUstep/Defaults/WMRootMenu)" ]; then
  sed -i.bak 's@(Konsole, EXEC, konsole)@\
  (Konsole, EXEC, konsole),\
  (uxterm, SHORTCUT, "Mod1+F1", EXEC, "uxterm")\
  @g' ~/GNUstep/Defaults/WMRootMenu
fi

## kind of doing a fluxbox thing here
if [ -z "$(grep 'Mod1+F2' ~/GNUstep/Defaults/WMRootMenu)" ]; then
  sed -i.bak 's@(Run..., SHEXEC, "%A(Run, Type command:)"),@\
  (Run..., SHEXEC, "%A(Run, Type command:)"),\
  (Run..., SHORTCUT, "Mod1+F2", EXEC, "%A(Run, Type command:)"),\
  @g' ~/GNUstep/Defaults/WMRootMenu
fi

## typical alt + f4 close key
sed -i.bak 's/CloseKey = None;/CloseKey = "Mod1+F4";/g' ~/GNUstep/Defaults/WindowMaker

## alt+m is minimize, may as well make alt+n maximize
sed -i.bak 's/MaximizeKey = None;/MaximizeKey = "Mod1+N";/g' ~/GNUstep/Defaults/WindowMaker
<commit_msg>fix link<commit_after>#!/bin/sh

## curl https://raw.githubusercontent.com/ryanpcmcquen/linuxTweaks/master/.windowmakerSetup.sh | sh

## everyone loves the terminal, says the unix nerd
if [ -z "$(grep 'Mod1+F1' ~/GNUstep/Defaults/WMRootMenu)" ]; then
  sed -i.bak 's@(Konsole, EXEC, konsole)@\
  (Konsole, EXEC, konsole),\
  (uxterm, SHORTCUT, "Mod1+F1", EXEC, "uxterm")\
  @g' ~/GNUstep/Defaults/WMRootMenu
fi

## kind of doing a fluxbox thing here
if [ -z "$(grep 'Mod1+F2' ~/GNUstep/Defaults/WMRootMenu)" ]; then
  sed -i.bak 's@(Run..., SHEXEC, "%A(Run, Type command:)"),@\
  (Run..., SHEXEC, "%A(Run, Type command:)"),\
  (Run..., SHORTCUT, "Mod1+F2", EXEC, "%A(Run, Type command:)"),\
  @g' ~/GNUstep/Defaults/WMRootMenu
fi

## typical alt + f4 close key
sed -i.bak 's/CloseKey = None;/CloseKey = "Mod1+F4";/g' ~/GNUstep/Defaults/WindowMaker

## alt+m is minimize, may as well make alt+n maximize
sed -i.bak 's/MaximizeKey = None;/MaximizeKey = "Mod1+N";/g' ~/GNUstep/Defaults/WindowMaker

{'fraction_non_alphanumeric': 0.2001003009027081, 'fraction_numerical': 0.012036108324974924, 'mean_word_length': 4.181818181818182, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5482385', 'n_tokens_mistral': 866, 'n_tokens_neox': 827, 'n_words': 191}