Skip to content

Instantly share code, notes, and snippets.

View gazorby's full-sized avatar
🏠
Working from home

Matthieu MN gazorby

🏠
Working from home
View GitHub Profile
# Arch Linux Install Script (alis) configuration file
#
# Some values are preceded by a ! character, this means that the value is ignored.
# Some keys accept a single value others accept multiple values as annotated in the comments.
# init
KEYS="fr"
LOG="true"
# Partition
#!/usr/bin/env bash
set -e
# Arch Linux Install Script (alis) installs unattended, automated
# and customized Arch Linux system.
# Copyright (C) 2018 picodotdev
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
#!/usr/bin/env fish
sudo cp -av /usr/share/gnome-shell/gnome-shell-theme.gresource{,~}
set -l GTK_THEME (gsettings get org.gnome.desktop.interface gtk-theme | sed "s/'//g")
cd /usr/share/themes/$GTK_THEME/gnome-shell
sudo glib-compile-resources --target=/usr/share/gnome-shell/gnome-shell-theme.gresource gnome-shell-theme.gresource.xml
#!/usr/bin/env bash
# This script assumes networking is up
############################################################
# CONFIGURATION START
############################################################
############
# MANDATORY
############
@gazorby
gazorby / script_template.sh
Last active February 22, 2020 23:35
Shell script boilerplate
#!/usr/bin/env bash
############################################################
# PRIVATE FUNCTIONS
############################################################
############################################################
# PRIVATE (better to use use shortcuts)
# Display logs
#
# Arguments :