Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl:CPAN-A
perl-AnyEvent-I3X-Workspace-OnDemand
perl-AnyEvent-I3X-Workspace-OnDemand.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-AnyEvent-I3X-Workspace-OnDemand.spec of Package perl-AnyEvent-I3X-Workspace-OnDemand
# # spec file for package perl-AnyEvent-I3X-Workspace-OnDemand # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define cpan_name AnyEvent-I3X-Workspace-OnDemand Name: perl-AnyEvent-I3X-Workspace-OnDemand Version: 0.003 Release: 0 License: BSD-3-Clause Summary: An I3 workspace loader URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/W/WA/WATERKIP/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(AnyEvent) BuildRequires: perl(AnyEvent::I3) >= 0.19 BuildRequires: perl(Data::Compare) BuildRequires: perl(EV) BuildRequires: perl(Object::Pad) BuildRequires: perl(Test::More) >= 0.96 Requires: perl(AnyEvent) Requires: perl(AnyEvent::I3) >= 0.19 Requires: perl(Data::Compare) Requires: perl(EV) Requires: perl(Object::Pad) %{perl_requires} %description Workspace switcher for i3. This module listens to tick events which are named 'group:$name' where the name corresponds to the workspace groups you have defined. When you send a tick event the current workspaces get renamed to '$former_group:$workspace_name' and leaves new workspaces for the ones you have defined. In your '.config/i3/config' you can set something like this to switch groups: bindsym $mod+w mode "Activities" mode "Activities" { bindsym 0 exec i3-msg -t send_tick group:foo; mode default bindsym 9 exec i3-msg -t send_tick group:bar; mode default bindsym 8 exec i3-msg -t send_tick group:baz; mode default bindsym Return mode "default" bindsym Escape mode "default" } %prep %autosetup -n %{cpan_name}-%{version} %build perl Makefile.PL INSTALLDIRS=vendor %make_build %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %doc Changes CONTRIBUTORS README.md %license LICENSE %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor