-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from nlpsuge/experiments-close-multiple-window…
…s-GtkListBox Experimental feature: Close windows according to shortcuts using `ydotool` It supports X11 and Wayland. This PR is part of #9
- Loading branch information
Showing
26 changed files
with
1,798 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/env bash | ||
# $1: FileUtils.desktop_template_path_ydotool_uinput_rules | ||
# $2: FileUtils.system_udev_rules_path_ydotool_uinput_rules | ||
|
||
cp "$1" "$2" && chmod 644 "$2" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** | ||
* GdkModifierType | ||
* | ||
* See: https://gitlab.gnome.org/GNOME/gtk/blob/d726ecdb5d1ece870585c7be89eb6355b2482544/gdk/gdkenums.h:L74 | ||
*/ | ||
var GDK_SHIFT_MASK = 1 << 0; | ||
var GDK_CONTROL_MASK = 1 << 2; | ||
var GDK_ALT_MASK = 1 << 3; | ||
|
||
var GDK_META_MASK = 1 << 28; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<node> | ||
<interface name="org.freedesktop.login1.Manager"> | ||
<signal name="UserNew"> | ||
<arg type="u" direction="out"/> | ||
<arg type="o" direction="out"/> | ||
</signal> | ||
<signal name="SessionRemoved"> | ||
<arg type="s" direction="out"/> | ||
<arg type="o" direction="out"/> | ||
</signal> | ||
<signal name="UserRemoved"> | ||
<arg type="u" direction="out"/> | ||
<arg type="o" direction="out"/> | ||
</signal> | ||
<signal name="PrepareForShutdown"> | ||
<arg type="b" direction="out"/> | ||
</signal> | ||
<method name="Inhibit"> | ||
<arg type="s" direction="in"/> | ||
<arg type="s" direction="in"/> | ||
<arg type="s" direction="in"/> | ||
<arg type="s" direction="in"/> | ||
<arg type="h" direction="out"/> | ||
</method> | ||
</interface> | ||
</node> |
Oops, something went wrong.