Add function to jump to screen holding tag
As opposed to viewonly, which pulls a tag to the current screen
This commit is contained in:
parent
2a4396ea77
commit
382bd09442
5
init.lua
5
init.lua
|
@ -170,6 +170,11 @@ function sharedtags.viewonly(tag, screen)
|
|||
tag:view_only()
|
||||
end
|
||||
|
||||
function sharedtags.jumpto(tag)
|
||||
awful.screen.focus(tag.screen)
|
||||
tag:view_only()
|
||||
end
|
||||
|
||||
--- Toggle the specified tag on the specified screen.
|
||||
-- The tag will be selected if the screen changes, and toggled if it does not
|
||||
-- change the screen.
|
||||
|
|
Loading…
Reference in New Issue