Commit Graph

31 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 6d347d1729 Update about dialog text and change my mail address.
Adds new shortcut for monitor switching to about dialog.
2019-11-12 10:41:39 +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 5eb0bff042 Fix display of version number in about dialog. 2019-01-28 01:08:31 +01:00
Olaf Schulz 8e99b6f5f5 Avoid valac warning and add test target 'deb-packages_as_user' 2019-01-25 14:07:55 +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 0869faeaf8 Fix version string display in info popup. 2018-12-18 23:37:52 +01:00
Olaf Schulz 6258f8461d Merge branch 'make-src-package' into unstable 2018-12-18 21:34:11 +01:00
Olaf Schulz 8e2795c045 Add release version string to Makefile
The VERSION variable (relevant for  debian package system) now
depends on the new variable RELEASE_VERSION.
2018-12-18 21:27:59 +01:00
Olaf Schulz be7e5cf7e1 Refactoring comments and README. No further changes 2018-12-18 20:43:23 +01:00
Olaf Schulz 329d621bf8 Correct license mismatch in Readme (issue 4) 2018-09-16 17:57:12 +02: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 40bc020add Propagate shared asset folder from Makefile
and fix error in automatic search of asset folder.
2017-11-12 17:55:30 +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 93636f251e Update 2017
• Änderung des Namens der Konfigurationsdatei:
  .neo_layout_viewer.conf => neo_layout_viewer.conf
  (Da sie standardmäßig im '.config'-Verzeichnis erstellt wird, braucht
  sie nicht „doppelt“ versteckt werden.)
• Bugfix Icon-Pfad von Indicator-Applet war irrtümlich fixiert und wird
  nun aus dem Asset-Pfad abgeleitet.
• Neben ./asset wird nun auch ../asset als möglicher Standort für die
  Grafiken angenommen.
• Info-Popup: Zeigt nun an, welche Config-Datei geladen wurde.
• Makefile baut neues Binary nur noch bei geänderten Sourcen oder geänderten
  Umgebungsvariablen.
• Info-Popup: Zeigt git-commit id an.
2017-11-12 02:52:38 +01: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 95b8c9a708 Add install and unistall option to Makefile 2013-12-09 00:32:12 +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
Olaf Schulz 7c2aa5d4ef Add indicator menu for gnome 3. The Makefile contains now
a flag to select the desired icon type: none, tray (for gnome 2.x) or
indicator (for gnome 3.x).
2012-11-02 18:53:56 +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 ee96bb89cf Send key event twice: To the focused window and the root window (for global shortcuts) 2011-10-22 18:09:25 +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 e094108d17 Move source code to folders src and csrc 2011-10-16 20:52:57 +02:00