This commit is contained in:
end-4
2024-02-08 02:20:31 +07:00
parent 7c0c61fb3e
commit 3cce919268
6 changed files with 13 additions and 7 deletions
+6 -2
View File
@@ -55,12 +55,12 @@
margin: 10px;
}
.txt-badonkers {
.txt-gigantic {
@include mainfont;
font-size: 3rem;
}
.txt-tiddies {
.txt-massive {
@include mainfont;
font-size: 2.7273rem;
}
@@ -127,6 +127,10 @@
@include actiontext;
}
.txt-thin {
font-weight: 300;
}
.txt-semibold {
font-weight: 500;
}
+1 -1
View File
@@ -12,8 +12,8 @@ import { WWO_CODE, WEATHER_SYMBOL, NIGHT_WEATHER_SYMBOL } from '../../data/weath
const BATTERY_LOW = 20;
const WEATHER_CACHE_FOLDER = `${GLib.get_user_cache_dir()}/ags/weather`;
Utils.exec(`mkdir -p ${WEATHER_CACHE_FOLDER}`);
let WEATHER_CITY = '';
// try to read envvar AGS_WEATHER_CITY
try {
WEATHER_CITY = GLib.getenv('AGS_WEATHER_CITY');
} catch (e) {
@@ -132,7 +132,7 @@ const CoverArt = ({ player, ...rest }) => Box({
className: 'osd-music-cover-fallback',
homogeneous: true,
children: [Label({
className: 'icon-material txt-hugeass',
className: 'icon-material txt-gigantic txt-thin',
label: 'music_note',
})]
}),
@@ -294,7 +294,9 @@ const OverviewRow = ({ startWorkspace, workspaces, windowName = 'overview' }) =>
box
.hook(overviewTick, (box) => box.attribute.update(box))
.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')
.hook(Hyprland, (box, clientAddress) => {
box.attribute.update(box);
@@ -20,7 +20,7 @@ export default (props) => {
vertical: true,
className: 'spacing-v-5',
children: [
MaterialIcon('notifications_active', 'badonkers'),
MaterialIcon('notifications_active', 'gigantic'),
Label({ label: 'No notifications', className: 'txt-small' }),
]
}),
+1 -1
View File
@@ -92,7 +92,7 @@ const todoItems = (isDone) => Widget.Scrollable({
vpack: 'center',
className: 'txt',
children: [
MaterialIcon(`${isDone ? 'checklist' : 'check_circle'}`, 'badonkers'),
MaterialIcon(`${isDone ? 'checklist' : 'check_circle'}`, 'gigantic'),
Label({ label: `${isDone ? 'Finished tasks will go here' : 'Nothing here!'}` })
]
})