forked from Shinonome/dots-hyprland
@@ -1,7 +1,7 @@
|
||||
const { Gdk } = imports.gi;
|
||||
import Widget from 'resource:///com/github/Aylur/ags/widget.js';
|
||||
import PopupWindow from '../.widgethacks/popupwindow.js';
|
||||
import { SCREEN_HEIGHT, SCREEN_WIDTH } from '../../variables.js';
|
||||
import { monitors } from '../.miscutils/hyprlanddata.js';
|
||||
|
||||
const WINDOWS_NEED_CLICK2CLOSE = [
|
||||
'sideleft', 'sideright', 'overview', 'cheatsheet'
|
||||
@@ -43,8 +43,8 @@ export default (monitor = 0) => PopupWindow({
|
||||
child: Widget.Box({
|
||||
css: `
|
||||
${userOptions.appearance.layerSmoke ? 'background-color: rgba(0,0,0,' + String(userOptions.appearance.layerSmokeStrength) + ');' : ''}
|
||||
min-height: ${SCREEN_HEIGHT}px;
|
||||
min-width: ${SCREEN_WIDTH}px;
|
||||
min-height: ${monitors[monitor].height}px;
|
||||
min-width: ${monitors[monitor].width}px;
|
||||
`
|
||||
}),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user