all: split reusable components into workspace crates
This commit is contained in:
parent
2a079ed800
commit
657e7ce2f7
225 changed files with 7422 additions and 17602 deletions
|
|
@ -25,7 +25,7 @@ use {
|
|||
jay_config::{
|
||||
AnimationCurve, AnimationStyle, Axis,
|
||||
client::Client,
|
||||
config, config_dir,
|
||||
config_dir,
|
||||
exec::{Command, set_env, unset_env},
|
||||
get_workspace,
|
||||
input::{
|
||||
|
|
@ -37,7 +37,7 @@ use {
|
|||
is_reload,
|
||||
keyboard::Keymap,
|
||||
logging::{clean_logs_older_than, set_log_level},
|
||||
on_devices_enumerated, on_idle, on_unload, quit, reload, set_animation_cubic_bezier,
|
||||
on_devices_enumerated, on_idle, on_unload, quit, set_animation_cubic_bezier,
|
||||
set_animation_curve, set_animation_duration_ms, set_animation_style,
|
||||
set_animations_enabled, set_autotile, set_color_management_enabled, set_corner_radius,
|
||||
set_default_workspace_capture,
|
||||
|
|
@ -186,7 +186,6 @@ impl Action {
|
|||
let persistent = state.persistent.clone();
|
||||
b.new(move || load_config(false, false, &persistent))
|
||||
}
|
||||
SimpleCommand::ReloadConfigSo => b.new(reload),
|
||||
SimpleCommand::None => b.new(|| ()),
|
||||
SimpleCommand::Forward(bool) => b.new(move || s.set_forward(bool)),
|
||||
SimpleCommand::EnableWindowManagement(bool) => {
|
||||
|
|
@ -1759,12 +1758,6 @@ fn create_command(exec: &Exec) -> Command {
|
|||
for (k, v) in &exec.envs {
|
||||
command.env(k, v);
|
||||
}
|
||||
if exec.privileged {
|
||||
command.privileged();
|
||||
}
|
||||
if let Some(tag) = &exec.tag {
|
||||
command.tag(tag);
|
||||
}
|
||||
command
|
||||
}
|
||||
|
||||
|
|
@ -1798,5 +1791,3 @@ pub fn configure() {
|
|||
}
|
||||
load_config(true, false, &persistent);
|
||||
}
|
||||
|
||||
config!(configure);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue