local app = "uwsm app -s app-graphical.slice -- " local session = "uwsm app -s session-graphical.slice -- " local work = "uwsm app -s work.slice -- " local wezterm = work .. "wezterm start" local function tui(slice, name) return slice .. "wezterm start --class " .. name .. " -- " .. name end return { terminal = wezterm, browser = app .. "firefox", editor = "nvim", launcher = app .. "hyprlauncher", file_manager = tui(work, "yazi"), bluetooth = tui(session, "bluetui"), wifi = tui(session, "impala"), system_monitor = tui(work, "btm"), audio_mixer = tui(session, "wiremix"), battery = session .. "wezterm start --class battery -- nu -c 'loop { clear; upower -i /org/freedesktop/UPower/devices/battery_BAT0; sleep 2sec }'", logout = session .. "hyprshutdown --dry-run", clipboard = app .. "bash -lc 'cliphist list | hyprlauncher --dmenu | cliphist decode | wl-copy'", screenshot_region = app .. "hyprshot -m region -z", screenshot_window = app .. "hyprshot -m window -z", screenshot_output = app .. "hyprshot -m output -z", screenshot_annotate = app .. "hyprshot -m region -z -- satty --filename", }