xmonad: updated workspaces and browser

This commit is contained in:
Serĉanto de Scio 2023-08-29 13:33:11 +10:00
parent 99f4984283
commit c3ee084ee0
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

@ -90,11 +90,11 @@ myPolybarPP =
---------------- ----------------
myWorkspaces :: [String] myWorkspaces :: [String]
myWorkspaces = [wsSIG, wsIOG, wsMIO, wsDOT, wsLOG, wsMUS, wsREC, wsVID, wsADA] myWorkspaces = [wsSIG, wsIOG, wsMIO, wsSEC, wsLOG, wsMUS, wsREC, wsVID, wsADA]
wsIOG, wsDOT, wsSIG, wsMIO, wsLOG, wsMUS, wsREC, wsVID, wsADA :: String wsIOG, wsSEC, wsSIG, wsMIO, wsLOG, wsMUS, wsREC, wsVID, wsADA :: String
wsIOG = "iog" wsIOG = "iog"
wsDOT = "dot" wsSEC = "sec"
wsSIG = "sig" wsSIG = "sig"
wsMIO = "mio" wsMIO = "mio"
wsLOG = "log" wsLOG = "log"
@ -111,15 +111,17 @@ projects :: [Project]
projects = projects =
[ Project [ Project
{ projectName = wsIOG, { projectName = wsIOG,
projectDirectory = "~/", projectDirectory = "~/source/IOG",
projectStartHook = Just $ do projectStartHook = Just $ do
spawnOn wsIOG iogBrowser spawnOn wsIOG iogBrowser
spawnOn wsIOG slack spawnOn wsIOG slack
spawnOn wsMIO myTerminal
spawnOn wsMIO myTerminal
}, },
Project Project
{ projectName = wsDOT, { projectName = wsSEC,
projectDirectory = "~/.dotfiles", projectDirectory = "~/.dotfiles",
projectStartHook = Just $ do spawnOn wsDOT myTerminal projectStartHook = Just $ do spawnOn wsSEC incognitoBrowser
}, },
Project Project
{ projectName = wsSIG, { projectName = wsSIG,
@ -129,8 +131,13 @@ projects =
}, },
Project Project
{ projectName = wsMIO, { projectName = wsMIO,
projectDirectory = "~/", projectDirectory = "~/forge/mio-ops",
projectStartHook = Just $ do spawnOn wsMIO browser projectStartHook = Just $ do
spawnOn wsMIO browser
spawnOn wsMIO element
spawnOn wsMIO mastodon
spawnOn wsMIO myTerminal
spawnOn wsMIO myTerminal
}, },
Project Project
{ projectName = wsLOG, { projectName = wsLOG,
@ -178,7 +185,7 @@ promptTheme =
brightnessDown, brightnessUp, browser, discord, editor, element, hibernate, incognitoBrowser, iogBrowser, launcher, logseq, musicPlayer, obs, screenshot, signal, slack, myTerminal, volumeDown, volumeMute, volumeUp :: String brightnessDown, brightnessUp, browser, discord, editor, element, hibernate, incognitoBrowser, iogBrowser, launcher, logseq, musicPlayer, obs, screenshot, signal, slack, myTerminal, volumeDown, volumeMute, volumeUp :: String
brightnessDown = "light -U 5" brightnessDown = "light -U 5"
brightnessUp = "light -A 5" brightnessUp = "light -A 5"
browser = "brave" browser = "librewolf"
daedalus = "daedalus" daedalus = "daedalus"
discord = "discord" discord = "discord"
editor = "codium" editor = "codium"
@ -186,7 +193,7 @@ 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"
hibernate = "sudo systemctl hibernate" hibernate = "sudo systemctl hibernate"
incognitoBrowser = "brave -incognito" incognitoBrowser = "librewolf --private-window"
iogBrowser = "google-chrome-stable" iogBrowser = "google-chrome-stable"
launcher = "rofi -show drun" launcher = "rofi -show drun"
logseq = "logseq" logseq = "logseq"
@ -195,7 +202,8 @@ obs = "obs"
screenshot = "flameshot gui" screenshot = "flameshot gui"
signal = "signal-desktop" signal = "signal-desktop"
slack = "slack" slack = "slack"
myTerminal = "termonad" mastodon = "whalebird"
myTerminal = "terminology"
myScreenLockCmd = "xscreensaver --no-splash" myScreenLockCmd = "xscreensaver --no-splash"
myScreenLock = "xscreensaver-command -lock" myScreenLock = "xscreensaver-command -lock"
volumeDown = "amixer set Master 2%-" volumeDown = "amixer set Master 2%-"