summarylogtreecommitdiffstats
path: root/sway-keyboard-layout.install
diff options
context:
space:
mode:
Diffstat (limited to 'sway-keyboard-layout.install')
-rw-r--r--sway-keyboard-layout.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/sway-keyboard-layout.install b/sway-keyboard-layout.install
new file mode 100644
index 000000000000..1585e8446724
--- /dev/null
+++ b/sway-keyboard-layout.install
@@ -0,0 +1,15 @@
+post_install() {
+ cat <<EOT
+Replace status command in your Sway configuration:
+
+ status_command i3status | sway-keyboard-layout i3status
+EOT
+}
+
+pre_remove() {
+ cat <<EOT
+Restore status command in your Sway configuration:
+
+ status_command i3status
+EOT
+} \ No newline at end of file