forked from Shinonome/dots-hyprland
sync
This commit is contained in:
@@ -55,12 +55,12 @@
|
|||||||
margin: 10px;
|
margin: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.txt-badonkers {
|
.txt-gigantic {
|
||||||
@include mainfont;
|
@include mainfont;
|
||||||
font-size: 3rem;
|
font-size: 3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.txt-tiddies {
|
.txt-massive {
|
||||||
@include mainfont;
|
@include mainfont;
|
||||||
font-size: 2.7273rem;
|
font-size: 2.7273rem;
|
||||||
}
|
}
|
||||||
@@ -127,6 +127,10 @@
|
|||||||
@include actiontext;
|
@include actiontext;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.txt-thin {
|
||||||
|
font-weight: 300;
|
||||||
|
}
|
||||||
|
|
||||||
.txt-semibold {
|
.txt-semibold {
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,8 +12,8 @@ import { WWO_CODE, WEATHER_SYMBOL, NIGHT_WEATHER_SYMBOL } from '../../data/weath
|
|||||||
const BATTERY_LOW = 20;
|
const BATTERY_LOW = 20;
|
||||||
const WEATHER_CACHE_FOLDER = `${GLib.get_user_cache_dir()}/ags/weather`;
|
const WEATHER_CACHE_FOLDER = `${GLib.get_user_cache_dir()}/ags/weather`;
|
||||||
Utils.exec(`mkdir -p ${WEATHER_CACHE_FOLDER}`);
|
Utils.exec(`mkdir -p ${WEATHER_CACHE_FOLDER}`);
|
||||||
|
|
||||||
let WEATHER_CITY = '';
|
let WEATHER_CITY = '';
|
||||||
// try to read envvar AGS_WEATHER_CITY
|
|
||||||
try {
|
try {
|
||||||
WEATHER_CITY = GLib.getenv('AGS_WEATHER_CITY');
|
WEATHER_CITY = GLib.getenv('AGS_WEATHER_CITY');
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|||||||
@@ -132,7 +132,7 @@ const CoverArt = ({ player, ...rest }) => Box({
|
|||||||
className: 'osd-music-cover-fallback',
|
className: 'osd-music-cover-fallback',
|
||||||
homogeneous: true,
|
homogeneous: true,
|
||||||
children: [Label({
|
children: [Label({
|
||||||
className: 'icon-material txt-hugeass',
|
className: 'icon-material txt-gigantic txt-thin',
|
||||||
label: 'music_note',
|
label: 'music_note',
|
||||||
})]
|
})]
|
||||||
}),
|
}),
|
||||||
|
|||||||
@@ -294,7 +294,9 @@ const OverviewRow = ({ startWorkspace, workspaces, windowName = 'overview' }) =>
|
|||||||
box
|
box
|
||||||
.hook(overviewTick, (box) => box.attribute.update(box))
|
.hook(overviewTick, (box) => box.attribute.update(box))
|
||||||
.hook(Hyprland, (box, clientAddress) => {
|
.hook(Hyprland, (box, clientAddress) => {
|
||||||
box.attribute.update(box)
|
const client = Hyprland.getClient(clientAddress);
|
||||||
|
box.attribute.updateWorkspace(client.workspace.id);
|
||||||
|
// box.attribute.update(box)
|
||||||
}, 'client-removed')
|
}, 'client-removed')
|
||||||
.hook(Hyprland, (box, clientAddress) => {
|
.hook(Hyprland, (box, clientAddress) => {
|
||||||
box.attribute.update(box);
|
box.attribute.update(box);
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ export default (props) => {
|
|||||||
vertical: true,
|
vertical: true,
|
||||||
className: 'spacing-v-5',
|
className: 'spacing-v-5',
|
||||||
children: [
|
children: [
|
||||||
MaterialIcon('notifications_active', 'badonkers'),
|
MaterialIcon('notifications_active', 'gigantic'),
|
||||||
Label({ label: 'No notifications', className: 'txt-small' }),
|
Label({ label: 'No notifications', className: 'txt-small' }),
|
||||||
]
|
]
|
||||||
}),
|
}),
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ const todoItems = (isDone) => Widget.Scrollable({
|
|||||||
vpack: 'center',
|
vpack: 'center',
|
||||||
className: 'txt',
|
className: 'txt',
|
||||||
children: [
|
children: [
|
||||||
MaterialIcon(`${isDone ? 'checklist' : 'check_circle'}`, 'badonkers'),
|
MaterialIcon(`${isDone ? 'checklist' : 'check_circle'}`, 'gigantic'),
|
||||||
Label({ label: `${isDone ? 'Finished tasks will go here' : 'Nothing here!'}` })
|
Label({ label: `${isDone ? 'Finished tasks will go here' : 'Nothing here!'}` })
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user