1
vote
1answer
116 views

Remapping keys for workspaces in Xmonad

Xmonad uses 1) Mod+2 for switching to workspace 2 2) Mod+Shift+2 for moving window to workspace 2 How would you remap 1) to Mod+k and 2) to Mod+Shift+k in ~/xmonad/xmonad.hs?
1
vote
2answers
282 views

screen : automatic creating or reattaching sessions in different configurations

What's clean way to achieve, following functionality: function screen_create_or_reuse(){ if [ running_screen_session "$1" ]; then reattach_screen_session screen_name_"$1" else ...