aboutsummaryrefslogtreecommitdiff
path: root/src/etc
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2023-07-13 09:56:51 -0400
committerB. Stack <bgstack15@gmail.com>2023-07-13 09:56:51 -0400
commit3fcd32aa6d295ac62fe0e526931fc556a4060343 (patch)
tree244c95a3ed1cf21c4cb2705276062d98cd7e10ae /src/etc
downloadfix-alttab-3fcd32aa6d295ac62fe0e526931fc556a4060343.tar.gz
fix-alttab-3fcd32aa6d295ac62fe0e526931fc556a4060343.tar.bz2
fix-alttab-3fcd32aa6d295ac62fe0e526931fc556a4060343.zip
initial commit
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/sysconfig/fix-alttab14
-rw-r--r--src/etc/xdg/autostart/fix-alttab-daemon.desktop13
2 files changed, 27 insertions, 0 deletions
diff --git a/src/etc/sysconfig/fix-alttab b/src/etc/sysconfig/fix-alttab
new file mode 100644
index 0000000..0b348c2
--- /dev/null
+++ b/src/etc/sysconfig/fix-alttab
@@ -0,0 +1,14 @@
+# Example fix-alttab.conf
+# Usage: dot-sourced by fix-alttab and its daemon
+# Locations:
+# /etc/sysconfig/fix-alttab.conf
+# ~/.config/fix-alttab
+ALTTAB_DAEMON_LOOP=3
+ALTTAB_DAEMON_LOGFILE="${XDG_RUNTIME_DIR:~}/fix-alttab-daemon.log"
+# First word here is the binary to run. This will be killalled if it needs to be run.
+ALTTAB_COMMON="alttab -w 1 -theme numix-circle"
+ALTTAB_LEFTYES_RIGHTYES=""
+ALTTAB_LEFTNO_RIGHTYES="-vp 1920x1080+1920+0"
+ALTTAB_LEFTYES_RIGHTNO="" #unsupported
+ALTTAB_LEFTNO_RIGHTNO="" # unsupported
+FIX_ALTTAB_BIN=/usr/libexec/fix-alttab
diff --git a/src/etc/xdg/autostart/fix-alttab-daemon.desktop b/src/etc/xdg/autostart/fix-alttab-daemon.desktop
new file mode 100644
index 0000000..f02d8e6
--- /dev/null
+++ b/src/etc/xdg/autostart/fix-alttab-daemon.desktop
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Categories=Utility;Accessibility;
+Comment=forces alttab dialog to visible monitor
+Exec=/usr/bin/fix-alttab-daemon
+GenericName=Fix alttab daemon
+Icon=system-run
+Keywords=daemon;alttab;
+Name=Fix-alttab daemon
+StartupNotify=true
+Terminal=false
+Type=Application
+Version=1.0
+Hidden=false
bgstack15