--- /dev/null
+#
+# /etc/bash.bashrc
+#
+
+# If not running interactively, don't do anything
+[[ $- != *i* ]] && return
+
+[[ $DISPLAY ]] && shopt -s checkwinsize
+
+# PS1='[\u@\h \W]\$ '
+PS1='\u@\h:\w\$ '
+
+[[ -f /etc/bash_aliases ]] && source /etc/bash_aliases
+[[ -f /etc/bash_functions ]] && source /etc/bash_functions
+
+export EDITOR=nano
--- /dev/null
+#!/usr/bin/env bash
+alias ls='ls --color=auto'
+alias htop='htop -d 5'
--- /dev/null
+[General]
+
+# Default adapter name
+# Defaults to 'BlueZ X.YZ'
+#Name = BlueZ
+
+# Default device class. Only the major and minor device class bits are
+# considered. Defaults to '0x000000'.
+#Class = 0x000100
+
+# How long to stay in discoverable mode before going back to non-discoverable
+# The value is in seconds. Default is 180, i.e. 3 minutes.
+# 0 = disable timer, i.e. stay discoverable forever
+#DiscoverableTimeout = 0
+
+# Always allow pairing even if there are no agent registered
+# Possible values: true, false
+# Default: false
+#AlwaysPairable = false
+
+# How long to stay in pairable mode before going back to non-discoverable
+# The value is in seconds. Default is 0.
+# 0 = disable timer, i.e. stay pairable forever
+#PairableTimeout = 0
+
+# Use vendor id source (assigner), vendor, product and version information for
+# DID profile support. The values are separated by ":" and assigner, VID, PID
+# and version.
+# Possible vendor id source values: bluetooth, usb (defaults to usb)
+#DeviceID = bluetooth:1234:5678:abcd
+
+# Do reverse service discovery for previously unknown devices that connect to
+# us. For BR/EDR this option is really only needed for qualification since the
+# BITE tester doesn't like us doing reverse SDP for some test cases, for LE
+# this disables the GATT client functionally so it can be used in system which
+# can only operate as peripheral.
+# Defaults to 'true'.
+#ReverseServiceDiscovery = true
+
+# Enable name resolving after inquiry. Set it to 'false' if you don't need
+# remote devices name and want shorter discovery cycle. Defaults to 'true'.
+#NameResolving = true
+
+# Enable runtime persistency of debug link keys. Default is false which
+# makes debug link keys valid only for the duration of the connection
+# that they were created for.
+#DebugKeys = false
+
+# Restricts all controllers to the specified transport. Default value
+# is "dual", i.e. both BR/EDR and LE enabled (when supported by the HW).
+# Possible values: "dual", "bredr", "le"
+#ControllerMode = dual
+
+# Enables Multi Profile Specification support. This allows to specify if
+# system supports only Multiple Profiles Single Device (MPSD) configuration
+# or both Multiple Profiles Single Device (MPSD) and Multiple Profiles Multiple
+# Devices (MPMD) configurations.
+# Possible values: "off", "single", "multiple"
+#MultiProfile = off
+
+# Permanently enables the Fast Connectable setting for adapters that
+# support it. When enabled other devices can connect faster to us,
+# however the tradeoff is increased power consumptions. This feature
+# will fully work only on kernel version 4.1 and newer. Defaults to
+# 'false'.
+#FastConnectable = false
+
+# Default privacy setting.
+# Enables use of private address.
+# Possible values: "off", "device", "network"
+# "network" option not supported currently
+# Defaults to "off"
+# Privacy = off
+
+# Specify the policy to the JUST-WORKS repairing initiated by peer
+# Possible values: "never", "confirm", "always"
+# Defaults to "never"
+#JustWorksRepairing = never
+
+[GATT]
+# GATT attribute cache.
+# Possible values:
+# always: Always cache attributes even for devices not paired, this is
+# recommended as it is best for interoperability, with more consistent
+# reconnection times and enables proper tracking of notifications for all
+# devices.
+# yes: Only cache attributes of paired devices.
+# no: Never cache attributes
+# Default: always
+#Cache = always
+
+# Minimum required Encryption Key Size for accessing secured characteristics.
+# Possible values: 0 and 7-16. 0 means don't care.
+# Defaults to 0
+#KeySize = 0
+
+# Exchange MTU size.
+# Possible values: 23-517
+# Defaults to 517
+#ExchangeMTU = 517
+
+# Number of ATT channels
+# Possible values: 1-5 (1 disables EATT)
+# Default to 3
+#Channels = 3
+
+[Policy]
+#
+# The ReconnectUUIDs defines the set of remote services that should try
+# to be reconnected to in case of a link loss (link supervision
+# timeout). The policy plugin should contain a sane set of values by
+# default, but this list can be overridden here. By setting the list to
+# empty the reconnection feature gets disabled.
+#ReconnectUUIDs=00001112-0000-1000-8000-00805f9b34fb,0000111f-0000-1000-8000-00805f9b34fb,0000110a-0000-1000-8000-00805f9b34fb
+
+# ReconnectAttempts define the number of attempts to reconnect after a link
+# lost. Setting the value to 0 disables reconnecting feature.
+#ReconnectAttempts=7
+
+# ReconnectIntervals define the set of intervals in seconds to use in between
+# attempts.
+# If the number of attempts defined in ReconnectAttempts is bigger than the
+# set of intervals the last interval is repeated until the last attempt.
+#ReconnectIntervals=1,2,4,8,16,32,64
+
+# AutoEnable defines option to enable all controllers when they are found.
+# This includes adapters present on start as well as adapters that are plugged
+# in later on. Defaults to 'false'.
+AutoEnable=true
--- /dev/null
+[org/blueman/plugins/powermanager]
+auto-power-on=@mb false
--- /dev/null
+user-db:user
+system-db:local
\ No newline at end of file
--- /dev/null
+# GRUB boot loader configuration
+
+GRUB_DEFAULT=0
+GRUB_TIMEOUT=5
+GRUB_DISTRIBUTOR="Alter"
+GRUB_CMDLINE_LINUX_DEFAULT=""
+GRUB_CMDLINE_LINUX=""
+
+# Preload both GPT and MBR modules so that they are not missed
+GRUB_PRELOAD_MODULES="part_gpt part_msdos"
+
+# Uncomment to enable booting from LUKS encrypted devices
+#GRUB_ENABLE_CRYPTODISK=y
+
+# Set to 'countdown' or 'hidden' to change timeout behavior,
+# press ESC key to display menu.
+GRUB_TIMEOUT_STYLE=menu
+
+# Uncomment to use basic console
+GRUB_TERMINAL_INPUT=console
+
+# Uncomment to disable graphical terminal
+#GRUB_TERMINAL_OUTPUT=console
+
+# The resolution used on graphical terminal
+# note that you can use only modes which your graphic card supports via VBE
+# you can see them in real GRUB with the command `vbeinfo'
+GRUB_GFXMODE=auto
+
+# Uncomment to allow the kernel use the same resolution used by grub
+GRUB_GFXPAYLOAD_LINUX=keep
+
+# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
+# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
+#GRUB_DISABLE_LINUX_UUID=true
+
+# Uncomment to disable generation of recovery mode menu entries
+GRUB_DISABLE_RECOVERY=true
+
+# Uncomment and set to the desired menu colors. Used by normal and wallpaper
+# modes only. Entries specified as foreground/background.
+#GRUB_COLOR_NORMAL="light-blue/black"
+#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
+
+# Uncomment one of them for the gfx desired, a image background or a gfxtheme
+#GRUB_BACKGROUND="/path/to/wallpaper"
+GRUB_THEME="/usr/share/grub/themes/Vimix/theme.txt"
+
+# Uncomment to get a beep at GRUB start
+#GRUB_INIT_TUNE="480 440 1"
+
+# Uncomment to make GRUB remember the last selection. This requires
+# setting 'GRUB_DEFAULT=saved' above.
+#GRUB_SAVEDEFAULT="true"
--- /dev/null
+# useradd defaults file for AlterLinux
+# original changes by TomK
+
+# In AlterLinux, the default shell is changed to /bin/zsh from the default of ArchLinux (by Hayao)
+
+GROUP=users
+HOME=/home
+INACTIVE=-1
+EXPIRE=
+SHELL=/bin/zsh
+SKEL=/etc/skel
+CREATE_MAIL_SPOOL=no
--- /dev/null
+# Static table lookup for hostnames.
+# See hosts(5) for details.
+
+127.0.0.1 localhost.localdomain localhost
+::1 localhost.lcoaldomain localhost
--- /dev/null
+## Sample initialization file for GNU nano.
+##
+## This file should not be in DOS or Mac format, and characters
+## specially interpreted by the shell should not be escaped here.
+##
+## To make sure an option is disabled, use "unset <option>".
+##
+## For the options that take parameters, the default value is given.
+## Other options are unset by default.
+##
+## Inside string parameters, quotes should not be escaped. The last
+## double quote on the line will be seen as the closing quote.
+
+## Make the 'nextword' function (Ctrl+Right) stop at word ends
+## instead of at beginnings.
+# set afterends
+
+## When soft line wrapping is enabled, make it wrap lines at blanks
+## (tabs and spaces) instead of always at the edge of the screen.
+# set atblanks
+
+## Automatically indent a newly created line to the same number of
+## tabs and/or spaces as the preceding line -- or as the next line
+## if the preceding line is the beginning of a paragraph.
+# set autoindent
+
+## Back up files to the current filename plus a tilde.
+# set backup
+
+## The directory to put unique backup files in.
+# set backupdir ""
+
+## Use bold text instead of reverse video text.
+# set boldtext
+
+## The characters treated as closing brackets when justifying paragraphs.
+## This may not include any blank characters. Only closing punctuation,
+## optionally followed by these closing brackets, can end sentences.
+# set brackets ""')>]}"
+
+## Automatically hard-wrap the current line when it becomes overlong.
+# set breaklonglines
+
+## Do case-sensitive searches by default.
+# set casesensitive
+
+## Constantly display the cursor position in the status bar. Note that
+## this overrides "quickblank".
+# set constantshow
+
+## Use cut-from-cursor-to-end-of-line by default.
+# set cutfromcursor
+
+## Do not use the line below the title bar, leaving it entirely blank.
+# set emptyline
+
+## Enable hard-wrapping and set the target width, both for automatic
+## line wrapping and for justifying paragraphs. If the value is 0 or
+## less, the wrapping point will be the screen width minus this number.
+# set fill -8
+
+## Remember the used search/replace strings for the next session.
+# set historylog
+
+## Scroll the buffer contents per half-screen instead of per line.
+# set jumpyscrolling
+
+## Display line numbers to the left of the text.
+set linenumbers
+
+## Enable vim-style lock-files. This is just to let a vim user know you
+## are editing a file [s]he is trying to edit and vice versa. There are
+## no plans to implement vim-style undo state in these files.
+# set locking
+
+## The opening and closing brackets that can be found by bracket
+## searches. They cannot contain blank characters. The former set must
+## come before the latter set, and both must be in the same order.
+# set matchbrackets "(<[{)>]}"
+
+## Enable mouse support, if available for your system. When enabled,
+## mouse clicks can be used to place the cursor, set the mark (with a
+## double click), and execute shortcuts. The mouse will work in the X
+## Window System, and on the console when gpm is running.
+# set mouse
+
+## Switch on multiple file buffers (inserting a file will put it into
+## a separate buffer).
+# set multibuffer
+
+## Don't convert files from DOS/Mac format.
+# set noconvert
+
+## Don't display the helpful shortcut lists at the bottom of the screen.
+# set nohelp
+
+## Don't automatically add a newline when a file does not end with one.
+# set nonewlines
+
+## Don't pause between warnings at startup. Which means that only the
+## last one will be readable (when there are multiple ones).
+# set nopauses
+
+## Set operating directory. nano will not read or write files outside
+## this directory and its subdirectories. Also, the current directory
+## is changed to here, so any files are inserted from this dir. A blank
+## string means the operating-directory feature is turned off.
+# set operatingdir ""
+
+## Remember the cursor position in each file for the next editing session.
+# set positionlog
+
+## Preserve the XON and XOFF keys (^Q and ^S).
+# set preserve
+
+## The characters treated as closing punctuation when justifying
+## paragraphs. They cannot contain blank characters. Only closing
+## punctuation, optionally followed by closing brackets, can end
+## sentences.
+# set punct "!.?"
+
+## Do quick status-bar blanking. Status-bar messages will disappear after
+## 1 keystroke instead of 26. Note that "constantshow" overrides this.
+# set quickblank
+
+## The regular expression that matches quoting characters in email
+## or line-comment introducers in source code. The default is:
+# set quotestr "^([ ]*([!#%:;>|}]|//))+"
+
+## Try to work around a mismatching terminfo terminal description.
+# set rawsequences
+
+## Fix Backspace/Delete confusion problem.
+# set rebinddelete
+
+## Do regular-expression searches by default.
+## Regular expressions are of the extended type (ERE).
+# set regexp
+
+## Put the cursor on the highlighted item in the file browser, and show
+## the cursor in the help viewer; useful for people who use a braille
+## display and people with poor vision.
+# set showcursor
+
+## Make the Home key smarter. When Home is pressed anywhere but at the
+## very beginning of non-whitespace characters on a line, the cursor
+## will jump to that beginning (either forwards or backwards). If the
+## cursor is already at that position, it will jump to the true
+## beginning of the line.
+# set smarthome
+
+## Enable soft line wrapping (AKA full-line display).
+# set softwrap
+
+## Use this spelling checker instead of the internal one. This option
+## does not have a default value.
+# set speller "aspell -x -c"
+
+## Allow nano to be suspended.
+# set suspend
+
+## Use this tab size instead of the default; it must be greater than 0.
+set tabsize 4
+
+## Convert typed tabs to spaces.
+# set tabstospaces
+
+## Save automatically on exit; don't prompt.
+# set tempfile
+
+## Snip whitespace at the end of lines when justifying or hard-wrapping.
+# set trimblanks
+
+## Disallow file modification. Why would you want this in an rcfile? ;)
+# set view
+
+## The two single-column characters used to display the first characters
+## of tabs and spaces. 187 in ISO 8859-1 (0000BB in Unicode) and 183 in
+## ISO-8859-1 (0000B7 in Unicode) seem to be good values for these.
+## The default when in a UTF-8 locale:
+# set whitespace "»·"
+## The default otherwise:
+# set whitespace ">."
+
+## Detect word boundaries differently by treating punctuation
+## characters as parts of words.
+# set wordbounds
+
+## The characters (besides alphanumeric ones) that should be considered
+## as parts of words. This option does not have a default value. When
+## set, it overrides option 'set wordbounds'.
+# set wordchars "<_>."
+
+## Let an unmodified Backspace or Delete erase the marked region (instead
+## of a single character, and without affecting the cutbuffer).
+# set zap
+
+## Paint the interface elements of nano. These are examples;
+## by default there are no colors, except for errorcolor.
+# set titlecolor brightwhite,blue
+# set statuscolor brightwhite,green
+# set errorcolor brightwhite,red
+# set selectedcolor brightwhite,magenta
+# set stripecolor ,yellow
+# set numbercolor cyan
+# set keycolor cyan
+# set functioncolor green
+## In root's .nanorc you might want to use:
+# set titlecolor brightwhite,magenta
+# set statuscolor brightwhite,magenta
+# set errorcolor brightwhite,red
+# set selectedcolor brightwhite,cyan
+# set stripecolor ,yellow
+# set numbercolor magenta
+# set keycolor brightmagenta
+# set functioncolor magenta
+
+
+## Setup of syntax coloring.
+##
+## Format:
+##
+## syntax "short description" ["filename regex" ...]
+##
+## The "none" syntax is reserved; specifying it on the command line is
+## the same as not having a syntax at all. The "default" syntax is
+## special: it takes no filename regexes, and applies to files that
+## don't match any other syntax's filename regexes.
+##
+## color foreground,background "regex" ["regex"...]
+## or
+## icolor foreground,background "regex" ["regex"...]
+##
+## "color" will do case-sensitive matches, while "icolor" will do
+## case-insensitive matches.
+##
+## Valid color names ares: white, black, normal, red, blue, green,
+## yellow, magenta, cyan. For foreground colors, you may use the
+## prefix "bright" to get a stronger highlight.
+##
+## All regexes (regular expressions) are of the extended type (ERE).
+##
+## To use multi-line regexes, use the start="regex" end="regex"
+## [start="regex" end="regex"...] format.
+##
+## If your system supports transparency, not specifying a background
+## color will use a transparent color. If you don't want this, be sure
+## to set the background color to black or white.
+##
+## If you wish, you may put your syntax definitions in separate files.
+## You can make use of such files as follows:
+##
+## include "/path/to/syntax_file.nanorc"
+##
+## Unless otherwise noted, the name of the syntax file (without the
+## ".nanorc" extension) should be the same as the "short description"
+## name inside that file. These names are kept fairly short to make
+## them easier to remember and faster to type using nano's -Y option.
+
+## To include all existing syntax definitions, you can do:
+# include "/usr/share/nano/*.nanorc"
+
+
+## If <Tab> should always produce four spaces when editing a Python file,
+## independent of the settings of 'tabsize' and 'tabstospaces':
+# extendsyntax python tabgives " "
+#
+## If <Tab> should always produce an actual TAB when editing a Makefile:
+# extendsyntax makefile tabgives " "
+
+
+## Key bindings.
+## See nanorc(5) (section REBINDING KEYS) for more details on this.
+
+## The <Ctrl+Delete> keystroke deletes the word to the right of the cursor.
+## On some terminals the <Ctrl+Backspace> keystroke produces ^H, which is
+## the ASCII character for backspace, so it is bound by default to the
+## backspace function. The <Backspace> key itself produces a different
+## keycode, which is hard-bound to the backspace function. So, if you
+## normally use <Backspace> for backspacing and not ^H, you can make
+## <Ctrl+Backspace> delete the word to the left of the cursor with:
+# bind ^H chopwordleft main
+
+## If you would like nano to have keybindings that are more "usual",
+## such as ^O for Open, ^F for Find, ^H for Help, and ^Q for Quit,
+## then uncomment these:
+#bind ^Q exit all
+#bind ^H help all
+#bind ^H exit help
+#bind ^F whereis all
+#bind ^G findnext all
+#bind ^B wherewas all
+#bind ^D findprevious all
+#bind ^R replace main
+#bind ^W writeout main
+#bind ^O insert main
+#unbind ^V all
+#unbind ^Y all
+#bind M-X flipnewbuffer all
+#bind ^X cut all
+#bind ^C copy all
+#bind ^V paste all
+#bind ^P curpos main
+#bind ^T gotoline main
+#bind ^T gotodir browser
+#bind ^Y speller main
+#unbind ^K all
+#unbind ^U all
+#bind M-R redo main
+#bind ^U undo main
+#bind ^E redo main
+#unbind M-J main
+#unbind M-T main
+#set multibuffer
--- /dev/null
+#
+# /etc/pacman.conf
+#
+# See the pacman.conf(5) manpage for option and repository directives
+
+#
+# GENERAL OPTIONS
+#
+# Yamada Hayao
+# Twitter: @Hayao0819
+# Email : hayao@fascode.net
+#
+# (c) 2019-2020 Fascode Network.
+#
+[options]
+# The following paths are commented out with their default values listed.
+# If you wish to use different paths, uncomment and update the paths.
+#RootDir = /
+#DBPath = /var/lib/pacman/
+#CacheDir = /var/cache/pacman/pkg/
+#LogFile = /var/log/pacman.log
+#GPGDir = /etc/pacman.d/gnupg/
+#HookDir = /etc/pacman.d/hooks/
+HoldPkg = pacman glibc
+#XferCommand = /usr/bin/curl -C - -f %u > %o
+#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
+#CleanMethod = KeepInstalled
+#UseDelta = 0.7
+Architecture = auto
+
+# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
+#IgnorePkg =
+#IgnoreGroup =
+
+#NoUpgrade =
+#NoExtract =
+
+# Misc options
+#UseSyslog
+Color
+TotalDownload
+# We cannot check disk space from within a chroot environment
+#CheckSpace
+#VerbosePkgLists
+
+# By default, pacman accepts packages signed by keys that its local keyring
+# trusts (see pacman-key and its man page), as well as unsigned packages.
+SigLevel = Required DatabaseOptional
+LocalFileSigLevel = Optional
+#RemoteFileSigLevel = Required
+
+# NOTE: You must run `pacman-key --init` before first using pacman; the local
+# keyring can then be populated with the keys of all official Arch Linux
+# packagers with `pacman-key --populate archlinux`.
+
+#
+# REPOSITORIES
+# - can be defined here or included from another file
+# - pacman will search repositories in the order defined here
+# - local/custom mirrors can be added here or in separate files
+# - repositories listed first will take precedence when packages
+# have identical names, regardless of version number
+# - URLs will have $repo replaced by the name of the current repo
+# - URLs will have $arch replaced by the name of the architecture
+#
+# Repository entries are of the format:
+# [repo-name]
+# Server = ServerName
+# Include = IncludePath
+#
+# The header [repo-name] is crucial - it must be present and
+# uncommented to enable the repo.
+#
+
+# The testing repositories are disabled by default. To enable, uncomment the
+# repo name header and Include lines. You can add preferred servers immediately
+# after the header, and they will be used before the default mirrors.
+
+# Alter Linux
+[alter-stable]
+Include = /etc/pacman.d/mirrorlist-alter
+
+[alter-kernel]
+Include = /etc/pacman.d/mirrorlist-alter
+
+#[alter-testing]
+#Include = /etc/pacman.d/mirrorlist-alter
+
+#[testing]
+#Include = /etc/pacman.d/mirrorlist
+
+[core]
+Include = /etc/pacman.d/mirrorlist
+
+[extra]
+Include = /etc/pacman.d/mirrorlist
+
+#[community-testing]
+#Include = /etc/pacman.d/mirrorlist
+
+[community]
+Include = /etc/pacman.d/mirrorlist
+
+# If you want to run 32 bit applications on your x86_64 system,
+# enable the multilib repositories as required here.
+
+#[multilib-testing]
+#Include = /etc/pacman.d/mirrorlist
+
+[multilib]
+Include = /etc/pacman.d/mirrorlist
+
+# This is Yamada Hayao's personal repository.
+# It was used early but is now disabled.
+#[hayao]
+#Server = https://xn--d-8o2b.com/repo/$repo/$arch
+
+# An example of a custom package repository. See the pacman manpage for
+# tips on creating your own repositories.
+#[custom]
+#SigLevel = Optional TrustAll
+#Server = file:///home/custompkgs
--- /dev/null
+polkit.addRule(function(action, subject) {
+ if (action.id == "org.blueman.rfkill.setstate" && subject.local && subject.active && subject.isInGroup("wheel")) {
+ return polkit.Result.YES;
+ }
+ if (action.id == "org.blueman.network.setup" && subject.local && subject.active && subject.isInGroup("wheel")) {
+ return polkit.Result.YES;
+ }
+});
\ No newline at end of file
--- /dev/null
+#!/usr/bin/env bash
+#
+# Yamada Hayao
+# Twitter: @Hayao0819
+# Email : hayao@fascode.net
+#
+# (c) 2019-2020 Fascode Network.
+#
+# disable-beep.sh
+#
+# Script to disable PC beep sound
+#
+
+setterm -blength 0
+
--- /dev/null
+if [[ $(systemctl is-active graphical.target) = "active" ]] && [[ -z "${DISPLAY}" && "${XDG_VTNR}" -eq 1 ]]; then
+ exec startx
+fi
\ No newline at end of file
--- /dev/null
+#
+# Yamada Hayao
+# Twitter: @Hayao0819
+# Email : hayao@fascode.net
+#
+# (c) 2019-2020 Fascode Network.
+#
+# Write the alias here.
+#
+
+# lsd-control
+[[ -f /usr/local/lib/lsd-alias ]] && source /usr/local/lib/lsd-alias
+
+# aptpac
+alias apt='aptpac'
+alias apt-get='aptpac'
+
+# no-beep less
+alias less='less -Q'
\ No newline at end of file
--- /dev/null
+#
+# ~/.bash_logout
+#
--- /dev/null
+#
+# ~/.bash_profile
+#
+
+[[ -f ~/.bashrc ]] && . ~/.bashrc
+[[ -f /usr/local/bin/alterlinux-user-directory ]] && /usr/local/bin/alterlinux-user-directory
+if [[ $(systemctl is-active graphical.target) = "active" ]] && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
+ exec startx
+fi
\ No newline at end of file
--- /dev/null
+#
+# ~/.bashrc
+#
+#
+# Yamada Hayao
+# Twitter: @Hayao0819
+# Email : hayao@fascode.net
+#
+# (c) 2019-2020 Fascode Network.
+#
+
+# If not running interactively, don't do anything
+[[ $- != *i* ]] && return
+
+
+#-- Archive settings --#
+export ZIPINFOOPT=-OCP932
+export UNZIPOPT=-OCP932
+
+
+#-- Load scripts --#
+[[ -f ~/.aliases ]] && source ~/.aliases
+
+
+#-- Pass to the path --#
+[[ -d ~/.bin ]] && export PATH=${PATH}:~/.bin
+
+
+#-- Set prompt --#
+if [[ ${TERM} = "linux" ]]; then
+ # No color
+ PS1='\u@\h:\w\$ '
+else
+ # ArchLinux default
+ # PS1='[\u@\h \W]\$ '
+
+ # No color
+ # PS1='\u@\h:\w\$ '
+
+ # Colored
+ # PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ']
+
+ # PowerLine-shell
+ function _update_ps1() {
+ PS1="$(powerline-go -error $?)"
+ }
+
+ if [[ "$TERM" != "linux" ]]; then
+ PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
+ fi
+fi
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<actions>
+<action>
+ <icon>utilities-terminal</icon>
+ <name>Open Terminal here</name>
+ <unique-id>1570369277037732-1</unique-id>
+ <command>exo-open --working-directory %f --launch TerminalEmulator</command>
+ <description>Start a terminal emulator in this directory</description>
+ <patterns>*</patterns>
+ <startup-notify/>
+ <directories/>
+</action>
+<action>
+ <icon>system-file-manager</icon>
+ <name>Open this directory as root</name>
+ <unique-id>1570748564949968-1</unique-id>
+ <command>pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY thunar %f</command>
+ <description>Start Thunar as Root in this directory</description>
+ <patterns>*</patterns>
+ <startup-notify/>
+ <directories/>
+</action>
+<action>
+ <icon>drive-multidisk</icon>
+ <name>Check disk usage of files</name>
+ <unique-id>1591871849032215-3</unique-id>
+ <command>if [[ -r %f ]] && [[ -w %f ]]; then baobab %f; else pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY baobab %f; fi</command>
+ <description>Use Baobab to find out the disk usage of the current directory</description>
+ <patterns>*</patterns>
+ <startup-notify/>
+ <directories/>
+</action>
+</actions>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<actions>
+<action>
+ <icon>utilities-terminal</icon>
+ <name>ここでターミナルを開く</name>
+ <unique-id>1570369277037732-1</unique-id>
+ <command>exo-open --working-directory %f --launch TerminalEmulator</command>
+ <description>このディレクトリでターミナルエミュレータを起動します</description>
+ <patterns>*</patterns>
+ <startup-notify/>
+ <directories/>
+</action>
+<action>
+ <icon>system-file-manager</icon>
+ <name>Root権限でこのディレクトリを開く</name>
+ <unique-id>1570748564949968-1</unique-id>
+ <command>pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY thunar %f</command>
+ <description>Root権限でThunarを起動します</description>
+ <patterns>*</patterns>
+ <startup-notify/>
+ <directories/>
+</action>
+<action>
+ <icon>drive-multidisk</icon>
+ <name>ディスク使用量を調べる</name>
+ <unique-id>1591871849032215-3</unique-id>
+ <command>if [[ -r %f ]] && [[ -w %f ]]; then baobab %f; else pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY baobab %f; fi</command>
+ <description>Baobabを使用して現在のディレクトリディスクの使用量を調べます</description>
+ <patterns>*</patterns>
+ <startup-notify/>
+ <directories/>
+</action>
+</actions>
--- /dev/null
+[Desktop Entry]
+Encoding=UTF-8
+Version=1.0
+Name=AlterLinux Sidebar
+Comment=Generates sidebar items.
+Icon=utilities-terminal
+Exec=/usr/local/bin/alterlinux-sidebar -f --alterlive init
+X-GNOME-Autostart-enabled=true
+Type=Application
+RunHook=0
+StartupNotify=false
+Terminal=false
+Hidden=false
--- /dev/null
+[Desktop Entry]
+Encoding=UTF-8
+Version=1.0
+Name=Welcome to AlterLinux
+Comment=Displays the AlterLinux welcome page.
+Icon=utilities-terminal
+Exec=/usr/local/bin/alterlinux-welcome-page -l --alterlive
+X-GNOME-Autostart-enabled=true
+Type=Application
+RunHook=0
+StartupNotify=false
+Terminal=false
+Hidden=false
--- /dev/null
+[Settings]
+gtk-application-prefer-dark-theme=true
+gtk-error-bell=0
--- /dev/null
+[Desktop]
+Session=xfce
--- /dev/null
+gtk-error-bell=0
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?><!-- -*- xml -*- -->
+<moo-prefs version="1.0">
+ <Prefs>
+ <item name="Editor/highlight_current_line" type="bool">FALSE</item>
+ <item name="Editor/indent_width" type="int">4</item>
+ <item name="Editor/open_dialog_follows_doc" type="bool">TRUE</item>
+ <item name="Editor/show_line_numbers" type="bool">TRUE</item>
+ <item name="Editor/show_spaces" type="bool">TRUE</item>
+ <item name="Editor/show_tabs" type="bool">TRUE</item>
+ <item name="Editor/show_trailing_spaces" type="bool">TRUE</item>
+ <item name="Editor/strip" type="bool">TRUE</item>
+ <item name="Editor/tab_width" type="int">4</item>
+ <item name="Editor/wrapping_enable" type="bool">TRUE</item>
+ <item name="Plugins/FileSelector/enabled" type="bool">FALSE</item>
+ <item name="Plugins/MooFileList/enabled" type="bool">FALSE</item>
+ <item name="Plugins/MooLua/enabled" type="bool">FALSE</item>
+ </Prefs>
+</moo-prefs>
--- /dev/null
+lsd=true
\ No newline at end of file
--- /dev/null
+#!/bin/sh
+#
+# ~/.xinitrc
+#
+# Executed by startx (run your window manager from here)
+
+xset s off
+
+setxkbmap fr
+
+xset +fp /usr/share/fonts/local
+xset fp rehash
+
+if [ -d /etc/X11/xinit/xinitrc.d ]; then
+ for f in /etc/X11/xinit/xinitrc.d/*; do
+ [ -x "$f" ] && . "$f"
+ done
+ unset f
+fi
+
+# Load config files
+[ -f /etc/xprofile ] && source /etc/xprofile
+[ -f ~/.xprofile ] && source ~/.xprofile
+
+# Set unzip-iconv
+export ZIPINFOOPT=-OCP932
+export UNZIPOPT=-OCP932
+
+# No beep
+xset -b
+
+# Start xfce4
+exec startxfce4
\ No newline at end of file
--- /dev/null
+#
+# ~/.zsh_profile
+#
+
+[[ -f /usr/local/bin/alterlinux-user-directory ]] && /usr/local/bin/alterlinux-user-directory
+if [[ $(systemctl is-active graphical.target) = "active" ]] && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
+ exec startx
+fi
--- /dev/null
+#
+# ~/.zshrc
+#
+#
+# Yamada Hayao
+# Twitter: @Hayao0819
+# Email : hayao@fascode.net
+#
+# (c) 2019-2020 Fascode Network.
+#
+
+
+#-- Alias --#
+[[ -f .aliases ]] && source .aliases
+
+
+#-- Completion --#
+[ -e /usr/local/share/zsh-completions ] && fpath=(/usr/local/share/zsh-completions $fpath)
+autoload -U compinit
+compinit -u
+
+
+#-- Archive settings --#
+export ZIPINFOOPT=-OCP932
+export UNZIPOPT=-OCP932
+
+
+#-- Key --#
+# create a zkbd compatible hash;
+# to add other keys to this hash, see: man 5 terminfo
+typeset -A key
+
+key[Home]=${terminfo[khome]}
+
+key[End]=${terminfo[kend]}
+key[Insert]=${terminfo[kich1]}
+key[Delete]=${terminfo[kdch1]}
+key[Up]=${terminfo[kcuu1]}
+key[Down]=${terminfo[kcud1]}
+key[Left]=${terminfo[kcub1]}
+key[Right]=${terminfo[kcuf1]}
+key[PageUp]=${terminfo[kpp]}
+key[PageDown]=${terminfo[knp]}
+
+# setup key accordingly
+[[ -n "${key[Home]}" ]] && bindkey "${key[Home]}" beginning-of-line
+[[ -n "${key[End]}" ]] && bindkey "${key[End]}" end-of-line
+[[ -n "${key[Insert]}" ]] && bindkey "${key[Insert]}" overwrite-mode
+[[ -n "${key[Delete]}" ]] && bindkey "${key[Delete]}" delete-char
+[[ -n "${key[Up]}" ]] && bindkey "${key[Up]}" up-line-or-history
+[[ -n "${key[Down]}" ]] && bindkey "${key[Down]}" down-line-or-history
+[[ -n "${key[Left]}" ]] && bindkey "${key[Left]}" backward-char
+[[ -n "${key[Right]}" ]] && bindkey "${key[Right]}" forward-char
+[[ -n "${key[PageUp]}" ]] && bindkey "${key[PageUp]}" beginning-of-buffer-or-history
+[[ -n "${key[PageDown]}" ]] && bindkey "${key[PageDown]}" end-of-buffer-or-history
+
+# Finally, make sure the terminal is in application mode, when zle is
+# active. Only then are the values from $terminfo valid.
+if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then
+ function zle-line-init () {
+ printf '%s' "${terminfo[smkx]}"
+ }
+ function zle-line-finish () {
+ printf '%s' "${terminfo[rmkx]}"
+ }
+ zle -N zle-line-init
+ zle -N zle-line-finish
+fi
+
+
+#-- Do not sound --#
+setopt nolistbeep
+setopt nolistbeep
+
+
+#-- Save history. --#
+HISTFILE=~/.zsh_history
+HISTSIZE=100000
+SAVEHIST=100000
+setopt share_history
+
+
+#-- Make colors available --#
+autoload -Uz colors
+colors
+
+
+#-- Pass to the path --#
+[[ -d ~/.bin ]] && export PATH="~/.bin:${PATH}"
+
+
+#-- PROMPT --#
+if [[ ${TERM} = "linux" ]]; then
+ PROMPT='%B%F{red}%(?..%? )%f%b%B%F{red}%n%f%b@%m %B%40<..<%~%<< %b%# '
+else
+ function powerline_precmd() {
+ PS1="$(powerline-go -error $? -shell zsh)"
+ }
+
+ function install_powerline_precmd() {
+ for s in "${precmd_functions[@]}"; do
+ if [ "$s" = "powerline_precmd" ]; then
+ return
+ fi
+ done
+ precmd_functions+=(powerline_precmd)
+ }
+
+ install_powerline_precmd
+fi
+
+#-- Like fish prompt --#
+source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
+source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
--- /dev/null
+export EDITOR=nano
\ No newline at end of file
--- /dev/null
+#!/usr/bin/env bash
+#
+# Yamada Hayao
+# Twitter: @Hayao0819
+# Email : hayao@fascode.net
+#
+# (c) 2019-2020 Fascode Network.
+#
+
+set -e -u
+
+
+# Default value
+# All values can be changed by arguments.
+password=alter
+boot_splash=false
+kernel_config_line='zen linux-zen linux-zen-beaders vmlinuz-linux-zen linux-zen'
+theme_name=alter-logo
+rebuild=false
+username='alter'
+os_name="Alter Linux"
+install_dir="alter"
+usershell="/bin/bash"
+debug=false
+timezone="UTC"
+localegen="en_US\\.UTF-8\\"
+language="en"
+
+
+# Parse arguments
+while getopts 'p:bt:k:rxu:o:i:s:da:g:z:l:' arg; do
+ case "${arg}" in
+ p) password="${OPTARG}" ;;
+ b) boot_splash=true ;;
+ t) theme_name="${OPTARG}" ;;
+ k) kernel_config_line="${OPTARG}" ;;
+ r) rebuild=true ;;
+ u) username="${OPTARG}" ;;
+ o) os_name="${OPTARG}" ;;
+ i) install_dir="${OPTARG}" ;;
+ s) usershell="${OPTARG}" ;;
+ d) debug=true ;;
+ x) debug=true; set -xv ;;
+ a) arch="${OPTARG}" ;;
+ g) localegen="${OPTARG/./\\.}\\" ;;
+ z) timezone="${OPTARG}" ;;
+ l) language="${OPTARG}" ;;
+ esac
+done
+
+
+# Parse kernel
+kernel=$(echo ${kernel_config_line} | awk '{print $1}')
+kernel_package=$(echo ${kernel_config_line} | awk '{print $2}')
+kernel_headers_packages=$(echo ${kernel_config_line} | awk '{print $3}')
+kernel_filename=$(echo ${kernel_config_line} | awk '{print $4}')
+kernel_mkinitcpio_profile=$(echo ${kernel_config_line} | awk '{print $5}')
+
+
+# Delete file only if file exists
+# remove <file1> <file2> ...
+function remove () {
+ local _list
+ local _file
+ _list=($(echo "$@"))
+ for _file in "${_list[@]}"; do
+ if [[ -f ${_file} ]]; then
+ rm -f "${_file}"
+ elif [[ -d ${_file} ]]; then
+ rm -rf "${_file}"
+ fi
+ echo "${_file} was deleted."
+ done
+}
+
+
+# Replace wallpaper.
+if [[ -f /usr/share/backgrounds/xfce/xfce-stripes.png ]]; then
+ remove /usr/share/backgrounds/xfce/xfce-stripes.png
+ ln -s /usr/share/backgrounds/alter.png /usr/share/backgrounds/xfce/xfce-stripes.png
+fi
+[[ -f /usr/share/backgrounds/alter.png ]] && chmod 644 /usr/share/backgrounds/alter.png
+
+
+# Bluetooth
+rfkill unblock all
+systemctl enable bluetooth
+
+# Snap
+if [[ "${arch}" = "x86_64" ]]; then
+ systemctl enable snapd.apparmor.service
+ systemctl enable apparmor.service
+ systemctl enable snapd.socket
+ systemctl enable snapd.service
+fi
+
+
+# Update system datebase
+dconf update
+
+
+# firewalld
+systemctl enable firewalld.service
+
+
+# Replace link
+if [[ "${language}" = "ja" ]]; then
+ remove "/etc/skel/Desktop/welcome-to-alter.desktop"
+ remove "/home/${username}/Desktop/welcome-to-alter.desktop"
+
+ mv "/etc/skel/Desktop/welcome-to-alter-jp.desktop" "/etc/skel/Desktop/welcome-to-alter.desktop"
+ mv "/home/${username}/Desktop/welcome-to-alter-jp.desktop" "/home/${username}/Desktop/welcome-to-alter.desktop"
+else
+ remove "/etc/skel/Desktop/welcome-to-alter-jp.desktop"
+ remove "/home/${username}/Desktop/welcome-to-alter-jp.desktop"
+fi
+
+
+# Replace right menu
+if [[ "${language}" = "ja" ]]; then
+ remove "/etc/skel/.config/Thunar/uca.xml"
+ remove "/home/${username}/.config/Thunar/uca.xml"
+
+ mv "/etc/skel/.config/Thunar/uca.xml.jp" "/etc/skel/.config/Thunar/uca.xml"
+ mv "/home/${username}/.config/Thunar/uca.xml.jp" "/home/${username}/.config/Thunar/uca.xml"
+else
+ remove "/etc/skel/.config/Thunar/uca.xml.jp"
+ remove "/home/${username}/.config/Thunar/uca.xml.jp"
+fi
+
+# Added autologin group to auto login
+groupadd autologin
+usermod -aG autologin ${username}
+
+# ntp
+systemctl enable systemd-timesyncd.service
+
+
+# Enable LightDM to auto login
+if [[ "${boot_splash}" = true ]]; then
+ systemctl enable lightdm-plymouth.service
+else
+ systemctl enable lightdm.service
+fi
+
+
+# Set script permission
+chmod 755 /usr/local/bin/alterlinux-sidebar
+
+# Replace auto login user
+sed -i s/%USERNAME%/${username}/g /etc/lightdm/lightdm.conf
--- /dev/null
+#!/usr/bin/env bash
+
+function remove () {
+ local list
+ local file
+ list=($(echo "$@"))
+ for file in "${list[@]}"; do
+ if [[ -f ${file} ]]; then
+ rm -f "${file}"
+ elif [[ -d ${file} ]]; then
+ rm -rf "${file}"
+ fi
+ done
+}
+
+while getopts 'u:' arg; do
+ case "${arg}" in
+ u) user="${OPTARG}";;
+ esac
+done
+
+remove /etc/skel/Desktop
+remove /etc/skel/.config/gtk-3.0/bookmarks
+remove /home/${user}/Desktop/calamares.desktop
+remove /root/Desktop/calamares.desktop
+remove /home/${user}/.config/gtk-3.0/bookmarks
+remove /usr/share/calamares/
+
+remove /etc/polkit-1/rules.d/01-nopasswork.rules
+
+# Delete unnecessary files of archiso.
+# See the following site for details.
+# https://wiki.archlinux.jp/index.php/Archiso#Chroot_.E3.81.A8.E3.83.99.E3.83.BC.E3.82.B9.E3.82.B7.E3.82.B9.E3.83.86.E3.83.A0.E3.81.AE.E8.A8.AD.E5.AE.9A
+
+remove /etc/systemd/system/getty@tty1.service.d/autologin.conf
+remove /root/.automated_script.sh
+remove /etc/mkinitcpio-archiso.conf
+remove /etc/initcpio
+
+if [[ -f "/etc/systemd/journald.conf" ]]; then
+ sed -i 's/Storage=volatile/#Storage=volatile/g' "/etc/systemd/journald.conf"
+fi
+
+remove /etc/udev/rules.d/81-dhcpcd.rules
+remove /etc/systemd/system/{choose-mirror.service,etc-pacman.d-gnupg.mount,getty@tty1.service.d}
+
+# Disabled auto login
+sed -i "s/^autologin/#autologin/g" "/etc/lightdm/lightdm.conf"
--- /dev/null
+#!/usr/bin/env bash
+# Yamada Hayao
+# Twitter: @Hayao0819
+# Email : hayao@fascode.net
+#
+# (c) 2019-2020 Fascode Network.
+#
+
+
+set -e
+
+force=false
+alterlive=false
+
+remove () {
+ local _list
+ local _file
+ _list=($(echo "$@"))
+ for _file in "${_list[@]}"; do
+ if [[ -f ${_file} ]]; then
+ rm -f "${_file}"
+ elif [[ -d ${_file} ]]; then
+ rm -rf "${_file}"
+ fi
+ done
+}
+
+_help() {
+ echo "usage ${0} [options] [command]"
+ echo
+ echo " General options:"
+ echo " -f | --force Force overwriting."
+ echo " -h | --help This help message and exit."
+ echo
+ echo " General command:"
+ echo " add <dir> Add items to the sidebar."
+ echo " delete Delete all sidebar items."
+ echo " init Initializes the sidebar."
+ echo " help This help message and exit."
+}
+
+output() {
+ echo "${@}" >> "${HOME}/.config/gtk-3.0/bookmarks"
+}
+
+_msg_error() {
+ echo "${@}" >&2
+}
+
+prepare() {
+ if [[ ! -d "${HOME}/.config/gtk-3.0/" ]]; then
+ mkdir -p "${HOME}/.config/gtk-3.0/"
+ fi
+ if [[ ! -f "${HOME}/.config/gtk-3.0/bookmarks" ]]; then
+ touch "${HOME}/.config/gtk-3.0/bookmarks"
+ fi
+}
+
+add() {
+ prepare
+ local dir
+ for dir in ${@}; do
+ if [[ ! -d "${dir}" ]]; then
+ _msg_error "${dir} does not exist."
+ exit 1
+ else
+ output "file://${dir}"
+ fi
+ done
+}
+
+init() {
+ remove "${HOME}/.config/gtk-3.0/bookmarks"
+
+ prepare
+
+ source "${HOME}/.config/user-dirs.dirs"
+
+ output "file://${XDG_DOCUMENTS_DIR} Documents"
+ output "file://${XDG_DOWNLOAD_DIR} Downloads"
+ output "file://${XDG_MUSIC_DIR} Music"
+ output "file://${XDG_PICTURES_DIR} Pictures"
+ output "file://${XDG_VIDEOS_DIR} Videos"
+}
+
+
+
+# Argument analysis and processing
+options="${@}"
+_opt_short="fh"
+_opt_long="force,help,alterlive"
+OPT=$(getopt -o ${_opt_short} -l ${_opt_long} -- "${@}")
+if [[ ${?} != 0 ]]; then
+ exit 1
+fi
+
+eval set -- "${OPT}"
+unset OPT
+unset _opt_short
+unset _opt_long
+
+
+while true; do
+ case ${1} in
+ -f | --force)
+ force=true
+ shift 1
+ ;;
+ -h | --help)
+ _help
+ shift 1
+ exit 0
+ ;;
+ --alterlive)
+ alterlive=true
+ shift 1
+ ;;
+ --)
+ shift
+ break
+ ;;
+ *)
+ _msg_error "Invalid argument '${1}'"
+ _help
+ exit 1
+ ;;
+ esac
+done
+
+mode="${1}"
+
+case "${1}" in
+ add)
+ shift 1
+ if [[ -z "${@}" ]]; then
+ _msg_error "Please specify a directory."
+ exit 1
+ else
+ add "${@}"
+ fi
+ exit 0
+ ;;
+ delete)
+ remove "${HOME}/.config/gtk-3.0/bookmarks"
+ exit 0
+ ;;
+ init)
+ if [[ -f "${HOME}/.config/gtk-3.0/bookmarks" ]] && [[ "${force}" = false ]]; then
+ _msg_error "The sidebar already exists. Use -f to force initialization."
+ exit 1
+ else
+ init
+ fi
+ exit 0
+ ;;
+ help)
+ _help
+ exit 0
+ ;;
+ *)
+ _msg_error "Please specify a command."
+ exit 1
+ ;;
+esac
+
+if [[ "${alterlive}" = true ]]; then
+ remove ~/.config/autostart/gensidebar.desktop
+fi
--- /dev/null
+#!/usr/bin/env bash
+# Yamada Hayao
+# Twitter: @Hayao0819
+# Email : hayao@fascode.net
+#
+# (c) 2019-2020 Fascode Network.
+#
+
+set -e
+
+checklive=false
+alterlive=false
+url="https://fascode.net/projects/linux/alter/welcome.php"
+browser="chromium --start-maximized %s"
+custombrowser=false
+
+defaultbrowserlist=(
+ "firefox %s"
+ "chromium --start-maximized %s"
+ "google-chrome --start-maximized %s"
+)
+
+remove () {
+ local _list
+ local _file
+ _list=($(echo "$@"))
+ for _file in "${_list[@]}"; do
+ if [[ -f ${_file} ]]; then
+ rm -f "${_file}"
+ elif [[ -d ${_file} ]]; then
+ rm -rf "${_file}"
+ fi
+ done
+}
+
+_help() {
+ echo "Displays the AlterLinux welcome page"
+ echo "usage alterlinux-welcome-page [options]"
+ echo
+ echo " General options:"
+ echo " -b | --browser <cmd> Specify the browser command."
+ echo " %s will be replaced with the URL"
+ echo " Default: ${browser}"
+ echo " -u | --url <url> Set the URL."
+ echo " Default: ${url}"
+ echo
+ echo " -l | --live Opens the page only in a live environment."
+ echo " -h | --help This help message and exit."
+}
+
+_msg_error() {
+ echo "${@}" >&2
+}
+
+
+# Argument analysis and processing
+options="${@}"
+_opt_short="b:u:lh"
+_opt_long="browser:,url:,live,help,alterlive"
+OPT=$(getopt -o ${_opt_short} -l ${_opt_long} -- "${@}")
+if [[ ${?} != 0 ]]; then
+ exit 1
+fi
+
+eval set -- "${OPT}"
+unset OPT
+unset _opt_short
+unset _opt_long
+
+while true; do
+ case ${1} in
+ -b | --browser)
+ browser="${2}"
+ custombrowser=true
+ shift 2
+ ;;
+ -l | --live)
+ checklive=true
+ shift 1
+ ;;
+ -u | --url)
+ url="${2}"
+ shift 2
+ ;;
+ -h | --help)
+ _help
+ shift 1
+ exit 0
+ ;;
+ --alterlive)
+ alterlive=true
+ shift 1
+ ;;
+ --)
+ shift
+ break
+ ;;
+ *)
+ _msg_error "Invalid argument '${1}'"
+ _help
+ exit 1
+ ;;
+ esac
+done
+
+if [[ "${checklive}" = true ]]; then
+ if [[ -n $(pacman -Q alterlinux-calamares) ]]; then
+ exit 0
+ fi
+fi
+
+if [[ "${custombrowser}" = false ]]; then
+ defaultbrowserlist+=("END_OF_LIST")
+ for ((_browser_count = 0; _browser_count < ${#defaultbrowserlist[@]}; _browser_count++)); do
+ _browser="${defaultbrowserlist[${_browser_count}]}"
+ if [[ -f $(type -P "$(echo ${_browser} | awk '{print $1}')") ]]; then
+ browser="${_browser}"
+ break
+ elif [[ "${_browser}" == "END_OF_LIST" ]]; then
+ _msg_error "No available browser is installed."
+ exit 1
+ fi
+ done
+fi
+
+$(printf "${browser}" "${url}")
+
+if [[ "${alterlive}" = true ]]; then
+ remove ~/.config/autostart/welcome_page.desktop
+fi
--- /dev/null
+[Desktop Entry]
+Version=1.0
+Name=Xfce Dropdown Terminal
+Name[en_AU]=Xfce Dropdown Terminal
+Name[en_GB]=Xfce Dropdown Terminal
+Name[ja]=Xfce Dropdown Terminal
+Comment=Terminal Emulator
+Comment[en_AU]=Terminal Emulator like Guake
+Comment[en_GB]=Terminal Emulator like Guake
+Comment[ja]=Guake風のターミナルエミュレーター
+GenericName=Terminal Emulator
+GenericName[en_AU]=Terminal Emulator
+GenericName[en_GB]=Terminal Emulator
+GenericName[ja]=ターミナルエミュレーター
+Exec=xfce4-terminal --drop-down
+Icon=utilities-terminal
+Terminal=false
+Type=Application
+Categories=GTK;System;TerminalEmulator;
+StartupNotify=true
+Actions=preferences;
--- /dev/null
+#!/usr/bin/env bash
+
+function remove () {
+ local list
+ local file
+ list=($(echo "$@"))
+ for file in "${list[@]}"; do
+ if [[ -f ${file} ]]; then
+ rm -f "${file}"
+ elif [[ -d ${file} ]]; then
+ rm -rf "${file}"
+ fi
+ done
+}
+
+while getopts 'u:' arg; do
+ case "${arg}" in
+ u) user="${OPTARG}";;
+ esac
+done
+
+remove /etc/skel/Desktop
+remove /etc/skel/.config/gtk-3.0/bookmarks
+remove /home/${user}/Desktop/calamares.desktop
+remove /root/Desktop/calamares.desktop
+remove /home/${user}/.config/gtk-3.0/bookmarks
+remove /usr/share/calamares/
+
+remove /etc/polkit-1/rules.d/01-nopasswork.rules
+
+# Delete unnecessary files of archiso.
+# See the following site for details.
+# https://wiki.archlinux.jp/index.php/Archiso#Chroot_.E3.81.A8.E3.83.99.E3.83.BC.E3.82.B9.E3.82.B7.E3.82.B9.E3.83.86.E3.83.A0.E3.81.AE.E8.A8.AD.E5.AE.9A
+
+remove /etc/systemd/system/getty@tty1.service.d/autologin.conf
+remove /root/.automated_script.sh
+remove /etc/mkinitcpio-archiso.conf
+remove /etc/initcpio
+
+if [[ -f /etc/systemd/journald.conf ]]; then
+ sed -i 's / Storage = volatile /#Storage = auto /' /etc/systemd/journald.conf
+fi
+
+remove /etc/udev/rules.d/81-dhcpcd.rules
+remove /etc/systemd/system/{choose-mirror.service,getty@tty1.service.d}
+
+# Disabled auto login
+sed -i "s/^autologin/#autologin/g" /etc/lightdm.conf
--- /dev/null
+# Configuration for the one-user-system user module.
+#
+# Besides these settings, the user module also places the following
+# keys into the globalconfig area, based on user input in the view step.
+#
+# - hostname
+# - username
+# - password (obscured)
+# - autologinUser (if enabled, set to username)
+#
+# These globalconfig keys are set when the jobs for this module
+# are created.
+---
+# Used as default groups for the created user.
+# Adjust to your Distribution defaults.
+defaultGroups:
+ - users
+ - lp
+ - video
+ - network
+ - storage
+ - wheel
+ - audio
+ - sudo
+
+# Some Distributions require a 'autologin' group for the user.
+# Autologin causes a user to become automatically logged in to
+# the desktop environment on boot.
+# Disable when your Distribution does not require such a group.
+autologinGroup: autologin
+# You can control the initial state for the 'autologin checkbox' here.
+# Possible values are:
+# - true to check or
+# - false to uncheck
+# These set the **initial** state of the checkbox.
+doAutologin: false
+
+# When *sudoersGroup* is set to a non-empty string, Calamares creates a
+# sudoers file for the user. This file is located at:
+# `/etc/sudoers.d/10-installer`
+# Remember to add the (value of) *sudoersGroup* to *defaultGroups*.
+#
+# If your Distribution already sets up a group of sudoers in its packaging,
+# remove this setting (delete or comment out the line below). Otherwise,
+# the setting will be duplicated in the `/etc/sudoers.d/10-installer` file,
+# potentially confusing users.
+sudoersGroup: sudo
+
+# Setting this to false, causes the root account to be disabled.
+# When disabled, hides the "Use the same password for administrator"
+# checkbox. Also hides the "Choose a password" and associated text-inputs.
+setRootPassword: true
+
+# You can control the initial state for the 'reuse password for root'
+# checkbox here. Possible values are:
+# - true to check or
+# - false to uncheck
+#
+# When checked, the user password is used for the root account too.
+#
+# NOTE: *doReusePassword* requires *setRootPassword* to be enabled.
+doReusePassword: false
+
+# These are optional password-requirements that a distro can enforce
+# on the user. The values given in this sample file set only very weak
+# validation settings.
+#
+# - nonempty rejects empty passwords
+# - there are no length validations
+# - libpwquality (if it is enabled at all) has no length of class
+# restrictions, although it will still reject palindromes and
+# dictionary words with these settings.
+#
+# Checks may be listed multiple times; each is checked separately,
+# and no effort is done to ensure that the checks are consistent
+# (e.g. specifying a maximum length less than the minimum length
+# will annoy users).
+#
+# The libpwquality check relies on the (optional) libpwquality library.
+# Its value is a list of configuration statements that could also
+# be found in pwquality.conf, and these are handed off to the
+# libpwquality parser for evaluation. The check is ignored if
+# libpwquality is not available at build time (generates a warning in
+# the log). The Calamares password check rejects passwords with a
+# score of < 40 with the given libpwquality settings.
+#
+# (additional checks may be implemented in CheckPWQuality.cpp and
+# wired into UsersPage.cpp)
+#
+# - To disable specific password validations:
+# comment out the relevant 'passwordRequirements' keys below.
+# - To disable all password validations:
+# set both 'allowWeakPasswords' and 'allowWeakPasswordsDefault' to true.
+# (That will show the box *Allow weak passwords* in the user-
+# interface, and check it by default).
+passwordRequirements:
+ nonempty: true
+ minLength: 1 # Password at least this many characters
+ maxLength: -1 # Password at most this many characters
+ libpwquality:
+ - minlen=0
+ - minclass=0
+
+# You can control the visibility of the 'strong passwords' checkbox here.
+# Possible values are:
+# - true to show or
+# - false to hide (default)
+# the checkbox. This checkbox allows the user to choose to disable
+# password-strength-checks. By default the box is **hidden**, so
+# that you have to pick a password that satisfies the checks.
+allowWeakPasswords: true
+# You can control the initial state for the 'strong passwords' checkbox here.
+# Possible values are:
+# - true to uncheck or
+# - false to check (default)
+# the checkbox by default. Since the box is labeled to enforce strong
+# passwords, in order to **allow** weak ones by default, the box needs
+# to be unchecked.
+allowWeakPasswordsDefault: false
+
+# Shell to be used for the regular user of the target system.
+# There are three possible kinds of settings:
+# - unset (i.e. commented out, the default), act as if set to /bin/bash
+# - empty (explicit), don't pass shell information to useradd at all
+# and rely on a correct configuration file in /etc/default/useradd
+# - set, non-empty, use that path as shell. No validation is done
+# that the shell actually exists or is executable.
+userShell: /bin/zsh
+
+# Hostname setting
+#
+# The user can enter a hostname; this is configured into the system
+# in some way; pick one of:
+# - *None*, to not set the hostname at all
+# - *EtcFile*, to write to `/etc/hostname` directly
+# - *Hostnamed*, to use systemd hostnamed(1) over DBus
+# The default is *EtcFile*.
+setHostname: EtcFile
+
+# Should /etc/hosts be written with a hostname for this machine
+# (also adds localhost and some ipv6 standard entries).
+writeHostsFile: true
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="270"
+ height="270"
+ viewBox="0 0 71.437501 71.437498"
+ version="1.1"
+ id="svg8"
+ inkscape:version="0.92.1 r15371"
+ sodipodi:docname="Colored_Big.svg">
+ <defs
+ id="defs2" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="0.49497475"
+ inkscape:cx="477.22106"
+ inkscape:cy="-28.721101"
+ inkscape:document-units="mm"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:snap-global="false"
+ inkscape:snap-intersection-paths="true"
+ inkscape:window-width="1828"
+ inkscape:window-height="1058"
+ inkscape:window-x="-8"
+ inkscape:window-y="-8"
+ inkscape:window-maximized="1"
+ fit-margin-top="30"
+ fit-margin-left="30"
+ fit-margin-right="30"
+ fit-margin-bottom="30"
+ inkscape:pagecheckerboard="true"
+ units="px" />
+ <metadata
+ id="metadata5">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="レイヤー 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-45.541345,-93.335354)">
+ <g
+ id="g3879"
+ transform="matrix(0.55348545,0,0,0.55348545,24.779016,39.906575)"
+ inkscape:label="Logo">
+ <path
+ style="display:inline;fill:#009aff;fill-opacity:1;stroke:none;stroke-width:0.72424453px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 376.67969,225.3418 -76.11719,131.83984 83.02148,143.80078 39.94922,-68.63476 112.28907,68.63476 z"
+ transform="matrix(0.36532318,0,0,0.36532318,-35.512977,28.343159)"
+ id="path3870"
+ inkscape:connector-curvature="0" />
+ <path
+ style="fill:#006eff;fill-opacity:1;stroke:none;stroke-width:0.72424453px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 300.5625,357.18164 -83.30273,144.08008 h 166.48632 l -0.16211,-0.2793 39.94922,-68.63476 z"
+ transform="matrix(0.36532318,0,0,0.36532318,-35.512977,28.343159)"
+ id="path3906"
+ inkscape:connector-curvature="0" />
+ <path
+ inkscape:connector-curvature="0"
+ id="path3874"
+ d="M 104.61945,211.3638 119.21327,186.28966 74.289189,158.83024 Z"
+ style="fill:#005498;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+ </g>
+ </g>
+</svg>
--- /dev/null
+#
+# [greeter]
+# debug_mode = Greeter theme debug mode.
+# detect_theme_errors = Provide an option to load a fallback theme when theme errors are detected.
+# screensaver_timeout = Blank the screen after this many seconds of inactivity.
+# secure_mode = Don't allow themes to make remote http requests.
+# time_format = A moment.js format string so the greeter can generate localized time for display.
+# time_language = Language to use when displaying the time or "auto" to use the system's language.
+# webkit_theme = Webkit theme to use.
+#
+# NOTE: See moment.js documentation for format string options: http://momentjs.com/docs/#/displaying/format/
+#
+
+[greeter]
+debug_mode = false
+detect_theme_errors = false
+screensaver_timeout = 300
+secure_mode = true
+time_format = LT
+time_language = auto
+webkit_theme = alter
+
+#
+# [branding]
+# background_images = Path to directory that contains background images for use by themes.
+# logo = Path to logo image for use by greeter themes.
+# user_image = Default user image/avatar. This is used by themes for users that have no .face image.
+#
+# NOTE: Paths must be accessible to the lightdm system user account (so they cannot be anywhere in /home)
+#
+
+[branding]
+background_images = /usr/share/backgrounds
+logo = /usr/share/pixmaps/archlinux-logo.svg
+user_image = /usr/share/pixmaps/archlinux-user.svg
--- /dev/null
+#
+# General configuration
+#
+# start-default-seat = True to always start one seat if none are defined in the configuration
+# greeter-user = User to run greeter as
+# minimum-display-number = Minimum display number to use for X servers
+# minimum-vt = First VT to run displays on
+# lock-memory = True to prevent memory from being paged to disk
+# user-authority-in-system-dir = True if session authority should be in the system location
+# guest-account-script = Script to be run to setup guest account
+# logind-check-graphical = True to on start seats that are marked as graphical by logind
+# log-directory = Directory to log information to
+# run-directory = Directory to put running state in
+# cache-directory = Directory to cache to
+# sessions-directory = Directory to find sessions
+# remote-sessions-directory = Directory to find remote sessions
+# greeters-directory = Directory to find greeters
+# backup-logs = True to move add a .old suffix to old log files when opening new ones
+# dbus-service = True if LightDM provides a D-Bus service to control it
+#
+[LightDM]
+#start-default-seat=true
+#greeter-user=lightdm
+#minimum-display-number=0
+#minimum-vt=7 # Setting this to a value < 7 implies security issues, see FS#46799
+#lock-memory=true
+#user-authority-in-system-dir=false
+#guest-account-script=guest-account
+#logind-check-graphical=false
+#log-directory=/var/log/lightdm
+run-directory=/run/lightdm
+#cache-directory=/var/cache/lightdm
+#sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions
+#remote-sessions-directory=/usr/share/lightdm/remote-sessions
+#greeters-directory=$XDG_DATA_DIRS/lightdm/greeters:$XDG_DATA_DIRS/xgreeters
+#backup-logs=true
+#dbus-service=true
+
+#
+# Seat configuration
+#
+# Seat configuration is matched against the seat name glob in the section, for example:
+# [Seat:*] matches all seats and is applied first.
+# [Seat:seat0] matches the seat named "seat0".
+# [Seat:seat-thin-client*] matches all seats that have names that start with "seat-thin-client".
+#
+# type = Seat type (local, xremote)
+# pam-service = PAM service to use for login
+# pam-autologin-service = PAM service to use for autologin
+# pam-greeter-service = PAM service to use for greeters
+# xserver-command = X server command to run (can also contain arguments e.g. X -special-option)
+# xmir-command = Xmir server command to run (can also contain arguments e.g. Xmir -special-option)
+# xserver-config = Config file to pass to X server
+# xserver-layout = Layout to pass to X server
+# xserver-allow-tcp = True if TCP/IP connections are allowed to this X server
+# xserver-share = True if the X server is shared for both greeter and session
+# xserver-hostname = Hostname of X server (only for type=xremote)
+# xserver-display-number = Display number of X server (only for type=xremote)
+# xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true)
+# xdmcp-port = XDMCP UDP/IP port to communicate on
+# xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1 (stored in keys.conf)
+# greeter-session = Session to load for greeter
+# greeter-hide-users = True to hide the user list
+# greeter-allow-guest = True if the greeter should show a guest login option
+# greeter-show-manual-login = True if the greeter should offer a manual login option
+# greeter-show-remote-login = True if the greeter should offer a remote login option
+# user-session = Session to load for users
+# allow-user-switching = True if allowed to switch users
+# allow-guest = True if guest login is allowed
+# guest-session = Session to load for guests (overrides user-session)
+# session-wrapper = Wrapper script to run session with
+# greeter-wrapper = Wrapper script to run greeter with
+# guest-wrapper = Wrapper script to run guest sessions with
+# display-setup-script = Script to run when starting a greeter session (runs as root)
+# display-stopped-script = Script to run after stopping the display server (runs as root)
+# greeter-setup-script = Script to run when starting a greeter (runs as root)
+# session-setup-script = Script to run when starting a user session (runs as root)
+# session-cleanup-script = Script to run when quitting a user session (runs as root)
+# autologin-guest = True to log in as guest by default
+# autologin-user = User to log in with by default (overrides autologin-guest)
+# autologin-user-timeout = Number of seconds to wait before loading default user
+# autologin-session = Session to load for automatic login (overrides user-session)
+# autologin-in-background = True if autologin session should not be immediately activated
+# exit-on-failure = True if the daemon should exit if this seat fails
+#
+[Seat:*]
+#type=local
+#pam-service=lightdm
+#pam-autologin-service=lightdm-autologin
+#pam-greeter-service=lightdm-greeter
+#xserver-command=X
+#xmir-command=Xmir
+#xserver-config=
+#xserver-layout=
+#xserver-allow-tcp=false
+#xserver-share=true
+#xserver-hostname=
+#xserver-display-number=
+#xdmcp-manager=
+#xdmcp-port=177
+#xdmcp-key=
+greeter-session=lightdm-slick-greeter
+#greeter-hide-users=false
+#greeter-allow-guest=true
+#greeter-show-manual-login=false
+#greeter-show-remote-login=true
+#user-session=default
+#allow-user-switching=true
+#allow-guest=true
+#guest-session=
+session-wrapper=/etc/lightdm/Xsession
+#greeter-wrapper=
+#guest-wrapper=
+#display-setup-script=
+#display-stopped-script=
+#greeter-setup-script=
+#session-setup-script=
+#session-cleanup-script=
+#autologin-guest=false
+autologin-user=%USERNAME%
+autologin-user-timeout=0
+#autologin-in-background=false
+autologin-session=xfce
+#exit-on-failure=false
+
+#
+# XDMCP Server configuration
+#
+# enabled = True if XDMCP connections should be allowed
+# port = UDP/IP port to listen for connections on
+# listen-address = Host/address to listen for XDMCP connections (use all addresses if not present)
+# key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication (stored in keys.conf)
+# hostname = Hostname to report to XDMCP clients (defaults to system hostname if unset)
+#
+# The authentication key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn. Alternatively
+# it can be a word and the first 7 characters are used as the key.
+#
+[XDMCPServer]
+#enabled=false
+#port=177
+#listen-address=
+#key=
+#hostname=
+
+#
+# VNC Server configuration
+#
+# enabled = True if VNC connections should be allowed
+# command = Command to run Xvnc server with
+# port = TCP/IP port to listen for connections on
+# listen-address = Host/address to listen for VNC connections (use all addresses if not present)
+# width = Width of display to use
+# height = Height of display to use
+# depth = Color depth of display to use
+#
+[VNCServer]
+#enabled=false
+#command=Xvnc
+#port=5900
+#listen-address=
+#width=1024
+#height=768
+#depth=8
--- /dev/null
+#
+# /etc/pacman.conf
+#
+# See the pacman.conf(5) manpage for option and repository directives
+
+#
+# GENERAL OPTIONS
+#
+# Yamada Hayao
+# Twitter: @Hayao0819
+# Email : hayao@fascode.net
+#
+# (c) 2019-2020 Fascode Network.
+#
+[options]
+# The following paths are commented out with their default values listed.
+# If you wish to use different paths, uncomment and update the paths.
+#RootDir = /
+#DBPath = /var/lib/pacman/
+#CacheDir = /var/cache/pacman/pkg/
+#LogFile = /var/log/pacman.log
+#GPGDir = /etc/pacman.d/gnupg/
+#HookDir = /etc/pacman.d/hooks/
+HoldPkg = pacman glibc
+#XferCommand = /usr/bin/curl -C - -f %u > %o
+#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
+#CleanMethod = KeepInstalled
+#UseDelta = 0.7
+Architecture = auto
+
+# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
+#IgnorePkg =
+#IgnoreGroup =
+
+#NoUpgrade =
+#NoExtract =
+
+# Misc options
+#UseSyslog
+Color
+TotalDownload
+# We cannot check disk space from within a chroot environment
+#CheckSpace
+#VerbosePkgLists
+
+# By default, pacman accepts packages signed by keys that its local keyring
+# trusts (see pacman-key and its man page), as well as unsigned packages.
+SigLevel = Required DatabaseOptional
+LocalFileSigLevel = Optional
+#RemoteFileSigLevel = Required
+
+# NOTE: You must run `pacman-key --init` before first using pacman; the local
+# keyring can then be populated with the keys of all official Arch Linux
+# packagers with `pacman-key --populate archlinux`.
+
+#
+# REPOSITORIES
+# - can be defined here or included from another file
+# - pacman will search repositories in the order defined here
+# - local/custom mirrors can be added here or in separate files
+# - repositories listed first will take precedence when packages
+# have identical names, regardless of version number
+# - URLs will have $repo replaced by the name of the current repo
+# - URLs will have $arch replaced by the name of the architecture
+#
+# Repository entries are of the format:
+# [repo-name]
+# Server = ServerName
+# Include = IncludePath
+#
+# The header [repo-name] is crucial - it must be present and
+# uncommented to enable the repo.
+#
+
+# The testing repositories are disabled by default. To enable, uncomment the
+# repo name header and Include lines. You can add preferred servers immediately
+# after the header, and they will be used before the default mirrors.
+
+# Alter Linux
+[alter-stable]
+Include = /etc/pacman.d/mirrorlist-alter
+
+[alter-kernel]
+Include = /etc/pacman.d/mirrorlist-alter
+
+#[alter-testing]
+#Include = /etc/pacman.d/mirrorlist-alter
+
+#[testing]
+#Include = /etc/pacman.d/mirrorlist
+
+[core]
+Include = /etc/pacman.d/mirrorlist
+
+[extra]
+Include = /etc/pacman.d/mirrorlist
+
+#[community-testing]
+#Include = /etc/pacman.d/mirrorlist
+
+[community]
+Include = /etc/pacman.d/mirrorlist
+
+# If you want to run 32 bit applications on your x86_64 system,
+# enable the multilib repositories as required here.
+
+#[multilib-testing]
+#Include = /etc/pacman.d/mirrorlist
+
+[multilib]
+Include = /etc/pacman.d/mirrorlist
+
+# This is Yamada Hayao's personal repository.
+# It was used early but is now disabled.
+#[hayao]
+#Server = https://xn--d-8o2b.com/repo/$repo/$arch
+
+# An example of a custom package repository. See the pacman manpage for
+# tips on creating your own repositories.
+#[custom]
+#SigLevel = Optional TrustAll
+#Server = file:///home/custompkgs
--- /dev/null
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Welcome to Alter Linux
+Exec=/usr/bin/chromium https://fascode.net/projects/linux/alter/welcome.php
+Terminal=false
+Comment=This page is useful for using AlterLinux.
+Icon=/usr/share/icons/hicolor/scalable/alter.svg
+URL=https://fascode.net/projects/linux/alter/welcome.php
+
+Name[ja]=AlterLinuxへようこそ
+GenericName[ja]=AlterLinuxへようこそ
+Comment[ja]=AlterLinuxの利用に役立つページです。
--- /dev/null
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Welcome to Alter Linux
+Exec=/usr/bin/chromium https://fascode.net/en/projects/linux/alter/welcome.php
+Terminal=false
+Comment=This page is useful for using AlterLinux.
+Icon=/usr/share/icons/hicolor/scalable/alter.svg
+URL=https://fascode.net/en/projects/linux/alter/welcome.php
+
+Name[ja]=AlterLinuxへようこそ
+GenericName[ja]=AlterLinuxへようこそ
+Comment[ja]=AlterLinuxの利用に役立つページです。
--- /dev/null
+# Systemd services manipulation.
+#
+# This module can enable services and targets for systemd
+# (if packaging doesn't already do that). It can calso
+# disable services (but not targets).
+#
+# First, services are enabled; then targets; then services
+# are disabled -- this order of operations is fixed.
+---
+
+# There are three configuration keys for this module:
+# *services*, *targets* and *disable*. The value of each
+# key is a list of entries. Each entry has two keys:
+# - *name* is the (string) name of the service or target that is being
+# changed. Use quotes. Don't include ".target" or ".service"
+# in the name.
+# - *mandatory* is a boolean option, which states whether the change
+# must be done successfully. If systemd reports an error while changing
+# a mandatory entry, the installation will fail. When mandatory is false,
+# errors for that entry (service or target) are ignored. If mandatory
+# is not specified, the default is false.
+#
+# An entry may also be given as a single string, which is then
+# interpreted as the name of the service. In this case, mandatory
+# is also set to the default of false.
+#
+# Use [] to express an empty list.
+
+# # This example enables NetworkManager (and fails if it can't),
+# # disables cups (and ignores failure). Then it enables the
+# # graphical target (e.g. so that SDDM runs for login), and
+# # finally disables pacman-init (an ArchLinux-only service).
+# #
+# # Enables <name>.service
+# services:
+# - name: "NetworkManager"
+# mandatory: true
+# - name: "cups"
+# mandatory: false
+#
+# # Enables <name>.target
+# targets:
+# - name: "graphical"
+# mandatory: true
+#
+# # Disables <name>.service
+# disable:
+# - name: "pacman-init"
+# mandatory: false
+#
+# # Disables <name>.target
+# # .. this shows how to use just the name
+# disable-targets:
+# - graphical
+#
+# # Masks (stronger version of disable). This section
+# # is unusual because you **must** include the suffix
+# # (e.g. ".service") as part of the name, so, e.g. to mask
+# # NetworkManager (rather than just disable it) you must
+# # specify "NetworkManager.service" as name.
+# mask:
+# - name: "NetworkManager.service"
+# - mandatory: true
+
+# By default, no changes are made.
+#services: []
+#targets: []
+#disable: []
+disable-targets: []
+
+# Manjaro settings
+
+services:
+ - name: "NetworkManager"
+ mandatory: false
+
+ - name: "org.cups.cupsd"
+ mandatory: false
+
+ - name: "lightdm-plymouth"
+ mandatory: false
+
+ - name: "pacman-init"
+ mandatory: false
+
+ - name: "tlp"
+ mandatory: false
+
+ - name: "tlp-sleep"
+ mandatory: false
+
+ - name: "snapd.apparmor"
+ mandatory: false
+
+ - name: "apparmor"
+ mandatory: false
+
+ - name: "snapd"
+ mandatory: false
+
+targets:
+ - name: "graphical"
+ mandatory: true
+
+disable:
+ - name: "dhcpcd"
+ mandatory: false
+
+mask:
+ - name: "systemd-rfkill"
+ mandatory: false
+
+ - name: "systemd-rfkill.socket"
+ mandatory: false
\ No newline at end of file
--- /dev/null
+# Systemd services manipulation.
+#
+# This module can enable services and targets for systemd
+# (if packaging doesn't already do that). It can calso
+# disable services (but not targets).
+#
+# First, services are enabled; then targets; then services
+# are disabled -- this order of operations is fixed.
+---
+
+# There are three configuration keys for this module:
+# *services*, *targets* and *disable*. The value of each
+# key is a list of entries. Each entry has two keys:
+# - *name* is the (string) name of the service or target that is being
+# changed. Use quotes. Don't include ".target" or ".service"
+# in the name.
+# - *mandatory* is a boolean option, which states whether the change
+# must be done successfully. If systemd reports an error while changing
+# a mandatory entry, the installation will fail. When mandatory is false,
+# errors for that entry (service or target) are ignored. If mandatory
+# is not specified, the default is false.
+#
+# An entry may also be given as a single string, which is then
+# interpreted as the name of the service. In this case, mandatory
+# is also set to the default of false.
+#
+# Use [] to express an empty list.
+
+# # This example enables NetworkManager (and fails if it can't),
+# # disables cups (and ignores failure). Then it enables the
+# # graphical target (e.g. so that SDDM runs for login), and
+# # finally disables pacman-init (an ArchLinux-only service).
+# #
+# # Enables <name>.service
+# services:
+# - name: "NetworkManager"
+# mandatory: true
+# - name: "cups"
+# mandatory: false
+#
+# # Enables <name>.target
+# targets:
+# - name: "graphical"
+# mandatory: true
+#
+# # Disables <name>.service
+# disable:
+# - name: "pacman-init"
+# mandatory: false
+#
+# # Disables <name>.target
+# # .. this shows how to use just the name
+# disable-targets:
+# - graphical
+#
+# # Masks (stronger version of disable). This section
+# # is unusual because you **must** include the suffix
+# # (e.g. ".service") as part of the name, so, e.g. to mask
+# # NetworkManager (rather than just disable it) you must
+# # specify "NetworkManager.service" as name.
+# mask:
+# - name: "NetworkManager.service"
+# - mandatory: true
+
+# By default, no changes are made.
+#services: []
+#targets: []
+#disable: []
+disable-targets: []
+
+# Manjaro settings
+
+services:
+ - name: "NetworkManager"
+ mandatory: false
+
+ - name: "org.cups.cupsd"
+ mandatory: false
+
+ - name: "lightdm"
+ mandatory: false
+
+ - name: "pacman-init"
+ mandatory: false
+
+ - name: "tlp"
+ mandatory: false
+
+ - name: "tlp-sleep"
+ mandatory: false
+
+ - name: "snapd.apparmor"
+ mandatory: false
+
+ - name: "apparmor"
+ mandatory: false
+
+ - name: "snapd"
+ mandatory: false
+
+targets:
+ - name: "graphical"
+ mandatory: true
+
+disable:
+ - name: "dhcpcd"
+ mandatory: false
+
+mask:
+ - name: "systemd-rfkill"
+ mandatory: false
+
+ - name: "systemd-rfkill.socket"
+ mandatory: false
\ No newline at end of file
--- /dev/null
+alteriso=3
\ No newline at end of file
--- /dev/null
+#
+# Yamada Hayao
+# Twitter: @Hayao0819
+# Email : hayao@fascode.net
+#
+# (c) 2019-2020 Fascode Network.
+#
+# Supported architecture list
+
+x86_64
+i686
\ No newline at end of file
--- /dev/null
+#!/usr/bin/env bash
+#
+# Yamada Hayao
+# Twitter: @Hayao0819
+# Email : hayao@fascode.net
+#
+# (c) 2019-2020 Fascode Network.
+#
+# config
+#
+# Overwrites the first to read and set the build script
+# This configuration file follows the bash syntax.
+#
+
+# Set the user's default shell.
+usershell="/bin/zsh"
--- /dev/null
+Use Xfce4 for desktop environment.
\ No newline at end of file
--- /dev/null
+#
+# Alter Linux package list
+#
+# Yamada Hayao
+# Twitter: @Hayao0819
+# Email : hayao@fascode.net
+#
+# (c) 2019-2020 Fascode Network.
+#
+# Base packages
+
+base-devel
--- /dev/null
+#
+# Alter Linux package list
+#
+# Yamada Hayao
+# Twitter: @Hayao0819
+# Email : hayao@fascode.net
+#
+# (c) 2019-2020 Fascode Network.
+#
+# Disk management
+
+
+baobab
+clonezilla
+ddrescue
+dmraid
+fsarchiver
+gnome-disk-utility
+gparted
+gptfdisk
+hdparm
+lvm2
+mdadm
+partclone
+parted
+partimage
+sdparm
+smartmontools
+testdisk
\ No newline at end of file
--- /dev/null
+#
+# Alter Linux package list
+#
+# Yamada Hayao
+# Twitter: @Hayao0819
+# Email : hayao@fascode.net
+#
+# (c) 2019-2020 Fascode Network.
+#
+# File System
+
+
+#-- mtp --#
+gvfs-mtp
+mtpfs
--- /dev/null
+#
+# Alter Linux package list
+#
+# Yamada Hayao
+# Twitter: @Hayao0819
+# Email : hayao@fascode.net
+#
+# (c) 2019-2020 Fascode Network.
+#
+# Fonts
+
+
+# font
+adobe-source-code-pro-fonts
+nerd-fonts-source-code-pro
+noto-fonts
+noto-fonts-cjk
+noto-fonts-emoji
--- /dev/null
+#
+# Alter Linux package list
+#
+# Yamada Hayao
+# Twitter: @Hayao0819
+# Email : hayao@fascode.net
+#
+# (c) 2019-2020 Fascode Network.
+#
+# look and feel
+
+
+# icon
+inverse-icon-theme-blue-git
+
+
+# theme
+arc-gtk-theme
--- /dev/null
+#
+# Alter Linux package list
+#
+# Yamada Hayao
+# Twitter: @Hayao0819
+# Email : hayao@fascode.net
+#
+# (c) 2019-2020 Fascode Network.
+#
+# Internet
+
+
+#-- connection --#
+network-manager-applet
+
+
+#-- mail client --#
+thunderbird
+# mailspring
+
+
+#-- web browser --#
+chromium
+# elinks
+
+
+#-- security --#
+firewalld
+ufw
\ No newline at end of file
--- /dev/null
+#
+# Alter Linux package list
+#
+# Yamada Hayao
+# Twitter: @Hayao0819
+# Email : hayao@fascode.net
+#
+# (c) 2019-2020 Fascode Network.
+#
+# This package list will only be installed if the Japanese option is enabled.
+#
+# Japanese package
+
+# fcitx config
+alterlinux-fcitx-conf
+
+# fcitx
+fcitx
+fcitx-configtool
+fcitx-mozc
+fcitx-qt5
+
+
+# other
+libreoffice-still-ja
\ No newline at end of file
--- /dev/null
+#
+# Alter Linux package list
+#
+# Yamada Hayao
+# Twitter: @Hayao0819
+# Email : hayao@fascode.net
+#
+# (c) 2019-2020 Fascode Network.
+#
+# Display Manager
+
+
+lightdm
+lightdm-webkit2-greeter
+lightdm-webkit2-theme-alter
+# lightdm-gtk-greeter
+# lightdm-slick-greeter
+# lightdm-settings
\ No newline at end of file
--- /dev/null
+#
+# Alter Linux package list
+#
+# Yamada Hayao
+# Twitter: @Hayao0819
+# Email : hayao@fascode.net
+#
+# (c) 2019-2020 Fascode Network.
+#
+# Media
+
+
+#-- audio --#
+pavucontrol
+pulseaudio
+
+
+#-- bluetooth --#
+blueman
+bluez
+bluez-utils
+# pulseaudio-bluetooth
+pulseaudio-modules-bt
+
+
+#-- media player --#
+viewnior
+vlc
\ No newline at end of file
--- /dev/null
+#
+# Alter Linux package list
+#
+# Yamada Hayao
+# Twitter: @Hayao0819
+# Email : hayao@fascode.net
+#
+# (c) 2019-2020 Fascode Network.
+#
+
+
+#-- archiver --#
+xarchiver
+
+
+#-- GVFS --#
+gvfs
+gvfs-smb
+
+
+#-- boot manager --#
+# grub-theme-vimix-alter
+grub-theme-vimix
+grub-customizer
+
+
+#-- documents --#
+man-db
+man-pages
+
+
+#-- game pad --#
+jstest-gtk-git
+
+
+#-- system monitor --#
+cpu-x
+gnome-system-monitor
+htop
+
+
+#-- pacman --#
+pamac-aur
+
+
+#-- printer --#
+system-config-printer
+
+
+#-- text editor --#
+medit
+nano
+vim
+
+
+#-- other --#
+# etcher-bin
+ipad_charge
+libreoffice-still
+snapd
+tlpui
\ No newline at end of file
--- /dev/null
+#
+# Alter Linux package list
+#
+# Yamada Hayao
+# Twitter: @Hayao0819
+# Email : hayao@fascode.net
+#
+# (c) 2019-2020 Fascode Network.
+#
+# Intaractive shell
+
+
+#-- lsd --#
+lsd
+lsd-control
+
+
+#-- Prompt --#
+powerline-go
+
+
+#-- zsh --#
+zsh
+zsh-autosuggestions
+zsh-completions
+zsh-syntax-highlighting
--- /dev/null
+#
+# Alter Linux package list
+#
+# Yamada Hayao
+# Twitter: @Hayao0819
+# Email : hayao@fascode.net
+#
+# (c) 2019-2020 Fascode Network.
+#
+# Xfce4 Desktop Environment
+
+
+ #-- Compiz --#
+ compiz
+
+
+#-- xfce4 base --#
+exo
+garcon
+gnome-keyring
+thunar
+thunar-volman
+tumbler
+xfce4-appfinder
+xfce4-notifyd
+xfce4-screenshooter
+xfce4-session
+xfce4-settings
+xfce4-terminal
+xfce4-panel
+xfce4-power-manager
+xfconf
+xfdesktop
+# xfwm4
+# xfwm4-themes
+
+
+#-- xfce4 config --#
+alterlinux-xfce-conf
+
+
+#-- xfce4 plugins --#
+thunar-archive-plugin
+thunar-media-tags-plugin
+# thunar-vcs-plugin
+xfce4-calculator-plugin
+xfce4-clipman-plugin
+xfce4-docklike-plugin-git
+xfce4-pulseaudio-plugin
+xfce4-whiskermenu-plugin
--- /dev/null
+#
+# Alter Linux package list
+#
+# Yamada Hayao
+# Twitter: @Hayao0819
+# Email : hayao@fascode.net
+#
+# (c) 2019-2020 Fascode Network.
+#
+# Xorg
+
+#-- xorg --#
+gpm
+xorg-server
+xorg-xinit
+
+#-- drivers --#
+xf86-video-voodoo
+xf86-video-vmware
+xf86-video-vesa
+xf86-video-sisusb
+xf86-video-openchrome
+xf86-video-nouveau
+xf86-video-intel
+xf86-video-fbdev
+xf86-video-dummy
+xf86-video-ati
+xf86-video-amdgpu
+xf86-input-wacom
+xf86-input-void
+xf86-input-vmmouse
+xf86-input-synaptics
+xf86-input-libinput
+xf86-input-evdev
+xf86-input-elographics