feat(ags): add bind on escape key to close ags windows
This commit is contained in:
parent
30c2c51828
commit
b7de4ad482
2 changed files with 5 additions and 2 deletions
|
@ -5,7 +5,10 @@ import { NotificationCenter } from './js/notifications/center.js';
|
||||||
import { NotificationsPopupList } from './js/notifications/popup.js'
|
import { NotificationsPopupList } from './js/notifications/popup.js'
|
||||||
import { Closer } from './js/misc/closer.js';
|
import { Closer } from './js/misc/closer.js';
|
||||||
import { Calendar } from './js/date.js';
|
import { Calendar } from './js/date.js';
|
||||||
import { QuickSettings } from './js/quick-settings/main.js'
|
import { QuickSettings } from './js/quick-settings/main.js';
|
||||||
|
|
||||||
|
import { closeAll } from './js/misc/close-all.js';
|
||||||
|
ags.App.closeAll = () => closeAll();
|
||||||
|
|
||||||
const scss = ags.App.configDir + '/scss/main.scss';
|
const scss = ags.App.configDir + '/scss/main.scss';
|
||||||
const css = ags.App.configDir + '/style.css';
|
const css = ags.App.configDir + '/style.css';
|
||||||
|
|
|
@ -172,7 +172,7 @@ bind = $mainMod, C, killactive,
|
||||||
|
|
||||||
bind = $mainMod, L, exec, $LOCK_PATH/lock.sh
|
bind = $mainMod, L, exec, $LOCK_PATH/lock.sh
|
||||||
bind = $mainMod SHIFT, E, exec, ags run-js 'ags.App.openWindow("closer")'; ags run-js 'ags.App.openWindow("powermenu")'
|
bind = $mainMod SHIFT, E, exec, ags run-js 'ags.App.openWindow("closer")'; ags run-js 'ags.App.openWindow("powermenu")'
|
||||||
bindn =, Escape, exec, $EWW_PATH/close-opened.sh
|
bindn =, Escape, exec, ags run-js 'ags.App.closeAll()'
|
||||||
bind = $mainMod SHIFT, SPACE, togglefloating,
|
bind = $mainMod SHIFT, SPACE, togglefloating,
|
||||||
bind = $mainMod, D, exec, wofi --show drun
|
bind = $mainMod, D, exec, wofi --show drun
|
||||||
bind = $mainMod, P, pseudo, # dwindle
|
bind = $mainMod, P, pseudo, # dwindle
|
||||||
|
|
Loading…
Reference in a new issue