summaryrefslogtreecommitdiff
path: root/xmonad
diff options
context:
space:
mode:
Diffstat (limited to 'xmonad')
-rwxr-xr-xxmonad/single-startup.sh12
-rw-r--r--xmonad/xmonad-cheatsheet60
2 files changed, 72 insertions, 0 deletions
diff --git a/xmonad/single-startup.sh b/xmonad/single-startup.sh
new file mode 100755
index 0000000..19053ca
--- /dev/null
+++ b/xmonad/single-startup.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+if pgrep -x $1
+then
+ echo "process $1 already running! bailing out..."
+else
+ #. /home/miguel/.bashrc
+ export NNTPSERVER="nntp.aioe.org" # we need this for slrn (can not source from .bashrc?)
+ #echo server = $NNTPSERVER
+ echo "start process $1 ..."
+ eval $1
+fi
+
diff --git a/xmonad/xmonad-cheatsheet b/xmonad/xmonad-cheatsheet
new file mode 100644
index 0000000..99b8923
--- /dev/null
+++ b/xmonad/xmonad-cheatsheet
@@ -0,0 +1,60 @@
+mod-shift-return
+ Launch terminal
+mod-p
+ Launch dmenu
+mod-shift-p
+ Launch gmrun
+mod-shift-c
+ Close the focused window
+mod-space
+ Rotate through the available layout algorithms
+mod-shift-space
+ Reset the layouts on the current workspace to default
+mod-n
+ Resize viewed windows to the correct size
+mod-tab
+ Move focus to the next window
+mod-shift-tab
+ Move focus to the previous window
+mod-j
+ Move focus to the next window
+mod-k
+ Move focus to the previous window
+mod-m
+ Move focus to the master window
+mod-return
+ Swap the focused window and the master window
+mod-shift-j
+ Swap the focused window with the next window
+mod-shift-k
+ Swap the focused window with the previous window
+mod-h
+ Shrink the master area
+mod-l (reassigned to mod-;)
+ Expand the master area
+mod-t
+ Push window back into tiling
+mod-comma
+ Increment the number of windows in the master area
+mod-period
+ Deincrement the number of windows in the master area
+mod-shift-q
+ Quit xmonad
+mod-q
+ Restart xmonad
+mod-shift-slash
+ Run xmessage with a summary of the default keybindings (useful for beginners)
+mod-[1..9]
+ Switch to workspace N
+mod-shift-[1..9]
+ Move client to workspace N
+mod-{w,e,r}
+ Switch to physical/Xinerama screens 1, 2, or 3
+mod-shift-{w,e,r}
+ Move client to screen 1, 2, or 3
+mod-button1
+ Set the window to floating mode and move by dragging
+mod-button2
+ Raise the window to the top of the stack
+mod-button3
+ Set the window to floating mode and resize by dragging