diff options
author | Ben Sima <ben@bsima.me> | 2022-11-16 06:38:01 -0500 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2022-11-16 06:38:01 -0500 |
commit | c3a28e6c5882ea19b9de48e9544d0c606b2662ce (patch) | |
tree | 854ded5b636cbb5ff7ace48691293c94af599a82 /lib | |
parent | c3ffee012cd18a990e76a22c7a4ea62ff61a6e60 (diff) |
Add transparent terminal
Change-Id: Ib281d72d782df657eda23e580d54dc0d4f1b18c6
Diffstat (limited to 'lib')
-rw-r--r-- | lib/xmonad.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/xmonad.hs b/lib/xmonad.hs index 583ffb5..a2dd180 100644 --- a/lib/xmonad.hs +++ b/lib/xmonad.hs @@ -93,6 +93,7 @@ myManageHook = manageDocks <+> scratchHook <+> (shouldFloat --> doFullFloat) <+> -- todo: use urxvtc with daemon termName = "/home/ben/.nix-profile/bin/urxvt" +transparentTerm = "urxvt -depth 32 -bg rgba:0000/0000/0000/4444 -fg '[80]white'" insKeys :: XConfig l -> [((KeyMask, KeySym), X ())] insKeys conf@(XConfig {modMask = modMask}) = @@ -101,8 +102,8 @@ insKeys conf@(XConfig {modMask = modMask}) = ((modMask, xK_o), spawn "rofi -sidebar-mode -show run"), ((modMask, xK_n), spawn "rofi -sidebar-mode -show window"), ((modMask, xK_u), spawn "rofi -show calc -modi calc -no-show-match -no-sort"), - ((modMask, xK_s), scratchpadSpawnActionTerminal termName), - ((modMask, xK_h), scratchpadSpawnActionTerminal "htop"), + ((modMask, xK_s), scratchpadSpawnActionTerminal transparentTerm), + ((modMask, xK_h), spawn transparentTerm), -- refresh display via autorandr ( (modMask, xK_r), spawn $ "autorandr --cycle" |