i3 feature support #2

Open
SirCmpwn opened this Issue Aug 9, 2015 · 126 comments

Comments

Projects
None yet
Owner

SirCmpwn commented Aug 9, 2015

Layouts

  • Horizontal tiling
  • Vertical tiling
  • Stacked
  • Tabbed
  • Floating
  • Saving layouts to disk will not support
  • Loading layouts from disk will not support

Config/commands

  • Config parser
  • Variables/set
  • bindsym
    • mouse bindings
    • --release
  • bindcode
    • --release
  • focus_follows_mouse
  • exit
  • exec
  • exec_always
  • fullscreen
  • workspace
    • left/right/up/down
    • number
    • next/prev
    • next_on_output/prev_on_output
    • <name>
    • <name> output <output>
    • back_and_forth
  • splith/splitv
  • focus
    • left/right/up/down
    • parent
    • mode_toggle
  • move
    • left/right/up/down
    • workspace to output
      • left/right/up/down
      • named output
    • position
  • kill
  • mode
  • layout
    • stacking
    • tabbed
    • splith
    • splitv
    • toggle split
  • bar
  • floating toggle
  • floating_modifier
  • for_window
  • font
  • default_orientation
  • workspace_layout
  • assign
  • popup_during_fullscreen
  • force_focus_wrapping
  • workspace_auto_back_and_forth
  • scratchpad
    • move scratchpad
    • scratchpad show
  • resize
    • grow
    • shrink
  • move position mouse
  • sticky toggle
  • show_marks
  • no_focus

Features

  • IPC
  • Restart in-place
  • Reload config on the fly
  • Resize containers with mouse
  • Command line options
  • Ignore i3 commands that aren't valid (i.e. force_xinerama)
  • swaybar
  • swaylock - usable, but incomplete
  • swaymsg
  • borders
  • color customization
  • Mode_switch
  • gaps
  • [criteria] command

See also:

IPC feature support: SirCmpwn#98
i3bar feature support: SirCmpwn#343
i3-gaps feature support: SirCmpwn#307

This comment has been minimized.

Show comment Hide comment
@onny

onny Aug 9, 2015

Nice write up! Especially looking for a i3 statusbar

onny commented Aug 9, 2015

Nice write up! Especially looking for a i3 statusbar

This comment has been minimized.

Show comment Hide comment
@SirCmpwn

SirCmpwn Aug 9, 2015

Owner

It'll probably be a while before I tackle i3bar (swaybar?)

Owner

SirCmpwn commented Aug 9, 2015

It'll probably be a while before I tackle i3bar (swaybar?)

This comment has been minimized.

Show comment Hide comment
@SirCmpwn

SirCmpwn Aug 9, 2015

Owner

exec implemented.

Owner

SirCmpwn commented Aug 9, 2015

exec implemented.

SirCmpwn added a commit that referenced this issue Aug 9, 2015

This comment has been minimized.

Show comment Hide comment
@SirCmpwn

SirCmpwn Aug 10, 2015

Owner

Today we implemented splith, splitv, fullscreen, and focus. Thanks for helping out, @jdiez17!

Owner

SirCmpwn commented Aug 10, 2015

Today we implemented splith, splitv, fullscreen, and focus. Thanks for helping out, @jdiez17!

This comment has been minimized.

Show comment Hide comment
@jdiez17

jdiez17 Aug 10, 2015

Contributor

workspace [name] done.

Contributor

jdiez17 commented Aug 10, 2015

workspace [name] done.

This comment has been minimized.

Show comment Hide comment
@progandy

progandy Aug 16, 2015

Contributor

You forgot the scratchpad functionality.

Contributor

progandy commented Aug 16, 2015

You forgot the scratchpad functionality.

This comment has been minimized.

Show comment Hide comment
@SirCmpwn

SirCmpwn Aug 16, 2015

Owner

Good call.

Owner

SirCmpwn commented Aug 16, 2015

Good call.

This comment has been minimized.

Show comment Hide comment
@Swoorup

Swoorup Aug 18, 2015

Nice, I have been looking at i3way but there's no single line of code after so many years.

I want to propose a feature request though, which i3 developers ignored: A tiling mode for binary space layout representing windows as the leaves of a full binary tree, very similar to default window tiling mode that comes with bspwm. It could be very handy letting the software manage my windows(specially terminals) instead of managing the arrangement in a single desktop. I don't want to break any compatibility though so I am hoping it does not.

Also an option to set the gap between windows would be nice. This was done in i3 but by a third party git fork. I don't know why it was deemed not a necessity by i3 developers.

BTW This project should also get its own website.

Swoorup commented Aug 18, 2015

Nice, I have been looking at i3way but there's no single line of code after so many years.

I want to propose a feature request though, which i3 developers ignored: A tiling mode for binary space layout representing windows as the leaves of a full binary tree, very similar to default window tiling mode that comes with bspwm. It could be very handy letting the software manage my windows(specially terminals) instead of managing the arrangement in a single desktop. I don't want to break any compatibility though so I am hoping it does not.

Also an option to set the gap between windows would be nice. This was done in i3 but by a third party git fork. I don't know why it was deemed not a necessity by i3 developers.

BTW This project should also get its own website.

This comment has been minimized.

Show comment Hide comment
@SirCmpwn

SirCmpwn Aug 18, 2015

Owner

I want to propose a feature request though, which i3 developers ignored: A tiling mode for binary space layout representing windows as the leaves of a full binary tree, very similar to default window tiling mode that comes with bspwm. It could be very handy letting the software manage my windows(specially terminals) instead of managing the arrangement in a single desktop. I don't want to break any compatibility though so I am hoping it does not.

Perhaps eventually. That doesn't sound like it needs to be a high priority.

Also an option to set the gap between windows would be nice. This was done in i3 but by a third party git fork. I don't know why it was deemed not a necessity by i3 developers.

This is in the list of features to add.

BTW This project should also get its own website.

Yeah, it'll have one eventually.

Owner

SirCmpwn commented Aug 18, 2015

I want to propose a feature request though, which i3 developers ignored: A tiling mode for binary space layout representing windows as the leaves of a full binary tree, very similar to default window tiling mode that comes with bspwm. It could be very handy letting the software manage my windows(specially terminals) instead of managing the arrangement in a single desktop. I don't want to break any compatibility though so I am hoping it does not.

Perhaps eventually. That doesn't sound like it needs to be a high priority.

Also an option to set the gap between windows would be nice. This was done in i3 but by a third party git fork. I don't know why it was deemed not a necessity by i3 developers.

This is in the list of features to add.

BTW This project should also get its own website.

Yeah, it'll have one eventually.

This comment has been minimized.

Show comment Hide comment
@Half-Shot

Half-Shot Aug 18, 2015

Contributor

Also an option to set the gap between windows would be nice. This was done in i3 but by a third >party git fork. I don't know why it was deemed not a necessity by i3 developers.

Due to it not fitting the i3 way, which means using all the screen space. I can understand why, but that doesn't mean this project has to enforce the same rules.

Contributor

Half-Shot commented Aug 18, 2015

Also an option to set the gap between windows would be nice. This was done in i3 but by a third >party git fork. I don't know why it was deemed not a necessity by i3 developers.

Due to it not fitting the i3 way, which means using all the screen space. I can understand why, but that doesn't mean this project has to enforce the same rules.

This comment has been minimized.

Show comment Hide comment
@Half-Shot

Half-Shot Aug 18, 2015

Contributor

Will have a go at the move command. Should have some results tonight.

Contributor

Half-Shot commented Aug 18, 2015

Will have a go at the move command. Should have some results tonight.

This comment has been minimized.

Show comment Hide comment
@robinmoussu

robinmoussu Aug 18, 2015

Hi. I want to propose a feature request: vertical bar. I think the easiest way is to only do a 90° rotation. The text orientation should be configurable: bottom to top, or top to bottom.

Hi. I want to propose a feature request: vertical bar. I think the easiest way is to only do a 90° rotation. The text orientation should be configurable: bottom to top, or top to bottom.

This comment has been minimized.

Show comment Hide comment
@SirCmpwn

SirCmpwn Aug 18, 2015

Owner

Will consider that once we hit feature parity with i3.

Owner

SirCmpwn commented Aug 18, 2015

Will consider that once we hit feature parity with i3.

This comment has been minimized.

Show comment Hide comment
@rayvector

rayvector Aug 18, 2015

Contributor

Sway looks like a really great project. I love i3, and the lack of something similar is the only thing that has been stopping me from giving Wayland a try. Great work so far!

However, looking at the list above, I see that sway is still missing tabbed layout, which is essential for my workflow; I use it heavily in i3. This is the main thing stopping me from trying out sway at this point. I could live without the other missing features.

Once tabbed layout is done, I will try playing around with sway. I am really looking forward to it. Hope to catch/report some bugs and maybe contribute some patches.

I honestly think this project has the potential to eventually become even better than i3.

Contributor

rayvector commented Aug 18, 2015

Sway looks like a really great project. I love i3, and the lack of something similar is the only thing that has been stopping me from giving Wayland a try. Great work so far!

However, looking at the list above, I see that sway is still missing tabbed layout, which is essential for my workflow; I use it heavily in i3. This is the main thing stopping me from trying out sway at this point. I could live without the other missing features.

Once tabbed layout is done, I will try playing around with sway. I am really looking forward to it. Hope to catch/report some bugs and maybe contribute some patches.

I honestly think this project has the potential to eventually become even better than i3.

This comment has been minimized.

Show comment Hide comment
@SirCmpwn

SirCmpwn Aug 18, 2015

Owner

The tabbed layout is sort of blocked by the lack of borders.

Owner

SirCmpwn commented Aug 18, 2015

The tabbed layout is sort of blocked by the lack of borders.

This comment has been minimized.

Show comment Hide comment
@Airblader

Airblader Aug 18, 2015

@Swoorup This is off-topic, but

This was done in i3 but by a third party git fork. I don't know why it was deemed not a necessity by i3 developers.

We don't want this in i3 for many reasons. For one, the i3-gaps patch (of which I am the maintainer) is really more of a hack (for example, window decorations don't work with it). But that could be solved. However, gaps violate the i3 tiling philosophy and that is why they will never be found in i3 itself.

Being a collaborator of i3 I understand this reasoning, being the maintainer of i3-gaps I obviously personally prefer gaps, though. ;)

@Swoorup This is off-topic, but

This was done in i3 but by a third party git fork. I don't know why it was deemed not a necessity by i3 developers.

We don't want this in i3 for many reasons. For one, the i3-gaps patch (of which I am the maintainer) is really more of a hack (for example, window decorations don't work with it). But that could be solved. However, gaps violate the i3 tiling philosophy and that is why they will never be found in i3 itself.

Being a collaborator of i3 I understand this reasoning, being the maintainer of i3-gaps I obviously personally prefer gaps, though. ;)

This comment has been minimized.

Show comment Hide comment
@Half-Shot

Half-Shot Aug 19, 2015

Contributor

Would it be sensible to have our own wallpaper management, or somehow hook into a process like feh?
(and as on a sidenote, how would I hint to sway/wlc that a surface should be drawn behind everything?)

Contributor

Half-Shot commented Aug 19, 2015

Would it be sensible to have our own wallpaper management, or somehow hook into a process like feh?
(and as on a sidenote, how would I hint to sway/wlc that a surface should be drawn behind everything?)

This comment has been minimized.

Show comment Hide comment
@SirCmpwn

SirCmpwn Aug 19, 2015

Owner

No, we'll have something like feh for you to use instead.

Owner

SirCmpwn commented Aug 19, 2015

No, we'll have something like feh for you to use instead.

This comment has been minimized.

Show comment Hide comment
@SirCmpwn

SirCmpwn Aug 19, 2015

Owner

And you can't do that hinting, I've been asking @Cloudef for it in wlc for a while.

Owner

SirCmpwn commented Aug 19, 2015

And you can't do that hinting, I've been asking @Cloudef for it in wlc for a while.

@minus7 minus7 referenced this issue Aug 21, 2015

Closed

Scratchpad #115

This comment has been minimized.

Show comment Hide comment
@tiregram

tiregram Sep 10, 2015

hi,
can you add the support to layout keyboard azerty.

hi,
can you add the support to layout keyboard azerty.

This comment has been minimized.

Show comment Hide comment
@SirCmpwn

SirCmpwn Sep 10, 2015

Owner

That's not really our problem, it's wlc's problem. And wlc let's you set it through XKB environment variables, XKB_DEFAULT_LAYOUT.

Owner

SirCmpwn commented Sep 10, 2015

That's not really our problem, it's wlc's problem. And wlc let's you set it through XKB environment variables, XKB_DEFAULT_LAYOUT.

This comment has been minimized.

Show comment Hide comment
@progandy

progandy Sep 10, 2015

Contributor

@SirCmpwn In the longterm, sway should implement configuration options for input and output devices, but that has to wait until wlc implements an API for that. Maybe even provide some ipc options to allow dynamic changes like xinput/xrandr.
Cloudef/wlc#6
Cloudef/wlc#37

Contributor

progandy commented Sep 10, 2015

@SirCmpwn In the longterm, sway should implement configuration options for input and output devices, but that has to wait until wlc implements an API for that. Maybe even provide some ipc options to allow dynamic changes like xinput/xrandr.
Cloudef/wlc#6
Cloudef/wlc#37

This comment has been minimized.

Show comment Hide comment
@Luminarys

Luminarys Sep 10, 2015

Collaborator

Sway already does provide configuration options to alter the size, position, and status(on/off) of monitors. As of right now dynamic changes are not available though.

Collaborator

Luminarys commented Sep 10, 2015

Sway already does provide configuration options to alter the size, position, and status(on/off) of monitors. As of right now dynamic changes are not available though.

This comment has been minimized.

Show comment Hide comment
@tiregram

tiregram Sep 12, 2015

Sorry , but the other keyboard are not supported on my pc (fr).
I know i just need to export XKB_DEFAULT_LAYOUT=fr
But i can't use number to switch to other worspace, because on fr keyboard the "1" is "&" and & was forbiden.
Message log:
Bindsym - unknow key &.
Can you help me ?

Sorry , but the other keyboard are not supported on my pc (fr).
I know i just need to export XKB_DEFAULT_LAYOUT=fr
But i can't use number to switch to other worspace, because on fr keyboard the "1" is "&" and & was forbiden.
Message log:
Bindsym - unknow key &.
Can you help me ?

This comment has been minimized.

Show comment Hide comment
@Half-Shot

Half-Shot Sep 12, 2015

Contributor

I used to use bindcode in i3 for unknown symbols. I'm guessing another wlc feature.
On 12 Sep 2015 11:54, tiregram notifications@github.com wrote:Sorry , but the other keyboard are not supported on my pc (fr).
I know i just need to export XKB_DEFAULT_LAYOUT=fr
But i can't use number to switch to other worspace, because on fr keyboard the "1" is "&" and & was forbiden.
Message log:
Bindsym - unknow key &.
Can you help me ?

—Reply to this email directly or view it on GitHub.

Contributor

Half-Shot commented Sep 12, 2015

I used to use bindcode in i3 for unknown symbols. I'm guessing another wlc feature.
On 12 Sep 2015 11:54, tiregram notifications@github.com wrote:Sorry , but the other keyboard are not supported on my pc (fr).
I know i just need to export XKB_DEFAULT_LAYOUT=fr
But i can't use number to switch to other worspace, because on fr keyboard the "1" is "&" and & was forbiden.
Message log:
Bindsym - unknow key &.
Can you help me ?

—Reply to this email directly or view it on GitHub.

This comment has been minimized.

Show comment Hide comment
@SirCmpwn

SirCmpwn Sep 12, 2015

Owner

bindcode isn't supported on sway yet. Try binding "ampersand".

Owner

SirCmpwn commented Sep 12, 2015

bindcode isn't supported on sway yet. Try binding "ampersand".

This comment has been minimized.

Show comment Hide comment
@tiregram

tiregram Sep 13, 2015

yes i have try but i have the message.
Bindsym - unknow key &
on the tty, this message error was genenrate by the line:
command.c:154
because you check
xkb_keysym_from_name(split->items[i], XKB_KEYSYM_CASE_INSENSITIVE);

yes i have try but i have the message.
Bindsym - unknow key &
on the tty, this message error was genenrate by the line:
command.c:154
because you check
xkb_keysym_from_name(split->items[i], XKB_KEYSYM_CASE_INSENSITIVE);

This comment has been minimized.

Show comment Hide comment
@SirCmpwn

SirCmpwn Oct 28, 2015

Owner

Updated with features from i3 4.11.

Owner

SirCmpwn commented Oct 28, 2015

Updated with features from i3 4.11.

This comment has been minimized.

Show comment Hide comment
@SirCmpwn

SirCmpwn Nov 20, 2015

Owner

Not strictly an i3 feature, but since there is no root window on Wayland, sway now supports setting your wallpaper from the sway config. See man 5 sway for details.

Owner

SirCmpwn commented Nov 20, 2015

Not strictly an i3 feature, but since there is no root window on Wayland, sway now supports setting your wallpaper from the sway config. See man 5 sway for details.

This comment has been minimized.

Show comment Hide comment
@Manouchehri

Manouchehri Nov 21, 2015

Is it possible to start a program as floating with Sway?

Is it possible to start a program as floating with Sway?

This comment has been minimized.

Show comment Hide comment
@SirCmpwn

SirCmpwn Nov 21, 2015

Owner

Not yet, no.

Owner

SirCmpwn commented Nov 21, 2015

Not yet, no.

This comment has been minimized.

Show comment Hide comment
@Manouchehri

Manouchehri Nov 21, 2015

@SirCmpwn Would it be possible to change the layout of a window to floating via sway command or sway-msg? Also, what exactly is the proper way of using sway [command]? Every combination I tried just ended up spawning a new sway instance.

@SirCmpwn Would it be possible to change the layout of a window to floating via sway command or sway-msg? Also, what exactly is the proper way of using sway [command]? Every combination I tried just ended up spawning a new sway instance.

This comment has been minimized.

Show comment Hide comment
@SirCmpwn

SirCmpwn Nov 21, 2015

Owner

sway [command] does not work yet (sorry). You can use i3-msg, it'll work on sway. Use the floating toggle command to change the focused window to floating and back, just like i3.

Owner

SirCmpwn commented Nov 21, 2015

sway [command] does not work yet (sorry). You can use i3-msg, it'll work on sway. Use the floating toggle command to change the focused window to floating and back, just like i3.

This comment has been minimized.

Show comment Hide comment
@Manouchehri

Manouchehri Nov 21, 2015

Ah, that makes sense; I blindly trusted the man page. Thanks, I'll give that a try!

Ah, that makes sense; I blindly trusted the man page. Thanks, I'll give that a try!

This comment has been minimized.

Show comment Hide comment
@SirCmpwn

SirCmpwn Nov 26, 2015

Owner

I just pushed swaymsg.

Owner

SirCmpwn commented Nov 26, 2015

I just pushed swaymsg.

This comment has been minimized.

Show comment Hide comment
@SirCmpwn

SirCmpwn Dec 17, 2015

Owner

Good news: swaybar is working! It's not completely compatible with i3bar, though. I've made a new issue, #343, specifically to track the progress of i3bar feature parity.

Owner

SirCmpwn commented Dec 17, 2015

Good news: swaybar is working! It's not completely compatible with i3bar, though. I've made a new issue, #343, specifically to track the progress of i3bar feature parity.

This comment has been minimized.

Show comment Hide comment
@Airblader

Airblader Dec 17, 2015

That's pretty cool! You guys move fast. Out of curiosity, do you have a screenshot?

That's pretty cool! You guys move fast. Out of curiosity, do you have a screenshot?

This comment has been minimized.

Show comment Hide comment
@SirCmpwn

SirCmpwn Apr 7, 2017

Owner

Thanks!

Owner

SirCmpwn commented Apr 7, 2017

Thanks!

SirCmpwn added a commit that referenced this issue Apr 26, 2017

This comment has been minimized.

Show comment Hide comment
@rosshadden

rosshadden May 9, 2017

We don't actually have access to window_role. Not everything that works on x makes sense on Wayland, I'm afraid.

@SirCmpwn Is there an equivalent in Wayland as far as you know? For example I often use window_role="pop_up" which is common for things intended to be dialogs. When investigating with xprop, window_role was the only distinguishing factor IIRC.

rosshadden commented May 9, 2017

We don't actually have access to window_role. Not everything that works on x makes sense on Wayland, I'm afraid.

@SirCmpwn Is there an equivalent in Wayland as far as you know? For example I often use window_role="pop_up" which is common for things intended to be dialogs. When investigating with xprop, window_role was the only distinguishing factor IIRC.

This comment has been minimized.

Show comment Hide comment
@SirCmpwn

SirCmpwn May 9, 2017

Owner

Not really, no.

Owner

SirCmpwn commented May 9, 2017

Not really, no.

This comment has been minimized.

Show comment Hide comment
@auscompgeek

auscompgeek Jun 1, 2017

Can we add i3-input to the list?

Can we add i3-input to the list?

This comment has been minimized.

Show comment Hide comment
@SirCmpwn

SirCmpwn Jun 1, 2017

Owner

Eh, I'm not sure that's worth supporting. It's kind of a stupid feature. I'd just use dmenu. Maybe we can add a script that utilizes dmenu for this purpose, I guess.

Owner

SirCmpwn commented Jun 1, 2017

Eh, I'm not sure that's worth supporting. It's kind of a stupid feature. I'd just use dmenu. Maybe we can add a script that utilizes dmenu for this purpose, I guess.

This comment has been minimized.

Show comment Hide comment
@SirCmpwn

SirCmpwn Jun 1, 2017

Owner

I'll just direct people to this comment if anyone else asks for sway-input.

#!/bin/sh
format="%s"
dmenu="dmenu"
swaymsg="swaymsg"
while [ $# -gt 0 ]
do
    case $1 in
        -s)
            swaymsg="$swaymsg -s '$2'"
            shift
            ;;
        -F)
            format="$2"
            shift
            ;;
        -f)
            dmenu="$dmenu -fn '$2'"
            shift
            ;;
        -P)
            dmenu="$dmenu -p '$2'"
            shift
            ;;
        -l)
            echo "Warning: -l is not supported"
            ;;
        -v)
            exec swaymsg -v
            ;;
        *)
            echo "Unknown argument '$1'" >&2
            exit 1
            ;;
    esac
    shift
done
cmd=$(eval $dmenu < /dev/null)
[ $? -ne 0 ] && exit $?
cmd=$(printf "$format" "$cmd")
eval $swaymsg "$cmd"
exit $?
Owner

SirCmpwn commented Jun 1, 2017

I'll just direct people to this comment if anyone else asks for sway-input.

#!/bin/sh
format="%s"
dmenu="dmenu"
swaymsg="swaymsg"
while [ $# -gt 0 ]
do
    case $1 in
        -s)
            swaymsg="$swaymsg -s '$2'"
            shift
            ;;
        -F)
            format="$2"
            shift
            ;;
        -f)
            dmenu="$dmenu -fn '$2'"
            shift
            ;;
        -P)
            dmenu="$dmenu -p '$2'"
            shift
            ;;
        -l)
            echo "Warning: -l is not supported"
            ;;
        -v)
            exec swaymsg -v
            ;;
        *)
            echo "Unknown argument '$1'" >&2
            exit 1
            ;;
    esac
    shift
done
cmd=$(eval $dmenu < /dev/null)
[ $? -ne 0 ] && exit $?
cmd=$(printf "$format" "$cmd")
eval $swaymsg "$cmd"
exit $?

This comment has been minimized.

Show comment Hide comment
@AndreasBackx

AndreasBackx Jul 22, 2017

@SirCmpwn regarding the vertical monitor support, could this be added here or addressed in a new issue? Would love to use Sway as soon as that's supported.

@SirCmpwn regarding the vertical monitor support, could this be added here or addressed in a new issue? Would love to use Sway as soon as that's supported.

This comment has been minimized.

Show comment Hide comment
@SirCmpwn

SirCmpwn Jul 22, 2017

Owner

It's already supported in wlroots.

Owner

SirCmpwn commented Jul 22, 2017

It's already supported in wlroots.

This comment has been minimized.

Show comment Hide comment
@AndreasBackx

AndreasBackx Jul 22, 2017

Neat! Thank you, I'll give it a shot as soon as I get back from my holiday!

Neat! Thank you, I'll give it a shot as soon as I get back from my holiday!

This comment has been minimized.

Show comment Hide comment
@educatedCaveman

educatedCaveman Sep 27, 2017

I've been toying w/ the idea of trying out Sway, and I've been looking through the man-pages trying to find an answer to this question: given that sway would manage my monitors, how would I rotate one? Or is it not yet possible?

I didn't see where that was one of the documented options.

Apologies if this is not the most appropriate place to ask this question.

I've been toying w/ the idea of trying out Sway, and I've been looking through the man-pages trying to find an answer to this question: given that sway would manage my monitors, how would I rotate one? Or is it not yet possible?

I didn't see where that was one of the documented options.

Apologies if this is not the most appropriate place to ask this question.

This comment has been minimized.

Show comment Hide comment
@SirCmpwn

SirCmpwn Sep 27, 2017

Owner

You could read 3 comments up from your own, perhaps?

Owner

SirCmpwn commented Sep 27, 2017

You could read 3 comments up from your own, perhaps?

This comment has been minimized.

Show comment Hide comment
@educatedCaveman

educatedCaveman Sep 27, 2017

yeah, sorry, I'm a moron. searched for "rotate" and "output", but not "monitor" or "vertical". sorry again.

yeah, sorry, I'm a moron. searched for "rotate" and "output", but not "monitor" or "vertical". sorry again.

This comment has been minimized.

Show comment Hide comment
@ranisalt

ranisalt Oct 5, 2017

Contributor

Is there a parallel for set_from_resources on Wayland? I used it with wal to set custom, consistent color schemes on all apps, including i3.

Contributor

ranisalt commented Oct 5, 2017

Is there a parallel for set_from_resources on Wayland? I used it with wal to set custom, consistent color schemes on all apps, including i3.

This comment has been minimized.

Show comment Hide comment
@SirCmpwn

SirCmpwn Oct 5, 2017

Owner

No. Resources are specific to X11.

Owner

SirCmpwn commented Oct 5, 2017

No. Resources are specific to X11.

This comment has been minimized.

Show comment Hide comment
@ranisalt

ranisalt Oct 5, 2017

Contributor

Nice. I found include which is much more powerful than set_from_resources was for me. Just for documentation, here's what I've done 😄

Contributor

ranisalt commented Oct 5, 2017

Nice. I found include which is much more powerful than set_from_resources was for me. Just for documentation, here's what I've done 😄

This comment has been minimized.

Show comment Hide comment
@timofonic

timofonic Oct 12, 2017

What about 9p and Lua support?

What about 9p and Lua support?

This comment has been minimized.

Show comment Hide comment
@SirCmpwn

SirCmpwn Oct 12, 2017

Owner

What does i3 have to do with 9p and Lua?

Owner

SirCmpwn commented Oct 12, 2017

What does i3 have to do with 9p and Lua?

gnidorah pushed a commit to gnidorah/sway that referenced this issue Nov 15, 2017

Merge pull request #2 from gnidorah/sni_sucks
Reply in case of object path item

This comment has been minimized.

Show comment Hide comment
@camoz

camoz Nov 21, 2017

Would real transparency qualify as an i3 feature?
See comment from Hi-Angel: #2 (comment)
and this issue: #973

It's not directly a feature of i3, but I assume it was present on many i3 setups, and AIUI sway would be the place to have it implemented since it does the compositing?

camoz commented Nov 21, 2017

Would real transparency qualify as an i3 feature?
See comment from Hi-Angel: #2 (comment)
and this issue: #973

It's not directly a feature of i3, but I assume it was present on many i3 setups, and AIUI sway would be the place to have it implemented since it does the compositing?

This comment has been minimized.

Show comment Hide comment
@Kommynct

Kommynct Nov 21, 2017

If transparency did. Shadows should too. But those are things that should be implemented after wlroots.

If transparency did. Shadows should too. But those are things that should be implemented after wlroots.

This comment has been minimized.

Show comment Hide comment
@oblitum

oblitum Dec 2, 2017

Hi, Sway/i3 beginner here. I've just loaded my termite setup and it's fine except for one thing, I use a very dim translucent background and noticed that when I go fullscreen, the sway topbar doesn't hide. Is there support to hide it away (I mean, when there's transparency) when applications go fullscreen?

oblitum commented Dec 2, 2017

Hi, Sway/i3 beginner here. I've just loaded my termite setup and it's fine except for one thing, I use a very dim translucent background and noticed that when I go fullscreen, the sway topbar doesn't hide. Is there support to hide it away (I mean, when there's transparency) when applications go fullscreen?

This comment has been minimized.

Show comment Hide comment
@SirCmpwn

SirCmpwn Dec 2, 2017

Owner

No.

Owner

SirCmpwn commented Dec 2, 2017

No.

This comment has been minimized.

Show comment Hide comment
@oblitum

oblitum Dec 2, 2017

@SirCmpwn Any plans? I asked here because of #1158 (comment).

oblitum commented Dec 2, 2017

@SirCmpwn Any plans? I asked here because of #1158 (comment).

This comment has been minimized.

Show comment Hide comment
@oblitum

oblitum Dec 2, 2017

Specifically #1158 asks about i3's hide mode, which for me would work as good too.

oblitum commented Dec 2, 2017

Specifically #1158 asks about i3's hide mode, which for me would work as good too.

This comment has been minimized.

Show comment Hide comment
@SirCmpwn

SirCmpwn Dec 2, 2017

Owner

hide mode is planned.

Owner

SirCmpwn commented Dec 2, 2017

hide mode is planned.

This comment has been minimized.

Show comment Hide comment
@oblitum

oblitum Dec 2, 2017

Nice :)

oblitum commented Dec 2, 2017

Nice :)

This comment has been minimized.

Show comment Hide comment
@talwrii

talwrii Jan 1, 2018

Saving layouts to disk will not support
Loading layouts from disk will not support

I use that feature in i3 :/ .

I imagine it isn't too hard to implement this outside of i3 using i3-msg.

Is i3-msg -t get_tree still going to be supported?

talwrii commented Jan 1, 2018

Saving layouts to disk will not support
Loading layouts from disk will not support

I use that feature in i3 :/ .

I imagine it isn't too hard to implement this outside of i3 using i3-msg.

Is i3-msg -t get_tree still going to be supported?

This comment has been minimized.

Show comment Hide comment
@SirCmpwn

SirCmpwn Jan 1, 2018

Owner

Yes, get_tree already works and has worked for some time.

Owner

SirCmpwn commented Jan 1, 2018

Yes, get_tree already works and has worked for some time.

This comment has been minimized.

Show comment Hide comment
@sharpTrick

sharpTrick Jan 23, 2018

I made a script that may be useful for

  • workspace
    • left/right/up/down

https://github.com/sharpTrick/set-i3-workspace

I made a script that may be useful for

  • workspace
    • left/right/up/down

https://github.com/sharpTrick/set-i3-workspace

This comment has been minimized.

Show comment Hide comment
@hyiltiz

hyiltiz Jan 26, 2018

Nice work! Expecting "Restart in-place".

hyiltiz commented Jan 26, 2018

Nice work! Expecting "Restart in-place".

This comment has been minimized.

Show comment Hide comment
@ammgws

ammgws Jan 27, 2018

@progandy

I use that for my keybindings so that I can easily rename a workspace while keepig the hotkey.

Could you please clarify how you are renaming workspaces in sway? swaymsg doesn't appear to support the rename command (e.g. in i3: i3-msg 'rename workspace 5 to 6')

ammgws commented Jan 27, 2018

@progandy

I use that for my keybindings so that I can easily rename a workspace while keepig the hotkey.

Could you please clarify how you are renaming workspaces in sway? swaymsg doesn't appear to support the rename command (e.g. in i3: i3-msg 'rename workspace 5 to 6')

This comment has been minimized.

Show comment Hide comment
@progandy

progandy Jan 27, 2018

Contributor

@ammgws

Could you please clarify how you are renaming workspaces in sway?

In most cases I start with a fresh workspace and give it a name, e.g. swaymsg workspace 5:new_project. My main environment is still i3, though. If I really have to do it in sway, then I can do something like this.

#!/bin/bash
topfocus=""
for i in {1..20}; do
   topfocus="focus parent ; $topfocus"
done
swaymsg "$topfocus" move container to workspace "$1" ';' workspace "$1"
Contributor

progandy commented Jan 27, 2018

@ammgws

Could you please clarify how you are renaming workspaces in sway?

In most cases I start with a fresh workspace and give it a name, e.g. swaymsg workspace 5:new_project. My main environment is still i3, though. If I really have to do it in sway, then I can do something like this.

#!/bin/bash
topfocus=""
for i in {1..20}; do
   topfocus="focus parent ; $topfocus"
done
swaymsg "$topfocus" move container to workspace "$1" ';' workspace "$1"

This comment has been minimized.

Show comment Hide comment
@ammgws

ammgws Jan 28, 2018

Cheers, I guess that's what I'll have to do for now.

ammgws commented Jan 28, 2018

Cheers, I guess that's what I'll have to do for now.

This comment has been minimized.

Show comment Hide comment
@hyiltiz

hyiltiz Jan 28, 2018

@progandy why the loop that does nothing but set a variable?

hyiltiz commented Jan 28, 2018

@progandy why the loop that does nothing but set a variable?

This comment has been minimized.

Show comment Hide comment
@progandy

progandy Jan 29, 2018

Contributor

@hyiltiz that should add instead of replace... topfocus="focus parent ; $topfocus"

Contributor

progandy commented Jan 29, 2018

@hyiltiz that should add instead of replace... topfocus="focus parent ; $topfocus"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment