Skip to content

Instantly share code, notes, and snippets.

Avatar

Mac rajeshksv

View GitHub Profile
@rajeshksv
rajeshksv / gnome-shell-theme.gresource.xml
Last active Feb 24, 2018
Template for gnome-shell-theme.gresource.xml
View gnome-shell-theme.gresource.xml
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="/org/gnome/shell/theme">
<file>calendar-arrow-left.svg</file>
<file>calendar-arrow-right.svg</file>
<file>calendar-today.svg</file>
<file>checkbox-focused.svg</file>
<file>checkbox-off-focused.svg</file>
<file>checkbox-off.svg</file>
<file>checkbox.svg</file>
@rajeshksv
rajeshksv / login-background.sh
Created Feb 24, 2018
Change Login Background of GDM
View login-background.sh
WORKDIR=~/tmp/gdm-login-background
GST=/usr/share/gnome-shell/gnome-shell-theme.gresource
GSTRES=$(basename $GST)
mkdir -p $WORKDIR
cd $WORKDIR
mkdir theme
for r in `gresource list $GST`; do
gresource extract $GST $r >$WORKDIR$(echo $r | sed -e 's/^\/org\/gnome\/shell\//\//g')