xmonad: updated workspaces

This commit is contained in:
Serĉanto de Scio 2022-12-18 22:33:45 +10:00
parent a031fdee23
commit a5d0731b6e
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

@ -90,17 +90,18 @@ myXmobarPP =
---------------- ----------------
myWorkspaces :: [String] myWorkspaces :: [String]
myWorkspaces = [wsGEN, wsCOM, wsINT] myWorkspaces = [wsSIG, wsIOG, wsMIO, wsDOT, wsLOG, wsMUS, wsREC, wsVID, wsADA]
wsCOM, wsDOT, wsGEN, wsINT, wsLOG, wsMUS, wsREC, wsVID :: String wsIOG, wsDOT, wsSIG, wsMIO, wsLOG, wsMUS, wsREC, wsVID, wsADA :: String
wsCOM = "com" wsIOG = "iog"
wsDOT = "dot" wsDOT = "dot"
wsGEN = "gen" wsSIG = "sig"
wsINT = "int" wsMIO = "mio"
wsLOG = "log" wsLOG = "log"
wsMUS = "mus" wsMUS = "mus"
wsREC = "rec" wsREC = "rec"
wsVID = "vid" wsVID = "vid"
wsADA = "ada"
-------------- --------------
-- Projects -- -- Projects --
@ -109,30 +110,31 @@ wsVID = "vid"
projects :: [Project] projects :: [Project]
projects = projects =
[ Project [ Project
{ projectName = wsCOM, { projectName = wsIOG,
projectDirectory = "~/", projectDirectory = "~/",
projectStartHook = Just $ do projectStartHook = Just $ do
spawnOn wsCOM element spawnOn wsIOG iogBrowser
spawnOn wsIOG slack
}, },
Project Project
{ projectName = wsDOT, { projectName = wsDOT,
projectDirectory = "~/.dotfiles", projectDirectory = "~/.dotfiles",
projectStartHook = Just $ do spawnOn wsDOT $ editor ++ " ." projectStartHook = Just $ do spawnOn wsDOT myTerminal
}, },
Project Project
{ projectName = wsGEN, { projectName = wsSIG,
projectDirectory = "~/", projectDirectory = "~/",
projectStartHook = Nothing projectStartHook = Nothing
}, },
Project Project
{ projectName = wsINT, { projectName = wsMIO,
projectDirectory = "~/", projectDirectory = "~/",
projectStartHook = Just $ do spawnOn wsINT browser projectStartHook = Just $ do spawnOn wsMIO browser
}, },
Project Project
{ projectName = wsLOG, { projectName = wsLOG,
projectDirectory = "~/", projectDirectory = "~/",
projectStartHook = Just $ do spawnOn wsLOG logseq projectStartHook = Just $ do spawnOn wsIOG myTerminal
}, },
Project Project
{ projectName = wsMUS, { projectName = wsMUS,
@ -148,7 +150,12 @@ projects =
{ projectName = wsVID, { projectName = wsVID,
projectDirectory = "~/", projectDirectory = "~/",
projectStartHook = Nothing projectStartHook = Nothing
} },
Project
{ projectName = wsADA,
projectDirectory = "~/",
projectStartHook = Just $ do spawnOn wsADA daedalus
},
] ]
promptTheme :: XPConfig promptTheme :: XPConfig
@ -167,20 +174,23 @@ promptTheme =
-- Applications -- -- Applications --
------------------ ------------------
browser, discord, editor, element, incognitoBrowser, launcher, logseq, musicPlayer, obs, screenshot, terminal :: String browser, discord, editor, element, incognitoBrowser, iogBrowser, launcher, logseq, musicPlayer, obs, screenshot, slack, myTerminal :: String
browser = "brave" browser = "brave"
daedalus = "daedalus"
discord = "discord" discord = "discord"
editor = "codium" editor = "codium"
element = "element-desktop" element = "element-desktop"
enableEDP1 = "xrandr --output eDP-1 --primary --auto --output HDMI-1 --off" enableEDP1 = "xrandr --output eDP-1 --primary --auto --output HDMI-1 --off"
enableHDMI1 = "xrandr --output eDP-1 --off --output HDMI-1 --primary --mode 3840x2160" enableHDMI1 = "xrandr --output eDP-1 --off --output HDMI-1 --primary --mode 3840x2160"
incognitoBrowser = "brave -incognito" incognitoBrowser = "brave -incognito"
iogBrowser = "google-chrome-stable"
launcher = "rofi -show drun" launcher = "rofi -show drun"
logseq = "logseq" logseq = "logseq"
musicPlayer = "spotify" musicPlayer = "spotify"
obs = "obs" obs = "obs"
screenshot = "flameshot gui" screenshot = "flameshot gui"
terminal = "termonad" slack = "slack"
myTerminal = "termonad"
myScreenLockCmd = "xscreensaver --no-splash" myScreenLockCmd = "xscreensaver --no-splash"
myScreenLock = "xscreensaver-command -lock" myScreenLock = "xscreensaver-command -lock"
@ -197,7 +207,7 @@ myKeybinds =
("M-p", spawn launcher), ("M-p", spawn launcher),
("M-S-e", spawn enableEDP1), ("M-S-e", spawn enableEDP1),
("M-S-h", spawn enableHDMI1), ("M-S-h", spawn enableHDMI1),
("M-S-<Return>", spawn Main.terminal), ("M-S-<Return>", spawn myTerminal),
("M-<Backspace>", kill1), ("M-<Backspace>", kill1),
-- Layout control -- Layout control
("M-z", sendMessage Expand), ("M-z", sendMessage Expand),
@ -245,7 +255,7 @@ myLayout = spacedThreeColMid
delta = 3 / 100 delta = 3 / 100
---------------- ----------------
-- Navigation --L -- Navigation --
---------------- ----------------
myNav2DConf :: Navigation2DConfig myNav2DConf :: Navigation2DConfig