refactoring code
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user