4e5a7233b0
I'm not sure how best to start doing this, but the branch over at timor:spacemacsOS has moved ahead a bit. I've grown used to a lot of these changes, and would like to see them moved to the main develop branch. But, the pull request (formed by merging in CestDiego:spacemacs/SpacemacsOS in #3321) started diverging. Again, I'm not sure how to approach moving together these two changes. Maybe @timor can help somehow?? This at the least moves in some little things from Timor's branch: - Can enable exwm-systemtray with `exwm-enable-systray` - Can enable running XDG autostart applications (only in XDG_USER_HOME/autostart for now) with `exwm-autostart-xdg-applications` - Support for reading `.desktop` files and XDG autostart. - Can specify additional code appended to exwm-init hook with `exwm-custom-init` --- This PR also fixed some other existing issues, and improved documentation. Co-authored-by: timor <timor.dd@googlemail.com> Co-authored-by: Benjamin Yang <be11ng@users.noreply.github.com>
52 lines
1.9 KiB
EmacsLisp
52 lines
1.9 KiB
EmacsLisp
;;; config.el --- EXWM Layer packages File for Spacemacs
|
|
;;
|
|
;; Copyright (c) 2012-2021 Sylvain Benner & Contributors
|
|
;;
|
|
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
|
|
;; URL: https://github.com/syl20bnr/spacemacs
|
|
;;
|
|
;; This file is not part of GNU Emacs.
|
|
;;
|
|
;; This program is free software; you can redistribute it and/or modify
|
|
;; it under the terms of the GNU General Public License as published by
|
|
;; the Free Software Foundation, either version 3 of the License, or
|
|
;; (at your option) any later version.
|
|
;;
|
|
;; This program 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 General Public License for more details.
|
|
;;
|
|
;; You should have received a copy of the GNU General Public License
|
|
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
(defvar exwm-terminal-command "xterm"
|
|
"Terminal command to run.")
|
|
|
|
(defvar exwm-locking-command "slock"
|
|
"Command to run when locking session")
|
|
|
|
(defvar exwm-hide-tiling-modeline nil
|
|
"Whether to hide modeline.")
|
|
|
|
(defvar exwm-leader-key nil
|
|
"Key to use for EXWM global commands")
|
|
|
|
(defvar exwm-enable-systray nil
|
|
"When non-nil, enable system tray integration for EXWM.")
|
|
|
|
(defvar exwm-autostart-xdg-applications nil
|
|
"When non-nil, autostart applications in $XDG_USER_HOME/autostart directory.")
|
|
|
|
(defvar exwm-workspace-switch-wrap t
|
|
"When non-nil, `exwm/exwm-workspace-next' and `exwm/exwm-workspace-prev' should wrap.")
|
|
|
|
(defvar exwm-autostart-process-list nil
|
|
"List of processes to run during autostart.
|
|
This is a list of strings used as shell commands.")
|
|
|
|
(defvar exwm-workspace-number nil
|
|
"Number of workspaces. Defaults to the number of connected displays if `nil'.")
|
|
|
|
(defvar exwm-randr-command nil
|
|
"`xrandr' command to set up displays prior to EXWM init.")
|