Commit 62cc0c26 by PotatoGim

X11 설정 변경

parent b4552192
......@@ -3,80 +3,86 @@
! X F T
!
Xft.dpi: 96
Xft.rgba: rgb
!Xft.antialias: true
!Xft.hinting: true
!Xft.autohint: true
!Xft.hintstyle: hintslight
Xft.rgba: none
Xft.antialias: true
Xft.hinting: true
Xft.autohint: false
Xft.lcdfilter: lcddefault
Xft.embolden: false
Xft.hintstyle: hintfull
!-----------------------------------------------------------------------------
!
! U R X V T
!
URxvt*termName: rxvt-256color
URxvt*cursorBlink: true
URxvt*saveLines: 2048000
URxvt.termName: xterm-256color
URxvt.cursorBlink: true
URxvt.saveLines: 10240000
URxvt.geometry: 120x35
URxvt.internalBorder: 5
!URxvt.copyCommand: xsel -ib
!URxvt.pasteCommand: xsel -ob
!URxvt*copyCommand: xsel -ib
!URxvt*pasteCommand: xsel -ob
! Input method
URxvt*inputMethod: ibus
URxvt*preeditType: OnTheSpot
URxvt*imLocale: ko_KR.UTF-8
URxvt.inputMethod: ibus
URxvt.preeditType: OnTheSpot
URxvt.imLocale: ko_KR.UTF-8
! Fonts
URxvt*font: xft:NanumGothicCoding:pixelsize=13:antialias=true:hinting=true
URxvt*boldFont: xft:NanumGothicCoding:bold:pixelsize=13:antialias=true:hinting=true
! URL control
URxvt.url-launcher: /usr/bin/chromium
URxvt.underlineURLs: True
URxvt.font: xft:NanumGothicCoding:style=Regular:pixelsize=14
URxvt.boldFont: xft:NanumGothicCoding:style=Bold:pixelsize=14
! Scroll
URxvt*scrollBar: false
URxvt*scrollstyle: rxvt
URxvt.scrollBar: false
URxvt.scrollstyle: rxvt
! do not scroll with output
URxvt*scrollTtyOutput: false
URxvt.scrollTtyOutput: false
! scroll back to the bottom on keypress
URxvt*scrollTtyKeypress:true
URxvt.scrollTtyKeypress: true
! scroll in relation to buffer (with mouse scroll or Shift+Page Up)
URxvt*scrollWithBuffer: true
URxvt.scrollWithBuffer: true
! scrollback bufferin secondary screen
URxvt.secondaryScreen: true
URxvt.secondaryScroll: false
! Transparent
! True transparent
! URxvt.depth: 32
! URxvt.background: rgba:1111/1111/1111/dddd
!URxvt.depth: 32
!URxvt.background: rgba:1111/1111/1111/dddd
! Native transparency
URxvt*transparent: true
! URxvt*shading: 0 to 99 darkens, 101 to 200 lightness
URxvt*shading: 110
URxvt*fading: 0
URxvt*inheritPixmap: yes
! URXVT - Key Settings -------------------------------------------------------
URxvt.keysym.Home: \033[1~
URxvt.keysym.End: \033[4~
URxvt.keysym.C-Up: \033[1;5A
URxvt.keysym.C-Down: \033[1;5B
URxvt.keysym.C-Left: \033[1;5D
URxvt.keysym.C-Right: \033[1;5C
! URXVT - Perl extensions ----------------------------------------------------
URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select,matcher
URxvt.keysym.M-u: perl:url-select:select_next
URxvt.keysym.M-c: perl:clipboard:copy
URxvt.keysym.M-v: perl:clipboard:paste
URxvt.keysym.M-C-v: perl:clipboard:paste_escaped
URxvt.keysym.M-Escape: perl:keyboard-select:activate
URxvt.keysym.M-s: perl:keyboard-select:search
URxvt.transparent: true
! 0 to 99 darkens, 101 to 200 lightness
URxvt.shading: 90
URxvt.blurRaduis: 22
URxvt.fading: 0
URxvt.inheritPixmap: yes
! Key Settings
URxvt.keysym.Home: \033[1~
URxvt.keysym.End: \033[4~
URxvt.keysym.C-Up: \033[1;5A
URxvt.keysym.C-Down: \033[1;5B
URxvt.keysym.C-Left: \033[1;5D
URxvt.keysym.C-Right: \033[1;5C
URxvt.keysym.M-c: perl:clipboard:copy
URxvt.keysym.M-v: perl:clipboard:paste
URxvt.keysym.M-C-v: perl:clipboard:paste_escaped
URxvt.keysym.M-u: perl:url-select:select_next
URxvt.keysym.M-Escape: perl:keyboard-select:activate
URxvt.keysym.M-s: perl:keyboard-select:search
! Perl extensions
URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select
URxvt.url-select.launcher: chromium
URxvt.url-select.underline: true
URxvt.matcher.button: 1
!URxvt.tabbed.tabbar-fg: 2
!URxvt.tabbed.tabbar-bg: 0
!URxvt.tabbed.tab-fg: 3
!URxvt.tabbed.tab-bg: 0
! URXVT - Color --------------------------------------------------------------
! Color
!black
URxvt.color0: #000000
URxvt.color8: #2B2B2B
......
......@@ -13,20 +13,31 @@ fi
##### For IBus
export XMODIFIERS="@im=ibus"
export QT_IM_MODULE="ibus"
export GTK_IM_MODULE="ibus"
#export GTK_IM_MODULE_FILE="~/.immodules"
ibus-daemon -drx
#export XIM="ibus"
#export QT_IM_MODULE="ibus"
#export GTK_IM_MODULE="ibus"
#export GTK_IM_MODULE_FILE="/usr/lib/gtk-3.0/3.0.0/immodules.cache"
#ibus-daemon --daemonize --replace --xim
#export XMODIFIERS="@im=ibus"
##### For nabi
#export XIM="nabi"
#export XIM_PROGRAM="/usr/bin/nabi"
#export XMODIFIERS="@im=nabi"
#export GTK_IM_MODULE="xim"
##### For Nabi
#export QT_IM_MODULE="xim"
#export GTK_IM_MODULE="xim"
#export GTK_IM_MODULE_FILE="/usr/lib/gtk-3.0/3.0.0/immodules.cache"
#nabi &
#export XIM="$IM"
#export XIM_PROGRAM="/usr/bin/nabi"
#export XMODIFIERS="@im=$IM"
##### For UIM
export GTK_IM_MODULE="uim"
export QT_IM_MODULE="uim"
uim-xim &
uim-toolbar-gtk3-systray &
export XMODIFIERS="@im=uim"
export XIM="uim"
##### Keymap
......
......@@ -36,7 +36,7 @@ import XMonad.Util.EZConfig
import XMonad.Util.Run
main = do
dzenLeftBar <- spawnPipe myXmonadBar
dzenLeftBar <- spawnPipe myXmonadBar
dzenRightBar <- spawnPipe myStatusBar
xmonad $ defaultConfig {
terminal = myTerminal,
......@@ -50,11 +50,10 @@ main = do
borderWidth = 1
} `additionalKeysP` myKeys
myXmonadBar = "dzen2 -x '0' -y '0' -h '20' -w '1200' -ta 'l' -fg '#FFFFFF' -bg '#1B1D1E' -fn 'NanumGothicCoding:bold:size=14'"
myDzenStyle = " -fn 'NanumGothicCoding:bold:size=12'"
myStatusBar = "conky -c /home/potatogim/.xmonad/conky4dzen | dzen2 -x '1400' -y '0' -w '520' -h '20' -ta 'r' -bg '#1B1D1E' -fg '#FFFFFF'" ++ myDzenStyle
myFontStyle = " -fn 'xft: NanumGothicCoding:pixelsize=14:style=bold:antialias=true:hinting=true'"
myXmonadBar = "dzen2 -x '0' -y '0' -h '20' -w '1200' -ta 'l' -fg '#FFFFFF' -bg '#1B1D1E'" ++ myFontStyle
myStatusBar = "conky -c /home/potatogim/.xmonad/conky4dzen | dzen2 -x '1400' -y '0' -w '520' -h '20' -ta 'r' -bg '#1B1D1E' -fg '#FFFFFF'" ++ myFontStyle
myBitmapsDir = "/home/potatogim/.xmonad/dzen2"
-- myTerminal = "urxvt"
myTerminal = "gnome-terminal"
myModMask = mod4Mask
......@@ -90,22 +89,23 @@ myManageHook = composeAll
myLogHook :: Handle -> X ()
myLogHook h = dynamicLogWithPP $ defaultPP
{
ppCurrent = dzenColor "#ebac54" "#1B1D1E" . pad
, ppVisible = dzenColor "white" "#1B1D1E" . pad
, ppHidden = dzenColor "white" "#1B1D1E" . pad
, ppHiddenNoWindows = dzenColor "#7b7b7b" "#1B1D1E" . pad
, ppUrgent = dzenColor "#ff0000" "#1B1D1E" . pad
, ppWsSep = " "
, ppSep = " | "
, ppLayout = dzenColor "#ebac54" "#1B1D1E" .
ppCurrent = dzenColor "#ebac54" "#1B1D1E" . pad
, ppVisible = dzenColor "white" "#1B1D1E" . pad
, ppHidden = dzenColor "white" "#1B1D1E" . pad
, ppHiddenNoWindows = dzenColor "#7b7b7b" "#1B1D1E" . pad
, ppUrgent = dzenColor "#ff0000" "#1B1D1E" . pad
, ppWsSep = " "
, ppSep = " | "
, ppLayout = dzenColor "#ebac54" "#1B1D1E" .
(\x -> case x of
"ResizableTall" -> "^i(" ++ myBitmapsDir ++ "/tall.xbm)"
"Mirror ResizableTall" -> "^i(" ++ myBitmapsDir ++ "/mtall.xbm)"
"Full" -> "^i(" ++ myBitmapsDir ++ "/full.xbm)"
"Simple Float" -> "~"
_ -> x)
, ppTitle = (" " ++) . dzenColor "white" "#1B1D1E" . dzenEscape
, ppOutput = hPutStrLn h
"ResizableTall" -> "^i(" ++ myBitmapsDir ++ "/tall.xbm)"
"Mirror ResizableTall" -> "^i(" ++ myBitmapsDir ++ "/mtall.xbm)"
"Full" -> "^i(" ++ myBitmapsDir ++ "/full.xbm)"
"Simple Float" -> "~"
_ -> x
)
, ppTitle = (" " ++) . dzenColor "white" "#1B1D1E" . dzenEscape
, ppOutput = hPutStrLn h
}
colorOrange = "#FD971F"
......@@ -117,9 +117,8 @@ colorYellow = "#E6DB74"
colorWhite = "#CCCCC6"
colorNormalBorder = "#CCCCC6"
colorFocusedBorder = "#fd971f"
barFont = "NanumGothicCoding"
xftFont = "xft: NanumGothicCoding-11"
barFont = "xft: NanumGothic:pixelsize=14:style=bold:antialias=true:autohint=true"
xftFont = "xft: NanumGothic:pixelsize=14:style=bold:antialias=true:autohint=true"
-- Prompt Config
mXPConfig :: XPConfig
......@@ -130,7 +129,7 @@ mXPConfig = defaultXPConfig {
bgHLight = colorGreen,
fgHLight = colorDarkGray,
promptBorderWidth = 0,
height = 14,
height = 20,
historyFilter = deleteConsecutive
}
......@@ -138,7 +137,7 @@ mXPConfig = defaultXPConfig {
largeXPConfig :: XPConfig
largeXPConfig = mXPConfig {
font = xftFont,
height = 14
height = 20
}
-- Kill zomebie dzens before normal xmonad restart
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment