aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJakub Jabůrek <jaburek.jakub@gmail.com>2021-07-18 11:32:57 +0200
committerJakub Jabůrek <jaburek.jakub@gmail.com>2021-07-18 11:46:08 +0200
commit0785d73d008e10057d7743fa79844e5b2dd2dcf7 (patch)
tree36a96499d5010b03e979945cdd60ad24e4e36b9a /tests
parent74ed255995f5935804235daf731471a422d44075 (diff)
downloadsway-launcher-desktop-0785d73d008e10057d7743fa79844e5b2dd2dcf7.tar.gz
sway-launcher-desktop-0785d73d008e10057d7743fa79844e5b2dd2dcf7.zip
Don’t autostart applications with Hidden=true
Diffstat (limited to 'tests')
-rw-r--r--tests/data/autostart-folders/0/autostart/vim.desktop7
-rw-r--r--tests/data/autostart-folders/1/autostart/firefox.desktop1
-rw-r--r--tests/data/autostart-folders/1/autostart/vim.desktop6
3 files changed, 14 insertions, 0 deletions
diff --git a/tests/data/autostart-folders/0/autostart/vim.desktop b/tests/data/autostart-folders/0/autostart/vim.desktop
new file mode 100644
index 0000000..21036e9
--- /dev/null
+++ b/tests/data/autostart-folders/0/autostart/vim.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Version=1.0
+Name=Vim
+Exec=/sbin/vim
+Terminal=true
+Type=Application
+Hidden=true
diff --git a/tests/data/autostart-folders/1/autostart/firefox.desktop b/tests/data/autostart-folders/1/autostart/firefox.desktop
index c3f3b0e..df6dd74 100644
--- a/tests/data/autostart-folders/1/autostart/firefox.desktop
+++ b/tests/data/autostart-folders/1/autostart/firefox.desktop
@@ -1,6 +1,7 @@
[Desktop Entry]
Version=1.0
Name=Firefox
+Hidden=true
GenericName=Web Browser
GenericName[ar]=متصفح ويب
GenericName[ast]=Restolador Web
diff --git a/tests/data/autostart-folders/1/autostart/vim.desktop b/tests/data/autostart-folders/1/autostart/vim.desktop
new file mode 100644
index 0000000..b1e6c70
--- /dev/null
+++ b/tests/data/autostart-folders/1/autostart/vim.desktop
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Version=1.0
+Name=Vim
+Exec=/sbin/vim
+Terminal=true
+Type=Application