diff options
-rw-r--r-- | .gitmodules | 2 | ||||
-rw-r--r-- | old/tmux.conf (renamed from tmux.conf) | 0 | ||||
-rwxr-xr-x | old/urxvt/ext/clipboard (renamed from urxvt/ext/clipboard) | 0 | ||||
-rwxr-xr-x | old/urxvt/ext/resize-font (renamed from urxvt/ext/resize-font) | 0 | ||||
m--------- | old/zgen (renamed from zgen) | 0 | ||||
-rw-r--r-- | old/zshenv (renamed from zshenv) | 0 | ||||
-rw-r--r-- | spacemacs | 378 | ||||
-rw-r--r-- | spacemacs-dragon | 402 | ||||
-rw-r--r-- | ssh/config | 0 | ||||
-rw-r--r-- | unicomp-spring-xkb | 1845 |
10 files changed, 1 insertions, 2626 deletions
diff --git a/.gitmodules b/.gitmodules index 86e21b0..29e03bc 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,5 +1,5 @@ [submodule "zgen"] - path = zgen + path = old/zgen url = https://github.com/tarjoilija/zgen.git [submodule "zsh/zsh/pure"] path = zsh/.zsh/pure diff --git a/tmux.conf b/old/tmux.conf index b92ba2a..b92ba2a 100644 --- a/tmux.conf +++ b/old/tmux.conf diff --git a/urxvt/ext/clipboard b/old/urxvt/ext/clipboard index 05e1601..05e1601 100755 --- a/urxvt/ext/clipboard +++ b/old/urxvt/ext/clipboard diff --git a/urxvt/ext/resize-font b/old/urxvt/ext/resize-font index cc89a96..cc89a96 100755 --- a/urxvt/ext/resize-font +++ b/old/urxvt/ext/resize-font diff --git a/zgen b/old/zgen -Subproject 0b669d2d0dcf788b4c81a7a30b4fa41dfbf7d1a +Subproject 0b669d2d0dcf788b4c81a7a30b4fa41dfbf7d1a diff --git a/spacemacs b/spacemacs deleted file mode 100644 index aa4916b..0000000 --- a/spacemacs +++ /dev/null @@ -1,378 +0,0 @@ -;; -*- mode: emacs-lisp -*- -;; This file is loaded by Spacemacs at startup. -;; It must be stored in your home directory. - -(defun dotspacemacs/layers () - "Configuration Layers declaration. -You should not put any user code in this function besides modifying the variable -values." - (setq-default - ;; Base distribution to use. This is a layer contained in the directory - ;; `+distribution'. For now available distributions are `spacemacs-base' - ;; or `spacemacs'. (default 'spacemacs) - dotspacemacs-distribution 'spacemacs - ;; List of additional paths where to look for configuration layers. - ;; Paths must have a trailing slash (i.e. `~/.mycontribs/') - dotspacemacs-configuration-layer-path '() - ;; List of configuration layers to load. If it is the symbol `all' instead - ;; of a list then all discovered layers will be installed. - dotspacemacs-configuration-layers - '(sql - csv - finance - ;; ---------------------------------------------------------------- - ;; Example of useful layers you may want to use right away. - ;; Uncomment some layer names and press <SPC f e R> (Vim style) or - ;; <M-m f e R> (Emacs style) to install them. - ;; ---------------------------------------------------------------- - ;; auto-completion - ;; better-defaults - ivy - emacs-lisp - shell - c-c++ - ;; semantic - haskell - html - javascript - markdown - haskell - git - idris - finance - rust - markdown - org - ;; (shell :variables - ;; shell-default-height 30 - ;; shell-default-position 'bottom) - ;; spell-checking - ;; syntax-checking - version-control - gnus - mu4e - nixos - ess - (mu4e :variables - mu4e-installation-path "/usr/share/emacs/site-lisp") - ) - ;; List of additional packages that will be installed without being - ;; wrapped in a layer. If you need some configuration for these - ;; packages then consider to create a layer, you can also put the - ;; configuration in `dotspacemacs/config'. - dotspacemacs-additional-packages '() - ;; A list of packages and/or extensions that will not be install and loaded. - dotspacemacs-excluded-packages '(smartparens flyspell evil-jumper) - ;; If non-nil spacemacs will delete any orphan packages, i.e. packages that - ;; are declared in a layer which is not a member of - ;; the list `dotspacemacs-configuration-layers'. (default t) - dotspacemacs-delete-orphan-packages nil)) - -(defun dotspacemacs/init () - "Initialization function. -This function is called at the very startup of Spacemacs initialization -before layers configuration. -You should not put any user code in there besides modifying the variable -values." - ;; This setq-default sexp is an exhaustive list of all the supported - ;; spacemacs settings. - (setq-default - ;; One of `vim', `emacs' or `hybrid'. Evil is always enabled but if the - ;; variable is `emacs' then the `holy-mode' is enabled at startup. `hybrid' - ;; uses emacs key bindings for vim's insert mode, but otherwise leaves evil - ;; unchanged. (default 'vim) - dotspacemacs-editing-style 'vim - ;; If non nil output loading progress in `*Messages*' buffer. (default nil) - dotspacemacs-verbose-loading nil - ;; Specify the startup banner. Default value is `official', it displays - ;; the official spacemacs logo. An integer value is the index of text - ;; banner, `random' chooses a random text banner in `core/banners' - ;; directory. A string value must be a path to an image format supported - ;; by your Emacs build. - ;; If the value is nil then no banner is displayed. (default 'official) - dotspacemacs-startup-banner 'random - ;; List of items to show in the startup buffer. If nil it is disabled. - ;; Possible values are: `recents' `bookmarks' `projects'. - ;; (default '(recents projects)) - dotspacemacs-startup-lists '(recents projects bookmarks) - ;; List of themes, the first of the list is loaded when spacemacs starts. - ;; Press <SPC> T n to cycle to the next theme in the list (works great - ;; with 2 themes variants, one dark and one light) - dotspacemacs-themes '(spacemacs-dark spacemacs-light) - ;; If non nil the cursor color matches the state color. - dotspacemacs-colorize-cursor-according-to-state t - ;; Default font. `powerline-scale' allows to quickly tweak the mode-line - ;; size to make separators look not too crappy. - dotspacemacs-default-font '("Fira Code" - :size 20 - :weight normal - :width normal - :powerline-scale 1.1) - ;; The leader key - dotspacemacs-leader-key "SPC" - ;; The leader key accessible in `emacs state' and `insert state' - ;; (default "M-m") - dotspacemacs-emacs-leader-key "M-m" - ;; Major mode leader key is a shortcut key which is the equivalent of - ;; pressing `<leader> m`. Set it to `nil` to disable it. (default ",") - dotspacemacs-major-mode-leader-key "," - ;; Major mode leader key accessible in `emacs state' and `insert state'. - ;; (default "C-M-m) - dotspacemacs-major-mode-emacs-leader-key "C-M-m" - ;; The command key used for Evil commands (ex-commands) and - ;; Emacs commands (M-x). - ;; By default the command key is `:' so ex-commands are executed like in Vim - ;; with `:' and Emacs commands are executed with `<leader> :'. - dotspacemacs-command-key ":" - ;; If non nil `Y' is remapped to `y$'. (default t) - dotspacemacs-remap-Y-to-y$ t - ;; Location where to auto-save files. Possible values are `original' to - ;; auto-save the file in-place, `cache' to auto-save the file to another - ;; file stored in the cache directory and `nil' to disable auto-saving. - ;; (default 'cache) - dotspacemacs-auto-save-file-location 'cache - ;; If non nil then `ido' replaces `helm' for some commands. For now only - ;; `find-files' (SPC f f), `find-spacemacs-file' (SPC f e s), and - ;; `find-contrib-file' (SPC f e c) are replaced. (default nil) - dotspacemacs-use-ido nil - ;; If non nil, `helm' will try to miminimize the space it uses. (default nil) - dotspacemacs-helm-resize nil - ;; if non nil, the helm header is hidden when there is only one source. - ;; (default nil) - dotspacemacs-helm-no-header nil - ;; define the position to display `helm', options are `bottom', `top', - ;; `left', or `right'. (default 'bottom) - dotspacemacs-helm-position 'bottom - ;; If non nil the paste micro-state is enabled. When enabled pressing `p` - ;; several times cycle between the kill ring content. (default nil) - dotspacemacs-enable-paste-micro-state nil - ;; Which-key delay in seconds. The which-key buffer is the popup listing - ;; the commands bound to the current keystroke sequence. (default 0.4) - dotspacemacs-which-key-delay 0.2 - ;; Which-key frame position. Possible values are `right', `bottom' and - ;; `right-then-bottom'. right-then-bottom tries to display the frame to the - ;; right; if there is insufficient space it displays it at the bottom. - ;; (default 'bottom) - dotspacemacs-which-key-position 'bottom - ;; If non nil a progress bar is displayed when spacemacs is loading. This - ;; may increase the boot time on some systems and emacs builds, set it to - ;; nil to boost the loading time. (default t) - dotspacemacs-loading-progress-bar t - ;; If non nil the frame is fullscreen when Emacs starts up. (default nil) - ;; (Emacs 24.4+ only) - dotspacemacs-fullscreen-at-startup nil - ;; If non nil `spacemacs/toggle-fullscreen' will not use native fullscreen. - ;; Use to disable fullscreen animations in OSX. (default nil) - dotspacemacs-fullscreen-use-non-native nil - ;; If non nil the frame is maximized when Emacs starts up. - ;; Takes effect only if `dotspacemacs-fullscreen-at-startup' is nil. - ;; (default nil) (Emacs 24.4+ only) - dotspacemacs-maximized-at-startup nil - ;; A value from the range (0..100), in increasing opacity, which describes - ;; the transparency level of a frame when it's active or selected. - ;; Transparency can be toggled through `toggle-transparency'. (default 90) - dotspacemacs-active-transparency 90 - ;; A value from the range (0..100), in increasing opacity, which describes - ;; the transparency level of a frame when it's inactive or deselected. - ;; Transparency can be toggled through `toggle-transparency'. (default 90) - dotspacemacs-inactive-transparency 90 - ;; If non nil unicode symbols are displayed in the mode line. (default t) - dotspacemacs-mode-line-unicode-symbols t - ;; If non nil smooth scrolling (native-scrolling) is enabled. Smooth - ;; scrolling overrides the default behavior of Emacs which recenters the - ;; point when it reaches the top or bottom of the screen. (default t) - dotspacemacs-smooth-scrolling t - ;; If non-nil smartparens-strict-mode will be enabled in programming modes. - ;; (default nil) - dotspacemacs-smartparens-strict-mode nil - ;; Select a scope to highlight delimiters. Possible values are `any', - ;; `current', `all' or `nil'. Default is `all' (highlight any scope and - ;; emphasis the current one). (default 'all) - dotspacemacs-highlight-delimiters 'all - ;; If non nil advises quit functions to keep server open when quitting. - ;; (default nil) - dotspacemacs-persistent-server nil - ;; List of search tool executable names. Spacemacs uses the first installed - ;; tool of the list. Supported tools are `ag', `pt', `ack' and `grep'. - ;; (default '("ag" "pt" "ack" "grep")) - dotspacemacs-search-tools '("ag" "pt" "ack" "grep") - ;; The default package repository used if no explicit repository has been - ;; specified with an installed package. - ;; Not used for now. (default nil) - dotspacemacs-default-package-repository nil - )) - -(defun dotspacemacs/user-init () - "Initialization function for user code. -It is called immediately after `dotspacemacs/init'. You are free to put any -user code." - ;; bind ctrl-w to backwards-kill-word when no region is selected - (global-set-key (kbd "C-w") 'backward-kill-word-or-kill-region) - (setq tab-width 8) - - (defun c-lineup-arglist-tabs-only (ignored) - "Line up argument lists by tabs, not spaces" - (let* ((anchor (c-langelem-pos c-syntactic-element)) - (column (c-langelem-2nd-pos c-syntactic-element)) - (offset (- (1+ column) anchor)) - (steps (floor offset c-basic-offset))) - (* (max steps 1) - c-basic-offset))) - - (add-hook 'c-mode-common-hook - (lambda () - ;; Add kernel style - (c-add-style - "linux-tabs-only" - '("linux" (c-offsets-alist - (arglist-cont-nonempty - c-lineup-gcc-asm-reg - c-lineup-arglist-tabs-only)))))) - - (add-hook 'c-mode-hook - (lambda () - (let ((filename (buffer-file-name))) - ;; Enable kernel mode for the appropriate files - (when (and filename - (string-match (expand-file-name "~/projects/linux") - filename)) - (setq indent-tabs-mode t) - (setq tab-width 8) - (setq show-trailing-whitespace t) - (c-set-style "linux-tabs-only"))))) - - (spacemacs|use-package-add-hook org - :pre-init - (package-initialize)) - - (defun backward-kill-word-or-kill-region (&optional arg) - (interactive "p") - (if (region-active-p) - (kill-region (region-beginning) (region-end)) - (backward-kill-word arg))) - - ;; (org-babel-do-load-languages - ;; 'org-babel-load-languages - ;; '((emacs-lisp . nil) - ;; (R . t))) - (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") - ;; (autoload 'org-mks "org-macs") - ;; (autoload 'org-show-all "org") - ;; (autoload 'org-line-number-display-width "org-compat") - ;; (autoload 'org-set-local "org-element") - ;; (autoload 'org-element-block-name-alist "org-element") - - (setq-default exec-path-from-shell-variables '()) - - (setq-default git-magit-status-fullscreen t) -) - -(defun kj-bindings () - "Set up my custom bindings." - (evil-leader/set-key "orl" #'org-store-link) - (evil-leader/set-key "ora" #'org-agenda) - (evil-leader/set-key "ol" #'hledger-jentry) - (evil-leader/set-key "ot" - (lambda () (interactive) (org-capture nil "t"))) - ) - -(defun kj-org-config () - "Org configuration." - (with-eval-after-load 'org - (org-babel-do-load-languages - 'org-babel-load-languages - '((R . t))) - (autoload 'org-babel-execute:emacs-lisp "ob-emacs-lisp") - (org-babel-do-load-languages - 'org-babel-load-languages - '((R . t) - (emacs-lisp . t)))) - - (setq my-running-journal "~/www/running-2019.org") - - (setq-default - ;; nxml is unbearably slow :( - rng-nxml-auto-validate-flag nil - - org-todo-keywords - '((sequence "TODO(t)" "WAIT(w@/!)" "|" "DONE(d!)" "CANCELED(c@)")) - org-directory "~/org" - org-support-shift-select t - ;; '(("t" "Todo" entry (file+headline "~/org/in.org" "Tasks") - ;; "* TODO %?\n %i\n %a"))) - org-agenda-files '("~/org/todo.org") - ) - ; (global-git-commit-mode t) - - (setq org-capture-templates - `( - ("r" "Run" entry (file+olp+datetree ,my-running-journal "Running") - ,(string-join '( - "* Run" - ":PROPERTIES:" - ":DistanceMiles:" - ":ElapsedTime:" - ":Shoes:" - ":Effort:" - ":RunType:" - ":StartTime:" - ":Category: Run" - ":END:" - "%t" - "%?" - ) "\n") - :tree-type week - ) - ("w" "Log weight" entry (file+olp+datetree ,my-running-journal "Weight") - ,(string-join '( - "* Weight" - ":PROPERTIES:" - ":Weight: %^{Weight}" - ":END:" - "%t" - ) "\n") - :tree-type week - ))) - ) - -(defun dotspacemacs/user-config () - "Configuration function for user code. - This function is called at the very end of Spacemacs initialization after -layers configuration. You are free to put any user code." - (setq custom-file "~/.spacemacs.local") - (add-hook 'haskell-mode-hook 'turn-on-haskell-indent) - (add-hook 'ess-mode-hook - (lambda () - (ess-toggle-underscore nil))) - ;;(add-to-list 'auto-mode-alist '("\\.journal\\'" . hledger-mode)) - (setq-default - vc-follow-symlinks nil - web-mode-code-indent-offset 2) - (kj-bindings) - (kj-org-config) - (load-file "~/.spacemacs.local") - ;; Show 80-column marker - (define-globalized-minor-mode global-fci-mode fci-mode (lambda () (fci-mode 1))) - (global-fci-mode 1) - ;; I have been warned about magit stealing my files: - (setq magit-last-seen-setup-instructions "1.4.0") - (add-to-list 'spacemacs-indent-sensitive-modes 'nix-mode) - (setq dns-mode-soa-auto-increment-serial nil) - (setq - ledger-binary-path "hledger" - ledger-post-amount-alignment-column 50) - ) -(custom-set-variables - ;; custom-set-variables was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - '(package-selected-packages - (quote - (sql-indent pos-tip git-gutter-fringe+ git-gutter-fringe fringe-helper git-gutter+ git-gutter transient goto-chg undo-tree diminish diff-hl csv-mode wgrep smex ivy-hydra lv counsel-projectile counsel swiper ivy ess-smart-equals ess-R-data-view ctable ess julia-mode nix-mode helm-nixos-options nixos-options winum uuidgen pug-mode org-projectile org-category-capture org-mime org-download mu4e-maildirs-extension mu4e-alert ht livid-mode skewer-mode simple-httpd link-hint intero flycheck hlint-refactor helm-hoogle git-link eyebrowse evil-visual-mark-mode evil-unimpaired evil-ediff eshell-z dumb-jump f company-ghci company-ghc company column-enforce-mode cargo idris-mode prop-menu ledger-mode toml-mode racer rust-mode smeargle orgit magit-gitflow helm-gitignore request gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger evil-magit magit magit-popup git-commit with-editor xterm-color ws-butler window-numbering web-mode web-beautify volatile-highlights vi-tilde-fringe toc-org tern tagedit spacemacs-theme spaceline powerline smooth-scrolling slim-mode shm shell-pop scss-mode sass-mode restart-emacs rainbow-delimiters popwin persp-mode pcre2el paradox hydra spinner page-break-lines org-repo-todo org-present org-pomodoro alert log4e gntp org-plus-contrib org-bullets open-junk-file nyan-mode neotree multi-term move-text mmm-mode markdown-toc markdown-mode macrostep lorem-ipsum linum-relative leuven-theme less-css-mode json-mode json-snatcher json-reformat js2-refactor multiple-cursors s js2-mode js-doc jade-mode info+ indent-guide ido-vertical-mode hungry-delete htmlize hl-todo hindent highlight-parentheses highlight-numbers parent-mode highlight-indentation help-fns+ helm-themes helm-swoop helm-projectile helm-mode-manager helm-make projectile pkg-info epl helm-flyspell helm-flx helm-descbinds helm-css-scss helm-ag haskell-snippets yasnippet haml-mode google-translate golden-ratio gnuplot ghc haskell-mode gh-md flx-ido flx fill-column-indicator fancy-battery expand-region exec-path-from-shell evil-visualstar evil-tutor evil-surround evil-search-highlight-persist evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state smartparens evil-indent-plus evil-iedit-state iedit evil-exchange evil-escape evil-args evil-anzu anzu eval-sexp-fu highlight eshell-prompt-extras esh-help emmet-mode elisp-slime-nav disaster define-word coffee-mode cmm-mode cmake-mode clean-aindent-mode clang-format buffer-move bracketed-paste auto-highlight-symbol auto-dictionary auto-compile packed dash aggressive-indent adaptive-wrap ace-window ace-link ace-jump-helm-line helm avy helm-core popup async quelpa package-build use-package which-key bind-key bind-map evil monokai-theme)))) -(custom-set-faces - ;; custom-set-faces was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - ) diff --git a/spacemacs-dragon b/spacemacs-dragon deleted file mode 100644 index 1dad657..0000000 --- a/spacemacs-dragon +++ /dev/null @@ -1,402 +0,0 @@ -;; -*- mode: emacs-lisp -*- -;; This file is loaded by Spacemacs at startup. -;; It must be stored in your home directory. - -(defun dotspacemacs/layers () - "Configuration Layers declaration. -You should not put any user code in this function besides modifying the variable -values." - (setq-default - ;; Base distribution to use. This is a layer contained in the directory - ;; `+distribution'. For now available distributions are `spacemacs-base' - ;; or `spacemacs'. (default 'spacemacs) - dotspacemacs-distribution 'spacemacs - ;; Lazy installation of layers (i.e. layers are installed only when a file - ;; with a supported type is opened). Possible values are `all', `unused' - ;; and `nil'. `unused' will lazy install only unused layers (i.e. layers - ;; not listed in variable `dotspacemacs-configuration-layers'), `all' will - ;; lazy install any layer that support lazy installation even the layers - ;; listed in `dotspacemacs-configuration-layers'. `nil' disable the lazy - ;; installation feature and you have to explicitly list a layer in the - ;; variable `dotspacemacs-configuration-layers' to install it. - ;; (default 'unused) - dotspacemacs-enable-lazy-installation 'unused - ;; If non-nil then Spacemacs will ask for confirmation before installing - ;; a layer lazily. (default t) - dotspacemacs-ask-for-lazy-installation t - ;; If non-nil layers with lazy install support are lazy installed. - ;; List of additional paths where to look for configuration layers. - ;; Paths must have a trailing slash (i.e. `~/.mycontribs/') - dotspacemacs-configuration-layer-path '() - ;; List of configuration layers to load. - dotspacemacs-configuration-layers - '(html - ;; ---------------------------------------------------------------- - ;; Example of useful layers you may want to use right away. - ;; Uncomment some layer names and press <SPC f e R> (Vim style) or - ;; <M-m f e R> (Emacs style) to install them. - ;; ---------------------------------------------------------------- - ivy - ;; auto-completion - ;; better-defaults - emacs-lisp - ;; git - ;; markdown - org - ;; (shell :variables - ;; shell-default-height 30 - ;; shell-default-position 'bottom) - ;; spell-checking - ;; syntax-checking - ;; version-control - ) - ;; List of additional packages that will be installed without being - ;; wrapped in a layer. If you need some configuration for these - ;; packages, then consider creating a layer. You can also put the - ;; configuration in `dotspacemacs/user-config'. - dotspacemacs-additional-packages '() - ;; A list of packages that cannot be updated. - dotspacemacs-frozen-packages '() - ;; A list of packages that will not be installed and loaded. - dotspacemacs-excluded-packages '(smartparens) - ;; Defines the behaviour of Spacemacs when installing packages. - ;; Possible values are `used-only', `used-but-keep-unused' and `all'. - ;; `used-only' installs only explicitly used packages and uninstall any - ;; unused packages as well as their unused dependencies. - ;; `used-but-keep-unused' installs only the used packages but won't uninstall - ;; them if they become unused. `all' installs *all* packages supported by - ;; Spacemacs and never uninstall them. (default is `used-only') - dotspacemacs-install-packages 'used-only)) - -(defun dotspacemacs/init () - "Initialization function. -This function is called at the very startup of Spacemacs initialization -before layers configuration. -You should not put any user code in there besides modifying the variable -values." - ;; This setq-default sexp is an exhaustive list of all the supported - ;; spacemacs settings. - (setq-default - ;; If non nil ELPA repositories are contacted via HTTPS whenever it's - ;; possible. Set it to nil if you have no way to use HTTPS in your - ;; environment, otherwise it is strongly recommended to let it set to t. - ;; This variable has no effect if Emacs is launched with the parameter - ;; `--insecure' which forces the value of this variable to nil. - ;; (default t) - dotspacemacs-elpa-https t - ;; Maximum allowed time in seconds to contact an ELPA repository. - dotspacemacs-elpa-timeout 5 - ;; If non nil then spacemacs will check for updates at startup - ;; when the current branch is not `develop'. Note that checking for - ;; new versions works via git commands, thus it calls GitHub services - ;; whenever you start Emacs. (default nil) - dotspacemacs-check-for-update t - ;; If non-nil, a form that evaluates to a package directory. For example, to - ;; use different package directories for different Emacs versions, set this - ;; to `emacs-version'. - dotspacemacs-elpa-subdirectory nil - ;; One of `vim', `emacs' or `hybrid'. - ;; `hybrid' is like `vim' except that `insert state' is replaced by the - ;; `hybrid state' with `emacs' key bindings. The value can also be a list - ;; with `:variables' keyword (similar to layers). Check the editing styles - ;; section of the documentation for details on available variables. - ;; (default 'vim) - dotspacemacs-editing-style 'vim - ;; If non nil output loading progress in `*Messages*' buffer. (default nil) - dotspacemacs-verbose-loading nil - ;; Specify the startup banner. Default value is `official', it displays - ;; the official spacemacs logo. An integer value is the index of text - ;; banner, `random' chooses a random text banner in `core/banners' - ;; directory. A string value must be a path to an image format supported - ;; by your Emacs build. - ;; If the value is nil then no banner is displayed. (default 'official) - dotspacemacs-startup-banner 'official - ;; List of items to show in startup buffer or an association list of - ;; the form `(list-type . list-size)`. If nil then it is disabled. - ;; Possible values for list-type are: - ;; `recents' `bookmarks' `projects' `agenda' `todos'." - ;; List sizes may be nil, in which case - ;; `spacemacs-buffer-startup-lists-length' takes effect. - dotspacemacs-startup-lists '((recents . 5) - (projects . 7)) - ;; True if the home buffer should respond to resize events. - dotspacemacs-startup-buffer-responsive t - ;; Default major mode of the scratch buffer (default `text-mode') - dotspacemacs-scratch-mode 'text-mode - ;; List of themes, the first of the list is loaded when spacemacs starts. - ;; Press <SPC> T n to cycle to the next theme in the list (works great - ;; with 2 themes variants, one dark and one light) - dotspacemacs-themes '(spacemacs-dark - spacemacs-light) - ;; If non nil the cursor color matches the state color in GUI Emacs. - dotspacemacs-colorize-cursor-according-to-state t - ;; Default font, or prioritized list of fonts. `powerline-scale' allows to - ;; quickly tweak the mode-line size to make separators look not too crappy. - dotspacemacs-default-font '("Source Code Pro" - :size 13 - :weight normal - :width normal - :powerline-scale 1.1) - ;; The leader key - dotspacemacs-leader-key "SPC" - ;; The key used for Emacs commands (M-x) (after pressing on the leader key). - ;; (default "SPC") - dotspacemacs-emacs-command-key "SPC" - ;; The key used for Vim Ex commands (default ":") - dotspacemacs-ex-command-key ":" - ;; The leader key accessible in `emacs state' and `insert state' - ;; (default "M-m") - dotspacemacs-emacs-leader-key "M-m" - ;; Major mode leader key is a shortcut key which is the equivalent of - ;; pressing `<leader> m`. Set it to `nil` to disable it. (default ",") - dotspacemacs-major-mode-leader-key "," - ;; Major mode leader key accessible in `emacs state' and `insert state'. - ;; (default "C-M-m") - dotspacemacs-major-mode-emacs-leader-key "C-M-m" - ;; These variables control whether separate commands are bound in the GUI to - ;; the key pairs C-i, TAB and C-m, RET. - ;; Setting it to a non-nil value, allows for separate commands under <C-i> - ;; and TAB or <C-m> and RET. - ;; In the terminal, these pairs are generally indistinguishable, so this only - ;; works in the GUI. (default nil) - dotspacemacs-distinguish-gui-tab nil - ;; If non nil `Y' is remapped to `y$' in Evil states. (default nil) - dotspacemacs-remap-Y-to-y$ nil - ;; If non-nil, the shift mappings `<' and `>' retain visual state if used - ;; there. (default t) - dotspacemacs-retain-visual-state-on-shift t - ;; If non-nil, J and K move lines up and down when in visual mode. - ;; (default nil) - dotspacemacs-visual-line-move-text nil - ;; If non nil, inverse the meaning of `g' in `:substitute' Evil ex-command. - ;; (default nil) - dotspacemacs-ex-substitute-global nil - ;; Name of the default layout (default "Default") - dotspacemacs-default-layout-name "Default" - ;; If non nil the default layout name is displayed in the mode-line. - ;; (default nil) - dotspacemacs-display-default-layout nil - ;; If non nil then the last auto saved layouts are resume automatically upon - ;; start. (default nil) - dotspacemacs-auto-resume-layouts nil - ;; Size (in MB) above which spacemacs will prompt to open the large file - ;; literally to avoid performance issues. Opening a file literally means that - ;; no major mode or minor modes are active. (default is 1) - dotspacemacs-large-file-size 1 - ;; Location where to auto-save files. Possible values are `original' to - ;; auto-save the file in-place, `cache' to auto-save the file to another - ;; file stored in the cache directory and `nil' to disable auto-saving. - ;; (default 'cache) - dotspacemacs-auto-save-file-location 'cache - ;; Maximum number of rollback slots to keep in the cache. (default 5) - dotspacemacs-max-rollback-slots 5 - ;; If non nil, `helm' will try to minimize the space it uses. (default nil) - dotspacemacs-helm-resize nil - ;; if non nil, the helm header is hidden when there is only one source. - ;; (default nil) - dotspacemacs-helm-no-header nil - ;; define the position to display `helm', options are `bottom', `top', - ;; `left', or `right'. (default 'bottom) - dotspacemacs-helm-position 'bottom - ;; Controls fuzzy matching in helm. If set to `always', force fuzzy matching - ;; in all non-asynchronous sources. If set to `source', preserve individual - ;; source settings. Else, disable fuzzy matching in all sources. - ;; (default 'always) - dotspacemacs-helm-use-fuzzy 'always - ;; If non nil the paste micro-state is enabled. When enabled pressing `p` - ;; several times cycle between the kill ring content. (default nil) - dotspacemacs-enable-paste-transient-state nil - ;; Which-key delay in seconds. The which-key buffer is the popup listing - ;; the commands bound to the current keystroke sequence. (default 0.4) - dotspacemacs-which-key-delay 0.4 - ;; Which-key frame position. Possible values are `right', `bottom' and - ;; `right-then-bottom'. right-then-bottom tries to display the frame to the - ;; right; if there is insufficient space it displays it at the bottom. - ;; (default 'bottom) - dotspacemacs-which-key-position 'bottom - ;; If non nil a progress bar is displayed when spacemacs is loading. This - ;; may increase the boot time on some systems and emacs builds, set it to - ;; nil to boost the loading time. (default t) - dotspacemacs-loading-progress-bar t - ;; If non nil the frame is fullscreen when Emacs starts up. (default nil) - ;; (Emacs 24.4+ only) - dotspacemacs-fullscreen-at-startup nil - ;; If non nil `spacemacs/toggle-fullscreen' will not use native fullscreen. - ;; Use to disable fullscreen animations in OSX. (default nil) - dotspacemacs-fullscreen-use-non-native nil - ;; If non nil the frame is maximized when Emacs starts up. - ;; Takes effect only if `dotspacemacs-fullscreen-at-startup' is nil. - ;; (default nil) (Emacs 24.4+ only) - dotspacemacs-maximized-at-startup nil - ;; A value from the range (0..100), in increasing opacity, which describes - ;; the transparency level of a frame when it's active or selected. - ;; Transparency can be toggled through `toggle-transparency'. (default 90) - dotspacemacs-active-transparency 90 - ;; A value from the range (0..100), in increasing opacity, which describes - ;; the transparency level of a frame when it's inactive or deselected. - ;; Transparency can be toggled through `toggle-transparency'. (default 90) - dotspacemacs-inactive-transparency 90 - ;; If non nil show the titles of transient states. (default t) - dotspacemacs-show-transient-state-title t - ;; If non nil show the color guide hint for transient state keys. (default t) - dotspacemacs-show-transient-state-color-guide t - ;; If non nil unicode symbols are displayed in the mode line. (default t) - dotspacemacs-mode-line-unicode-symbols t - ;; If non nil smooth scrolling (native-scrolling) is enabled. Smooth - ;; scrolling overrides the default behavior of Emacs which recenters point - ;; when it reaches the top or bottom of the screen. (default t) - dotspacemacs-smooth-scrolling t - ;; Control line numbers activation. - ;; If set to `t' or `relative' line numbers are turned on in all `prog-mode' and - ;; `text-mode' derivatives. If set to `relative', line numbers are relative. - ;; This variable can also be set to a property list for finer control: - ;; '(:relative nil - ;; :disabled-for-modes dired-mode - ;; doc-view-mode - ;; markdown-mode - ;; org-mode - ;; pdf-view-mode - ;; text-mode - ;; :size-limit-kb 1000) - ;; (default nil) - dotspacemacs-line-numbers nil - ;; Code folding method. Possible values are `evil' and `origami'. - ;; (default 'evil) - dotspacemacs-folding-method 'evil - ;; If non-nil smartparens-strict-mode will be enabled in programming modes. - ;; (default nil) - dotspacemacs-smartparens-strict-mode nil - ;; If non-nil pressing the closing parenthesis `)' key in insert mode passes - ;; over any automatically added closing parenthesis, bracket, quote, etc… - ;; This can be temporary disabled by pressing `C-q' before `)'. (default nil) - dotspacemacs-smart-closing-parenthesis nil - ;; Select a scope to highlight delimiters. Possible values are `any', - ;; `current', `all' or `nil'. Default is `all' (highlight any scope and - ;; emphasis the current one). (default 'all) - dotspacemacs-highlight-delimiters 'all - ;; If non nil, advise quit functions to keep server open when quitting. - ;; (default nil) - dotspacemacs-persistent-server nil - ;; List of search tool executable names. Spacemacs uses the first installed - ;; tool of the list. Supported tools are `ag', `pt', `ack' and `grep'. - ;; (default '("ag" "pt" "ack" "grep")) - dotspacemacs-search-tools '("ag" "pt" "ack" "grep") - ;; The default package repository used if no explicit repository has been - ;; specified with an installed package. - ;; Not used for now. (default nil) - dotspacemacs-default-package-repository nil - ;; Delete whitespace while saving buffer. Possible values are `all' - ;; to aggressively delete empty line and long sequences of whitespace, - ;; `trailing' to delete only the whitespace at end of lines, `changed'to - ;; delete only whitespace for changed lines or `nil' to disable cleanup. - ;; (default nil) - dotspacemacs-whitespace-cleanup nil - )) - -(defun dotspacemacs/user-init () - "Initialization function for user code. -It is called immediately after `dotspacemacs/init', before layer configuration -executes. - This function is mostly useful for variables that need to be set -before packages are loaded. If you are unsure, you should try in setting them in -`dotspacemacs/user-config' first." - (org-babel-do-load-languages - 'org-babel-load-languages - '((emacs-lisp . nil) - (R . t))) - (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") - (autoload 'org-mks "org-macs") - (autoload 'org-show-all "org") - (autoload 'org-line-number-display-width "org-compat") - ) - -(defun dotspacemacs/user-config () - "Configuration function for user code. -This function is called at the very end of Spacemacs initialization after -layers configuration. -This is the place where most of your configurations should be done. Unless it is -explicitly specified that a variable should be set before a package is loaded, -you should place your code here." - - (setq my-running-journal "~/www/running-2019.org") - - (with-eval-after-load 'org - (autoload 'org-babel-execute:emacs-lisp "ob-emacs-lisp") - (org-babel-do-load-languages - 'org-babel-load-languages - '((R . t) - (emacs-lisp . t))) - - (add-hook 'org-capture-mode-hook 'org-columns) - (setq org-capture-templates - `( - ("r" "Run" entry (file+olp+datetree ,my-running-journal "Running") - ,(string-join '( - "* Run" - ":PROPERTIES:" - ":DistanceMiles:" - ":ElapsedTime:" - ":Shoes:" - ":Effort:" - ":RunType:" - ":StartTime:" - ":Category: Run" - ":END:" - "%t" - "%?" - ) "\n") - :tree-type week - ) - ("w" "Log weight" entry (file+olp+datetree ,my-running-journal "Weight") - ,(string-join '( - "* Weight" - ":PROPERTIES:" - ":Weight: %^{Weight}" - ":END:" - "%t" - ) "\n") - :tree-type week - ))) - (setq org-agenda-files '("~/org/todo.org")) - - (setq org-todo-keywords - '((sequence "TODO" "WAIT" "|" "DONE" "CANCELED"))) - ) -) - -;; Do not write anything past this comment. This is where Emacs will -;; auto-generate custom variable definitions. -(custom-set-variables - ;; custom-set-variables was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - '(package-selected-packages - (quote - (web-mode tagedit slim-mode scss-mode sass-mode pug-mode haml-mode emmet-mode org-projectile org-category-capture org-present org-pomodoro alert log4e gntp org-mime org-download htmlize gnuplot ws-butler winum which-key wgrep volatile-highlights vi-tilde-fringe uuidgen use-package toc-org spaceline powerline smex restart-emacs request rainbow-delimiters popwin persp-mode pcre2el paradox spinner org-plus-contrib org-bullets open-junk-file neotree move-text macrostep lorem-ipsum linum-relative link-hint ivy-hydra indent-guide hydra lv hungry-delete hl-todo highlight-parentheses highlight-numbers parent-mode highlight-indentation helm-make google-translate golden-ratio flx-ido flx fill-column-indicator fancy-battery eyebrowse expand-region exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist highlight evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state smartparens evil-indent-plus evil-iedit-state iedit evil-exchange evil-escape evil-ediff evil-args evil-anzu anzu evil goto-chg undo-tree eval-sexp-fu elisp-slime-nav dumb-jump popup f dash s diminish define-word counsel-projectile projectile pkg-info epl counsel swiper ivy column-enforce-mode clean-aindent-mode bind-map bind-key auto-highlight-symbol auto-compile packed async aggressive-indent adaptive-wrap ace-window ace-link avy)))) -(custom-set-faces - ;; custom-set-faces was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - ) -(defun dotspacemacs/emacs-custom-settings () - "Emacs custom settings. -This is an auto-generated function, do not modify its content directly, use -Emacs customize menu instead. -This function is called at the very end of Spacemacs initialization." -(custom-set-variables - ;; custom-set-variables was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - '(package-selected-packages - (quote - (yasnippet web-mode web-beautify tagedit slim-mode scss-mode sass-mode pug-mode prettier-js impatient-mode simple-httpd helm-css-scss helm helm-core haml-mode emmet-mode counsel-css company-web web-completion-data company add-node-modules-path org-projectile org-category-capture org-present org-pomodoro alert log4e gntp org-mime org-download htmlize gnuplot ws-butler winum which-key wgrep volatile-highlights vi-tilde-fringe uuidgen use-package toc-org spaceline powerline smex restart-emacs request rainbow-delimiters popwin persp-mode pcre2el paradox spinner org-plus-contrib org-bullets open-junk-file neotree move-text macrostep lorem-ipsum linum-relative link-hint ivy-hydra indent-guide hydra lv hungry-delete hl-todo highlight-parentheses highlight-numbers parent-mode highlight-indentation helm-make google-translate golden-ratio flx-ido flx fill-column-indicator fancy-battery eyebrowse expand-region exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist highlight evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state smartparens evil-indent-plus evil-iedit-state iedit evil-exchange evil-escape evil-ediff evil-args evil-anzu anzu evil goto-chg undo-tree eval-sexp-fu elisp-slime-nav dumb-jump popup f dash s diminish define-word counsel-projectile projectile pkg-info epl counsel swiper ivy column-enforce-mode clean-aindent-mode bind-map bind-key auto-highlight-symbol auto-compile packed async aggressive-indent adaptive-wrap ace-window ace-link avy)))) -(custom-set-faces - ;; custom-set-faces was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - ) -) diff --git a/ssh/config b/ssh/config deleted file mode 100644 index e69de29..0000000 --- a/ssh/config +++ /dev/null diff --git a/unicomp-spring-xkb b/unicomp-spring-xkb deleted file mode 100644 index b59e210..0000000 --- a/unicomp-spring-xkb +++ /dev/null @@ -1,1845 +0,0 @@ -xkb_keymap { -xkb_keycodes "evdev+aliases(qwerty)" { - minimum = 8; - maximum = 255; - <ESC> = 9; - <AE01> = 10; - <AE02> = 11; - <AE03> = 12; - <AE04> = 13; - <AE05> = 14; - <AE06> = 15; - <AE07> = 16; - <AE08> = 17; - <AE09> = 18; - <AE10> = 19; - <AE11> = 20; - <AE12> = 21; - <BKSP> = 22; - <TAB> = 23; - <AD01> = 24; - <AD02> = 25; - <AD03> = 26; - <AD04> = 27; - <AD05> = 28; - <AD06> = 29; - <AD07> = 30; - <AD08> = 31; - <AD09> = 32; - <AD10> = 33; - <AD11> = 34; - <AD12> = 35; - <RTRN> = 36; - <LCTL> = 37; - <AC01> = 38; - <AC02> = 39; - <AC03> = 40; - <AC04> = 41; - <AC05> = 42; - <AC06> = 43; - <AC07> = 44; - <AC08> = 45; - <AC09> = 46; - <AC10> = 47; - <AC11> = 48; - <TLDE> = 49; - <LFSH> = 50; - <BKSL> = 51; - <AB01> = 52; - <AB02> = 53; - <AB03> = 54; - <AB04> = 55; - <AB05> = 56; - <AB06> = 57; - <AB07> = 58; - <AB08> = 59; - <AB09> = 60; - <AB10> = 61; - <RTSH> = 62; - <KPMU> = 63; - <LALT> = 64; - <SPCE> = 65; - <CAPS> = 66; - <FK01> = 67; - <FK02> = 68; - <FK03> = 69; - <FK04> = 70; - <FK05> = 71; - <FK06> = 72; - <FK07> = 73; - <FK08> = 74; - <FK09> = 75; - <FK10> = 76; - <NMLK> = 77; - <SCLK> = 78; - <KP7> = 79; - <KP8> = 80; - <KP9> = 81; - <KPSU> = 82; - <KP4> = 83; - <KP5> = 84; - <KP6> = 85; - <KPAD> = 86; - <KP1> = 87; - <KP2> = 88; - <KP3> = 89; - <KP0> = 90; - <KPDL> = 91; - <LVL3> = 92; - <LSGT> = 94; - <FK11> = 95; - <FK12> = 96; - <AB11> = 97; - <KATA> = 98; - <HIRA> = 99; - <HENK> = 100; - <HKTG> = 101; - <MUHE> = 102; - <JPCM> = 103; - <KPEN> = 104; - <RCTL> = 105; - <KPDV> = 106; - <PRSC> = 107; - <RALT> = 108; - <LNFD> = 109; - <HOME> = 110; - <UP> = 111; - <PGUP> = 112; - <LEFT> = 113; - <RGHT> = 114; - <END> = 115; - <DOWN> = 116; - <PGDN> = 117; - <INS> = 118; - <DELE> = 119; - <I120> = 120; - <MUTE> = 121; - <VOL-> = 122; - <VOL+> = 123; - <POWR> = 124; - <KPEQ> = 125; - <I126> = 126; - <PAUS> = 127; - <I128> = 128; - <I129> = 129; - <HNGL> = 130; - <HJCV> = 131; - <AE13> = 132; - <LWIN> = 133; - <RWIN> = 134; - <COMP> = 135; - <STOP> = 136; - <AGAI> = 137; - <PROP> = 138; - <UNDO> = 139; - <FRNT> = 140; - <COPY> = 141; - <OPEN> = 142; - <PAST> = 143; - <FIND> = 144; - <CUT> = 145; - <HELP> = 146; - <I147> = 147; - <I148> = 148; - <I149> = 149; - <I150> = 150; - <I151> = 151; - <I152> = 152; - <I153> = 153; - <I154> = 154; - <I155> = 155; - <I156> = 156; - <I157> = 157; - <I158> = 158; - <I159> = 159; - <I160> = 160; - <I161> = 161; - <I162> = 162; - <I163> = 163; - <I164> = 164; - <I165> = 165; - <I166> = 166; - <I167> = 167; - <I168> = 168; - <I169> = 169; - <I170> = 170; - <I171> = 171; - <I172> = 172; - <I173> = 173; - <I174> = 174; - <I175> = 175; - <I176> = 176; - <I177> = 177; - <I178> = 178; - <I179> = 179; - <I180> = 180; - <I181> = 181; - <I182> = 182; - <I183> = 183; - <I184> = 184; - <I185> = 185; - <I186> = 186; - <I187> = 187; - <I188> = 188; - <I189> = 189; - <I190> = 190; - <FK13> = 191; - <FK14> = 192; - <FK15> = 193; - <FK16> = 194; - <FK17> = 195; - <FK18> = 196; - <FK19> = 197; - <FK20> = 198; - <FK21> = 199; - <FK22> = 200; - <FK23> = 201; - <FK24> = 202; - <MDSW> = 203; - <ALT> = 204; - <META> = 205; - <SUPR> = 206; - <HYPR> = 207; - <I208> = 208; - <I209> = 209; - <I210> = 210; - <I211> = 211; - <I212> = 212; - <I213> = 213; - <I214> = 214; - <I215> = 215; - <I216> = 216; - <I217> = 217; - <I218> = 218; - <I219> = 219; - <I220> = 220; - <I221> = 221; - <I222> = 222; - <I223> = 223; - <I224> = 224; - <I225> = 225; - <I226> = 226; - <I227> = 227; - <I228> = 228; - <I229> = 229; - <I230> = 230; - <I231> = 231; - <I232> = 232; - <I233> = 233; - <I234> = 234; - <I235> = 235; - <I236> = 236; - <I237> = 237; - <I238> = 238; - <I239> = 239; - <I240> = 240; - <I241> = 241; - <I242> = 242; - <I243> = 243; - <I244> = 244; - <I245> = 245; - <I246> = 246; - <I247> = 247; - <I248> = 248; - <I249> = 249; - <I250> = 250; - <I251> = 251; - <I252> = 252; - <I253> = 253; - indicator 1 = "Caps Lock"; - indicator 2 = "Num Lock"; - indicator 3 = "Scroll Lock"; - indicator 4 = "Compose"; - indicator 5 = "Kana"; - indicator 6 = "Sleep"; - indicator 7 = "Suspend"; - indicator 8 = "Mute"; - indicator 9 = "Misc"; - indicator 10 = "Mail"; - indicator 11 = "Charging"; - virtual indicator 12 = "Shift Lock"; - virtual indicator 13 = "Group 2"; - virtual indicator 14 = "Mouse Keys"; - alias <AC12> = <BKSL>; - alias <MENU> = <COMP>; - alias <HZTG> = <TLDE>; - alias <LMTA> = <LWIN>; - alias <RMTA> = <RWIN>; - alias <ALGR> = <RALT>; - alias <KPPT> = <I129>; - alias <LatQ> = <AD01>; - alias <LatW> = <AD02>; - alias <LatE> = <AD03>; - alias <LatR> = <AD04>; - alias <LatT> = <AD05>; - alias <LatY> = <AD06>; - alias <LatU> = <AD07>; - alias <LatI> = <AD08>; - alias <LatO> = <AD09>; - alias <LatP> = <AD10>; - alias <LatA> = <AC01>; - alias <LatS> = <AC02>; - alias <LatD> = <AC03>; - alias <LatF> = <AC04>; - alias <LatG> = <AC05>; - alias <LatH> = <AC06>; - alias <LatJ> = <AC07>; - alias <LatK> = <AC08>; - alias <LatL> = <AC09>; - alias <LatZ> = <AB01>; - alias <LatX> = <AB02>; - alias <LatC> = <AB03>; - alias <LatV> = <AB04>; - alias <LatB> = <AB05>; - alias <LatN> = <AB06>; - alias <LatM> = <AB07>; -}; - -xkb_types "complete" { - - virtual_modifiers NumLock,Alt,LevelThree,LAlt,RAlt,RControl,LControl,ScrollLock,LevelFive,AltGr,Meta,Super,Hyper; - - type "ONE_LEVEL" { - modifiers= none; - level_name[Level1]= "Any"; - }; - type "TWO_LEVEL" { - modifiers= Shift; - map[Shift]= Level2; - level_name[Level1]= "Base"; - level_name[Level2]= "Shift"; - }; - type "ALPHABETIC" { - modifiers= Shift+Lock; - map[Shift]= Level2; - map[Lock]= Level2; - level_name[Level1]= "Base"; - level_name[Level2]= "Caps"; - }; - type "KEYPAD" { - modifiers= Shift+NumLock; - map[Shift]= Level2; - map[NumLock]= Level2; - level_name[Level1]= "Base"; - level_name[Level2]= "Number"; - }; - type "SHIFT+ALT" { - modifiers= Shift+Alt; - map[Shift+Alt]= Level2; - level_name[Level1]= "Base"; - level_name[Level2]= "Shift+Alt"; - }; - type "PC_CONTROL_LEVEL2" { - modifiers= Control; - map[Control]= Level2; - level_name[Level1]= "Base"; - level_name[Level2]= "Control"; - }; - type "PC_LCONTROL_LEVEL2" { - modifiers= LControl; - map[LControl]= Level2; - level_name[Level1]= "Base"; - level_name[Level2]= "LControl"; - }; - type "PC_RCONTROL_LEVEL2" { - modifiers= RControl; - map[RControl]= Level2; - level_name[Level1]= "Base"; - level_name[Level2]= "RControl"; - }; - type "PC_ALT_LEVEL2" { - modifiers= Alt; - map[Alt]= Level2; - level_name[Level1]= "Base"; - level_name[Level2]= "Alt"; - }; - type "PC_LALT_LEVEL2" { - modifiers= LAlt; - map[LAlt]= Level2; - level_name[Level1]= "Base"; - level_name[Level2]= "LAlt"; - }; - type "PC_RALT_LEVEL2" { - modifiers= RAlt; - map[RAlt]= Level2; - level_name[Level1]= "Base"; - level_name[Level2]= "RAlt"; - }; - type "CTRL+ALT" { - modifiers= Shift+Control+Alt+LevelThree; - map[Shift]= Level2; - preserve[Shift]= Shift; - map[LevelThree]= Level3; - map[Shift+LevelThree]= Level4; - preserve[Shift+LevelThree]= Shift; - map[Control+Alt]= Level5; - level_name[Level1]= "Base"; - level_name[Level2]= "Shift"; - level_name[Level3]= "Alt Base"; - level_name[Level4]= "Shift Alt"; - level_name[Level5]= "Ctrl+Alt"; - }; - type "LOCAL_EIGHT_LEVEL" { - modifiers= Shift+Lock+Control+LevelThree; - map[Shift+Lock]= Level1; - map[Shift]= Level2; - map[Lock]= Level2; - map[LevelThree]= Level3; - map[Shift+Lock+LevelThree]= Level3; - map[Shift+LevelThree]= Level4; - map[Lock+LevelThree]= Level4; - map[Control]= Level5; - map[Shift+Lock+Control]= Level5; - map[Shift+Control]= Level6; - map[Lock+Control]= Level6; - map[Control+LevelThree]= Level7; - map[Shift+Lock+Control+LevelThree]= Level7; - map[Shift+Control+LevelThree]= Level8; - map[Lock+Control+LevelThree]= Level8; - level_name[Level1]= "Base"; - level_name[Level2]= "Shift"; - level_name[Level3]= "Level3"; - level_name[Level4]= "Shift Level3"; - level_name[Level5]= "Ctrl"; - level_name[Level6]= "Shift Ctrl"; - level_name[Level7]= "Level3 Ctrl"; - level_name[Level8]= "Shift Level3 Ctrl"; - }; - type "THREE_LEVEL" { - modifiers= Shift+LevelThree; - map[Shift]= Level2; - map[LevelThree]= Level3; - map[Shift+LevelThree]= Level3; - level_name[Level1]= "Base"; - level_name[Level2]= "Shift"; - level_name[Level3]= "Level3"; - }; - type "EIGHT_LEVEL" { - modifiers= Shift+LevelThree+LevelFive; - map[Shift]= Level2; - map[LevelThree]= Level3; - map[Shift+LevelThree]= Level4; - map[LevelFive]= Level5; - map[Shift+LevelFive]= Level6; - map[LevelThree+LevelFive]= Level7; - map[Shift+LevelThree+LevelFive]= Level8; - level_name[Level1]= "Base"; - level_name[Level2]= "Shift"; - level_name[Level3]= "Alt Base"; - level_name[Level4]= "Shift Alt"; - level_name[Level5]= "X"; - level_name[Level6]= "X Shift"; - level_name[Level7]= "X Alt Base"; - level_name[Level8]= "X Shift Alt"; - }; - type "EIGHT_LEVEL_ALPHABETIC" { - modifiers= Shift+Lock+LevelThree+LevelFive; - map[Shift]= Level2; - map[Lock]= Level2; - map[LevelThree]= Level3; - map[Shift+LevelThree]= Level4; - map[Lock+LevelThree]= Level4; - map[Shift+Lock+LevelThree]= Level3; - map[LevelFive]= Level5; - map[Shift+LevelFive]= Level6; - map[Lock+LevelFive]= Level6; - map[LevelThree+LevelFive]= Level7; - map[Shift+LevelThree+LevelFive]= Level8; - map[Lock+LevelThree+LevelFive]= Level8; - map[Shift+Lock+LevelThree+LevelFive]= Level7; - level_name[Level1]= "Base"; - level_name[Level2]= "Shift"; - level_name[Level3]= "Alt Base"; - level_name[Level4]= "Shift Alt"; - level_name[Level5]= "X"; - level_name[Level6]= "X Shift"; - level_name[Level7]= "X Alt Base"; - level_name[Level8]= "X Shift Alt"; - }; - type "EIGHT_LEVEL_SEMIALPHABETIC" { - modifiers= Shift+Lock+LevelThree+LevelFive; - map[Shift]= Level2; - map[Lock]= Level2; - map[LevelThree]= Level3; - map[Shift+LevelThree]= Level4; - map[Lock+LevelThree]= Level3; - preserve[Lock+LevelThree]= Lock; - map[Shift+Lock+LevelThree]= Level4; - preserve[Shift+Lock+LevelThree]= Lock; - map[LevelFive]= Level5; - map[Shift+LevelFive]= Level6; - map[Lock+LevelFive]= Level6; - preserve[Lock+LevelFive]= Lock; - map[Shift+Lock+LevelFive]= Level6; - preserve[Shift+Lock+LevelFive]= Lock; - map[LevelThree+LevelFive]= Level7; - map[Shift+LevelThree+LevelFive]= Level8; - map[Lock+LevelThree+LevelFive]= Level7; - preserve[Lock+LevelThree+LevelFive]= Lock; - map[Shift+Lock+LevelThree+LevelFive]= Level8; - preserve[Shift+Lock+LevelThree+LevelFive]= Lock; - level_name[Level1]= "Base"; - level_name[Level2]= "Shift"; - level_name[Level3]= "Alt Base"; - level_name[Level4]= "Shift Alt"; - level_name[Level5]= "X"; - level_name[Level6]= "X Shift"; - level_name[Level7]= "X Alt Base"; - level_name[Level8]= "X Shift Alt"; - }; - type "FOUR_LEVEL" { - modifiers= Shift+LevelThree; - map[Shift]= Level2; - map[LevelThree]= Level3; - map[Shift+LevelThree]= Level4; - level_name[Level1]= "Base"; - level_name[Level2]= "Shift"; - level_name[Level3]= "Alt Base"; - level_name[Level4]= "Shift Alt"; - }; - type "FOUR_LEVEL_ALPHABETIC" { - modifiers= Shift+Lock+LevelThree; - map[Shift]= Level2; - map[Lock]= Level2; - map[LevelThree]= Level3; - map[Shift+LevelThree]= Level4; - map[Lock+LevelThree]= Level4; - map[Shift+Lock+LevelThree]= Level3; - level_name[Level1]= "Base"; - level_name[Level2]= "Shift"; - level_name[Level3]= "Alt Base"; - level_name[Level4]= "Shift Alt"; - }; - type "FOUR_LEVEL_SEMIALPHABETIC" { - modifiers= Shift+Lock+LevelThree; - map[Shift]= Level2; - map[Lock]= Level2; - map[LevelThree]= Level3; - map[Shift+LevelThree]= Level4; - map[Lock+LevelThree]= Level3; - preserve[Lock+LevelThree]= Lock; - map[Shift+Lock+LevelThree]= Level4; - preserve[Shift+Lock+LevelThree]= Lock; - level_name[Level1]= "Base"; - level_name[Level2]= "Shift"; - level_name[Level3]= "Alt Base"; - level_name[Level4]= "Shift Alt"; - }; - type "FOUR_LEVEL_MIXED_KEYPAD" { - modifiers= Shift+NumLock+LevelThree; - map[Shift+NumLock]= Level1; - map[NumLock]= Level2; - map[Shift]= Level2; - map[LevelThree]= Level3; - map[NumLock+LevelThree]= Level3; - map[Shift+LevelThree]= Level4; - map[Shift+NumLock+LevelThree]= Level4; - level_name[Level1]= "Base"; - level_name[Level2]= "Number"; - level_name[Level3]= "Alt Base"; - level_name[Level4]= "Shift Alt"; - }; - type "FOUR_LEVEL_X" { - modifiers= Shift+Control+Alt+LevelThree; - map[LevelThree]= Level2; - map[Shift+LevelThree]= Level3; - map[Control+Alt]= Level4; - level_name[Level1]= "Base"; - level_name[Level2]= "Alt Base"; - level_name[Level3]= "Shift Alt"; - level_name[Level4]= "Ctrl+Alt"; - }; - type "SEPARATE_CAPS_AND_SHIFT_ALPHABETIC" { - modifiers= Shift+Lock+LevelThree; - map[Shift]= Level2; - map[Lock]= Level4; - preserve[Lock]= Lock; - map[LevelThree]= Level3; - map[Shift+LevelThree]= Level4; - map[Lock+LevelThree]= Level3; - preserve[Lock+LevelThree]= Lock; - map[Shift+Lock+LevelThree]= Level3; - level_name[Level1]= "Base"; - level_name[Level2]= "Shift"; - level_name[Level3]= "AltGr Base"; - level_name[Level4]= "Shift AltGr"; - }; - type "FOUR_LEVEL_PLUS_LOCK" { - modifiers= Shift+Lock+LevelThree; - map[Shift]= Level2; - map[LevelThree]= Level3; - map[Shift+LevelThree]= Level4; - map[Lock]= Level5; - map[Shift+Lock]= Level2; - map[Lock+LevelThree]= Level3; - map[Shift+Lock+LevelThree]= Level4; - level_name[Level1]= "Base"; - level_name[Level2]= "Shift"; - level_name[Level3]= "Alt Base"; - level_name[Level4]= "Shift Alt"; - level_name[Level5]= "Lock"; - }; - type "FOUR_LEVEL_KEYPAD" { - modifiers= Shift+NumLock+LevelThree; - map[Shift]= Level2; - map[NumLock]= Level2; - map[LevelThree]= Level3; - map[Shift+LevelThree]= Level4; - map[NumLock+LevelThree]= Level4; - map[Shift+NumLock+LevelThree]= Level3; - level_name[Level1]= "Base"; - level_name[Level2]= "Number"; - level_name[Level3]= "Alt Base"; - level_name[Level4]= "Alt Number"; - }; -}; - -xkb_compatibility "complete" { - - virtual_modifiers NumLock,Alt,LevelThree,LAlt,RAlt,RControl,LControl,ScrollLock,LevelFive,AltGr,Meta,Super,Hyper; - - interpret.useModMapMods= AnyLevel; - interpret.repeat= False; - interpret.locking= False; - interpret ISO_Level2_Latch+Exactly(Shift) { - useModMapMods=level1; - action= LatchMods(modifiers=Shift,clearLocks,latchToLock); - }; - interpret Shift_Lock+AnyOf(Shift+Lock) { - action= LockMods(modifiers=Shift); - }; - interpret Num_Lock+AnyOf(all) { - virtualModifier= NumLock; - action= LockMods(modifiers=NumLock); - }; - interpret ISO_Level3_Shift+AnyOf(all) { - virtualModifier= LevelThree; - useModMapMods=level1; - action= SetMods(modifiers=LevelThree,clearLocks); - }; - interpret ISO_Level3_Latch+AnyOf(all) { - virtualModifier= LevelThree; - useModMapMods=level1; - action= LatchMods(modifiers=LevelThree,clearLocks,latchToLock); - }; - interpret ISO_Level3_Lock+AnyOf(all) { - virtualModifier= LevelThree; - useModMapMods=level1; - action= LockMods(modifiers=LevelThree); - }; - interpret Alt_L+AnyOf(all) { - virtualModifier= Alt; - action= SetMods(modifiers=modMapMods,clearLocks); - }; - interpret Alt_R+AnyOf(all) { - virtualModifier= Alt; - action= SetMods(modifiers=modMapMods,clearLocks); - }; - interpret Meta_L+AnyOf(all) { - virtualModifier= Meta; - action= SetMods(modifiers=modMapMods,clearLocks); - }; - interpret Meta_R+AnyOf(all) { - virtualModifier= Meta; - action= SetMods(modifiers=modMapMods,clearLocks); - }; - interpret Super_L+AnyOf(all) { - virtualModifier= Super; - action= SetMods(modifiers=modMapMods,clearLocks); - }; - interpret Super_R+AnyOf(all) { - virtualModifier= Super; - action= SetMods(modifiers=modMapMods,clearLocks); - }; - interpret Hyper_L+AnyOf(all) { - virtualModifier= Hyper; - action= SetMods(modifiers=modMapMods,clearLocks); - }; - interpret Hyper_R+AnyOf(all) { - virtualModifier= Hyper; - action= SetMods(modifiers=modMapMods,clearLocks); - }; - interpret Scroll_Lock+AnyOf(all) { - virtualModifier= ScrollLock; - action= LockMods(modifiers=modMapMods); - }; - interpret ISO_Level5_Shift+AnyOf(all) { - virtualModifier= LevelFive; - useModMapMods=level1; - action= SetMods(modifiers=LevelFive,clearLocks); - }; - interpret ISO_Level5_Latch+AnyOf(all) { - virtualModifier= LevelFive; - useModMapMods=level1; - action= LatchMods(modifiers=LevelFive,clearLocks,latchToLock); - }; - interpret ISO_Level5_Lock+AnyOf(all) { - virtualModifier= LevelFive; - useModMapMods=level1; - action= LockMods(modifiers=LevelFive); - }; - interpret Mode_switch+AnyOfOrNone(all) { - virtualModifier= AltGr; - useModMapMods=level1; - action= SetGroup(group=+1); - }; - interpret ISO_Level3_Shift+AnyOfOrNone(all) { - action= SetMods(modifiers=LevelThree,clearLocks); - }; - interpret ISO_Level3_Latch+AnyOfOrNone(all) { - action= LatchMods(modifiers=LevelThree,clearLocks,latchToLock); - }; - interpret ISO_Level3_Lock+AnyOfOrNone(all) { - action= LockMods(modifiers=LevelThree); - }; - interpret ISO_Group_Latch+AnyOfOrNone(all) { - virtualModifier= AltGr; - useModMapMods=level1; - action= LatchGroup(group=2); - }; - interpret ISO_Next_Group+AnyOfOrNone(all) { - virtualModifier= AltGr; - useModMapMods=level1; - action= LockGroup(group=+1); - }; - interpret ISO_Prev_Group+AnyOfOrNone(all) { - virtualModifier= AltGr; - useModMapMods=level1; - action= LockGroup(group=-1); - }; - interpret ISO_First_Group+AnyOfOrNone(all) { - action= LockGroup(group=1); - }; - interpret ISO_Last_Group+AnyOfOrNone(all) { - action= LockGroup(group=2); - }; - interpret KP_1+AnyOfOrNone(all) { - repeat= True; - action= MovePtr(x=-1,y=+1); - }; - interpret KP_End+AnyOfOrNone(all) { - repeat= True; - action= MovePtr(x=-1,y=+1); - }; - interpret KP_2+AnyOfOrNone(all) { - repeat= True; - action= MovePtr(x=+0,y=+1); - }; - interpret KP_Down+AnyOfOrNone(all) { - repeat= True; - action= MovePtr(x=+0,y=+1); - }; - interpret KP_3+AnyOfOrNone(all) { - repeat= True; - action= MovePtr(x=+1,y=+1); - }; - interpret KP_Next+AnyOfOrNone(all) { - repeat= True; - action= MovePtr(x=+1,y=+1); - }; - interpret KP_4+AnyOfOrNone(all) { - repeat= True; - action= MovePtr(x=-1,y=+0); - }; - interpret KP_Left+AnyOfOrNone(all) { - repeat= True; - action= MovePtr(x=-1,y=+0); - }; - interpret KP_6+AnyOfOrNone(all) { - repeat= True; - action= MovePtr(x=+1,y=+0); - }; - interpret KP_Right+AnyOfOrNone(all) { - repeat= True; - action= MovePtr(x=+1,y=+0); - }; - interpret KP_7+AnyOfOrNone(all) { - repeat= True; - action= MovePtr(x=-1,y=-1); - }; - interpret KP_Home+AnyOfOrNone(all) { - repeat= True; - action= MovePtr(x=-1,y=-1); - }; - interpret KP_8+AnyOfOrNone(all) { - repeat= True; - action= MovePtr(x=+0,y=-1); - }; - interpret KP_Up+AnyOfOrNone(all) { - repeat= True; - action= MovePtr(x=+0,y=-1); - }; - interpret KP_9+AnyOfOrNone(all) { - repeat= True; - action= MovePtr(x=+1,y=-1); - }; - interpret KP_Prior+AnyOfOrNone(all) { - repeat= True; - action= MovePtr(x=+1,y=-1); - }; - interpret KP_5+AnyOfOrNone(all) { - repeat= True; - action= PtrBtn(button=default); - }; - interpret KP_Begin+AnyOfOrNone(all) { - repeat= True; - action= PtrBtn(button=default); - }; - interpret KP_F2+AnyOfOrNone(all) { - repeat= True; - action= SetPtrDflt(affect=button,button=1); - }; - interpret KP_Divide+AnyOfOrNone(all) { - repeat= True; - action= SetPtrDflt(affect=button,button=1); - }; - interpret KP_F3+AnyOfOrNone(all) { - repeat= True; - action= SetPtrDflt(affect=button,button=2); - }; - interpret KP_Multiply+AnyOfOrNone(all) { - repeat= True; - action= SetPtrDflt(affect=button,button=2); - }; - interpret KP_F4+AnyOfOrNone(all) { - repeat= True; - action= SetPtrDflt(affect=button,button=3); - }; - interpret KP_Subtract+AnyOfOrNone(all) { - repeat= True; - action= SetPtrDflt(affect=button,button=3); - }; - interpret KP_Separator+AnyOfOrNone(all) { - repeat= True; - action= PtrBtn(button=default,count=2); - }; - interpret KP_Add+AnyOfOrNone(all) { - repeat= True; - action= PtrBtn(button=default,count=2); - }; - interpret KP_0+AnyOfOrNone(all) { - repeat= True; - action= LockPtrBtn(button=default,affect=lock); - }; - interpret KP_Insert+AnyOfOrNone(all) { - repeat= True; - action= LockPtrBtn(button=default,affect=lock); - }; - interpret KP_Decimal+AnyOfOrNone(all) { - repeat= True; - action= LockPtrBtn(button=default,affect=unlock); - }; - interpret KP_Delete+AnyOfOrNone(all) { - repeat= True; - action= LockPtrBtn(button=default,affect=unlock); - }; - interpret F25+AnyOfOrNone(all) { - repeat= True; - action= SetPtrDflt(affect=button,button=1); - }; - interpret F26+AnyOfOrNone(all) { - repeat= True; - action= SetPtrDflt(affect=button,button=2); - }; - interpret F27+AnyOfOrNone(all) { - repeat= True; - action= MovePtr(x=-1,y=-1); - }; - interpret F29+AnyOfOrNone(all) { - repeat= True; - action= MovePtr(x=+1,y=-1); - }; - interpret F31+AnyOfOrNone(all) { - repeat= True; - action= PtrBtn(button=default); - }; - interpret F33+AnyOfOrNone(all) { - repeat= True; - action= MovePtr(x=-1,y=+1); - }; - interpret F35+AnyOfOrNone(all) { - repeat= True; - action= MovePtr(x=+1,y=+1); - }; - interpret Pointer_Button_Dflt+AnyOfOrNone(all) { - action= PtrBtn(button=default); - }; - interpret Pointer_Button1+AnyOfOrNone(all) { - action= PtrBtn(button=1); - }; - interpret Pointer_Button2+AnyOfOrNone(all) { - action= PtrBtn(button=2); - }; - interpret Pointer_Button3+AnyOfOrNone(all) { - action= PtrBtn(button=3); - }; - interpret Pointer_DblClick_Dflt+AnyOfOrNone(all) { - action= PtrBtn(button=default,count=2); - }; - interpret Pointer_DblClick1+AnyOfOrNone(all) { - action= PtrBtn(button=1,count=2); - }; - interpret Pointer_DblClick2+AnyOfOrNone(all) { - action= PtrBtn(button=2,count=2); - }; - interpret Pointer_DblClick3+AnyOfOrNone(all) { - action= PtrBtn(button=3,count=2); - }; - interpret Pointer_Drag_Dflt+AnyOfOrNone(all) { - action= LockPtrBtn(button=default,affect=both); - }; - interpret Pointer_Drag1+AnyOfOrNone(all) { - action= LockPtrBtn(button=1,affect=both); - }; - interpret Pointer_Drag2+AnyOfOrNone(all) { - action= LockPtrBtn(button=2,affect=both); - }; - interpret Pointer_Drag3+AnyOfOrNone(all) { - action= LockPtrBtn(button=3,affect=both); - }; - interpret Pointer_EnableKeys+AnyOfOrNone(all) { - action= LockControls(controls=MouseKeys); - }; - interpret Pointer_Accelerate+AnyOfOrNone(all) { - action= LockControls(controls=MouseKeysAccel); - }; - interpret Pointer_DfltBtnNext+AnyOfOrNone(all) { - action= SetPtrDflt(affect=button,button=+1); - }; - interpret Pointer_DfltBtnPrev+AnyOfOrNone(all) { - action= SetPtrDflt(affect=button,button=-1); - }; - interpret AccessX_Enable+AnyOfOrNone(all) { - action= LockControls(controls=AccessXKeys); - }; - interpret AccessX_Feedback_Enable+AnyOfOrNone(all) { - action= LockControls(controls=AccessXFeedback); - }; - interpret RepeatKeys_Enable+AnyOfOrNone(all) { - action= LockControls(controls=RepeatKeys); - }; - interpret SlowKeys_Enable+AnyOfOrNone(all) { - action= LockControls(controls=SlowKeys); - }; - interpret BounceKeys_Enable+AnyOfOrNone(all) { - action= LockControls(controls=BounceKeys); - }; - interpret StickyKeys_Enable+AnyOfOrNone(all) { - action= LockControls(controls=StickyKeys); - }; - interpret MouseKeys_Enable+AnyOfOrNone(all) { - action= LockControls(controls=MouseKeys); - }; - interpret MouseKeys_Accel_Enable+AnyOfOrNone(all) { - action= LockControls(controls=MouseKeysAccel); - }; - interpret Overlay1_Enable+AnyOfOrNone(all) { - action= LockControls(controls=Overlay1); - }; - interpret Overlay2_Enable+AnyOfOrNone(all) { - action= LockControls(controls=Overlay2); - }; - interpret AudibleBell_Enable+AnyOfOrNone(all) { - action= LockControls(controls=AudibleBell); - }; - interpret Terminate_Server+AnyOfOrNone(all) { - action= Terminate(); - }; - interpret Alt_L+AnyOfOrNone(all) { - action= SetMods(modifiers=Alt,clearLocks); - }; - interpret Alt_R+AnyOfOrNone(all) { - action= SetMods(modifiers=Alt,clearLocks); - }; - interpret Meta_L+AnyOfOrNone(all) { - action= SetMods(modifiers=Meta,clearLocks); - }; - interpret Meta_R+AnyOfOrNone(all) { - action= SetMods(modifiers=Meta,clearLocks); - }; - interpret Super_L+AnyOfOrNone(all) { - action= SetMods(modifiers=Super,clearLocks); - }; - interpret Super_R+AnyOfOrNone(all) { - action= SetMods(modifiers=Super,clearLocks); - }; - interpret Hyper_L+AnyOfOrNone(all) { - action= SetMods(modifiers=Hyper,clearLocks); - }; - interpret Hyper_R+AnyOfOrNone(all) { - action= SetMods(modifiers=Hyper,clearLocks); - }; - interpret Shift_L+AnyOfOrNone(all) { - action= SetMods(modifiers=Shift,clearLocks); - }; - interpret XF86Switch_VT_1+AnyOfOrNone(all) { - repeat= True; - action= SwitchScreen(screen=1,!same); - }; - interpret XF86Switch_VT_2+AnyOfOrNone(all) { - repeat= True; - action= SwitchScreen(screen=2,!same); - }; - interpret XF86Switch_VT_3+AnyOfOrNone(all) { - repeat= True; - action= SwitchScreen(screen=3,!same); - }; - interpret XF86Switch_VT_4+AnyOfOrNone(all) { - repeat= True; - action= SwitchScreen(screen=4,!same); - }; - interpret XF86Switch_VT_5+AnyOfOrNone(all) { - repeat= True; - action= SwitchScreen(screen=5,!same); - }; - interpret XF86Switch_VT_6+AnyOfOrNone(all) { - repeat= True; - action= SwitchScreen(screen=6,!same); - }; - interpret XF86Switch_VT_7+AnyOfOrNone(all) { - repeat= True; - action= SwitchScreen(screen=7,!same); - }; - interpret XF86Switch_VT_8+AnyOfOrNone(all) { - repeat= True; - action= SwitchScreen(screen=8,!same); - }; - interpret XF86Switch_VT_9+AnyOfOrNone(all) { - repeat= True; - action= SwitchScreen(screen=9,!same); - }; - interpret XF86Switch_VT_10+AnyOfOrNone(all) { - repeat= True; - action= SwitchScreen(screen=10,!same); - }; - interpret XF86Switch_VT_11+AnyOfOrNone(all) { - repeat= True; - action= SwitchScreen(screen=11,!same); - }; - interpret XF86Switch_VT_12+AnyOfOrNone(all) { - repeat= True; - action= SwitchScreen(screen=12,!same); - }; - interpret XF86LogGrabInfo+AnyOfOrNone(all) { - repeat= True; - action= Private(type=0x86,data[0]=0x50,data[1]=0x72,data[2]=0x47,data[3]=0x72,data[4]=0x62,data[5]=0x73,data[6]=0x00); - }; - interpret XF86LogWindowTree+AnyOfOrNone(all) { - repeat= True; - action= Private(type=0x86,data[0]=0x50,data[1]=0x72,data[2]=0x57,data[3]=0x69,data[4]=0x6e,data[5]=0x73,data[6]=0x00); - }; - interpret XF86Next_VMode+AnyOfOrNone(all) { - repeat= True; - action= Private(type=0x86,data[0]=0x2b,data[1]=0x56,data[2]=0x4d,data[3]=0x6f,data[4]=0x64,data[5]=0x65,data[6]=0x00); - }; - interpret XF86Prev_VMode+AnyOfOrNone(all) { - repeat= True; - action= Private(type=0x86,data[0]=0x2d,data[1]=0x56,data[2]=0x4d,data[3]=0x6f,data[4]=0x64,data[5]=0x65,data[6]=0x00); - }; - interpret ISO_Level5_Shift+AnyOfOrNone(all) { - action= SetMods(modifiers=LevelFive,clearLocks); - }; - interpret ISO_Level5_Latch+AnyOfOrNone(all) { - action= LatchMods(modifiers=LevelFive,clearLocks,latchToLock); - }; - interpret ISO_Level5_Lock+AnyOfOrNone(all) { - action= LockMods(modifiers=LevelFive); - }; - interpret Caps_Lock+AnyOfOrNone(all) { - action= LockMods(modifiers=Lock); - }; - interpret Any+Exactly(Lock) { - action= LockMods(modifiers=Lock); - }; - interpret Any+AnyOf(all) { - action= SetMods(modifiers=modMapMods,clearLocks); - }; - group 2 = AltGr; - group 3 = AltGr; - group 4 = AltGr; - indicator "Caps Lock" { - !allowExplicit; - whichModState= locked; - modifiers= Lock; - }; - indicator "Num Lock" { - !allowExplicit; - whichModState= locked; - modifiers= NumLock; - }; - indicator "Scroll Lock" { - whichModState= locked; - modifiers= ScrollLock; - }; - indicator "Shift Lock" { - !allowExplicit; - whichModState= locked; - modifiers= Shift; - }; - indicator "Group 2" { - !allowExplicit; - groups= 0xfe; - }; - indicator "Mouse Keys" { - indicatorDrivesKeyboard; - controls= mouseKeys; - }; -}; - -xkb_symbols "pc+us(dvorak)+inet(evdev)+capslock(ctrl_modifier)+compose(ralt)+compose(rwin)" { - - name[group1]="English (Dvorak)"; - - key <ESC> { [ Escape ] }; - key <AE01> { [ 1, exclam ] }; - key <AE02> { [ 2, at ] }; - key <AE03> { [ 3, numbersign ] }; - key <AE04> { [ 4, dollar ] }; - key <AE05> { [ 5, percent ] }; - key <AE06> { - type= "FOUR_LEVEL", - symbols[Group1]= [ 6, asciicircum, dead_circumflex, dead_circumflex ] - }; - key <AE07> { [ 7, ampersand ] }; - key <AE08> { [ 8, asterisk ] }; - key <AE09> { - type= "FOUR_LEVEL", - symbols[Group1]= [ 9, parenleft, dead_grave, NoSymbol ] - }; - key <AE10> { [ 0, parenright ] }; - key <AE11> { [ bracketleft, braceleft ] }; - key <AE12> { - type= "FOUR_LEVEL", - symbols[Group1]= [ bracketright, braceright, dead_tilde, NoSymbol ] - }; - key <BKSP> { [ BackSpace, BackSpace ] }; - key <TAB> { [ Tab, ISO_Left_Tab ] }; - key <AD01> { - type= "FOUR_LEVEL", - symbols[Group1]= [ apostrophe, quotedbl, dead_acute, dead_diaeresis ] - }; - key <AD02> { - type= "FOUR_LEVEL", - symbols[Group1]= [ comma, less, dead_cedilla, dead_caron ] - }; - key <AD03> { - type= "FOUR_LEVEL", - symbols[Group1]= [ period, greater, dead_abovedot, periodcentered ] - }; - key <AD04> { - type= "ALPHABETIC", - symbols[Group1]= [ p, P ] - }; - key <AD05> { - type= "ALPHABETIC", - symbols[Group1]= [ y, Y ] - }; - key <AD06> { - type= "ALPHABETIC", - symbols[Group1]= [ f, F ] - }; - key <AD07> { - type= "ALPHABETIC", - symbols[Group1]= [ g, G ] - }; - key <AD08> { - type= "ALPHABETIC", - symbols[Group1]= [ c, C ] - }; - key <AD09> { - type= "ALPHABETIC", - symbols[Group1]= [ r, R ] - }; - key <AD10> { - type= "ALPHABETIC", - symbols[Group1]= [ l, L ] - }; - key <AD11> { [ slash, question ] }; - key <AD12> { [ equal, plus ] }; - key <RTRN> { [ Return ] }; - key <LCTL> { [ Super_L ] }; - key <AC01> { - type= "ALPHABETIC", - symbols[Group1]= [ a, A ] - }; - key <AC02> { - type= "ALPHABETIC", - symbols[Group1]= [ o, O ] - }; - key <AC03> { - type= "ALPHABETIC", - symbols[Group1]= [ e, E ] - }; - key <AC04> { - type= "ALPHABETIC", - symbols[Group1]= [ u, U ] - }; - key <AC05> { - type= "ALPHABETIC", - symbols[Group1]= [ i, I ] - }; - key <AC06> { - type= "ALPHABETIC", - symbols[Group1]= [ d, D ] - }; - key <AC07> { - type= "ALPHABETIC", - symbols[Group1]= [ h, H ] - }; - key <AC08> { - type= "ALPHABETIC", - symbols[Group1]= [ t, T ] - }; - key <AC09> { - type= "ALPHABETIC", - symbols[Group1]= [ n, N ] - }; - key <AC10> { - type= "ALPHABETIC", - symbols[Group1]= [ s, S ] - }; - key <AC11> { [ minus, underscore ] }; - key <TLDE> { - type= "FOUR_LEVEL", - symbols[Group1]= [ grave, asciitilde, dead_grave, dead_tilde ] - }; - key <LFSH> { [ Shift_L ] }; - key <BKSL> { [ backslash, bar ] }; - key <AB01> { - type= "FOUR_LEVEL", - symbols[Group1]= [ semicolon, colon, dead_ogonek, dead_doubleacute ] - }; - key <AB02> { - type= "ALPHABETIC", - symbols[Group1]= [ q, Q ] - }; - key <AB03> { - type= "ALPHABETIC", - symbols[Group1]= [ j, J ] - }; - key <AB04> { - type= "ALPHABETIC", - symbols[Group1]= [ k, K ] - }; - key <AB05> { - type= "ALPHABETIC", - symbols[Group1]= [ x, X ] - }; - key <AB06> { - type= "ALPHABETIC", - symbols[Group1]= [ b, B ] - }; - key <AB07> { - type= "ALPHABETIC", - symbols[Group1]= [ m, M ] - }; - key <AB08> { - type= "ALPHABETIC", - symbols[Group1]= [ w, W ] - }; - key <AB09> { - type= "ALPHABETIC", - symbols[Group1]= [ v, V ] - }; - key <AB10> { - type= "ALPHABETIC", - symbols[Group1]= [ z, Z ] - }; - key <RTSH> { - type= "TWO_LEVEL", - symbols[Group1]= [ Multi_key, Multi_key ] - }; - key <KPMU> { - type= "CTRL+ALT", - symbols[Group1]= [ KP_Multiply, KP_Multiply, KP_Multiply, KP_Multiply, XF86ClearGrab ] - }; - key <LALT> { [ Alt_L, Meta_L ] }; - key <SPCE> { [ space ] }; - key <CAPS> { - type= "ONE_LEVEL", - symbols[Group1]= [ Caps_Lock ], - actions[Group1]= [ SetMods(modifiers=Control) ] - }; - key <FK01> { - type= "CTRL+ALT", - symbols[Group1]= [ F1, F1, F1, F1, XF86Switch_VT_1 ] - }; - key <FK02> { - type= "CTRL+ALT", - symbols[Group1]= [ F2, F2, F2, F2, XF86Switch_VT_2 ] - }; - key <FK03> { - type= "CTRL+ALT", - symbols[Group1]= [ F3, F3, F3, F3, XF86Switch_VT_3 ] - }; - key <FK04> { - type= "CTRL+ALT", - symbols[Group1]= [ F4, F4, F4, F4, XF86Switch_VT_4 ] - }; - key <FK05> { - type= "CTRL+ALT", - symbols[Group1]= [ F5, F5, F5, F5, XF86Switch_VT_5 ] - }; - key <FK06> { - type= "CTRL+ALT", - symbols[Group1]= [ F6, F6, F6, F6, XF86Switch_VT_6 ] - }; - key <FK07> { - type= "CTRL+ALT", - symbols[Group1]= [ F7, F7, F7, F7, XF86Switch_VT_7 ] - }; - key <FK08> { - type= "CTRL+ALT", - symbols[Group1]= [ F8, F8, F8, F8, XF86Switch_VT_8 ] - }; - key <FK09> { - type= "CTRL+ALT", - symbols[Group1]= [ F9, F9, F9, F9, XF86Switch_VT_9 ] - }; - key <FK10> { - type= "CTRL+ALT", - symbols[Group1]= [ F10, F10, F10, F10, XF86Switch_VT_10 ] - }; - key <NMLK> { [ Num_Lock ] }; - key <SCLK> { [ Scroll_Lock ] }; - key <KP7> { [ KP_Home, KP_7 ] }; - key <KP8> { [ KP_Up, KP_8 ] }; - key <KP9> { [ KP_Prior, KP_9 ] }; - key <KPSU> { - type= "CTRL+ALT", - symbols[Group1]= [ KP_Subtract, KP_Subtract, KP_Subtract, KP_Subtract, XF86Prev_VMode ] - }; - key <KP4> { [ KP_Left, KP_4 ] }; - key <KP5> { [ KP_Begin, KP_5 ] }; - key <KP6> { [ KP_Right, KP_6 ] }; - key <KPAD> { - type= "CTRL+ALT", - symbols[Group1]= [ KP_Add, KP_Add, KP_Add, KP_Add, XF86Next_VMode ] - }; - key <KP1> { [ KP_End, KP_1 ] }; - key <KP2> { [ KP_Down, KP_2 ] }; - key <KP3> { [ KP_Next, KP_3 ] }; - key <KP0> { [ KP_Insert, KP_0 ] }; - key <KPDL> { [ KP_Delete, KP_Decimal ] }; - key <LVL3> { [ ISO_Level3_Shift ] }; - key <LSGT> { - type= "FOUR_LEVEL", - symbols[Group1]= [ less, greater, bar, brokenbar ] - }; - key <FK11> { - type= "CTRL+ALT", - symbols[Group1]= [ F11, F11, F11, F11, XF86Switch_VT_11 ] - }; - key <FK12> { - type= "CTRL+ALT", - symbols[Group1]= [ F12, F12, F12, F12, XF86Switch_VT_12 ] - }; - key <KATA> { [ Katakana ] }; - key <HIRA> { [ Hiragana ] }; - key <HENK> { [ Henkan_Mode ] }; - key <HKTG> { [ Hiragana_Katakana ] }; - key <MUHE> { [ Muhenkan ] }; - key <KPEN> { [ KP_Enter ] }; - key <RCTL> { [ Control_R ] }; - key <KPDV> { - type= "CTRL+ALT", - symbols[Group1]= [ KP_Divide, KP_Divide, KP_Divide, KP_Divide, XF86Ungrab ] - }; - key <PRSC> { - type= "PC_ALT_LEVEL2", - symbols[Group1]= [ Print, Sys_Req ] - }; - key <RALT> { - type= "TWO_LEVEL", - symbols[Group1]= [ Multi_key, Multi_key ] - }; - key <LNFD> { [ Linefeed ] }; - key <HOME> { [ Home ] }; - key <UP> { [ Up ] }; - key <PGUP> { [ Prior ] }; - key <LEFT> { [ Left ] }; - key <RGHT> { [ Right ] }; - key <END> { [ End ] }; - key <DOWN> { [ Down ] }; - key <PGDN> { [ Next ] }; - key <INS> { [ Insert ] }; - key <DELE> { [ Delete ] }; - key <MUTE> { [ XF86AudioMute ] }; - key <VOL-> { [ XF86AudioLowerVolume ] }; - key <VOL+> { [ XF86AudioRaiseVolume ] }; - key <POWR> { [ XF86PowerOff ] }; - key <KPEQ> { [ KP_Equal ] }; - key <I126> { [ plusminus ] }; - key <PAUS> { - type= "PC_CONTROL_LEVEL2", - symbols[Group1]= [ Pause, Break ] - }; - key <I128> { [ XF86LaunchA ] }; - key <I129> { [ KP_Decimal, KP_Decimal ] }; - key <HNGL> { [ Hangul ] }; - key <HJCV> { [ Hangul_Hanja ] }; - key <LWIN> { [ Super_L ] }; - key <RWIN> { - type= "TWO_LEVEL", - symbols[Group1]= [ Multi_key, Multi_key ] - }; - key <COMP> { [ Menu ] }; - key <STOP> { [ Cancel ] }; - key <AGAI> { [ Redo ] }; - key <PROP> { [ SunProps ] }; - key <UNDO> { [ Undo ] }; - key <FRNT> { [ SunFront ] }; - key <COPY> { [ XF86Copy ] }; - key <OPEN> { [ XF86Open ] }; - key <PAST> { [ XF86Paste ] }; - key <FIND> { [ Find ] }; - key <CUT> { [ XF86Cut ] }; - key <HELP> { [ Help ] }; - key <I147> { [ XF86MenuKB ] }; - key <I148> { [ XF86Calculator ] }; - key <I150> { [ XF86Sleep ] }; - key <I151> { [ XF86WakeUp ] }; - key <I152> { [ XF86Explorer ] }; - key <I153> { [ XF86Send ] }; - key <I155> { [ XF86Xfer ] }; - key <I156> { [ XF86Launch1 ] }; - key <I157> { [ XF86Launch2 ] }; - key <I158> { [ XF86WWW ] }; - key <I159> { [ XF86DOS ] }; - key <I160> { [ XF86ScreenSaver ] }; - key <I162> { [ XF86RotateWindows ] }; - key <I163> { [ XF86Mail ] }; - key <I164> { [ XF86Favorites ] }; - key <I165> { [ XF86MyComputer ] }; - key <I166> { [ XF86Back ] }; - key <I167> { [ XF86Forward ] }; - key <I169> { [ XF86Eject ] }; - key <I170> { [ XF86Eject, XF86Eject ] }; - key <I171> { [ XF86AudioNext ] }; - key <I172> { [ XF86AudioPlay, XF86AudioPause ] }; - key <I173> { [ XF86AudioPrev ] }; - key <I174> { [ XF86AudioStop, XF86Eject ] }; - key <I175> { [ XF86AudioRecord ] }; - key <I176> { [ XF86AudioRewind ] }; - key <I177> { [ XF86Phone ] }; - key <I179> { [ XF86Tools ] }; - key <I180> { [ XF86HomePage ] }; - key <I181> { [ XF86Reload ] }; - key <I182> { [ XF86Close ] }; - key <I185> { [ XF86ScrollUp ] }; - key <I186> { [ XF86ScrollDown ] }; - key <I187> { [ parenleft ] }; - key <I188> { [ parenright ] }; - key <I189> { [ XF86New ] }; - key <I190> { [ Redo ] }; - key <FK13> { [ XF86Tools ] }; - key <FK14> { [ XF86Launch5 ] }; - key <FK15> { [ XF86Launch6 ] }; - key <FK16> { [ XF86Launch7 ] }; - key <FK17> { [ XF86Launch8 ] }; - key <FK18> { [ XF86Launch9 ] }; - key <FK20> { [ XF86AudioMicMute ] }; - key <FK21> { [ XF86TouchpadToggle ] }; - key <FK22> { [ XF86TouchpadOn ] }; - key <FK23> { [ XF86TouchpadOff ] }; - key <MDSW> { [ Mode_switch ] }; - key <ALT> { [ NoSymbol, Alt_L ] }; - key <META> { [ NoSymbol, Meta_L ] }; - key <SUPR> { [ NoSymbol, Super_L ] }; - key <HYPR> { [ NoSymbol, Hyper_L ] }; - key <I208> { [ XF86AudioPlay ] }; - key <I209> { [ XF86AudioPause ] }; - key <I210> { [ XF86Launch3 ] }; - key <I211> { [ XF86Launch4 ] }; - key <I212> { [ XF86LaunchB ] }; - key <I213> { [ XF86Suspend ] }; - key <I214> { [ XF86Close ] }; - key <I215> { [ XF86AudioPlay ] }; - key <I216> { [ XF86AudioForward ] }; - key <I218> { [ Print ] }; - key <I220> { [ XF86WebCam ] }; - key <I223> { [ XF86Mail ] }; - key <I224> { [ XF86Messenger ] }; - key <I225> { [ XF86Search ] }; - key <I226> { [ XF86Go ] }; - key <I227> { [ XF86Finance ] }; - key <I228> { [ XF86Game ] }; - key <I229> { [ XF86Shop ] }; - key <I231> { [ Cancel ] }; - key <I232> { [ XF86MonBrightnessDown ] }; - key <I233> { [ XF86MonBrightnessUp ] }; - key <I234> { [ XF86AudioMedia ] }; - key <I235> { [ XF86Display ] }; - key <I236> { [ XF86KbdLightOnOff ] }; - key <I237> { [ XF86KbdBrightnessDown ] }; - key <I238> { [ XF86KbdBrightnessUp ] }; - key <I239> { [ XF86Send ] }; - key <I240> { [ XF86Reply ] }; - key <I241> { [ XF86MailForward ] }; - key <I242> { [ XF86Save ] }; - key <I243> { [ XF86Documents ] }; - key <I244> { [ XF86Battery ] }; - key <I245> { [ XF86Bluetooth ] }; - key <I246> { [ XF86WLAN ] }; - modifier_map Shift { <LFSH> }; - modifier_map Mod1 { <LALT> }; - modifier_map Lock { <CAPS> }; - modifier_map Control { <CAPS> }; - modifier_map Mod2 { <NMLK> }; - modifier_map Mod5 { <LVL3> }; - modifier_map Control { <RCTL> }; - modifier_map Mod4 { <LWIN> }; - modifier_map Mod4 { <LCTL> }; - modifier_map Mod5 { <MDSW> }; - modifier_map Mod1 { <META> }; - modifier_map Mod4 { <SUPR> }; - modifier_map Mod4 { <HYPR> }; -}; - -xkb_geometry "pc(pc105)" { - - width= 470; - height= 180; - - alias <AC00> = <CAPS>; - alias <AA00> = <LCTL>; - - baseColor= "white"; - labelColor= "black"; - xfont= "-*-helvetica-medium-r-normal--*-120-*-*-*-*-iso8859-1"; - description= "Generic 105"; - - shape "NORM" { - corner= 1, - { [ 18, 18 ] }, - { [ 2, 1 ], [ 16, 16 ] } - }; - shape "BKSP" { - corner= 1, - { [ 38, 18 ] }, - { [ 2, 1 ], [ 36, 16 ] } - }; - shape "TABK" { - corner= 1, - { [ 28, 18 ] }, - { [ 2, 1 ], [ 26, 16 ] } - }; - shape "BKSL" { - corner= 1, - { [ 28, 18 ] }, - { [ 2, 1 ], [ 26, 16 ] } - }; - shape "RTRN" { - corner= 1, - { [ 0, 0 ], [ 28, 0 ], [ 28, 37 ], [ 5, 37 ], - [ 5, 18 ], [ 0, 18 ] }, - { [ 2, 1 ], [ 26, 1 ], [ 26, 35 ], [ 7, 35 ], - [ 7, 16 ], [ 2, 16 ] }, - approx= { [ 5, 0 ], [ 28, 37 ] } - }; - shape "CAPS" { - corner= 1, - { [ 33, 18 ] }, - { [ 2, 1 ], [ 31, 16 ] } - }; - shape "LFSH" { - corner= 1, - { [ 25, 18 ] }, - { [ 2, 1 ], [ 23, 16 ] } - }; - shape "RTSH" { - corner= 1, - { [ 50, 18 ] }, - { [ 2, 1 ], [ 48, 16 ] } - }; - shape "MODK" { - corner= 1, - { [ 27, 18 ] }, - { [ 2, 1 ], [ 25, 16 ] } - }; - shape "SMOD" { - corner= 1, - { [ 23, 18 ] }, - { [ 2, 1 ], [ 21, 16 ] } - }; - shape "SPCE" { - corner= 1, - { [ 113, 18 ] }, - { [ 2, 1 ], [ 111, 16 ] } - }; - shape "KP0" { - corner= 1, - { [ 37, 18 ] }, - { [ 2, 1 ], [ 35, 16 ] } - }; - shape "KPAD" { - corner= 1, - { [ 18, 37 ] }, - { [ 2, 1 ], [ 16, 35 ] } - }; - shape "LEDS" { { [ 75, 20 ] } }; - shape "LED" { { [ 5, 1 ] } }; - section "Function" { - key.color= "grey20"; - priority= 7; - top= 22; - left= 19; - width= 351; - height= 19; - row { - top= 1; - left= 1; - keys { - { <ESC>, "NORM", 1 }, - { <FK01>, "NORM", 20, color="white" }, - { <FK02>, "NORM", 1, color="white" }, - { <FK03>, "NORM", 1, color="white" }, - { <FK04>, "NORM", 1, color="white" }, - { <FK05>, "NORM", 11, color="white" }, - { <FK06>, "NORM", 1, color="white" }, - { <FK07>, "NORM", 1, color="white" }, - { <FK08>, "NORM", 1, color="white" }, - { <FK09>, "NORM", 11, color="white" }, - { <FK10>, "NORM", 1, color="white" }, - { <FK11>, "NORM", 1, color="white" }, - { <FK12>, "NORM", 1, color="white" }, - { <PRSC>, "NORM", 8, color="white" }, - { <SCLK>, "NORM", 1, color="white" }, - { <PAUS>, "NORM", 1, color="white" } - }; - }; - }; // End of "Function" section - - section "Alpha" { - key.color= "white"; - priority= 8; - top= 61; - left= 19; - width= 287; - height= 95; - row { - top= 1; - left= 1; - keys { - { <TLDE>, "NORM", 1 }, { <AE01>, "NORM", 1 }, - { <AE02>, "NORM", 1 }, { <AE03>, "NORM", 1 }, - { <AE04>, "NORM", 1 }, { <AE05>, "NORM", 1 }, - { <AE06>, "NORM", 1 }, { <AE07>, "NORM", 1 }, - { <AE08>, "NORM", 1 }, { <AE09>, "NORM", 1 }, - { <AE10>, "NORM", 1 }, { <AE11>, "NORM", 1 }, - { <AE12>, "NORM", 1 }, - { <BKSP>, "BKSP", 1, color="grey20" } - }; - }; - row { - top= 20; - left= 1; - keys { - { <TAB>, "TABK", 1, color="grey20" }, - { <AD01>, "NORM", 1 }, { <AD02>, "NORM", 1 }, - { <AD03>, "NORM", 1 }, { <AD04>, "NORM", 1 }, - { <AD05>, "NORM", 1 }, { <AD06>, "NORM", 1 }, - { <AD07>, "NORM", 1 }, { <AD08>, "NORM", 1 }, - { <AD09>, "NORM", 1 }, { <AD10>, "NORM", 1 }, - { <AD11>, "NORM", 1 }, { <AD12>, "NORM", 1 }, - { <RTRN>, "RTRN", 1, color="grey20" } - }; - }; - row { - top= 39; - left= 1; - keys { - { <CAPS>, "CAPS", 1, color="grey20" }, - { <AC01>, "NORM", 1 }, { <AC02>, "NORM", 1 }, - { <AC03>, "NORM", 1 }, { <AC04>, "NORM", 1 }, - { <AC05>, "NORM", 1 }, { <AC06>, "NORM", 1 }, - { <AC07>, "NORM", 1 }, { <AC08>, "NORM", 1 }, - { <AC09>, "NORM", 1 }, { <AC10>, "NORM", 1 }, - { <AC11>, "NORM", 1 }, { <BKSL>, "NORM", 1 } - }; - }; - row { - top= 58; - left= 1; - keys { - { <LFSH>, "LFSH", 1, color="grey20" }, - { <LSGT>, "NORM", 1 }, { <AB01>, "NORM", 1 }, - { <AB02>, "NORM", 1 }, { <AB03>, "NORM", 1 }, - { <AB04>, "NORM", 1 }, { <AB05>, "NORM", 1 }, - { <AB06>, "NORM", 1 }, { <AB07>, "NORM", 1 }, - { <AB08>, "NORM", 1 }, { <AB09>, "NORM", 1 }, - { <AB10>, "NORM", 1 }, - { <RTSH>, "RTSH", 1, color="grey20" } - }; - }; - row { - top= 77; - left= 1; - keys { - { <LCTL>, "MODK", 1, color="grey20" }, - { <LWIN>, "SMOD", 1, color="grey20" }, - { <LALT>, "SMOD", 1, color="grey20" }, - { <SPCE>, "SPCE", 1 }, - { <RALT>, "SMOD", 1, color="grey20" }, - { <RWIN>, "SMOD", 1, color="grey20" }, - { <MENU>, "SMOD", 1, color="grey20" }, - { <RCTL>, "SMOD", 1, color="grey20" } - }; - }; - }; // End of "Alpha" section - - section "Editing" { - key.color= "grey20"; - priority= 9; - top= 61; - left= 312; - width= 58; - height= 95; - row { - top= 1; - left= 1; - keys { - { <INS>, "NORM", 1 }, { <HOME>, "NORM", 1 }, - { <PGUP>, "NORM", 1 } - }; - }; - row { - top= 20; - left= 1; - keys { - { <DELE>, "NORM", 1 }, { <END>, "NORM", 1 }, - { <PGDN>, "NORM", 1 } - }; - }; - row { - top= 58; - left= 20; - keys { - { <UP>, "NORM", 1 } - }; - }; - row { - top= 77; - left= 1; - keys { - { <LEFT>, "NORM", 1 }, { <DOWN>, "NORM", 1 }, - { <RGHT>, "NORM", 1 } - }; - }; - }; // End of "Editing" section - - section "Keypad" { - key.color= "grey20"; - priority= 10; - top= 61; - left= 376; - width= 77; - height= 95; - row { - top= 1; - left= 1; - keys { - { <NMLK>, "NORM", 1 }, { <KPDV>, "NORM", 1 }, - { <KPMU>, "NORM", 1 }, { <KPSU>, "NORM", 1 } - }; - }; - row { - top= 20; - left= 1; - keys { - { <KP7>, "NORM", 1, color="white" }, - { <KP8>, "NORM", 1, color="white" }, - { <KP9>, "NORM", 1, color="white" }, - { <KPAD>, "KPAD", 1 } - }; - }; - row { - top= 39; - left= 1; - keys { - { <KP4>, "NORM", 1, color="white" }, - { <KP5>, "NORM", 1, color="white" }, - { <KP6>, "NORM", 1, color="white" } - }; - }; - row { - top= 58; - left= 1; - keys { - { <KP1>, "NORM", 1, color="white" }, - { <KP2>, "NORM", 1, color="white" }, - { <KP3>, "NORM", 1, color="white" }, - { <KPEN>, "KPAD", 1 } - }; - }; - row { - top= 77; - left= 1; - keys { - { <KP0>, "KP0", 1, color="white" }, - { <KPDL>, "NORM", 1, color="white" } - }; - }; - }; // End of "Keypad" section - - solid "LedPanel" { - top= 22; - left= 377; - priority= 0; - color= "grey10"; - shape= "LEDS"; - }; - indicator "Num Lock" { - top= 37; - left= 382; - priority= 1; - onColor= "green"; - offColor= "green30"; - shape= "LED"; - }; - indicator "Caps Lock" { - top= 37; - left= 407; - priority= 2; - onColor= "green"; - offColor= "green30"; - shape= "LED"; - }; - indicator "Scroll Lock" { - top= 37; - left= 433; - priority= 3; - onColor= "green"; - offColor= "green30"; - shape= "LED"; - }; - text "NumLockLabel" { - top= 25; - left= 378; - priority= 4; - width= 19.8; - height= 10; - XFont= "-*-helvetica-medium-r-normal--*-120-*-*-*-*-iso8859-1"; - text= "Num\nLock"; - }; - text "CapsLockLabel" { - top= 25; - left= 403; - priority= 5; - width= 26.4; - height= 10; - XFont= "-*-helvetica-medium-r-normal--*-120-*-*-*-*-iso8859-1"; - text= "Caps\nLock"; - }; - text "ScrollLockLabel" { - top= 25; - left= 428; - priority= 6; - width= 39.6; - height= 10; - XFont= "-*-helvetica-medium-r-normal--*-120-*-*-*-*-iso8859-1"; - text= "Scroll\nLock"; - }; -}; - -}; |