2023-01-29 01:12:51 +0100 | ghormoon | (~ghormoon@ghorland.net) (Quit: ZNC - http://znc.in) |
2023-01-29 01:20:55 +0100 | ghormoon | (~ghormoon@ghorland.net) |
2023-01-29 01:29:11 +0100 | <T_X> | phew, found a workaround to use only my Alt_L and not Alt_R as mod1 for Xmonad... excerpt from my custom skb map: https://paste.linuxlounge.net/ZY |
2023-01-29 01:29:50 +0100 | <T_X> | Alt_R is still listed in the xmodmap output. however looks like X is not emitting a mod1 anymore for it |
2023-01-29 01:30:18 +0100 | <T_X> | and I seem to be able to use Alt_R in applications without problems now |
2023-01-29 01:31:48 +0100 | <T_X> | it's still a bit weird that something like "xmodmap -e 'clear mod1'" or "xmodmap -e 'remove mod1 = Alt_R'" throw an error. I have the feeling that something in the "setxkbmap de neo" layout is broken |
2023-01-29 01:32:22 +0100 | <geekosaur> | actually that's not too surprising. xmodmap is the old way to do it, and xkb can do things xmodmap doesn't understand |
2023-01-29 01:32:37 +0100 | <geekosaur> | in which case you must use xkb to do what you want |
2023-01-29 01:32:44 +0100 | <T_X> | I'm wondering if the "mod2 BadKey (0xcf)" confuses it |
2023-01-29 01:32:46 +0100 | <T_X> | yeah, looks like |
2023-01-29 01:33:19 +0100 | <T_X> | however I didn't find a super clean way to do something like the two xmodmap commands above in an xkb map |
2023-01-29 01:33:52 +0100 | <T_X> | but setting "actions[Group1] = [ NoAction() ]" to Alt_R seems to work for now for me :D |
2023-01-29 01:34:00 +0100 | <T_X> | eh |
2023-01-29 01:34:06 +0100 | <T_X> | I mean "actions[Group1] = [ SetMods(modifiers=Alt_R) ]" |
2023-01-29 01:35:12 +0100 | <T_X> | any usage of "modifier_map Mod1 { ... } " seems to only add to Mod1. but does not clear it |
2023-01-29 01:36:23 +0100 | <T_X> | and anything I tried with the "override" or "replace" keywords did not seem to help. and to me in the code it looks like they are ignored and always the merge option is used for a modifier_map |
2023-01-29 01:37:12 +0100 | <T_X> | and from https://www.x.org/wiki/XKB/ I couldn't make much sense either, on how to cleanly remove a key from a modX |
2023-01-29 04:03:10 +0100 | banc | (banc@gateway/vpn/protonvpn/banc) (Ping timeout: 260 seconds) |
2023-01-29 04:15:39 +0100 | td_ | (~td@i53870921.versanet.de) (Ping timeout: 260 seconds) |
2023-01-29 04:17:05 +0100 | td_ | (~td@i5387093F.versanet.de) |
2023-01-29 04:25:45 +0100 | banc | (banc@gateway/vpn/protonvpn/banc) |
2023-01-29 06:51:30 +0100 | qbt | (~qbt@user/edun) |
2023-01-29 07:56:12 +0100 | Guest58 | (~Guest58@174-22-199-196.phnx.qwest.net) |
2023-01-29 07:57:20 +0100 | <Guest58> | Can someone take a look at my post here: https://www.reddit.com/r/xmonad/comments/10o0toe/how_to_use_x_string_as_string_in_xmobar/?utm_sour… |
2023-01-29 08:13:56 +0100 | <Solid> | You can't pair an `X String` with a normal `String`; where are you actually using formatFocused etc.? |
2023-01-29 08:24:32 +0100 | <Guest58> | I am using it in the following function: |
2023-01-29 08:24:33 +0100 | <Guest58> | logTitlesM :: ScreenId -> Logger |
2023-01-29 08:24:33 +0100 | <Guest58> | logTitlesM sid = do |
2023-01-29 08:24:34 +0100 | <Guest58> | c <- withWindowSet $ return . W.screen . W.current |
2023-01-29 08:24:34 +0100 | <Guest58> | if sid == c then |
2023-01-29 08:24:35 +0100 | <Guest58> | logTitlesOnScreen sid formatFocused formatUnfocused |
2023-01-29 08:24:35 +0100 | <Guest58> | else |
2023-01-29 08:24:36 +0100 | <Guest58> | logTitlesOnScreen sid formatVisible formatUnfocused |
2023-01-29 08:29:48 +0100 | <xmonadtrack> | xmonad-contrib Tony Zorman * v0.17.1-126-g90f4a96f: X.U.NamedActions: Do not discard all keybindings in addDescrKeys (2 days ago, 2 files, 7+ 1-) https://github.com/xmonad/xmonad-contrib/commit/90f4a96f933a |
2023-01-29 08:29:50 +0100 | <xmonadtrack> | xmonad-contrib Tony Zorman {GitHub} * v0.17.1-129-g6fba8016: Merge pull request #796 from slotThe/fix/named-actions/key-overwriting (5 minutes ago, 0 files, 0+ 0-) https://github.com/xmonad/xmonad-contrib/commit/6fba80168df6 |
2023-01-29 08:31:44 +0100 | Guest58 | (~Guest58@174-22-199-196.phnx.qwest.net) (Quit: Client closed) |
2023-01-29 08:31:59 +0100 | Guest58 | (~Guest58@174-22-199-196.phnx.qwest.net) |
2023-01-29 08:37:57 +0100 | <Solid> | Guest58: a `Logger` is nothing more but an `X (Maybe String)`, so you can do the whole window count thing inside of `lotTitlesM` |
2023-01-29 08:39:12 +0100 | <Solid> | also note that `winc` only gets the number of windows of the _current_ (focused) screen, so you might not want to pass it to the other bars on the visible screens |
2023-01-29 08:42:12 +0100 | <Guest58> | so would i just replace the formatFocused etc parts in ``logTitlesM`` with what I have in ppWindow? |
2023-01-29 08:43:01 +0100 | <Guest58> | also thanks for the heads up on the current screen, im going to have to figure out how to make it work on my other screens |
2023-01-29 08:51:24 +0100 | Guest58 | (~Guest58@174-22-199-196.phnx.qwest.net) (Quit: Client closed) |
2023-01-29 08:54:35 +0100 | <Solid> | ppWindow still doesn't typecheck, but since you're not doing anything that actually involves the current window in `winc`, you should be able to rewrite it relatively easily |
2023-01-29 08:54:39 +0100 | jao | (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) (Ping timeout: 248 seconds) |
2023-01-29 08:54:58 +0100 | <Solid> | if you send me a code snippet that compiles (i.e., probably the full config) I could try to show you what I mean |
2023-01-29 11:01:03 +0100 | qbt | (~qbt@user/edun) (Ping timeout: 260 seconds) |
2023-01-29 11:17:56 +0100 | mc47 | (~mc47@xmonad/TheMC47) |
2023-01-29 12:07:25 +0100 | scardinal | (~supreme@customer-212-237-101-39.ip4.gigabit.dk) (Quit: leaving) |
2023-01-29 12:07:59 +0100 | werneta | (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 264 seconds) |
2023-01-29 12:09:16 +0100 | werneta | (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
2023-01-29 12:09:25 +0100 | scardinal | (~supreme@customer-212-237-101-39.ip4.gigabit.dk) |
2023-01-29 13:14:17 +0100 | qbt | (~qbt@user/edun) |
2023-01-29 15:52:34 +0100 | mc47 | (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
2023-01-29 16:28:00 +0100 | werneta | (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 248 seconds) |
2023-01-29 16:29:45 +0100 | werneta | (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
2023-01-29 16:36:40 +0100 | jao | (~jao@cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net) |
2023-01-29 17:00:06 +0100 | unclechu | (~unclechu@2001:470:69fc:105::354) (Quit: You have been kicked for being idle) |
2023-01-29 17:05:33 +0100 | scardinal | (~supreme@customer-212-237-101-39.ip4.gigabit.dk) (Quit: leaving) |
2023-01-29 17:11:36 +0100 | scardinal | (~supreme@customer-212-237-101-39.ip4.gigabit.dk) |
2023-01-29 17:42:01 +0100 | mc47 | (~mc47@xmonad/TheMC47) |
2023-01-29 18:42:01 +0100 | imaneb[m] | (~imanebmat@2001:470:69fc:105::2:ff84) |
2023-01-29 18:49:13 +0100 | thyriaen | (~thyriaen@2a01:aea0:dd4:4fa4:6245:cbff:fe9f:48b1) |
2023-01-29 18:50:05 +0100 | thyriaen | (~thyriaen@2a01:aea0:dd4:4fa4:6245:cbff:fe9f:48b1) (Client Quit) |
2023-01-29 18:50:36 +0100 | thyriaen | (~thyriaen@2a01:aea0:dd4:4fa4:6245:cbff:fe9f:48b1) |
2023-01-29 18:52:47 +0100 | <thyriaen> | Howdy friends - I want to have a button that does "sendMessage ( Move R )" and if it is already on the most far right on the monitor it moves the window to screen 2 |
2023-01-29 18:52:57 +0100 | <thyriaen> | instead |
2023-01-29 18:53:02 +0100 | unclechu | (~unclechu@2001:470:69fc:105::354) |
2023-01-29 18:54:43 +0100 | <thyriaen> | basically i want to combine line 180 and 202 https://paste.tomsmeding.com/oZxl2qIV |
2023-01-29 19:03:58 +0100 | <geekosaur> | unfortunately, you can't determine that it's the most far right |
2023-01-29 19:09:17 +0100 | <thyriaen> | are there some workarounds ? |
2023-01-29 19:16:08 +0100 | <geekosaur> | possibly a copy of WindowNavigation with https://github.com/xmonad/xmonad-contrib/blob/master/XMonad/Layout/WindowNavigation.hs#L186 changed would be able to do it |
2023-01-29 19:16:55 +0100 | <geekosaur> | note that you'd have to verify `d` is the correct direction, and/or implement screen moving for each direction |
2023-01-29 19:22:52 +0100 | <geekosaur> | sadly you can't get the `Nothing` on failure out of `windowBracket_` |
2023-01-29 19:36:44 +0100 | jabuxas | (~jabuxas@user/jabuxas) (Ping timeout: 260 seconds) |
2023-01-29 19:38:51 +0100 | jabuxas | (~jabuxas@user/jabuxas) |
2023-01-29 19:43:48 +0100 | mc47 | (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
2023-01-29 19:47:56 +0100 | <Lears> | thyriaen: I feel like I've said this before, but something like `X.A.MessageFeedback.sendMessageB (Move R) >>= \b -> unless b do ...` should work. The screen-moving part can probably be done with X.A.Navigation2D. Actually, Nav2D might already do what you want out-of-the-box. |
2023-01-29 19:49:06 +0100 | <geekosaur> | hm, I was wondering if we had a version of `sendMessage` that passed back the result somewhere… |
2023-01-29 19:49:25 +0100 | <geekosaur> | contrib's getting too big for me to have it indexed upstairs any mroe 😕 |
2023-01-29 20:24:26 +0100 | <thyriaen> | Nav2d |
2023-01-29 20:28:20 +0100 | <thyriaen> | i will try that out - it says it has problems with tabbed layout which might be big trouble for me xD |
2023-01-29 20:31:25 +0100 | <thyriaen> | windowGo works perfectly |
2023-01-29 20:31:48 +0100 | <thyriaen> | but i want a window to be pushed to new location so i have to try the other commands |
2023-01-29 20:36:44 +0100 | <thyriaen> | others don't do what i want |
2023-01-29 20:37:12 +0100 | <thyriaen> | WindowGo is almost what i want - I want to send my current window to the location which windowgo selects :p |
2023-01-29 20:43:02 +0100 | <Lears> | I see; it's lacking a `windowShift`. That being the case, you'll have to use what I wrote above, with manual screen-shifting logic in the elided section. |
2023-01-29 20:43:35 +0100 | <thyriaen> | Lears, yea ;/ however my skills are insufficient for what you wrote above :p |
2023-01-29 21:05:01 +0100 | qbt | (~qbt@user/edun) (Ping timeout: 252 seconds) |
2023-01-29 21:11:53 +0100 | <thyriaen> | i have installed xmonad with stack |
2023-01-29 21:12:10 +0100 | <thyriaen> | following the guide doesn't really help me run it as my wm tho |
2023-01-29 21:15:33 +0100 | <geekosaur> | you may need to install something which provides a "traditional X session" via ~/.xsession |
2023-01-29 21:16:38 +0100 | <geekosaur> | the guide can't really help with this because different distros have different packages for it and some throw in other kinks (notably Fedora wants you to use some other file iirc — .xclients maybe?) |
2023-01-29 21:17:33 +0100 | <geekosaur> | right, .Xclients |
2023-01-29 21:18:10 +0100 | <thyriaen> | geekosaur, yeath not really sure what to make of all that |
2023-01-29 21:18:13 +0100 | <geekosaur> | or configure a user session using systemd but I'll point you to liskin for that one as I have no clue 🙂 |
2023-01-29 21:25:29 +0100 | <geekosaur> | looks like xorg-x11-xinit-session |
2023-01-29 21:26:05 +0100 | <geekosaur> | install with dnf and you should get a new login option which lets you run xmonad via .xsession or .Xclients |
2023-01-29 21:27:10 +0100 | <geekosaur> | took a bit of digging to find that, all it wanted to tell me about was how to disable wayland… |
2023-01-29 21:38:17 +0100 | <thyriaen> | geekosaur, but i don't want xmonad with dnf |
2023-01-29 21:38:35 +0100 | <thyriaen> | geekosaur, i need the newest version which isn't available in dnf |
2023-01-29 21:39:57 +0100 | <geekosaur> | this does not install xmonad. it installs the way you run something other than gnome or kde |
2023-01-29 21:41:02 +0100 | <geekosaur> | once installed, if you click on the gear icon in gdm (the login manager) it will offer .xsession as a login session. you can configure .xsession to run xmonad, i3, or any other window manager |
2023-01-29 21:41:06 +0100 | <thyriaen> | ah i install xorg-x11-xinit-session without xmonad ? |
2023-01-29 21:41:10 +0100 | <geekosaur> | right |
2023-01-29 21:41:28 +0100 | <thyriaen> | and and that will then load my ~/.xsession file where i will "exec xmonad" ? |
2023-01-29 21:41:36 +0100 | <geekosaur> | right |
2023-01-29 21:41:43 +0100 | <thyriaen> | alrighty let me try - thanks ! |
2023-01-29 21:42:54 +0100 | <geekosaur> | you may also have to set $PATH since xmonad installed via stack will put it in ~/.local/bin but the session PATH defaults to /bin:/usr/bin |
2023-01-29 21:46:30 +0100 | <thyriaen> | geekosaur, do you mean ~/.xsession will not find xmonad when it is only in my local path and not in /bin ? |
2023-01-29 21:46:59 +0100 | <geekosaur> | by default, yes. so you set PATH before `exec xmonad`, not really a problem |
2023-01-29 21:47:16 +0100 | <geekosaur> | or put it in .Xclients instead, which iirc reads PATH on Fedora |
2023-01-29 21:49:09 +0100 | <thyriaen> | geekosaur i think i have all my gobbledygook in ~/.profile |
2023-01-29 21:50:35 +0100 | <geekosaur> | https://paste.tomsmeding.com/oYECfYyL |
2023-01-29 21:51:59 +0100 | <thyriaen> | perfect |
2023-01-29 21:52:21 +0100 | <thyriaen> | when get's .profile loaded ? |
2023-01-29 21:53:18 +0100 | <geekosaur> | `.` is called `source` in bash, but I don't know if /bin/sh is bash on Fedora (it's not on Ubuntu which I run) so I'm being safe and using the old name |
2023-01-29 21:53:56 +0100 | <geekosaur> | so the user defined session loads your .profile and then runs xmonad |
2023-01-29 21:54:32 +0100 | <thyriaen> | you know what would be really good |
2023-01-29 21:54:35 +0100 | <thyriaen> | for me |
2023-01-29 21:55:22 +0100 | <thyriaen> | if i would read a guide about .profile .xinitrc .xsession .xprofile .bash_login and all that |
2023-01-29 21:56:31 +0100 | <geekosaur> | the only guides I've seen are error-prone at best. I know this stuff because I've been doing it since the 1980s… |
2023-01-29 21:56:41 +0100 | <thyriaen> | :P |
2023-01-29 21:57:07 +0100 | <thyriaen> | are you sure .profile doesn't get loaded later on by some other process ? |
2023-01-29 21:58:03 +0100 | <thyriaen> | cause for some reason ( which i don't know why ) in my current xmonad install ( dnf ) .profile get's run |
2023-01-29 21:59:19 +0100 | <thyriaen> | i think i will put everything in .xsession and get rid of .profile |
2023-01-29 21:59:25 +0100 | <geekosaur> | that is presumably done by the session definition instead of with a dotfile. you can try poking around in /usr/share/xsessions |
2023-01-29 21:59:44 +0100 | <geekosaur> | https://se-education.org/learningresources/contents/dotfiles/Dotfiles.html might be of interest, note the links to more information at the end |
2023-01-29 22:00:04 +0100 | <thyriaen> | thanks |
2023-01-29 22:00:43 +0100 | <geekosaur> | also I would probably leave .profile in case I ever needed to log in via text session for some reason |
2023-01-29 22:00:52 +0100 | <thyriaen> | geekosaur, not really what i was looking for tho |
2023-01-29 22:01:15 +0100 | <geekosaur> | https://thoughtbot.com/upcase/videos/intro-to-dotfiles at the end? |