aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShivesh Mandalia <mail@shivesh.org>2021-09-22 18:49:53 +0100
committerShivesh Mandalia <mail@shivesh.org>2021-09-22 18:49:53 +0100
commit83e992b9178393ce458b87687b5a61f2afa2b134 (patch)
tree3b53a9b11707389949f10dfd23ad9fcff428eda2
parentdd58e512e878669ac6d77d8bec5661f41d156884 (diff)
downloadtabbed-83e992b9178393ce458b87687b5a61f2afa2b134.tar.gz
tabbed-83e992b9178393ce458b87687b5a61f2afa2b134.zip
Tabbed desktop icon when using with st
-rw-r--r--Makefile2
-rw-r--r--tabbed.desktop8
2 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1b95d15..022a5e1 100644
--- a/Makefile
+++ b/Makefile
@@ -53,6 +53,7 @@ install: all
@chmod 644 "${DESTDIR}${MANPREFIX}/man1/tabbed.1"
@sed "s/VERSION/${VERSION}/g" < xembed.1 > "${DESTDIR}${MANPREFIX}/man1/xembed.1"
@chmod 644 "${DESTDIR}${MANPREFIX}/man1/xembed.1"
+ cp -f tabbed.desktop $(DESTDIR)$(PREFIX)/share/applications
uninstall:
@echo removing executable files from ${DESTDIR}${PREFIX}/bin
@@ -61,5 +62,6 @@ uninstall:
@echo removing manual pages from ${DESTDIR}${MANPREFIX}/man1
@rm -f "${DESTDIR}${MANPREFIX}/man1/tabbed.1"
@rm -f "${DESTDIR}${MANPREFIX}/man1/xembed.1"
+ rm -f $(DESTDIR)$(PREFIX)/share/applications/tabbed.desktop
.PHONY: all options clean dist install uninstall
diff --git a/tabbed.desktop b/tabbed.desktop
new file mode 100644
index 0000000..cd35917
--- /dev/null
+++ b/tabbed.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=st
+Comment=Run st simple terminal inside a tabbed session
+Exec=tabbed -p 1 -c -r 2 st -w '' -e /bin/bash --login
+Icon=utilities-terminal
+Terminal=false
+Type=Application
+Categories=System;TerminalEmulator;