View previous topic :: View next topic |
Author |
Message |
mreff555 Apprentice
Joined: 10 Mar 2011 Posts: 231 Location: Philadelphia
|
Posted: Fri Jul 26, 2013 12:34 am Post subject: i3 config. Need services of code ninja :) |
|
|
I'm switching from crunchbang to i3. I've gotten quite used to the macros
alt+L/R to switch desktops and shift+alt+L/R to move a container to that desktop.
Does anyone know how to do this in the i3 config. is there a way to increment and decrement desktops? |
|
Back to top |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Fri Jul 26, 2013 12:53 am Post subject: |
|
|
Sorry, come again?
Are you switching from a Linux distribution to a window manager? Or are you talking about switching from i3 on crunchbang to i3 on gentoo?
i3 is well documented. I think you will find what you are looking for here: http://build.i3wm.org/docs/hacking-howto.html#_workspace or here http://i3wm.org/docs/ _________________ First things first, but not necessarily in that order.
Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box. |
|
Back to top |
|
|
mreff555 Apprentice
Joined: 10 Mar 2011 Posts: 231 Location: Philadelphia
|
Posted: Fri Jul 26, 2013 2:07 am Post subject: |
|
|
My bad, rereading that I realized that I wan't very clear.
I used crunchbang for a long time before switching to gentoo. to preserve the comfortable setting I continued to use openbox after switching.
I have now switched from openbox to i3 and I am trying to figure out how to set up macros I am comfortable with.
In addition to my original request
1. Where can I find a list of "window actions", for lack of better words. For example "Window 1" appearently switches to the first window. There had got to be a list of these somewhere.
2. Are there conditional statements? eg. if I want to use one button to perform two operations depending on the state of a file.
3. Is there any good documentation for using FN keys in the i3 config?
Thanks |
|
Back to top |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Fri Jul 26, 2013 3:27 am Post subject: |
|
|
Hmm. I see.
Well, the user's guide includes a great deal about configuration.
You can move windows to workspaces using $mod+shift+<num> and you can go to workspaces using $mod+<num>. I think adding the following to your .i3/config will do what you want. Code: | bindsym $mod+Left workspace prev_on_output
bindsym $mod+Right workspace next_on_output | I don't know about the windows. Its not in the config I found but I think something like this might work: Code: | bindsym $mod+Shift+Left move container to workspace prev_on_output
bindsym $mod+Shift+Left move container to workspace next_on_output |
Quote: | 2. Are there conditional statements? eg. if I want to use one button to perform two operations depending on the state of a file. | I don't think so. I haven't tried and there doesn't seem to be a mention of that in the documentation. However you can define window specific commands, ie commands that will only work in firefox. Quote: | 3. Is there any good documentation for using FN keys in the i3 config? | I think you can just use them, although I would be careful as many applications use them as well.
To be honest I am still playing with i3 after moving from openbox myself. After toying with a tilling window manager I can't see myself going back. _________________ First things first, but not necessarily in that order.
Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box. |
|
Back to top |
|
|
|