Fix startup window rules. (#682)
This commit is contained in:
@@ -1,18 +1,18 @@
|
|||||||
import { hyprlandService } from '../constants/services';
|
import { hyprlandService } from '../constants/services';
|
||||||
|
|
||||||
const floatSettingsDialog = (): void => {
|
const floatSettingsDialog = (): void => {
|
||||||
hyprlandService.message(`hyprctl keyword windowrulev2 "float, title:^(hyprpanel-settings)$"`);
|
hyprlandService.message(`keyword windowrulev2 float, title:^(hyprpanel-settings)$`);
|
||||||
|
|
||||||
hyprlandService.connect('config-reloaded', () => {
|
hyprlandService.connect('config-reloaded', () => {
|
||||||
hyprlandService.message(`hyprctl keyword windowrulev2 "float, title:^(hyprpanel-settings)$"`);
|
hyprlandService.message(`keyword windowrulev2 float, title:^(hyprpanel-settings)$`);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const floatFilePicker = (): void => {
|
const floatFilePicker = (): void => {
|
||||||
hyprlandService.message(`hyprctl keyword windowrulev2 "float, title:^((Save|Import) Hyprpanel.*)$"`);
|
hyprlandService.message(`keyword windowrulev2 float, title:^((Save|Import) Hyprpanel.*)$`);
|
||||||
|
|
||||||
hyprlandService.connect('config-reloaded', () => {
|
hyprlandService.connect('config-reloaded', () => {
|
||||||
hyprlandService.message(`hyprctl keyword windowrulev2 "float, title:^((Save|Import) Hyprpanel.*)$"`);
|
hyprlandService.message(`keyword windowrulev2 float, title:^((Save|Import) Hyprpanel.*)$`);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user