mirror of
http://github.com/JaeUs3792/dotfiles
synced 2025-12-14 08:01:35 +09:00
xmonad bug fix.
This commit is contained in:
@ -7,7 +7,7 @@ function run {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
(sleep 2; run $HOME/.config/polybar/launch.sh) &
|
#(sleep 2; run $HOME/.config/polybar/launch.sh) &
|
||||||
|
|
||||||
# cursor
|
# cursor
|
||||||
xsetroot -cursor_name left_ptr &
|
xsetroot -cursor_name left_ptr &
|
||||||
@ -29,3 +29,5 @@ picom -b --config $HOME/.xmonad/scripts/picom.conf &
|
|||||||
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
||||||
/usr/lib/xfce4/notifyd/xfce4-notifyd &
|
/usr/lib/xfce4/notifyd/xfce4-notifyd &
|
||||||
seadrive-gui &
|
seadrive-gui &
|
||||||
|
|
||||||
|
trayer --edge top --align right --widthtype request --padding 6 --SetDockType true --SetPartialStrut true --expand true --monitor 0 --transparent true --alpha 0 --tint 0x282c34 --height 24 &
|
||||||
|
|||||||
@ -120,14 +120,14 @@ myStartupHook = do
|
|||||||
--spawnOnce "trayer --edge top --align right --widthtype request --padding 6 --SetDockType true --SetPartialStrut true --expand true --monitor 0 --transparent true --alpha 0 --tint 0x282c34 --height 24 &"
|
--spawnOnce "trayer --edge top --align right --widthtype request --padding 6 --SetDockType true --SetPartialStrut true --expand true --monitor 0 --transparent true --alpha 0 --tint 0x282c34 --height 24 &"
|
||||||
--spawnOnce "/usr/bin/emacs --daemon &"
|
--spawnOnce "/usr/bin/emacs --daemon &"
|
||||||
-- spawnOnce "/usr/bin/emacs --daemon &" -- emacs daemon for the emacsclient
|
-- spawnOnce "/usr/bin/emacs --daemon &" -- emacs daemon for the emacsclient
|
||||||
-- spawnOnce "kak -d -s mysession &" -- kakoune daemon for better performance
|
-- spawnOnce "kak -d -s mysession &" -- kakoune daemon for better performance
|
||||||
-- spawnOnce "urxvtd -q -o -f &" -- urxvt daemon for better performance
|
-- spawnOnce "urxvtd -q -o -f &" -- urxvt daemon for better performance
|
||||||
|
|
||||||
--spawnOnce "xargs xwallpaper --stretch < ~/.xwallpaper" -- set last saved with xwallpaper
|
--spawnOnce "xargs xwallpaper --stretch < ~/.xwallpaper" -- set last saved with xwallpaper
|
||||||
-- spawnOnce "/bin/ls ~/wallpapers | shuf -n 1 | xargs xwallpaper --stretch" -- set random xwallpaper
|
-- spawnOnce "/bin/ls ~/wallpapers | shuf -n 1 | xargs xwallpaper --stretch" -- set random xwallpaper
|
||||||
-- spawnOnce "~/.fehbg &" -- set last saved feh wallpaper
|
-- spawnOnce "~/.fehbg &" -- set last saved feh wallpaper
|
||||||
-- spawnOnce "feh --randomize --bg-fill ~/wallpapers/*" -- feh set random wallpaper
|
-- spawnOnce "feh --randomize --bg-fill ~/wallpapers/*" -- feh set random wallpaper
|
||||||
-- spawnOnce "nitrogen --restore &" -- if you prefer nitrogen to feh
|
-- spawnOnce "nitrogen --restore &" -- if you prefer nitrogen to feh
|
||||||
setWMName "LG3D"
|
setWMName "LG3D"
|
||||||
|
|
||||||
myColorizer :: Window -> Bool -> X (String, String)
|
myColorizer :: Window -> Bool -> X (String, String)
|
||||||
@ -502,8 +502,7 @@ main = do
|
|||||||
-- Launching three instances of xmobar on their monitors.
|
-- Launching three instances of xmobar on their monitors.
|
||||||
-- xmproc0 <- spawnPipe "xmobar -x 0 $HOME/.config/xmobar/xmobarrc_desktop_qhd"
|
-- xmproc0 <- spawnPipe "xmobar -x 0 $HOME/.config/xmobar/xmobarrc_desktop_qhd"
|
||||||
-- xmproc1 <- spawnPipe "xmobar -x 1 $HOME/.config/xmobar/xmobarrc_desktop_fhd"
|
-- xmproc1 <- spawnPipe "xmobar -x 1 $HOME/.config/xmobar/xmobarrc_desktop_fhd"
|
||||||
xmproc0 <- spawnPipe "xmobar -x 2 $HOME/.config/xmobar/xmobarrc_labtop_fhd"
|
xmproc0 <- spawnPipe "xmobar -x 0 $HOME/.config/xmobar/xmobarrc_labtop_fhd"
|
||||||
-- xmproc0 <- spawnPipe "polyb
|
|
||||||
-- the xmonad, ya know...what the WM is named after!
|
-- the xmonad, ya know...what the WM is named after!
|
||||||
xmonad $ ewmh def
|
xmonad $ ewmh def
|
||||||
{ manageHook = ( isFullscreen --> doFullFloat ) <+> myManageHook <+> manageDocks
|
{ manageHook = ( isFullscreen --> doFullFloat ) <+> myManageHook <+> manageDocks
|
||||||
@ -527,10 +526,10 @@ main = do
|
|||||||
, focusedBorderColor = myFocusColor
|
, focusedBorderColor = myFocusColor
|
||||||
, logHook = dynamicLogWithPP $ namedScratchpadFilterOutWorkspacePP $ xmobarPP
|
, logHook = dynamicLogWithPP $ namedScratchpadFilterOutWorkspacePP $ xmobarPP
|
||||||
-- the following variables beginning with 'pp' are settings for xmobar.
|
-- the following variables beginning with 'pp' are settings for xmobar.
|
||||||
{ -- ppOutput = \x -> hPutStrLn xmproc0 x -- xmobar on monitor 1
|
{ ppOutput = \x -> hPutStrLn xmproc0 x -- xmobar on monitor 1
|
||||||
-- >> hPutStrLn xmproc1 x -- xmobar on monitor 2
|
-- >> hPutStrLn xmproc1 x -- xmobar on monitor 2
|
||||||
-- >> hPutStrLn xmproc2 x -- xmobar on monitor 3
|
-- >> hPutStrLn xmproc2 x -- xmobar on monitor 3
|
||||||
ppCurrent = xmobarColor "#FFFFFF" "" . wrap "●" "" -- Current workspace
|
, ppCurrent = xmobarColor "#FFFFFF" "" . wrap "●" "" -- Current workspace
|
||||||
, ppVisible = xmobarColor "#c0a79a" "" . wrap "♼" "" . clickable -- Visible but not current workspace
|
, ppVisible = xmobarColor "#c0a79a" "" . wrap "♼" "" . clickable -- Visible but not current workspace
|
||||||
, ppHidden = xmobarColor "#c0a79a" "" . wrap "○" "" . clickable -- Hidden workspaces
|
, ppHidden = xmobarColor "#c0a79a" "" . wrap "○" "" . clickable -- Hidden workspaces
|
||||||
, ppHiddenNoWindows = xmobarColor "#c792ea" "" . \s -> "" -- Hidden workspaces (no windows)
|
, ppHiddenNoWindows = xmobarColor "#c792ea" "" . \s -> "" -- Hidden workspaces (no windows)
|
||||||
|
|||||||
@ -525,16 +525,16 @@
|
|||||||
-- Launching three instances of xmobar on their monitors.
|
-- Launching three instances of xmobar on their monitors.
|
||||||
-- xmproc0 <- spawnPipe "xmobar -x 0 $HOME/.config/xmobar/xmobarrc_desktop_qhd"
|
-- xmproc0 <- spawnPipe "xmobar -x 0 $HOME/.config/xmobar/xmobarrc_desktop_qhd"
|
||||||
-- xmproc1 <- spawnPipe "xmobar -x 1 $HOME/.config/xmobar/xmobarrc_desktop_fhd"
|
-- xmproc1 <- spawnPipe "xmobar -x 1 $HOME/.config/xmobar/xmobarrc_desktop_fhd"
|
||||||
-- xmproc0 <- spawnPipe "xmobar -x 2 $HOME/.config/xmobar/xmobarrc_labtop_fhd"
|
xmproc0 <- spawnPipe "xmobar -x 0 $HOME/.config/xmobar/xmobarrc_labtop_fhd"
|
||||||
-- the xmonad, ya know...what the WM is named after!
|
-- the xmonad, ya know...what the WM is named after!
|
||||||
xmonad $ ewmh def
|
xmonad $ ewmh def
|
||||||
{ -- manageHook = ( isFullscreen --> doFullFloat ) <+> myManageHook <+> manageDocks
|
{ manageHook = ( isFullscreen --> doFullFloat ) <+> myManageHook <+> manageDocks
|
||||||
-- Run xmonad commands from command line with "xmonadctl command". Commands include:
|
-- Run xmonad commands from command line with "xmonadctl command". Commands include:
|
||||||
-- shrink, expand, next-layout, default-layout, restart-wm, xterm, kill, refresh, run,
|
-- shrink, expand, next-layout, default-layout, restart-wm, xterm, kill, refresh, run,
|
||||||
-- focus-up, focus-down, swap-up, swap-down, swap-master, sink, quit-wm. You can run
|
-- focus-up, focus-down, swap-up, swap-down, swap-master, sink, quit-wm. You can run
|
||||||
-- "xmonadctl 0" to generate full list of commands written to ~/.xsession-errors.
|
-- "xmonadctl 0" to generate full list of commands written to ~/.xsession-errors.
|
||||||
-- To compile xmonadctl: ghc -dynamic xmonadctl.hs
|
-- To compile xmonadctl: ghc -dynamic xmonadctl.hs
|
||||||
handleEventHook = serverModeEventHookCmd
|
, handleEventHook = serverModeEventHookCmd
|
||||||
<+> serverModeEventHook
|
<+> serverModeEventHook
|
||||||
<+> serverModeEventHookF "XMONAD_PRINT" (io . putStrLn)
|
<+> serverModeEventHookF "XMONAD_PRINT" (io . putStrLn)
|
||||||
<+> docksEventHook
|
<+> docksEventHook
|
||||||
@ -549,10 +549,10 @@
|
|||||||
, focusedBorderColor = myFocusColor
|
, focusedBorderColor = myFocusColor
|
||||||
, logHook = dynamicLogWithPP $ namedScratchpadFilterOutWorkspacePP $ xmobarPP
|
, logHook = dynamicLogWithPP $ namedScratchpadFilterOutWorkspacePP $ xmobarPP
|
||||||
-- the following variables beginning with 'pp' are settings for xmobar.
|
-- the following variables beginning with 'pp' are settings for xmobar.
|
||||||
{ --ppOutput = \x -> hPutStrLn xmproc0 x -- xmobar on monitor 1
|
{ ppOutput = \x -> hPutStrLn xmproc0 x -- xmobar on monitor 1
|
||||||
-- >> hPutStrLn xmproc1 x -- xmobar on monitor 2
|
-- >> hPutStrLn xmproc1 x -- xmobar on monitor 2
|
||||||
-- >> hPutStrLn xmproc2 x -- xmobar on monitor 3
|
-- >> hPutStrLn xmproc2 x -- xmobar on monitor 3
|
||||||
ppCurrent = xmobarColor "#FFFFFF" "" . wrap "●" "" -- Current workspace
|
, ppCurrent = xmobarColor "#FFFFFF" "" . wrap "●" "" -- Current workspace
|
||||||
, ppVisible = xmobarColor "#c0a79a" "" . wrap "♼" "" . clickable -- Visible but not current workspace
|
, ppVisible = xmobarColor "#c0a79a" "" . wrap "♼" "" . clickable -- Visible but not current workspace
|
||||||
, ppHidden = xmobarColor "#c0a79a" "" . wrap "○" "" . clickable -- Hidden workspaces
|
, ppHidden = xmobarColor "#c0a79a" "" . wrap "○" "" . clickable -- Hidden workspaces
|
||||||
, ppHiddenNoWindows = xmobarColor "#c792ea" "" . \s -> "" -- Hidden workspaces (no windows)
|
, ppHiddenNoWindows = xmobarColor "#c792ea" "" . \s -> "" -- Hidden workspaces (no windows)
|
||||||
|
|||||||
Reference in New Issue
Block a user