Questions tagged [xmonad-contrib]
17 questions
4
votes
2 answers
Cycling through workspaces in multi monitor setup in XMonad
I'm currently using alt + ctrl + left and alt + ctrl + right to cycle between workspaces:
...
, ((altModMask .|. controlMask, xK_Left),
prevWS)
, ((altModMask .|. controlMask, xK_Right),
nextWS)
This works fine for single…

Konrad Eisele
- 3,088
- 20
- 35
2
votes
1 answer
xmonad-contrib Prompt: Execute terminal prompt in a particular workspace?
I recently decided to build XMonad from source via Stack to make a custom configuration. Let me preface by saying I do not have a ton of experience with Haskell.
My OS is Linux - Arch.
Setup
I am attempting to make use of the XMonad.Prompt package…

Oh Fiveight
- 299
- 1
- 9
1
vote
2 answers
Move window to workspace and focus that workspace (shiftAndView) on XMonad WM
I have XMonad for a while and I have been working on this for the last couple of days, and still no solution.
Let me give you an example of what I'm trying to do:
VLC is open, move it to workspace 2 while it's still focused so I don't have to take a…

Raymond
- 11
- 5
1
vote
1 answer
Migrating XMobar to the new 0.17 standard
Just to make it clear, my XMobar uses UnsafeStdinReader and SpawnPipe to send information about workspaces right now. Here are the relevant portions of the configuration:
main = do
xmprocleft <- spawnPipe "xmobar -x 0…

BL155
- 50
- 4
1
vote
0 answers
Concept of multiple "virtual screens" for a single physical screen
I use XMonad with a single physical screen with 10 workspaces. I would like to have two or more separate instances of worksapces, kinda like multiple "virtual screens" on a single physical screen. E.g., virtual screen 1 and 2 should each…

watain
- 4,838
- 4
- 34
- 35
1
vote
1 answer
How do I get list of workspaces on monitor x with IndependentScreens
I've got 2 monitors of different sizes, one of witch is placed vertically, and I'd like them to have different layouts by default
I'm using XMonad.Layout.IndependentScreens to assign each monitor it's own set of workspaces
I have found a library…

Arsen Zahray
- 24,367
- 48
- 131
- 224
1
vote
2 answers
Config No Border For Specific Windows in Xmonad
The Goal
Set no border for specific windows in Xmonad.
Concrete example: I'd like firefox and feh always have no border. I want to set this not only for specific layout (e.g., single window) or specific window mode like float.
Attempt A
The most…

Xiaokui Shu
- 422
- 2
- 10
1
vote
1 answer
How to get current workspace information from Xmonad through bash command / file?
I need the information about the current workspace/screen from Xmonad. I need it externally in a bash script so that I can perform some function based on the current workspace where I am in.
I searched the web and it seems like dynamicLog is one of…

harsh atal
- 411
- 6
- 16
1
vote
1 answer
How to run a hook on a Xmonad Window via keybinding
I am looking for a way to replicate the behaviour of doCenterFloat in my managehook to a keybinding.
I would like to keep the windows 'natural' size. For example, when i create an OpenGL window with size 800x600, I would manually have to add the…

rial
- 705
- 7
- 17
0
votes
1 answer
Is there a `ifWindowCount` function in xmonad?
I am trying to find a function, that allows me to switch between XMonad-Layouts automatically depending on the amount of windows on the screen.
I have experienced similar behavior with the ifWider function, which does the same depending on the…

Robotix_00
- 3
- 2
0
votes
1 answer
XMonad (or xmonad-contrib) function to read current layout name?
Say I have an XMonad layout that I named "foo" via XMonad.Layout.Renamed.
I've got a keybinding that I would like bound to a different X () depending on the current layout of the focused workspace. For example, something along the lines of:
case ()…

Oh Fiveight
- 299
- 1
- 9
0
votes
0 answers
XMonad: Trying to toggle the gap size together with xmobar
When I remove xmobar I want the top gap to be incremented to make it equal to the bottom gap. On the other hand when I add the bar I want the top gap to be reduced to make it as it was on start.
I have a key binding set to toggle xmobar:
, ("M-w" ,…

za_russo
- 1
0
votes
0 answers
XMonad not giving space for Tint2 bar
I am currently setting up my new config for XMonad but I cannot get the docks to work.
https://hastebin.com/eqoliyodat.swift
The tint properties look like this.
WM_STATE(WM_STATE):
window state: Normal
icon window:…
0
votes
2 answers
XMonad: How to make an X () action run only once on key down?
I would like to set up my XMonad such that I have a keybinding that switches to a specific layout when a key is being pressed down and held, and then switches back to the other specific layout when the same key is released.
To switch to the first…

Oh Fiveight
- 299
- 1
- 9
0
votes
0 answers
Can't find module DBus in Xmonad 0.17
I am trying to install Xmonad 0.17, and I need DBus for Polybar (at least I think so)
I have followed the guide at https://xmonad.org/INSTALL.html (using stack to install), but I keep getting "Could not find module 'DBus'"
Inspired by a thread on…

AGE_DK
- 11
- 2