Class: Fusuma::Plugin::Appmatcher::Hyprland
- Inherits:
-
Object
- Object
- Fusuma::Plugin::Appmatcher::Hyprland
- Includes:
- UserSwitcher
- Defined in:
- lib/fusuma/plugin/appmatcher/hyprland.rb
Overview
Search Active Window’s Name for Hyprland
Defined Under Namespace
Classes: Matcher
Instance Attribute Summary collapse
-
#reader ⇒ Object
readonly
Returns the value of attribute reader.
-
#writer ⇒ Object
readonly
Returns the value of attribute writer.
Instance Method Summary collapse
-
#initialize ⇒ Hyprland
constructor
A new instance of Hyprland.
-
#watch_start ⇒ Integer
fork process and watch signal.
Methods included from UserSwitcher
#as_user, #drop_priv, login_user
Constructor Details
#initialize ⇒ Hyprland
Returns a new instance of Hyprland.
18 19 20 |
# File 'lib/fusuma/plugin/appmatcher/hyprland.rb', line 18 def initialize @reader, @writer = IO.pipe end |
Instance Attribute Details
#reader ⇒ Object (readonly)
Returns the value of attribute reader.
16 17 18 |
# File 'lib/fusuma/plugin/appmatcher/hyprland.rb', line 16 def reader @reader end |
#writer ⇒ Object (readonly)
Returns the value of attribute writer.
16 17 18 |
# File 'lib/fusuma/plugin/appmatcher/hyprland.rb', line 16 def writer @writer end |