From 83812f34d7a01bb404d8dda17bd4c72bf30b8371 Mon Sep 17 00:00:00 2001 From: "Boris A. Dekshteyn" Date: Tue, 28 Apr 2020 14:09:19 +1200 Subject: gnu: Add kbdd-0.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/xdisorg.scm (kbdd): New variable. Signed-off-by: Jakub Kądziołka --- gnu/packages/xdisorg.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index bc2c9c4622..df61a95cbb 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -35,6 +35,7 @@ ;;; Copyright © 2020 Brice Waegeneire ;;; Copyright © 2020 Damien Cassou ;;; Copyright © 2020 John Soo +;;; Copyright © 2020 Boris A. Dekshteyn ;;; ;;; This file is part of GNU Guix. ;;; @@ -2286,3 +2287,40 @@ to find all available clips and launches @command{dmenu} (or @command{rofi}, depending on the value of @code{CM_LAUNCHER}) to let the user select a clip. After selection, the clip is put onto the PRIMARY and CLIPBOARD X selections.") (license license:public-domain)))) + +(define-public kbdd + (package + (name "kbdd") + (version "0.7.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/qnikst/kbdd.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0qkq75grbd4wkx4nlvswgavpijk9ad0pzqyj89a0ayjsbsn36pqy")))) + (build-system gnu-build-system) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("glib" ,glib "bin") + ("pkg-config" ,pkg-config))) + (inputs + `(("dbus-glib", dbus-glib) + ("glib" ,glib) + ("libx11" ,libx11))) + (home-page "https://github.com/qnikst/kbdd") + (synopsis "Per-window keyboard layout switching daemon for X") + (description "@command{kbdd} is a simple keyboard layout switching +program, which is designed to run in an X11 session and remember +keyboard layouts on a per-window basis. That can be very handy for a +user of a non-US keyboard who does not want to jump through layouts back +and forth while typing in terminals (mostly in a latin alphabet) and +some kind of chat (in native language). + +@command{kbdd} also supports D-Bus signals, which makes it possible to +create layout indicator widgets.") + (license license:bsd-2))) -- cgit v1.2.3