Logs: liberachat/#xmonad
| 2023-03-16 17:41:53 | <geekosaur> | yep |
| 2023-03-16 17:42:30 | <beastwick> | so there is no way to assign a variable to modMask and use it? I should just use mod4Mask? |
| 2023-03-16 17:42:43 | <geekosaur> | modMask is only available as (a) a field name for a record update, as on line 68 (b) a field selector which takes an XConfig as a parameter and produces its modMask |
| 2023-03-16 17:43:04 | <geekosaur> | which you can't use because your config is anonymous |
| 2023-03-16 17:43:27 | <geekosaur> | so use mod4Mask or consider rephrasing your config |
| 2023-03-16 17:43:49 | <beastwick> | tyvm |
| 2023-03-16 17:44:59 | <geekosaur> | or switch to `additionalKeysP` which lets you use it as `"M-"` prefix, but then you also have to rewrite lines 79 and 81 into `additionalKeysP` format |
| 2023-03-16 17:45:29 | <beastwick> | yeah, I wanted to actually write it this way, seems easier to programatically work with key bindings |
| 2023-03-16 18:36:52 | × | mncheck quits (~mncheck@193.224.205.254) (Ping timeout: 246 seconds) |
| 2023-03-16 19:29:20 | → | jamboy joins (~jamboy@103.110.145.180) |
| 2023-03-16 19:29:57 | <jamboy> | Hi |
| 2023-03-16 19:30:17 | × | jamboy quits (~jamboy@103.110.145.180) (Client Quit) |
| 2023-03-16 19:30:38 | → | jamboy joins (~jamboy@103.110.145.180) |
| 2023-03-16 19:30:53 | <jamboy> | Hi |
| 2023-03-16 19:31:50 | <jamboy> | How to go to fullscreen with mod + f |
| 2023-03-16 19:32:00 | <jamboy> | Is there any way? |
| 2023-03-16 19:39:47 | <geekosaur> | fullscreen is typically handled by the app, not the window manager (for example, if you do it via the wm, browsers won't hide their location bars or etc.) |
| 2023-03-16 19:40:13 | <geekosaur> | you could bind mod-f to switch to a fullscreen layout |
| 2023-03-16 19:41:23 | × | jamboy quits (~jamboy@103.110.145.180) (Quit: Client closed) |
| 2023-03-16 19:48:56 | → | ft joins (~ft@p3e9bc443.dip0.t-ipconnect.de) |
| 2023-03-16 19:49:50 | <beastwick> | geekosaur, I have made a lot of progress. However, for some reason moving windows to workspace binds that I set during a session does not seem to work. https://paste.tomsmeding.com/yRYSUg1q pls see the last line in my paste, it seems to send windows to a workspace I can't find. |
| 2023-03-16 19:50:37 | <beastwick> | like if I create a workspace, set the index of that space to 1, try sending a window to workspace 1, it seems to get lost |
| 2023-03-16 19:50:49 | <beastwick> | but yet I can move to workspace 1 fine |
| 2023-03-16 20:01:04 | <geekosaur> | none of these appears to move a window? the last line views a workspace via `withNthWorkspace` |
| 2023-03-16 20:01:52 | <beastwick> | oh, am I using the wrong function? |
| 2023-03-16 20:02:02 | <beastwick> | I am trying to send a window to a workspace with that line |
| 2023-03-16 20:02:10 | <beastwick> | I admittedly don't understand the code 100% |
| 2023-03-16 20:02:35 | <beastwick> | -- mod-shift-[1..9] %! Move client to workspace N in the list of workspaces |
| 2023-03-16 20:02:39 | <beastwick> | zip (zip (repeat (modm .|. shiftMask)) [xK_1..xK_9]) (map (withNthWorkspace W.shift) [0..]) |
| 2023-03-16 20:03:09 | <beastwick> | but I followed the example where we do't care about workspace list order, so I set 0.. to 1.. |
| 2023-03-16 20:03:25 | <geekosaur> | that looks more correct, but it's not what your paste has (or had when I loaded it) |
| 2023-03-16 20:03:53 | <geekosaur> | line 95 is: zip (zip (repeat (mod4Mask .|. shiftMask)) [xK_1..xK_9]) (map (withNthWorkspace W.greedyView) [1..])) |
| 2023-03-16 20:03:54 | <beastwick> | oh yes I changed to greedView |
| 2023-03-16 20:04:13 | <geekosaur> | W.shift is what it should be if you want to move a window |
| 2023-03-16 20:04:15 | <beastwick> | let me try again |
| 2023-03-16 20:05:15 | <geekosaur> | I'm not sure how DynamicWorkspaceOrder and DynamicWorkspaces combine (line 91 vs. 95) |
| 2023-03-16 20:06:16 | <geekosaur> | (I admit that I am not familiar with these modules. maybe byorgey is around to help) |
| 2023-03-16 20:07:17 | <beastwick> | yeah switching to W.shift kind of works, the index is off though |
| 2023-03-16 20:09:09 | <geekosaur> | right, it's a different index |
| 2023-03-16 20:09:29 | <geekosaur> | basically you're using one index and then using functions that use a different index |
| 2023-03-16 20:09:37 | <geekosaur> | so they don't match |
| 2023-03-16 20:09:57 | <beastwick> | mmm, is there a way to make them match? I thought this would be ok once I set the index first with the keybind |
| 2023-03-16 20:10:04 | <geekosaur> | I think you need to pick one and stick with it, otherwise you need to update both in sync |
| 2023-03-16 20:10:31 | <beastwick> | mmm what is the approach for moving windows to dynamically created workspaces? |
| 2023-03-16 20:11:08 | <geekosaur> | is there a reason you aren't using `withWorkspaceIndex`? |
| 2023-03-16 20:11:27 | <geekosaur> | becuase your other keybinds use or update that |
| 2023-03-16 20:11:52 | <beastwick> | just following the docs |
| 2023-03-16 20:12:07 | <beastwick> | https://hackage.haskell.org/package/xmonad-contrib-0.17.1/docs/XMonad-Actions-DynamicWorkspaces.html |
| 2023-03-16 20:14:20 | <geekosaur> | yes, I'm looking at that now. it says to use one or the other, not both |
| 2023-03-16 20:14:35 | <beastwick> | oh wait |
| 2023-03-16 20:14:43 | <beastwick> | i am a fool |
| 2023-03-16 20:14:49 | <geekosaur> | "Alternatively, you can associate indexes" |
| 2023-03-16 20:14:53 | <beastwick> | withWorkspaceIndex W.shift |
| 2023-03-16 20:15:11 | <geekosaur> | if you do that, you need to use `withWorkspaceIndex` instead of `withNthWorkspace` |
| 2023-03-16 20:15:21 | <geekosaur> | yes |
| 2023-03-16 20:15:23 | <beastwick> | yeah, it just all came together |
| 2023-03-16 20:18:37 | <beastwick> | and that works |
| 2023-03-16 21:18:38 | → | hightower2 joins (~hightower@20-10.dsl.iskon.hr) |
| 2023-03-16 21:57:32 | <beastwick> | ty again geekosaur for your time and help |
| 2023-03-16 22:20:28 | × | Forkk quits (~forkk@li926-228.members.linode.com) (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) |
| 2023-03-16 22:20:54 | → | Forkk joins (~forkk@li926-228.members.linode.com) |
| 2023-03-16 23:20:23 | × | catman quits (~catman@user/catman) (Quit: WeeChat 3.8) |
| 2023-03-16 23:31:25 | → | catman joins (~catman@user/catman) |
| 2023-03-16 23:47:00 | × | catman quits (~catman@user/catman) (Ping timeout: 255 seconds) |
| 2023-03-17 00:31:09 | × | thunderrd quits (~thunderrd@183.182.111.130) (Ping timeout: 256 seconds) |
| 2023-03-17 00:53:18 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 2023-03-17 01:39:42 | → | catman joins (~catman@user/catman) |
| 2023-03-17 01:57:31 | × | chomwitt quits (~chomwitt@2a02:587:7a19:9200:1ac0:4dff:fedb:a3f1) (Ping timeout: 246 seconds) |
| 2023-03-17 01:59:49 | × | catman quits (~catman@user/catman) (Ping timeout: 276 seconds) |
| 2023-03-17 02:09:05 | ← | beastwick parts (~beastwick@pool-74-102-103-88.nwrknj.fios.verizon.net) (WeeChat 3.0) |
| 2023-03-17 02:17:07 | × | bla quits (~bla@83.24.152.76.ipv4.supernova.orange.pl) (Ping timeout: 250 seconds) |
| 2023-03-17 02:18:00 | → | bla joins (~bla@79.191.245.1.ipv4.supernova.orange.pl) |
| 2023-03-17 02:47:18 | × | bla quits (~bla@79.191.245.1.ipv4.supernova.orange.pl) (Ping timeout: 268 seconds) |
| 2023-03-17 02:52:08 | × | burp_ quits (~quassel@hedgewars/sysadmin/burp) (Ping timeout: 252 seconds) |
| 2023-03-17 02:52:21 | → | hightower3 joins (~hightower@141-136-194-244.dsl.iskon.hr) |
| 2023-03-17 02:54:52 | → | bla joins (~bla@79.191.245.1.ipv4.supernova.orange.pl) |
| 2023-03-17 02:55:04 | × | hightower2 quits (~hightower@20-10.dsl.iskon.hr) (Ping timeout: 276 seconds) |
| 2023-03-17 03:03:07 | × | banc quits (~banc@154.47.24.197) (Ping timeout: 248 seconds) |
| 2023-03-17 03:19:22 | × | td_ quits (~td@i53870903.versanet.de) (Ping timeout: 268 seconds) |
| 2023-03-17 03:20:40 | → | banc joins (~banc@154.47.24.197) |
| 2023-03-17 03:21:08 | → | td_ joins (~td@i5387092E.versanet.de) |
| 2023-03-17 03:24:33 | × | bla quits (~bla@79.191.245.1.ipv4.supernova.orange.pl) (Ping timeout: 256 seconds) |
| 2023-03-17 03:24:44 | → | bla joins (~bla@79.191.70.127.ipv4.supernova.orange.pl) |
| 2023-03-17 05:05:14 | × | srk quits (~sorki@user/srk) (Remote host closed the connection) |
| 2023-03-17 05:05:35 | → | srk joins (~sorki@user/srk) |
| 2023-03-17 06:03:15 | × | ft quits (~ft@p3e9bc443.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
| 2023-03-17 06:10:54 | → | derfflinger joins (~derffling@user/derfflinger) |
| 2023-03-17 06:18:59 | → | chomwitt joins (~chomwitt@2a02:587:7a19:9200:1ac0:4dff:fedb:a3f1) |
| 2023-03-17 06:26:59 | × | werneta quits (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) (Ping timeout: 246 seconds) |
| 2023-03-17 06:29:27 | → | werneta joins (~werneta@70-142-214-115.lightspeed.irvnca.sbcglobal.net) |
| 2023-03-17 07:04:41 | → | ft joins (~ft@p3e9bc443.dip0.t-ipconnect.de) |
| 2023-03-17 07:14:12 | → | mncheck joins (~mncheck@193.224.205.254) |
| 2023-03-17 07:57:51 | → | fnurglewitz joins (uid263868@id-263868.lymington.irccloud.com) |
| 2023-03-17 08:26:06 | × | ft quits (~ft@p3e9bc443.dip0.t-ipconnect.de) (Quit: leaving) |
| 2023-03-17 08:43:24 | × | derfflinger quits (~derffling@user/derfflinger) (Remote host closed the connection) |
| 2023-03-17 08:43:43 | → | derfflinger joins (~derffling@user/derfflinger) |
| 2023-03-17 09:38:06 | × | derfflinger quits (~derffling@user/derfflinger) (Remote host closed the connection) |
| 2023-03-17 09:39:26 | → | derfflinger joins (~derffling@user/derfflinger) |
| 2023-03-17 10:00:19 | → | Superficial joins (~user@gtsat.inesc-id.pt) |
| 2023-03-17 10:01:48 | ← | Superficial parts (~user@gtsat.inesc-id.pt) () |
All times are in UTC.