3
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Emacs をワンコマンドで透過させる

Posted at

Emacs を透過させたい時、ありますよね。例えば TweetDeck を見ながらコーディングしたい時、アニメを見ながら原稿を書きたい時などなど。

そんなときのために作ってみました。
本体は GitHub/cycle-frame-transparency に置いておきます。

What's This

こんな感じにパッと切り替えできます。
画像は Emacs の後ろに Google Chrome(GitHub) がある状態です。

emacs-cycle.gif

Usage

init.el に以下を記述してください。

(add-to-list 'load-path "YOUR PATH")
(require 'cycle-frame-transparency)

;; お好みでどうぞ!
(global-set-key (kbd "YOUR FAVORITE KEY") 'cycle-transparency)

M-x cycle-transparency または設定したキーで発火させてください!

Customize

透明度を変更したいときは、以下を記述してください。

;; デフォルトは 80
;; 数値が小さいほど、透明度が高いです
(setq cft--trasparent 20)
3
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?