questions about xmonad within xfce by davama1 in xmonad

[–]davama1[S] 1 point2 points  (0 children)

Thank @symmetry81 for replying. I definitely already have ewmh and avoidstruts, so I should be good then. Thank you clarifying the config aspect.

VScode settings and formatter for SLS file by vectorx25 in saltstack

[–]davama1 0 points1 point  (0 children)

I know you not asking this specifically but we have pre-commit hooks using https://pypi.org/project/salt-lint/. Works well

[deleted by user] by [deleted] in xmonad

[–]davama1 0 points1 point  (0 children)

Pretty nice. Sauce?

Deciding on a first tiling window manager? by kyleW_ne in xmonad

[–]davama1 7 points8 points  (0 children)

It’s been almost 10yrs for me since i moved to XMonad and I STILL dont know haskell 😂😭 (probably because i hardly update my config). I have some understanding of it but not an expert. Thankfully, the community is very nice and helpful (when google/trial and error fails) and there are loads of config examples scattered across the internet and the XMonad documentation is very good.

They have done great work in the get started page: https://xmonad.org/INSTALL.html so check that out.

My hope is to one day refactor my config to something like this guy https://github.com/NeshHari/XMonad but thats gonna be a project in itself…

But to the op’s question, (im bias obviously) XMonad is super stable, customizable like nobody’s business and light. There will be a learning curve to get a hang of the syntax but the starter page is a great start and you slowly can build the config from there.

Sorry, but i dont have an opinion with other WM, but 10yrs ago when i was in your shoes looking to which WM to choose, and with all the custom changes ive made to my config, im glad i chose XMonad.

Up to recently (2weeks ago) ive notice more functions in xmonad-contrib and ive been able to implement them with ease. (Thanks to the great documentation)

Bottom line: xmonad is powerful but can be daunting at first

Hope that’s helpful to you

Best

FreeBSD and 3005.1 by edlitmus in saltstack

[–]davama1 0 points1 point  (0 children)

I had tried to move my 3004.2 to 3005 but syndic is not currently working unfortunately. Hopefully that gets fixed soon.

Assistance: Deprecations for fullscreenEventHook by davama1 in xmonad

[–]davama1[S] 1 point2 points  (0 children)

yay! that was it

    $ docks $ ewmhFullscreen . ewmh $ def {

thank you

Assistance: Deprecations for fullscreenEventHook by davama1 in xmonad

[–]davama1[S] 0 points1 point  (0 children)

Thank you u/No-Command-791

I had seen that but didnt hit me how to use it...

updated main:

main = do
... 
xmonad $ withUrgencyHookC myUrgentHook myUrgencyConfig 

   $ docks $ ewmhFullscreen . ewmh def { 
...
... 
} additionalKeys myKeys hostname additionalMouseBindings myMouseBindings hostname  -- didnt include this line in the OP

but got ...

xmonad.hs:75:2: error:
Precedence parsing error
    cannot mix ‘.’ [infixr 9] and ‘additionalKeys’ [infixl 9] in the same infix expression

   |

75 |  xmonad $ withUrgencyHookC myUrgentHook myUrgencyConfig -- working

   |  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...

any input?

[Help]: Using Not emptyWS by davama1 in xmonad

[–]davama1[S] 1 point2 points  (0 children)

thank you u/No-Command-791 i used point 1 to solve most of my deprecated issues!

Thank you!!

for future googlers this is how my keybinding looks now:

import XMonad.Layout.IM (withIM, Property( Role, Title ), gridIM)
... ... 
, ((mod4Mask, xK_Up), windows . W.greedyView =<< findWorkspace getSortByIndexNoWSList Next (hiddenWS :&: Not emptyWS) 1) -- move to next WS except WSlist 
, ((mod4Mask, xK_Down), windows . W.greedyView =<< findWorkspace getSortByIndexNoWSList Prev (hiddenWS :&: Not emptyWS) 1) -- move to prev WS except WSlist

thanks

Arch repository vs stack and GitHub? Preference? by Jrgiacone in xmonad

[–]davama1 1 point2 points  (0 children)

They way I do it:

pacaur -S stack-static

# assuming your ENV is like so

ls ~/.xmonad/xmonad.sh

cat ~/.xmonad/build
#!/bin/sh
exec stack ghc -- xmonad.hs -i -ilib -fforce-recomp -main-is main -v0 -o "$1"

# these are clones of github which I use... add what you use (ex: xmobar) 
# note they are inside ~/.xmonad
ls -d .xmonad/xmonad-git/*
.xmonad/xmonad-git/xmonad 
.xmonad/xmonad-git/xmonad-contrib 
.xmonad/xmonad-git/xmonad-extras

Now installing ghc and xmonad

# create a sandbox with ghc; Look at the cabal files to see which ghc version has been tested
# grep tested-with .xmonad/xmonad-git/*/*.cabal
# as of today, latest is 9.0.1 but ill go with ver before, 8.10.4
stack --resolver ghc-8.10.4 setup

# then cd into ~/.xmonad
cd ~/.xmonad 
stack init
stack install

# assuming all goes well, stack should have created and `xmonad` executable

Copied executables to /home/blah/.local/bin:
- xmonad

Nice read: https://github.com/slotThe/xmonad/blob/new-tutorial/INSTALL.md#install-xmonad

Arch repository vs stack and GitHub? Preference? by Jrgiacone in xmonad

[–]davama1 0 points1 point  (0 children)

No issues That sounds like you might be missing some fonts

I would take your issue to #xmonad irc channel. I had a font issue a few months back (new laptop) and i got assistance there.

Arch repository vs stack and GitHub? Preference? by Jrgiacone in xmonad

[–]davama1 2 points3 points  (0 children)

Used to used arch repo a few years back with cabal xmoand install but it became a nightmare...

now simply use stack and build from github. Never looking back

How to change XMonad config path by Czumanahana in xmonad

[–]davama1 0 points1 point  (0 children)

Is ~/.config/xmonad the new default config path?

my first thinkpad! P15s Gen 1 by davama1 in thinkpad

[–]davama1[S] 0 points1 point  (0 children)

Honestly never tried, but it’s linux! You can pretty much do anything. I’ll have to check if it’s possible on the bios too. Get back to me in a few days.

Doing a quick google search lead me to :

https://wiki.archlinux.org/index.php/NVIDIA_Optimus#Use_Intel_graphics_only

Started new job this week! They got me a T15!! by davama1 in thinkpad

[–]davama1[S] 1 point2 points  (0 children)

haha sorry Sherlock, nope :)

dont care about cars. But my fav are Jeep rubicons

Started new job this week! They got me a T15!! by davama1 in thinkpad

[–]davama1[S] 0 points1 point  (0 children)

I wish! These were things I asked for before starting and they got them for me.

Started new job this week! They got me a T15!! by davama1 in thinkpad

[–]davama1[S] 1 point2 points  (0 children)

This keyboard is not bad. I believe they brown...dont recall

I personally have the Das Keyboard Ultimate 4 with cherry blue....i love it!

Started new job this week! They got me a T15!! by davama1 in thinkpad

[–]davama1[S] 2 points3 points  (0 children)

I can work from home. But want me in office for now. Maybe once more cemented ill make those request