From 8f210ea75511af9fd019905fee6bdfd0c75010d2 Mon Sep 17 00:00:00 2001 From: Kiran George Date: Tue, 21 May 2024 20:53:51 +0530 Subject: Swapped out xrandr to hyprctl monitors in ags overview --- config/ags/variables.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/ags') diff --git a/config/ags/variables.js b/config/ags/variables.js index ec4aedec..803b9157 100644 --- a/config/ags/variables.js +++ b/config/ags/variables.js @@ -6,8 +6,8 @@ const { exec, execAsync } = Utils; Gtk.IconTheme.get_default().append_search_path(`${App.configDir}/assets/icons`); // Screen size -export const SCREEN_WIDTH = Number(exec(`bash -c "xrandr --current | grep '*' | uniq | awk '{print $1}' | cut -d 'x' -f1 | head -1" | awk '{print $1}'`)); -export const SCREEN_HEIGHT = Number(exec(`bash -c "xrandr --current | grep '*' | uniq | awk '{print $1}' | cut -d 'x' -f2 | head -1" | awk '{print $1}'`)); +export const SCREEN_WIDTH = Number(exec(`bash -c "hyprctl monitors -j | jq '.[0].width'"`)); +export const SCREEN_HEIGHT = Number(exec(`bash -c "hyprctl monitors -j | jq '.[0].height'"`)); // Mode switching export const currentShellMode = Variable('normal', {}) // normal, focus -- cgit v1.2.3 From 14036bed49f3d833a2d9ee6f57936dad0c20be9a Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 23 May 2024 21:54:23 +0900 Subject: updated AGS to included thunderbird-bin and libreoffice-bin from Gentoo --- config/ags/modules/.configuration/user_options.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config/ags') diff --git a/config/ags/modules/.configuration/user_options.js b/config/ags/modules/.configuration/user_options.js index ba8c5ab6..db194395 100644 --- a/config/ags/modules/.configuration/user_options.js +++ b/config/ags/modules/.configuration/user_options.js @@ -75,8 +75,11 @@ let configOptions = { 'Minecraft* 1.20.1': "minecraft", 'gnome-tweaks': "org.gnome.tweaks", 'pavucontrol-qt': "pavucontrol", + 'thunderbird-esr': "thunderbird", 'wps': "wps-office2019-kprometheus", 'wpsoffice': "wps-office2019-kprometheus", + 'firefox-esr': "firefox", + 'soffice' : "libreoffice", '': "image-missing", } }, -- cgit v1.2.3