Commit Graph

32 Commits

Author SHA1 Message Date
Olaf Schulz a9faf4d710 Add command line actions and fix DBus-issue
A second instance of the app now waits until
it sends it's messages to the primary one.
This fixes issue #12 .

New command line options:
 --version --layer --hide --show --toggle
 --move --pos and --quit
 They can be used to send commands to the primary
 instance of the app.
2020-06-14 00:05:43 +02:00
Olaf Schulz 88f719dc91 Use ADNW/KOY icons in Gnome 3.x indicator 2020-06-10 09:06:19 +02:00
Olaf Schulz aebe6ffe19 Integration of ADNW und KOY:
• Renaming of Optionvalue from NEO_2 to NEO2.
• Code cleanup (Tab indentation and redundant switch cases)
• Add Jonathan Vetter to Authors
2020-06-08 20:57:27 +02:00
Jonathan Vetter 231e9b582d Added ADNW and KOY layout to NeoLayoutViewer
Made some changes in README to show how to select the layout.
2020-06-07 23:34:22 +02:00
Olaf Schulz c660404b3e Minor changes and svg source for layer added. 2019-11-13 11:38:37 +01:00
Olaf Schulz c7d3cb0ca8 Normalize code syntax 2019-11-12 16:12:00 +01:00
Olaf Schulz 5c468bf2b1 Save window size for each monitor. 2019-11-12 15:32:35 +01:00
Olaf Schulz 24ae37e874 Fix issue which prevents window from downscaling
Replace Fixed-Container by Layout-Container to
disconnects the window size from the content size.
Otherwise the window size can be increased but not
decreased.
2019-11-12 12:45:16 +01:00
Olaf Schulz 02188f4d4c Allow manual re-sizing of window.
Changes in config-manager:
  Add 'color_event_box' option for debugging.

Changes in main window:
  The Gtk.Images was replaced by ScalingImage-objects. They reacts
  on window size changes.

Changes in key overlay:
  The combination of 1 VBox + 6 Hboxes was replaced by one Gtk.Layout
  element. A signal handler connects the element with window size changes.
2019-11-12 10:05:58 +01:00
Olaf Schulz fb41c192d2 First version with support of multiple monitors. Problems given if resolutions of monitors differs... 2019-11-06 21:04:59 +01:00
Olaf Schulz 264804d174 Remove libunique dependency
libunique-3.0 should not be used in Gtk3 application anymore.
Its functionality was replaced by Gtk.Application.
Moreover, the argument 1-5 now looks the displayed layer
again changes by key events.
2019-01-25 03:22:18 +01:00
Olaf Schulz 077fc067d7 Add build target for windows. (This only build a very striped version\!) 2017-11-17 16:56:34 +01:00
Olaf Schulz f1719e90fe Replace deprecated usages of Gtk.Stock and Gtk.ImageMenuItem 2017-11-12 17:18:57 +01:00
Olaf Schulz 5d49593858 Bugfixes and remove of deprecated warnings.
- Makefile: Do not rebuild app for install target
- Show/Hide-Bug: Prevent window position at screen center in i3-wm.
- Set parent window option of about dialog.
- Switch from Gtk.VBox to Gtk.Box.
- Switch from Gdk.x11_get_default_xdisplay() to Gdk.X11.get_default_xdisplay()
- Switch from Gdk.x11_get_default_root_xwindow() to Gdk.X11.get_default_root_xwindow()
2017-11-12 12:59:17 +01:00
Olaf Schulz 246bd2457b Add gtk window hint. This info is useful for tiling window managers. 2015-01-10 22:06:24 +01:00
Olaf Schulz 3ba5117e83 Bugfixes:
• Die virtuelle Tastatur funktioniert jetzt wieder für alle Ebenen.
 Vorher gab es ein Problem auf der ersten Ebene, bei dem als
 Modifier-Maske 33 ausgewählt wird, obwohl sie 0 sein müsste. Dieser
 Fehler tritt aber nur auf, wenn das Neo-Layout aktiviert war. Als
 Workaround wird nun die Maske 33 auf 0 gemappt.
• Die Konfigurationsdatei wurde jetzt nicht mehr mehrfach angelegt. Es gibt drei
Standardpfade unter denen die Konfiguration gesucht wird. Durch Wahl der
falschen Vergleichsvariable wurde die Konfigurationsdatei
.neo_layout_viewer.conf aber nur im aktuellen Verzeichnis gesucht.
2014-06-08 17:36:56 +02:00
Olaf Schulz 68b1d82a21 Merge branch 'master' into refactoring
Conflicts:
	src/config-manager.vala
	src/main.vala
	src/neo-window.vala
	src/unique.vala
2013-12-09 14:26:02 +01:00
Olaf Schulz ce2b307cae Add system wide search for config file and asset folder. This is
a preparation for the install option in Makefile.
2013-12-08 02:35:03 +01:00
Olaf Schulz 883b24176d • Change startup beheaviour of the application:
If a second instance will be started the window of the first instance
	will be toggled (and not shown). Now, it's possible to map the
	toggle-window shortcut on the same key binding as the
	(external) application start.
• Add new config file option: show_on_startup
2013-12-08 01:09:00 +01:00
rixx da8a5a20ca formatting all the way 2013-09-18 20:32:40 +02:00
rixx 5325595aa4 removed commented code from neo-window.vala 2013-09-13 20:22:53 +02:00
Olaf Schulz 7b836018c5 Update to gtk 3.0. 2012-11-01 13:57:52 +01:00
Olaf Schulz 64620df692 Limit number of application instances to one. Show first application window, if second instance is started. 2011-10-23 03:48:20 +02:00
Olaf Schulz 863683e249 Remove layer selection with keys 1-6. 2011-10-22 13:34:01 +02:00
Olaf Schulz 884558f4e9 Remove image loading error, if executeable not called from bin dir 2011-10-21 13:47:35 +02:00
Olaf Schulz 272eae3d26 Switch config object from HashMap to TreeMap to avoid random sorting in config file 2011-10-21 00:45:41 +02:00
Olaf Schulz a24378b3dd Add two options to set the screen/display width manually. 2011-10-21 00:37:43 +02:00
Olaf Schulz b8b79617f1 Add option for optional window decoration 2011-10-18 10:01:50 +02:00
Olaf Schulz ec6e388bd3 Show window on the same position, where it was hided. 2011-10-18 09:46:19 +02:00
Olaf Schulz f249b60412 Add function key row. Add option for disabling function key row. Add images for pressed ctrl and alt keys 2011-10-17 20:38:29 +02:00
Olaf Schulz 7a7bc40c04 Rename preference numblock to numpad. 2011-10-17 15:17:34 +02:00
Olaf Schulz e094108d17 Move source code to folders src and csrc 2011-10-16 20:52:57 +02:00