swap abduco for dtach

This commit is contained in:
Felix Van der Jeugt 2016-01-23 11:00:57 +01:00
parent 9ebf085359
commit f0f22f3628
5 changed files with 12 additions and 8 deletions

View File

@ -1,3 +0,0 @@
#!/bin/bash
session="$(abduco | tail -n +2 | cut -f3 | dmenu)"
urxvtc -e abduco -a "$session"

View File

@ -1,3 +0,0 @@
#!/bin/bash
command="$(dmenu_path | dmenu)"
urxvtc -e abduco -A "$command" $command

5
local/bin/dtach_list Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
socketdir="${XDG_CACHE_HOME:-$HOME/.cache}/dtach"
mkdir -p "$socketdir"
session="$(ls "$socketdir" | dmenu)"
urxvtc -e dtach -a "$socketdir/$session"

5
local/bin/dtach_run Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
socketdir="${XDG_CACHE_HOME:-$HOME/.cache}/dtach"
mkdir -p "$socketdir"
command="$(dmenu_path | dmenu)"
urxvtc -e dtach -A "$socketdir/$command" $command

View File

@ -184,8 +184,8 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
, ((0, xF86XK_MonBrightnessUp), spawn "xbacklight -inc 10")
, ((0, xF86XK_MonBrightnessDown), spawn "xbacklight -dec 10")
, ((modm, xK_s), spawn $ silent "abduco_run")
, ((modm, xK_a), spawn $ silent "abduco_list")
, ((modm, xK_s), spawn $ silent "dtach_run")
, ((modm, xK_a), spawn $ silent "dtach_list")
-- Screens
, ((modm .|. shiftMask, xK_p), spawn $ silent "push.sh")