summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xboot/grub/grub.cfg179
-rwxr-xr-xboot/grub/grubenv3
-rwxr-xr-xboot/grub/themes/CyberRe/background.pngbin0 -> 1125928 bytes
-rwxr-xr-xboot/grub/themes/CyberRe/boot_menu2_c.pngbin0 -> 1740 bytes
-rwxr-xr-xboot/grub/themes/CyberRe/dejavu_14.pf2bin0 -> 176923 bytes
-rwxr-xr-xboot/grub/themes/CyberRe/droidlogo_bold_17.pf2bin0 -> 20041 bytes
-rwxr-xr-xboot/grub/themes/CyberRe/droidlogo_bold_20.pf2bin0 -> 23339 bytes
-rwxr-xr-xboot/grub/themes/CyberRe/droidlogo_bold_26.pf2bin0 -> 31498 bytes
-rwxr-xr-xboot/grub/themes/CyberRe/droidlogo_regular_12.pf2bin0 -> 15244 bytes
-rwxr-xr-xboot/grub/themes/CyberRe/droidlogo_regular_17.pf2bin0 -> 19148 bytes
-rwxr-xr-xboot/grub/themes/CyberRe/highlight_c.pngbin0 -> 2043 bytes
-rwxr-xr-xboot/grub/themes/CyberRe/highlight_w.pngbin0 -> 3663 bytes
-rwxr-xr-xboot/grub/themes/CyberRe/preview.pngbin0 -> 652990 bytes
-rwxr-xr-xboot/grub/themes/CyberRe/progress_highlight_c.pngbin0 -> 1809 bytes
-rwxr-xr-xboot/grub/themes/CyberRe/theme.txt49
-rw-r--r--etc/systemd/logind.conf48
-rw-r--r--etc/systemd/sleep.conf26
-rw-r--r--etc/systemd/system/betterlockscreen@.service16
-rw-r--r--etc/systemd/system/grub-btrfs.path12
l---------etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service1
20 files changed, 334 insertions, 0 deletions
diff --git a/boot/grub/grub.cfg b/boot/grub/grub.cfg
new file mode 100755
index 0000000..c62df8e
--- /dev/null
+++ b/boot/grub/grub.cfg
@@ -0,0 +1,179 @@
+#
+# DO NOT EDIT THIS FILE
+#
+# It is automatically generated by grub-mkconfig using templates
+# from /etc/grub.d and settings from /etc/default/grub
+#
+
+### BEGIN /etc/grub.d/00_header ###
+insmod part_gpt
+insmod part_msdos
+if [ -s $prefix/grubenv ]; then
+ load_env
+fi
+if [ "${next_entry}" ] ; then
+ set default="${next_entry}"
+ set next_entry=
+ save_env next_entry
+ set boot_once=true
+else
+ set default="0"
+fi
+
+if [ x"${feature_menuentry_id}" = xy ]; then
+ menuentry_id_option="--id"
+else
+ menuentry_id_option=""
+fi
+
+export menuentry_id_option
+
+if [ "${prev_saved_entry}" ]; then
+ set saved_entry="${prev_saved_entry}"
+ save_env saved_entry
+ set prev_saved_entry=
+ save_env prev_saved_entry
+ set boot_once=true
+fi
+
+function savedefault {
+ if [ -z "${boot_once}" ]; then
+ saved_entry="${chosen}"
+ save_env saved_entry
+ fi
+}
+
+function load_video {
+ if [ x$feature_all_video_module = xy ]; then
+ insmod all_video
+ else
+ insmod efi_gop
+ insmod efi_uga
+ insmod ieee1275_fb
+ insmod vbe
+ insmod vga
+ insmod video_bochs
+ insmod video_cirrus
+ fi
+}
+
+if [ x$feature_default_font_path = xy ] ; then
+ font=unicode
+else
+insmod part_gpt
+insmod btrfs
+search --no-floppy --fs-uuid --set=root 7ba6a2d9-b8bf-466b-a2b8-91ca2d5a50ed
+ font="/@/usr/share/grub/unicode.pf2"
+fi
+
+if loadfont $font ; then
+ set gfxmode=1920x1080
+ load_video
+ insmod gfxterm
+ set locale_dir=$prefix/locale
+ set lang=en_US
+ insmod gettext
+fi
+terminal_input console
+terminal_output gfxterm
+insmod part_gpt
+insmod fat
+search --no-floppy --fs-uuid --set=root BCCD-3C49
+insmod gfxmenu
+loadfont ($root)/grub/themes/CyberRe/dejavu_14.pf2
+loadfont ($root)/grub/themes/CyberRe/droidlogo_bold_17.pf2
+loadfont ($root)/grub/themes/CyberRe/droidlogo_bold_20.pf2
+loadfont ($root)/grub/themes/CyberRe/droidlogo_bold_26.pf2
+loadfont ($root)/grub/themes/CyberRe/droidlogo_regular_12.pf2
+loadfont ($root)/grub/themes/CyberRe/droidlogo_regular_17.pf2
+insmod png
+set theme=($root)/grub/themes/CyberRe/theme.txt
+export theme
+if [ x$feature_timeout_style = xy ] ; then
+ set timeout_style=menu
+ set timeout=10
+# Fallback normal timeout code in case the timeout_style feature is
+# unavailable.
+else
+ set timeout=10
+fi
+### END /etc/grub.d/00_header ###
+
+### BEGIN /etc/grub.d/10_linux ###
+menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-7ba6a2d9-b8bf-466b-a2b8-91ca2d5a50ed' {
+ load_video
+ set gfxpayload=keep
+ insmod gzio
+ insmod part_gpt
+ insmod fat
+ search --no-floppy --fs-uuid --set=root BCCD-3C49
+ echo 'Loading Linux linux ...'
+ linux /vmlinuz-linux root=UUID=7ba6a2d9-b8bf-466b-a2b8-91ca2d5a50ed rw rootflags=subvol=@ ro resume=/dev/nvme0n1p2 loglevel=3
+ echo 'Loading initial ramdisk ...'
+ initrd /intel-ucode.img /initramfs-linux.img
+}
+submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-7ba6a2d9-b8bf-466b-a2b8-91ca2d5a50ed' {
+ menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-7ba6a2d9-b8bf-466b-a2b8-91ca2d5a50ed' {
+ load_video
+ set gfxpayload=keep
+ insmod gzio
+ insmod part_gpt
+ insmod fat
+ search --no-floppy --fs-uuid --set=root BCCD-3C49
+ echo 'Loading Linux linux ...'
+ linux /vmlinuz-linux root=UUID=7ba6a2d9-b8bf-466b-a2b8-91ca2d5a50ed rw rootflags=subvol=@ ro resume=/dev/nvme0n1p2 loglevel=3
+ echo 'Loading initial ramdisk ...'
+ initrd /intel-ucode.img /initramfs-linux.img
+ }
+ menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-7ba6a2d9-b8bf-466b-a2b8-91ca2d5a50ed' {
+ load_video
+ set gfxpayload=keep
+ insmod gzio
+ insmod part_gpt
+ insmod fat
+ search --no-floppy --fs-uuid --set=root BCCD-3C49
+ echo 'Loading Linux linux ...'
+ linux /vmlinuz-linux root=UUID=7ba6a2d9-b8bf-466b-a2b8-91ca2d5a50ed rw rootflags=subvol=@ ro resume=/dev/nvme0n1p2 loglevel=3
+ echo 'Loading initial ramdisk ...'
+ initrd /intel-ucode.img /initramfs-linux-fallback.img
+ }
+}
+
+### END /etc/grub.d/10_linux ###
+
+### BEGIN /etc/grub.d/20_linux_xen ###
+### END /etc/grub.d/20_linux_xen ###
+
+### BEGIN /etc/grub.d/30_os-prober ###
+menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-D0F6-5BAB' {
+ insmod part_gpt
+ insmod fat
+ set root='hd0,gpt2'
+ if [ x$feature_platform_search_hint = xy ]; then
+ search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 D0F6-5BAB
+ else
+ search --no-floppy --fs-uuid --set=root D0F6-5BAB
+ fi
+ chainloader /efi/Microsoft/Boot/bootmgfw.efi
+}
+### END /etc/grub.d/30_os-prober ###
+
+### BEGIN /etc/grub.d/30_uefi-firmware ###
+menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
+ fwsetup
+}
+### END /etc/grub.d/30_uefi-firmware ###
+
+### BEGIN /etc/grub.d/40_custom ###
+# This file provides an easy way to add custom menu entries. Simply type the
+# menu entries you want to add after this comment. Be careful not to change
+# the 'exec tail' line above.
+### END /etc/grub.d/40_custom ###
+
+### BEGIN /etc/grub.d/41_custom ###
+if [ -f ${config_directory}/custom.cfg ]; then
+ source ${config_directory}/custom.cfg
+elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
+ source $prefix/custom.cfg
+fi
+### END /etc/grub.d/41_custom ###
diff --git a/boot/grub/grubenv b/boot/grub/grubenv
new file mode 100755
index 0000000..a77303c
--- /dev/null
+++ b/boot/grub/grubenv
@@ -0,0 +1,3 @@
+# GRUB Environment Block
+# WARNING: Do not edit this file by tools other than grub-editenv!!!
+################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################## \ No newline at end of file
diff --git a/boot/grub/themes/CyberRe/background.png b/boot/grub/themes/CyberRe/background.png
new file mode 100755
index 0000000..64803d9
--- /dev/null
+++ b/boot/grub/themes/CyberRe/background.png
Binary files differ
diff --git a/boot/grub/themes/CyberRe/boot_menu2_c.png b/boot/grub/themes/CyberRe/boot_menu2_c.png
new file mode 100755
index 0000000..af67642
--- /dev/null
+++ b/boot/grub/themes/CyberRe/boot_menu2_c.png
Binary files differ
diff --git a/boot/grub/themes/CyberRe/dejavu_14.pf2 b/boot/grub/themes/CyberRe/dejavu_14.pf2
new file mode 100755
index 0000000..e85fe3a
--- /dev/null
+++ b/boot/grub/themes/CyberRe/dejavu_14.pf2
Binary files differ
diff --git a/boot/grub/themes/CyberRe/droidlogo_bold_17.pf2 b/boot/grub/themes/CyberRe/droidlogo_bold_17.pf2
new file mode 100755
index 0000000..2199357
--- /dev/null
+++ b/boot/grub/themes/CyberRe/droidlogo_bold_17.pf2
Binary files differ
diff --git a/boot/grub/themes/CyberRe/droidlogo_bold_20.pf2 b/boot/grub/themes/CyberRe/droidlogo_bold_20.pf2
new file mode 100755
index 0000000..c91a693
--- /dev/null
+++ b/boot/grub/themes/CyberRe/droidlogo_bold_20.pf2
Binary files differ
diff --git a/boot/grub/themes/CyberRe/droidlogo_bold_26.pf2 b/boot/grub/themes/CyberRe/droidlogo_bold_26.pf2
new file mode 100755
index 0000000..3c0d157
--- /dev/null
+++ b/boot/grub/themes/CyberRe/droidlogo_bold_26.pf2
Binary files differ
diff --git a/boot/grub/themes/CyberRe/droidlogo_regular_12.pf2 b/boot/grub/themes/CyberRe/droidlogo_regular_12.pf2
new file mode 100755
index 0000000..53187f4
--- /dev/null
+++ b/boot/grub/themes/CyberRe/droidlogo_regular_12.pf2
Binary files differ
diff --git a/boot/grub/themes/CyberRe/droidlogo_regular_17.pf2 b/boot/grub/themes/CyberRe/droidlogo_regular_17.pf2
new file mode 100755
index 0000000..607bcf2
--- /dev/null
+++ b/boot/grub/themes/CyberRe/droidlogo_regular_17.pf2
Binary files differ
diff --git a/boot/grub/themes/CyberRe/highlight_c.png b/boot/grub/themes/CyberRe/highlight_c.png
new file mode 100755
index 0000000..dc9f694
--- /dev/null
+++ b/boot/grub/themes/CyberRe/highlight_c.png
Binary files differ
diff --git a/boot/grub/themes/CyberRe/highlight_w.png b/boot/grub/themes/CyberRe/highlight_w.png
new file mode 100755
index 0000000..e003713
--- /dev/null
+++ b/boot/grub/themes/CyberRe/highlight_w.png
Binary files differ
diff --git a/boot/grub/themes/CyberRe/preview.png b/boot/grub/themes/CyberRe/preview.png
new file mode 100755
index 0000000..e7e5049
--- /dev/null
+++ b/boot/grub/themes/CyberRe/preview.png
Binary files differ
diff --git a/boot/grub/themes/CyberRe/progress_highlight_c.png b/boot/grub/themes/CyberRe/progress_highlight_c.png
new file mode 100755
index 0000000..c9a4643
--- /dev/null
+++ b/boot/grub/themes/CyberRe/progress_highlight_c.png
Binary files differ
diff --git a/boot/grub/themes/CyberRe/theme.txt b/boot/grub/themes/CyberRe/theme.txt
new file mode 100755
index 0000000..bb006f1
--- /dev/null
+++ b/boot/grub/themes/CyberRe/theme.txt
@@ -0,0 +1,49 @@
+# Copyright (C) 2020 L. Henrique Lopes - HENK
+
+# general settings
+ title-text: ""
+ title-color: "#3ec6ae"
+ message-font: "DejaVu Sans Regular 14"
+ message-color: "#fd262e"
+ message-bg-color: "#808080"
+ desktop-image: "background.png"
+ desktop-color: "#808080"
+ terminal-font: "DejaVu Sans Regular 14"
+
+
+# boot menu
++ boot_menu {
+ left = 28%
+ width = 50%
+ top = 22%
+ height = 45%
+ item_font = "DroidLogo Regular 17"
+ item_color = "#fb3048"
+ selected_item_font = "DroidLogo Regular 17"
+ selected_item_color = "#74d6cf"
+ icon_width = 16
+ icon_height = 16
+ item_height = 33
+ item_padding = 20
+ item_icon_space = 5
+ item_spacing = 5
+ menu_pixmap_style = "boot_menu2_*.png"
+ selected_item_pixmap_style = "highlight_*.png"
+}
+
+# Show progress
++ progress_bar {
+ id = "__timeout__"
+ left = 0%
+ width = 100%
+ top = 99%
+ height = 31
+ show_text = false
+ text = ""
+ fg_color = "#3daee9"
+ bg_color = "#31363b"
+ border_color = "#31363b"
+ highlight_style = "progress_highlight_*.png"
+}
+
+
diff --git a/etc/systemd/logind.conf b/etc/systemd/logind.conf
new file mode 100644
index 0000000..c004d34
--- /dev/null
+++ b/etc/systemd/logind.conf
@@ -0,0 +1,48 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it under the
+# terms of the GNU Lesser General Public License as published by the Free
+# Software Foundation; either version 2.1 of the License, or (at your option)
+# any later version.
+#
+# Entries in this file show the compile time defaults. Local configuration
+# should be created by either modifying this file, or by creating "drop-ins" in
+# the logind.conf.d/ subdirectory. The latter is generally recommended.
+# Defaults can be restored by simply deleting this file and all drop-ins.
+#
+# Use 'systemd-analyze cat-config systemd/logind.conf' to display the full config.
+#
+# See logind.conf(5) for details.
+
+[Login]
+#NAutoVTs=6
+#ReserveVT=6
+#KillUserProcesses=no
+#KillOnlyUsers=
+#KillExcludeUsers=root
+#InhibitDelayMaxSec=5
+#UserStopDelaySec=10
+#HandlePowerKey=poweroff
+#HandlePowerKeyLongPress=ignore
+#HandleRebootKey=reboot
+#HandleRebootKeyLongPress=poweroff
+#HandleSuspendKey=suspend
+#HandleSuspendKeyLongPress=hibernate
+#HandleHibernateKey=hibernate
+#HandleHibernateKeyLongPress=ignore
+#HandleLidSwitch=suspend
+#HandleLidSwitchExternalPower=suspend
+#HandleLidSwitchDocked=ignore
+#PowerKeyIgnoreInhibited=no
+#SuspendKeyIgnoreInhibited=no
+#HibernateKeyIgnoreInhibited=no
+#LidSwitchIgnoreInhibited=yes
+#RebootKeyIgnoreInhibited=no
+#HoldoffTimeoutSec=30s
+#IdleAction=ignore
+#IdleActionSec=30min
+#RuntimeDirectorySize=10%
+#RuntimeDirectoryInodesMax=
+#RemoveIPC=yes
+#InhibitorsMax=8192
+#SessionsMax=8192
diff --git a/etc/systemd/sleep.conf b/etc/systemd/sleep.conf
new file mode 100644
index 0000000..174f5ea
--- /dev/null
+++ b/etc/systemd/sleep.conf
@@ -0,0 +1,26 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it under the
+# terms of the GNU Lesser General Public License as published by the Free
+# Software Foundation; either version 2.1 of the License, or (at your option)
+# any later version.
+#
+# Entries in this file show the compile time defaults. Local configuration
+# should be created by either modifying this file, or by creating "drop-ins" in
+# the sleep.conf.d/ subdirectory. The latter is generally recommended.
+# Defaults can be restored by simply deleting this file and all drop-ins.
+#
+# See systemd-sleep.conf(5) for details.
+
+[Sleep]
+#AllowSuspend=yes
+#AllowHibernation=yes
+#AllowSuspendThenHibernate=yes
+#AllowHybridSleep=yes
+#SuspendMode=
+#SuspendState=mem standby freeze
+#HibernateMode=platform shutdown
+#HibernateState=disk
+#HybridSleepMode=suspend platform shutdown
+#HybridSleepState=disk
+#HibernateDelaySec=180min
diff --git a/etc/systemd/system/betterlockscreen@.service b/etc/systemd/system/betterlockscreen@.service
new file mode 100644
index 0000000..012789a
--- /dev/null
+++ b/etc/systemd/system/betterlockscreen@.service
@@ -0,0 +1,16 @@
+[Unit]
+Description = Lock screen when going to sleep/suspend
+Before=sleep.target
+Before=suspend.target
+
+[Service]
+User=%I
+Type=simple
+Environment=DISPLAY=:0
+ExecStart=/usr/bin/betterlockscreen --lock dimblur
+TimeoutSec=infinity
+ExecStartPost=/usr/bin/sleep 1
+
+[Install]
+WantedBy=sleep.target
+WantedBy=suspend.target
diff --git a/etc/systemd/system/grub-btrfs.path b/etc/systemd/system/grub-btrfs.path
new file mode 100644
index 0000000..932f266
--- /dev/null
+++ b/etc/systemd/system/grub-btrfs.path
@@ -0,0 +1,12 @@
+[Unit]
+Description=Monitors for new timeshift snapshots
+DefaultDependencies=no
+Requires=run-timeshift-backup.mount
+After=run-timeshift-backup.mount
+BindsTo=run-timeshift-backup.mount
+
+[Path]
+PathModified=/run/timeshift/backup/timeshift-btrfs/snapshots
+
+[Install]
+WantedBy=run-timeshift-backup.mount \ No newline at end of file
diff --git a/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service b/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service
new file mode 120000
index 0000000..cd00411
--- /dev/null
+++ b/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service
@@ -0,0 +1 @@
+/usr/lib/systemd/system/systemd-timesyncd.service \ No newline at end of file