improve screenshots

This commit is contained in:
qvalentin 2021-10-01 19:32:21 +02:00
parent abb03630a8
commit b0ed135a95
2 changed files with 4 additions and 3 deletions

@ -1 +1 @@
Subproject commit 0c6fdf4e75dd4d31bc8423010fbabbab7c23ee03
Subproject commit 20fdcbad0181d9e8fc7571799b1bb02952489df6

View File

@ -33,7 +33,7 @@ main = do
layoutHook = myLayout
}
`additionalKeysP` [ ("M-S-z", spawn "xscreensaver-command -lock"),
("M-S-s", unGrab *> spawn "scrot -s"),
("M-S-s", unGrab *> spawn "cast_screenshot"),
("M-f", runOrRaise "brave" (className =? "Brave-browser")),
("M-<Space>", spawn "rofi -show drun") ,
@ -137,6 +137,7 @@ myManageHook =
className =? "TelegramDesktop" --> viewShift (myWorkspaces !! 2),
className =? "Gimp" --> doShift (myWorkspaces !! 8),
className =? "VirtualBox Manager" --> doShift (myWorkspaces !! 4),
(className =? "firefox" <&&> resource =? "Dialog") --> doFloat -- Float Firefox Dialog
(className =? "firefox" <&&> resource =? "Dialog") --> doFloat, -- Float Firefox Dialog
appName =? "sun-awt-X11-XWindowPeer" <&&> className =? "jetbrains-idea" --> doIgnore
] <+> insertPosition End Newer
where viewShift = doF . liftM2 (.) greedyView shift