update 10/19/2024
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
--
|
||||
|
||||
import XMonad
|
||||
import XMonad.Hooks.DynamicLog
|
||||
import Data.Monoid
|
||||
import System.Exit
|
||||
|
||||
@@ -36,7 +37,7 @@ myBorderWidth = 1
|
||||
-- ("right alt"), which does not conflict with emacs keybindings. The
|
||||
-- "windows key" is usually mod4Mask.
|
||||
--
|
||||
myModMask = mod1Mask
|
||||
myModMask = mod4Mask
|
||||
|
||||
-- The default number of workspaces (virtual screens) and their names.
|
||||
-- By default we use numeric strings, but any string may be used as a
|
||||
@@ -47,7 +48,7 @@ myModMask = mod1Mask
|
||||
--
|
||||
-- > workspaces = ["web", "irc", "code" ] ++ map show [4..9]
|
||||
--
|
||||
myWorkspaces = ["1","2","3","4","5","6","7","8","9"]
|
||||
myWorkspaces = ["term", "web", "code", "debug", "docs"] ++ map show [6..9]
|
||||
|
||||
-- Border colors for unfocused and focused windows, respectively.
|
||||
--
|
||||
@@ -243,14 +244,17 @@ myLogHook = return ()
|
||||
-- per-workspace layout choices.
|
||||
--
|
||||
-- By default, do nothing.
|
||||
myStartupHook = return ()
|
||||
myStartupHook = do
|
||||
spawn "feh --bg-scale ~/画像/wallpaper/85444653_p0.jpg"
|
||||
|
||||
------------------------------------------------------------------------
|
||||
-- Now run xmonad with all the defaults we set up.
|
||||
|
||||
-- Run xmonad with the settings you specify. No need to modify this.
|
||||
--
|
||||
main = xmonad defaults
|
||||
main :: IO()
|
||||
main = do
|
||||
xmobar myConfig >>= xmonad
|
||||
|
||||
-- A structure containing your configuration settings, overriding
|
||||
-- fields in the default config. Any you don't override, will
|
||||
@@ -258,7 +262,7 @@ main = xmonad defaults
|
||||
--
|
||||
-- No need to modify this.
|
||||
--
|
||||
defaults = def {
|
||||
myConfig = def {
|
||||
-- simple stuff
|
||||
terminal = myTerminal,
|
||||
focusFollowsMouse = myFocusFollowsMouse,
|
||||
|
||||
Reference in New Issue
Block a user