-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
programs not starting; layout not restoring #15
Comments
swayrst doesn't start applications (but there seems to be a lot of ppl interested in it). The idea behind swayrst is, that you can have your WS and windows on the same usual place after plugging in or out a display (or docking or undocking your notebook). So you would save a profile docked and undocked and swayrst would move everything in its place. For startup, I'd use the
But the debug output says otherwise... There weren't any "not found" windows. Also, then you say "layout", you don't mean the window arrangement in a workspace? That's not supported (yet). |
Ah, so it isn't really the thing that I need? Sad, will search more then. Still thank you! |
I found what I needed - wezterm! |
could you describe what you mean and how wezterm helps you? |
local wezterm = require("wezterm")
local mux = wezterm.mux
local config = wezterm.config_builder()
config.font = wezterm.font("Iosevka Term")
config.color_scheme = "Gruvbox dark, pale (base16)"
config.hide_tab_bar_if_only_one_tab = true
wezterm.on("gui-startup", function(cmd)
local project_dir = wezterm.home_dir .. "/Projects"
local tab, main_pane, window = mux.spawn_window({
workspace = "default",
cwd = project_dir,
})
local cmus_pane = main_pane:split({
direction = "Bottom",
size = 0.2,
cwd = project_dir,
})
local peaclock_pane = cmus_pane:split({
direction = "Right",
size = 0.3,
cwd = project_dir,
})
cmus_pane:send_text("cmus\n")
peaclock_pane:send_text("peaclock\n")
end)
return config this config autostarts and aligns windows in order that I need. it looks like this |
This script is just what I needed, but now I can't manage it to work. Say, I made a simple layout (peaclock, cmus and shell). I saved it with
swayrst save startup
. I addedexec swayrst load startup
to end of my.config/sway/config
, but the windows aren't loading. I triedswayrst -v load startup
manually, and it says the next...but my workspace had only kitty openned at the moment of running
load
. What am I doing wrong?The text was updated successfully, but these errors were encountered: