mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
The core setup files for Emacs Siren which lives in the core directory followed a `siren-*.el` naming convention, which is the same as the naming convention for modules. This means that the `modules/core/siren-packages.el` module for adding packages for Emacs package development, was not being loaded due to it's name conflicting with `core/siren-packages.el` which sets up and configures the packaging system. So all files under the root `core` directory now follow a `siren-core-*.el` naming scheme, meaning modules should no longer conflict with core files.
27 lines
663 B
EmacsLisp
27 lines
663 B
EmacsLisp
;;; siren-core-linux.el --- jimeh's Emacs Siren: Linux specific settings.
|
|
|
|
;;; Commentary:
|
|
|
|
;; Linux specific settings and tweaks for Siren.
|
|
|
|
;;; Code:
|
|
|
|
;; Set default font
|
|
(if window-system
|
|
(set-face-attribute 'default nil :family "Monaco" :height 80))
|
|
|
|
;; Keybindinds
|
|
(global-set-key (kbd "s-<return>") 'siren-linux-toggle-fullscreen)
|
|
|
|
;; Fullscreen helper function
|
|
(defun siren-linux-toggle-fullscreen ()
|
|
"Toggle full screen on X11."
|
|
(interactive)
|
|
(when (eq window-system 'x)
|
|
(set-frame-parameter
|
|
nil 'fullscreen
|
|
(when (not (frame-parameter nil 'fullscreen)) 'fullboth))))
|
|
|
|
(provide 'siren-core-linux)
|
|
;;; siren-core-linux.el ends here
|