[Linux] Get rid of custom key theme and replace it with gtk.css

This commit is contained in:
Ivan Malison 2018-06-02 14:44:21 -07:00
parent caea87d274
commit 39fe010f22
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8
2 changed files with 6 additions and 37 deletions

View File

@ -1,35 +1,3 @@
/*
* GTK - The GIMP Toolkit
* Copyright (C) 2002 Owen Taylor
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
/*
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
* file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
/*
* A keybinding set implementing Emacs-like keybindings
*/
/*
* Bindings for GtkTextView and GtkEntry
*/
@binding-set gtk-emacs-text-entry @binding-set gtk-emacs-text-entry
{ {
bind "<ctrl>b" { "move-cursor" (logical-positions, -1, 0) }; bind "<ctrl>b" { "move-cursor" (logical-positions, -1, 0) };
@ -53,6 +21,7 @@
bind "<ctrl>d" { "delete-from-cursor" (chars, 1) }; bind "<ctrl>d" { "delete-from-cursor" (chars, 1) };
bind "<alt>d" { "delete-from-cursor" (word-ends, 1) }; bind "<alt>d" { "delete-from-cursor" (word-ends, 1) };
bind "<alt>BackSpace" { "delete-from-cursor" (word-ends, -1) }; bind "<alt>BackSpace" { "delete-from-cursor" (word-ends, -1) };
bind "<alt>backspace" { "delete-from-cursor" (word-ends, -1) };
bind "<ctrl>k" { "delete-from-cursor" (paragraph-ends, 1) }; bind "<ctrl>k" { "delete-from-cursor" (paragraph-ends, 1) };
bind "<alt>backslash" { "delete-from-cursor" (whitespace, 1) }; bind "<alt>backslash" { "delete-from-cursor" (whitespace, 1) };

View File

@ -1,11 +1,11 @@
[Settings] [Settings]
gtk-key-theme-name=MyEmacs gtk-key-theme-name=Emacs
gtk-application-prefer-dark-theme=false gtk-application-prefer-dark-theme=false
gtk-theme-name=Adwaita-dark gtk-theme-name=Arc
gtk-fallback-icon-theme=gnome gtk-fallback-icon-theme=gnome
gtk-icon-theme-name=Paper gtk-icon-theme-name=Numix-Circle
gtk-font-name=Roboto 11 gtk-font-name=Roboto 11
gtk-cursor-theme-name=Paper gtk-cursor-theme-name=Breeze_Snow
gtk-cursor-theme-size=0 gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
@ -15,5 +15,5 @@ gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1 gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1 gtk-xft-antialias=1
gtk-xft-hinting=1 gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull gtk-xft-hintstyle=hintslight
gtk-xft-rgba=rgb gtk-xft-rgba=rgb