feat: add support for showing bar at top of screen

This commit is contained in:
Jake Stanger
2022-08-14 15:56:21 +01:00
parent 19d009fe5b
commit a358037d3e
8 changed files with 77 additions and 15 deletions

View File

@@ -207,7 +207,7 @@ impl Module<gtk::Box> for LauncherModule {
let mut sway = Client::connect().unwrap();
let popup = Popup::new("popup-launcher", info.app, Orientation::Vertical);
let popup = Popup::new("popup-launcher", info.app, Orientation::Vertical, info.bar_position);
let container = gtk::Box::new(Orientation::Horizontal, 0);
let (ui_tx, mut ui_rx) = mpsc::channel(32);