refactoring code

This commit is contained in:
Jesús
2019-05-14 16:37:31 -05:00
parent c043be9622
commit e60a671ef6
4 changed files with 48 additions and 69 deletions

View File

@@ -56,13 +56,16 @@
;;---------------------------------------------------------------------------
;; FullScreen
;;---------------------------------------------------------------------------
(load-file (concat user-emacs-directory "/modules/lib/myemacs.el"))
(defun myemacs/toggle-fullscreen ()
"Return a message string if the current doc string is invalid."
(interactive)
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32
'(2 "_NET_WM_STATE_FULLSCREEN" 0)))
(global-set-key (kbd "<f11>") 'myemacs/toggle-fullscreen) ; F11 FullScreen
;;----------------------------------------------------------------------------
;; clock
;;----------------------------------------------------------------------------
(setq display-time-day-and-date t)
(display-time)