[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: just-the-text Emacs frame
From: |
Ted Zlatanov |
Subject: |
Re: just-the-text Emacs frame |
Date: |
Sat, 11 Jun 2011 05:45:15 -0500 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) |
On Sat, 11 Jun 2011 10:04:59 +0200 Philipp Haselwarter <address@hidden> wrote:
PH> I assume you use manageDocks on your manageHook?
PH> manageDocks simply does
#+begin_src haskell
manageDocks :: ManageHook
manageDocks = checkDock --> doIgnore
#+end_src
PH> If you want more fine grained control, just ignore the docks you really
PH> just want out of your way and set windows with _NET_WM_WINDOW_TYPE_DOCK
PH> to be floating. That way, they can still get focus and input.
PH> And don't forget to put avoidStruts on your layout.
PH> Could give you something like this:
#+begin_src haskell
myManageHook = composeAll . concat $
[ [ className =? i --> doIgnore | i <- myCIgnores ]
, [ className =? c --> doFloat | c <- myCFloats ]
, [ title =? t --> doFloat | t <- myTFloats ]
, [ resource =? r --> doFloat | r <- myRFloats ]
, [ resource =? i --> doIgnore | i <- myRIgnores ]
, [ isFullscreen --> doFullFloat ]
, [ isDialog --> doFloat ]
, [ checkDock --> doFloat ]
, [ (className =? x <||> title =? x <||> resource =? x) --> doF (W.shift
(myWorkspaces !! 1)) | x <- my1Shifts ]
, [ (className =? x <||> title =? x <||> resource =? x) --> doShift
(myWorkspaces !! 2) | x <- my2Shifts ]
]
where
myCFloats = [ "MPlayer", "Vlc", "Gimp", "Volume-control.py" ]
myTFloats = []
myRFloats = []
myCIgnores = [ "dzen", "Avant-window-navigator" ]
myRIgnores = [ "kdesktop", "desktop_window" ]
my1Shifts = [ "Nightly" ]
my2Shifts = []
#+end_src
PH> Simply adjust myCIgnores or myRIgnores according to what docks you use.
That sounds good. I'll put something like that in the emacs-panel
recommendation and docs for when it detects you're running XMonad.
Thanks
Ted
- Re: just-the-text Emacs frame, (continued)
- Re: just-the-text Emacs frame, Jan Djärv, 2011/06/06
- Re: just-the-text Emacs frame, Jan Djärv, 2011/06/06
- Re: just-the-text Emacs frame, Julien Danjou, 2011/06/06
- Re: just-the-text Emacs frame, Ted Zlatanov, 2011/06/06
- Re: just-the-text Emacs frame, Julien Danjou, 2011/06/07
- Re: just-the-text Emacs frame, Ted Zlatanov, 2011/06/10
- Re: just-the-text Emacs frame, T.V. Raman, 2011/06/10
- Re: just-the-text Emacs frame, chad, 2011/06/10
- Re: just-the-text Emacs frame, Ted Zlatanov, 2011/06/10
- Re: just-the-text Emacs frame, Philipp Haselwarter, 2011/06/11
- Re: just-the-text Emacs frame,
Ted Zlatanov <=
- org-src.el begin_src/end_src fontification may have been broken recently (was: just-the-text Emacs frame), Ted Zlatanov, 2011/06/07
- Re: org-src.el begin_src/end_src fontification may have been broken recently, Stefan Monnier, 2011/06/07
- Re: org-src.el begin_src/end_src fontification may have been broken recently, Ted Zlatanov, 2011/06/07
- Re: org-src.el begin_src/end_src fontification may have been broken recently, Jambunathan K, 2011/06/07
- Re: org-src.el begin_src/end_src fontification may have been broken recently, Ted Zlatanov, 2011/06/07
- Re: org-src.el begin_src/end_src fontification may have been broken recently, Ted Zlatanov, 2011/06/09
- Re: org-src.el begin_src/end_src fontification may have been broken recently, Ted Zlatanov, 2011/06/10
- Re: org-src.el begin_src/end_src fontification may have been broken recently, Thierry Volpiatto, 2011/06/10
- Re: org-src.el begin_src/end_src fontification may have been broken recently, Bastien, 2011/06/11
- Re: org-src.el begin_src/end_src fontification may have been broken recently, Ted Zlatanov, 2011/06/11