logo

dotfiles

My dotfiles, one branch per machine
commit: 251329ed7d94eae51e7541a4bbe56d9e6fc969a8
parent: 5a4fa2265376dbe2dee39821e3cf1756dfbb6493
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 24 May 2019 16:27:34 +0200

.xmonad/xmonad.hs: Remove most of XMonad.Prompt

I ended up being stuck in the pass prompt with no way to exit so
I prefer to use app-admin/pass[dmenu] instead as I can kill it without
loosing the Xorg session.

Diffstat:

M.common.sh2+-
M.xmonad/xmonad.hs7+------
2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/.common.sh b/.common.sh @@ -19,7 +19,7 @@ get_working_directory() { } # shell -host_ansi="37" +host_ansi="33" case $SHELL in *ksh*) # hack derived from ksh88(1), works in mksh, doesn't works in bash diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs @@ -7,10 +7,8 @@ import XMonad.Util.WorkspaceCompare -- getSortByXineramaPhysicalRule import XMonad.Util.EZConfig -- additionalKeys import XMonad.Prompt -import XMonad.Prompt.XMonad -- xmonadPrompt -import XMonad.Prompt.Pass -- passPrompt import XMonad.Prompt.Window -- windowPrompt -import XMonad.Prompt.Shell + import XMonad.StackSet (focusDown) import XMonad.Layout.Grid @@ -65,9 +63,6 @@ main = xmonad $ docks $ def } `additionalKeys` [ ((mod4Mask, xK_b), sendMessage ToggleStruts) - , ((mod4Mask .|. shiftMask, xK_x), xmonadPrompt promptConfig) - , ((mod4Mask .|. shiftMask, xK_p), passPrompt promptConfig) - , ((mod4Mask, xK_p), shellPrompt promptConfig) , ((mod4Mask .|. shiftMask, xK_g ), windowPrompt promptConfig { autoComplete = Just 500000 } Goto allWindows) , ((mod4Mask .|. shiftMask, xK_b ), windowPrompt promptConfig Bring allWindows) ]