Several updates bundle
This commit is contained in:
parent
c2226d9e19
commit
037d8df111
3 changed files with 32 additions and 30 deletions
|
@ -52,7 +52,7 @@ modify conf = conf
|
|||
, ("M-S-<Delete>", spawn "/run/current-system/sw/bin/mpc pause; /run/current-system/sw/bin/xset s activate")
|
||||
, ("M-S-<Left>", shiftToPrev >> prevWS)
|
||||
, ("M-S-<Right>", shiftToNext >> nextWS)
|
||||
, ("M-s s", spawn "/run/current-system/sw/bin/flameshot gui")
|
||||
, ("M-s s", spawn "flameshot gui")
|
||||
, ("M-s t", spawn "/run/current-system/sw/bin/scrot /tmp/screen.png")
|
||||
-- Workspace and tasks
|
||||
, ("M-b", switchProjectPrompt promptConfig)
|
||||
|
@ -81,7 +81,7 @@ promptConfig = def
|
|||
, defaultText = ""
|
||||
, fgColor = S.base02
|
||||
, fgHLight = S.base03
|
||||
, font = "xft:Iosevka Term:style=Regular:size=8"
|
||||
, font = "xft:Iosevka Samae:style=Regular:size=8"
|
||||
, height = 24
|
||||
, promptBorderWidth = 5
|
||||
}
|
||||
|
|
|
@ -52,5 +52,6 @@ mkPassPrompt label f conf = do
|
|||
return . lines $ files
|
||||
|
||||
selectPassword :: String -> X ()
|
||||
selectPassword pass = spawn $ "gpg --decrypt " ++ pass ++ " | xclip -selection clipboard"
|
||||
selectPassword pass = spawn $ "gpg --decrypt " ++ pass ++ " | copy"
|
||||
-- “copy” comes with the xmonad module in the nix configuration
|
||||
|
||||
|
|
|
@ -7,11 +7,16 @@ import XMonad.Actions.DynamicProjects
|
|||
import XMonad.Util.Run
|
||||
|
||||
projects :: [Project]
|
||||
projects = [ Project { projectName = "admin"
|
||||
projects =
|
||||
[ Project { projectName = "admin"
|
||||
, projectDirectory = "~/admin"
|
||||
, projectStartHook = Just $ do safeSpawn "vim" ["-g"]
|
||||
safeSpawnProg "st"
|
||||
}
|
||||
, Project { projectName = "flim"
|
||||
, projectDirectory = "/flims/rtorrent/download"
|
||||
, projectStartHook = Just $ do safeSpawnProg "st"
|
||||
}
|
||||
, Project { projectName = "sound"
|
||||
, projectDirectory = "/tmp"
|
||||
, projectStartHook = Just $ do safeSpawnProg "pavucontrol"
|
||||
|
@ -24,10 +29,6 @@ projects = [ Project { projectName = "admin"
|
|||
, projectDirectory = "/tmp"
|
||||
, projectStartHook = Just $ do spawn "firefox"
|
||||
}
|
||||
, Project { projectName = "yt"
|
||||
, projectDirectory = "/tmp"
|
||||
, projectStartHook = Just $ do spawn "ytapp-launcher.sh"
|
||||
}
|
||||
, Project { projectName = "Diablo"
|
||||
, projectDirectory = "/tmp"
|
||||
, projectStartHook = Just $ do spawn "/run/current-system/sw/bin/wine '/home/eeva/.wine/drive_c/Program Files/Battle.net/Battle.net Launcher.exe'"
|
||||
|
|
Loading…
Reference in a new issue