Skip to content

Commit fef5d07

Browse files
committed
πŸ’Ž style: Added icon theme for Gnome to starbiglive
1 parent 6198a62 commit fef5d07

6 files changed

Lines changed: 28 additions & 13 deletions

File tree

β€Žbiglinux-livecd/usr/bin/startbigliveβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ else
103103
export GDMSESSION=gnome
104104
export XDG_CURRENT_DESKTOP=gnome
105105
export QT_SCALE_FACTOR_ROUNDING_POLICY=RoundPreferFloor
106+
gsettings set org.gnome.desktop.interface cursor-theme Bibata-Modern-Classic
106107
mutter --wayland /usr/bin/gnome-bbv-live-session
107108
fi
108109
fi

β€Žbiglinux-livecd/usr/share/biglinux/calamares/src/utils/constants.pyβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# Application Information
1010
APP_NAME = "BigLinux Calamares Config"
1111
APP_ID = "com.biglinux.calamares-config"
12-
APP_VERSION = "1.0.7"
12+
APP_VERSION = "1.0.8"
1313

1414
# Paths and Directories
1515
BASE_DIR = Path(__file__).parent.parent.parent

β€Žbiglinux-livecd/usr/share/biglinux/livecd/application.pyβ€Ž

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,15 @@ def do_startup(self):
2121
"""Called once when the application starts."""
2222
Adw.Application.do_startup(self)
2323

24-
# Get the default icon theme
24+
# Add icon search paths
2525
icon_theme = Gtk.IconTheme.get_for_display(Gdk.Display.get_default())
2626

27-
# Add bigicons-papient as the primary search path for icons
28-
icon_theme.add_search_path("/usr/share/icons/bigicons-papient/48x48/apps")
29-
icon_theme.add_search_path("/usr/share/icons/bigicons-papient/scalable/apps")
30-
icon_theme.add_search_path("/usr/share/icons/bigicons-papient/22x22/panel")
31-
icon_theme.add_search_path("/usr/share/icons/bigicons-papient/16x16/panel")
32-
icon_theme.add_search_path("/usr/share/icons/bigicons-papient-dark/48x48/apps")
33-
icon_theme.add_search_path("/usr/share/icons/bigicons-papient-dark/scalable/apps")
34-
logger.info("Icon theme search paths configured for bigicons-papient")
27+
# Local icons (theme icons)
28+
icons_dir = "/usr/share/biglinux/livecd/assets/icons/"
29+
if os.path.isdir(icons_dir):
30+
icon_theme.add_search_path(icons_dir)
3531

36-
# Add circle flags path
32+
# Circle flags
3733
flags_dir = "/usr/share/circle-flags-svg/"
3834
if os.path.isdir(flags_dir):
3935
icon_theme.add_search_path(flags_dir)
Lines changed: 10 additions & 0 deletions
Loading
Lines changed: 8 additions & 0 deletions
Loading

β€Žbiglinux-livecd/usr/share/biglinux/livecd/ui/theme_view.pyβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,10 +255,10 @@ def create_item_widget(self, item: ThemeListItem):
255255

256256
# Icon based on theme type
257257
if item.name == "dark":
258-
icon_name = "weather-clear-night-symbolic"
258+
icon_name = "weather-clear-night"
259259
label_text = _("Dark Theme")
260260
else:
261-
icon_name = "weather-clear-symbolic"
261+
icon_name = "weather-clear"
262262
label_text = _("Light Theme")
263263

264264
icon = Gtk.Image.new_from_icon_name(icon_name)

0 commit comments

Comments
Β (0)