File tree Expand file tree Collapse file tree 3 files changed +35
-0
lines changed Expand file tree Collapse file tree 3 files changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ LAYER: =sway-scripts
2
+ include $(DEFINE_LAYER )
3
+
4
+ sway-install-tools: =$(SYSROOT ) /usr/local/bin/sway-install-tools
5
+ sway-enable-screenshare: =$(SYSROOT ) /usr/local/bin/sway-enable-screenshare
6
+
7
+ $(L) += $(sway-install-tools )
8
+ $(L) += $(sway-enable-screenshare )
9
+
10
+ include $(BUILD_LAYER )
11
+
12
+ $(sway-enable-screenshare ) :
13
+ $(SUDO ) mkdir -p $(dir $@ )
14
+ $(SUDO ) cp $(BASE_sway-scripts ) /sway-enable-screenshare $(SYSROOT ) /usr/local/bin
15
+
16
+ $(sway-install-tools ) :
17
+ $(SUDO ) mkdir -p $(dir $@ )
18
+ $(SUDO ) echo " #!/bin/bash" | $(SUDO ) tee $@
19
+ $(SUDO ) echo " apt-get -y install $( shell make deb-run-info) " | $(SUDO ) tee -a $@
20
+ $(SUDO ) chmod +x $@
21
+
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ systemctl --user enable pipewire
4
+ systemctl --user enable pipewire.socket
5
+ systemctl --user enable pipewire-media-session
6
+
7
+ systemctl --user start pipewire
8
+ systemctl --user start pipewire.socket
9
+ systemctl --user start pipewire-media-session
10
+ systemctl --user start xdg-desktop-portal
11
+ systemctl --user start xdg-desktop-portal-wlr
12
+
Original file line number Diff line number Diff line change @@ -99,6 +99,8 @@ LAYERS += cxxopts
99
99
LAYERS += pamixer
100
100
LAYERS += avizo
101
101
102
+ LAYERS += sway-scripts
103
+
102
104
LAYERS-$(CONFIG_PACKAGE) += package
103
105
104
106
LAYERS += $(LAYERS-y )
You can’t perform that action at this time.
0 commit comments