"args": []
}
]
-}
\ No newline at end of file
+}
mkdir system/cpp-src/mkalteriso/build ;\
fi
(cd system/cpp-src/mkalteriso/build ; cmake -GNinja .. ; ninja -j4 ; cp -f mkalteriso ../../../)
-
+
menuconfig:menuconfig/build/mconf menuconfig-script/kernel_choice
menuconfig/build/mconf menuconfig-script/rootconf
menuconfig-script/kernel_choice:system/kernel_list-x86_64 system/kernel_list-i686
- ./kernel-choice-conf-gen.sh
+ ./kernel-choice-conf-gen.sh
build_option:
if [ -f .config ];\
then \
$(eval BUILD_OPTION := $(shell cat ./.build_option))
sudo ./${BUILD_SCRIPT} ${BUILD_OPTION}
keyring::
- sudo ./keyring.sh --alter-add --arch-add
+ sudo ./keyring.sh --alter-add --arch-add
exit ${status}
}
trap '_trap_remove_work' 1 2 3 15
-
+
if [[ "${rebuild}" == false ]]; then
# If there is pacman.conf for each channel, use that for building
if [[ -f "${script_path}/channels/${channel_name}/pacman-${arch}.conf" ]]; then
_save_var locale_version
_save_var locale_time
_save_var locale_fullname
-
+
_write_rebuild_file "\n# Kernel Info"
_save_var kernel
_save_var kernel_package
}
for _pkg in ${dependence[@]}; do _check_pkg "${_pkg}"; done
-
+
if [[ "${_check_failed}" = true ]]; then
exit 1
fi
${mkalteriso} ${mkalteriso_option} -w "${work_dir}/${arch}" -C "${work_dir}/pacman-${arch}.conf" -D "${install_dir}" -p "plymouth" install
fi
fi
-
+
# Install kernel.
${mkalteriso} ${mkalteriso_option} -w "${work_dir}/${arch}" -C "${work_dir}/pacman-${arch}.conf" -D "${install_dir}" -p "${kernel_package} ${kernel_headers_packages}" install
make_packages() {
set +e
local _loadfilelist _pkg _file _excludefile _excludelist _pkglist
-
+
#-- Detect package list to load --#
# Add the files for each channel to the list of files to read.
_loadfilelist=(
$(ls "${script_path}"/channels/share/packages.${arch}/*.${arch} 2> /dev/null)
"${script_path}"/channels/share/packages.${arch}/lang/${locale_name}.${arch}
)
-
-
+
+
#-- Read package list --#
# Read the file and remove comments starting with # and add it to the list of packages to install.
for _file in ${_loadfilelist[@]}; do
for _pkg in ${_pkglist[@]}; do
echo ${_pkg} >> "${work_dir}/packages.list"
done
-
+
# Install packages on airootfs
${mkalteriso} ${mkalteriso_option} -w "${work_dir}/${arch}" -C "${work_dir}/pacman-${arch}.conf" -D "${install_dir}" -p "${_pkglist[@]}" install
}
set +e
local _loadfilelist _pkg _file _excludefile _excludelist _pkglist
-
+
#-- Detect package list to load --#
# Add the files for each channel to the list of files to read.
_loadfilelist=(
pkglist_aur=( ${pkglist_aur[@]} "$(grep -h -v ^'#' ${_file})" )
fi
done
-
+
#-- Read exclude list --#
# Exclude packages from the share exclusion list
_excludefile=(
# Create a list of packages to be finally installed as packages.list directly under the working directory.
echo -e "\n\n# AUR packages.\n#\n\n" >> "${work_dir}/packages.list"
for _pkg in ${pkglist_aur[@]}; do echo ${_pkg} >> "${work_dir}/packages.list"; done
-
+
# Build aur packages on airootfs
for _file in "aur_install" "aur_prepare" "aur_remove" "pacls_gen_new" "pacls_gen_old"; do
cp -r "${script_path}/system/aur_scripts/${_file}.sh" "${work_dir}/${arch}/airootfs/root/${_file}.sh"
# Build the package using makepkg.
${mkalteriso} ${mkalteriso_option} -w "${work_dir}/${arch}" -D "${install_dir}" -r "/root/aur_install.sh ${_aur_packages_ls_str}" run
-
+
# Install the built package file.
for _pkg in ${pkglist_aur[@]}; do
${mkalteriso} ${mkalteriso_option} -w "${work_dir}/${arch}" -C "${work_dir}/pacman-${arch}.conf" -D "${install_dir}" -p "${work_dir}/${arch}/airootfs/aurbuild_temp/${_pkg}/*.pkg.tar.*" install_file
make_customize_airootfs() {
# Overwrite airootfs with customize_airootfs.
local _copy_airootfs
-
+
_copy_airootfs() {
local _dir="${1%/}"
if [[ -d "${_dir}" ]]; then
_copy_airootfs "${script_path}/channels/share/airootfs.${arch}"
_copy_airootfs "${script_path}/channels/${channel_name}/airootfs.any"
_copy_airootfs "${script_path}/channels/${channel_name}/airootfs.${arch}"
-
+
# Replace /etc/mkinitcpio.conf if Plymouth is enabled.
if [[ "${boot_splash}" = true ]]; then
cp "${script_path}/mkinitcpio/mkinitcpio-plymouth.conf" "${work_dir}/${arch}/airootfs/etc/mkinitcpio.conf"
#
# -j is obsolete in AlterISO3 and cannot be used.
# -k changed in AlterISO3 from passing kernel name to passing kernel configuration.
-
-
+
+
# Generate options of customize_airootfs.sh.
local _airootfs_script_options
_airootfs_script_options="-p '${password}' -k '${kernel} ${kernel_package} ${kernel_headers_packages} ${kernel_filename} ${kernel_mkinitcpio_profile}' -u '${username}' -o '${os_name}' -i '${install_dir}' -s '${usershell}' -a '${arch}' -g '${locale_gen_name}' -l '${locale_name}' -z '${locale_time}' -t ${theme_name}"
if [[ -f "$_file" ]]; then chmod 755 "${_file}" ;fi
done
}
-
+
chmod_755 "${work_dir}/${arch}/airootfs/root/customize_airootfs.sh" "${work_dir}/${arch}/airootfs/root/customize_airootfs.sh" "${work_dir}/${arch}/airootfs/root/customize_airootfs_${channel_name}.sh" "${work_dir}/${arch}/airootfs/root/customize_airootfs_$(echo ${channel_name} | sed 's/\.[^\.]*$//').sh"
# Execute customize_airootfs.sh.
-r "/root/customize_airootfs_$(echo ${channel_name} | sed 's/\.[^\.]*$//').sh ${_airootfs_script_options}" \
run
fi
-
+
# Delete customize_airootfs.sh.
remove "${work_dir}/${arch}/airootfs/root/customize_airootfs.sh"
remove "${work_dir}/${arch}/airootfs/root/customize_airootfs_${channel_name}.sh"
gpg --export "${gpg_key}" >"${work_dir}/gpgkey"
exec 17<>"${work_dir}/gpgkey"
fi
-
+
ARCHISO_GNUPG_FD=${gpg_key:+17} ${mkalteriso} ${mkalteriso_option} -w "${work_dir}/${arch}" -C "${work_dir}/pacman-${arch}.conf" -D "${install_dir}" -r "mkinitcpio -c /etc/mkinitcpio-archiso.conf -k /boot/${kernel_filename} -g /boot/archiso.img" run
-
+
if [[ "${gpg_key}" ]]; then
exec 17<&-
fi
if [[ -d "${script_path}/channels/${channel_name}/syslinux.${arch}" ]] && [[ "${customized_syslinux}" = true ]]; then
cp -af "${script_path}/channels/${channel_name}/syslinux.${arch}/"* "$work_dir/${arch}/syslinux/"
fi
-
+
# copy all syslinux config to work dir
for _cfg in $work_dir/${arch}/syslinux/*.cfg; do
sed "s|%ARCHISO_LABEL%|${iso_label}|g;
s|%KERNEL_FILENAME%|${kernel_filename}|g;
s|%INSTALL_DIR%|${install_dir}|g" "${_cfg}" > "${work_dir}/iso/${install_dir}/boot/syslinux/${_cfg##*/}"
done
-
+
# Replace the SYSLINUX configuration file with or without boot splash.
local _use_config_name _no_use_config_name _pxe_or_sys
if [[ "${boot_splash}" = true ]]; then
# Prepare /isolinux
make_isolinux() {
mkdir -p "${work_dir}/iso/isolinux"
-
+
sed "s|%INSTALL_DIR%|${install_dir}|g" \
"${script_path}/system/isolinux.cfg" > "${work_dir}/iso/isolinux/isolinux.cfg"
cp "${work_dir}/${arch}/airootfs/usr/lib/syslinux/bios/isolinux.bin" "${work_dir}/iso/isolinux/"
s|%KERNEL_FILENAME%|${kernel_filename}|g;
s|%INSTALL_DIR%|${install_dir}|g" \
"${script_path}/efiboot/loader/entries/archiso-x86_64-usb.conf" > "${work_dir}/iso/loader/entries/archiso-x86_64.conf"
-
+
# edk2-shell based UEFI shell
# shellx64.efi is picked up automatically when on /
cp "${work_dir}/x86_64/airootfs/usr/share/edk2-shell/x64/Shell_Full.efi" "${work_dir}/iso/shellx64.efi"
mkdir -p "${work_dir}/iso/EFI/archiso"
truncate -s 64M "${work_dir}/iso/EFI/archiso/efiboot.img"
mkfs.fat -n ARCHISO_EFI "${work_dir}/iso/EFI/archiso/efiboot.img"
-
+
mkdir -p "${work_dir}/efiboot"
mount "${work_dir}/iso/EFI/archiso/efiboot.img" "${work_dir}/efiboot"
-
+
mkdir -p "${work_dir}/efiboot/EFI/archiso"
-
+
cp "${work_dir}/iso/${install_dir}/boot/${arch}/${kernel_filename}" "${work_dir}/efiboot/EFI/archiso/${kernel_filename}.efi"
cp "${work_dir}/iso/${install_dir}/boot/${arch}/archiso.img" "${work_dir}/efiboot/EFI/archiso/archiso.img"
-
+
cp "${work_dir}/iso/${install_dir}/boot/intel_ucode.img" "${work_dir}/efiboot/EFI/archiso/intel_ucode.img"
cp "${work_dir}/iso/${install_dir}/boot/amd_ucode.img" "${work_dir}/efiboot/EFI/archiso/amd_ucode.img"
-
+
mkdir -p "${work_dir}/efiboot/EFI/boot"
cp "${work_dir}/${arch}/airootfs/usr/lib/systemd/boot/efi/systemd-bootx64.efi" "${work_dir}/efiboot/EFI/boot/bootx64.efi"
pacman -Q --sysroot "${work_dir}/airootfs" > "${work_dir}/packages-full.list"
${mkalteriso} ${mkalteriso_option} -w "${work_dir}" -D "${install_dir}" ${gpg_key:+-g ${gpg_key}} -c "${sfs_comp}" -t "${sfs_comp_opt}" prepare
remove "${work_dir}/airootfs"
-
+
if [[ "${cleaning}" = true ]]; then
remove "${work_dir}/${arch}/airootfs"
fi
return 0
fi
done
-
+
echo -n "false"
return 1
}
[[ $DISPLAY ]] && shopt -s checkwinsize
# PS1='[\u@\h \W]\$ '
-PS1='\u@\h:\w\$ '
+PS1='\u@\h:\w\$ '
[[ -f /etc/bash_aliases ]] && source /etc/bash_aliases
[[ -f /etc/bash_functions ]] && source /etc/bash_functions
#
# disable-beep.sh
#
-# Script to disable PC beep sound
+# Script to disable PC beep sound
#
setterm -blength 0
-
-#
-# Yamada Hayao
+#
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#
# no-beep less
-alias less='less -Q'
\ No newline at end of file
+alias less='less -Q'
# ~/.bashrc
#
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
if [[ "$TERM" != "linux" ]]; then
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
fi
-fi
\ No newline at end of file
+fi
-lsd=true
\ No newline at end of file
+lsd=true
# ~/.zshrc
#
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-export EDITOR=nano
\ No newline at end of file
+export EDITOR=nano
remove /etc/udev/rules.d/81-dhcpcd.rules
remove /etc/systemd/system/{choose-mirror.service,getty@tty1.service.d}
-
-alteriso=3
\ No newline at end of file
+alteriso=3
# Supported architecture list
x86_64
-i686
\ No newline at end of file
+i686
-Base channel for configuring channels
\ No newline at end of file
+Base channel for configuring channels
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
[[ $DISPLAY ]] && shopt -s checkwinsize
# PS1='[\u@\h \W]\$ '
-PS1='\u@\h:\w\$ '
+PS1='\u@\h:\w\$ '
[[ -f /etc/bash_aliases ]] && source /etc/bash_aliases
[[ -f /etc/bash_functions ]] && source /etc/bash_functions
lock-enabled=false
[org/cinnamon/desktop/keybindings/media-keys]
-screensaver=@as []
\ No newline at end of file
+screensaver=@as []
user-db:user
-system-db:local
\ No newline at end of file
+system-db:local
if (action.id == "org.blueman.network.setup" && subject.local && subject.active && subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
-});
\ No newline at end of file
+});
#
# disable-beep.sh
#
-# Script to disable PC beep sound
+# Script to disable PC beep sound
#
setterm -blength 0
-
if [[ $(systemctl is-active graphical.target) = "active" ]] && [[ -z "${DISPLAY}" && "${XDG_VTNR}" -eq 1 ]]; then
exec startx
-fi
\ No newline at end of file
+fi
-#
-# Yamada Hayao
+#
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
alias apt-get='aptpac'
# no-beep less
-alias less='less -Q'
\ No newline at end of file
+alias less='less -Q'
if [[ $(systemctl is-active graphical.target) = "active" ]] && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
exec startx
-fi
\ No newline at end of file
+fi
# ~/.bashrc
#
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
if [[ "$TERM" != "linux" ]]; then
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
fi
-fi
\ No newline at end of file
+fi
"value": "<Super>c"
},
"__md5__": "630b424730fcba4718d867a7442c6b3b"
-}
\ No newline at end of file
+}
"tooltip": "Press this button to customize your menu entries."
},
"__md5__": "9fef899d7c11697066b5f3c4d8479daf"
-}
\ No newline at end of file
+}
"callback": "on_btn_open_system_settings_clicked"
},
"__md5__": "a0c865754395f09606cbab225c8f1fc1"
-}
\ No newline at end of file
+}
"value": false
},
"__md5__": "db29025b0930e93063f745d0adcc675a"
-}
\ No newline at end of file
+}
"value": "printers"
},
"__md5__": "93e5a8d56ccfdbf949efa8b7e5b6ef9d"
-}
\ No newline at end of file
+}
"value": true
},
"__md5__": "bd55910c1cad0cda19a01bffe9767935"
-}
\ No newline at end of file
+}
-lsd=true
\ No newline at end of file
+lsd=true
xset -b
# Start cinnamon
-exec cinnamon-session
\ No newline at end of file
+exec cinnamon-session
# ~/.zshrc
#
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
Encoding=UTF-8
Version=1.0
Icon=/usr/share/icons/hicolor/scalable/apps/alter.svg
-Exec=/usr/bin/alterlinux-welcome-page
+Exec=/usr/bin/alterlinux-welcome-page
Type=Application
StartupNotify=false
Terminal=false
Name[ja]=Alter Linuxへようこそ
GenericName[ja]=Alter Linuxへようこそ
-Comment[ja]=Alter Linuxの利用に役立つページです。
\ No newline at end of file
+Comment[ja]=Alter Linuxの利用に役立つページです。
-export EDITOR=nano
\ No newline at end of file
+export EDITOR=nano
# Update system datebase
-dconf update
\ No newline at end of file
+dconf update
* height value is set in the .css style as get_preferred_height() returns this value in this case*/
this.selectedAppBox.set_height(-1); //unset previously set height
this.selectedAppBox.set_height(this.selectedAppBox.get_preferred_height(-1)[1]);
-
+
let n = Math.min(this._applicationsButtons.length,
INITIAL_BUTTON_LOAD);
for (let i = 0; i < n; i++) {
break;
}
}
-
+
if (!this.showPlaces) {
return;
}
}
this._recentButtons = [];
-
+
for (let i = 0; i < this._categoryButtons.length; i++) {
if (this._categoryButtons[i].categoryId === 'recent') {
this._categoryButtons[i].destroy();
break;
}
}
-
+
if (!this.showRecents || !this.privacy_settings.get_boolean(REMEMBER_RECENT_KEY)) {
return;
}
* height value is set in the .css style as get_preferred_height() returns this value in this case*/
this.selectedAppBox.set_height(-1); //unset previously set height
this.selectedAppBox.set_height(this.selectedAppBox.get_preferred_height(-1)[1]);
-
+
let n = Math.min(this._applicationsButtons.length,
INITIAL_BUTTON_LOAD);
for (let i = 0; i < n; i++) {
break;
}
}
-
+
if (!this.showPlaces) {
return;
}
}
this._recentButtons = [];
-
+
for (let i = 0; i < this._categoryButtons.length; i++) {
if (this._categoryButtons[i].categoryId === 'recent') {
this._categoryButtons[i].destroy();
break;
}
}
-
+
if (!this.showRecents || !this.privacy_settings.get_boolean(REMEMBER_RECENT_KEY)) {
return;
}
[org/cinnamon]
-favorite-apps=['firefox.desktop', 'nemo.desktop', 'org.gnome.Terminal.desktop', 'cinnamon-settings.desktop']
\ No newline at end of file
+favorite-apps=['firefox.desktop', 'nemo.desktop', 'org.gnome.Terminal.desktop', 'cinnamon-settings.desktop']
"value": 100
},
"__md5__": "a8bd266f01474817e50162d841192d67"
-}
\ No newline at end of file
+}
[org/cinnamon]
-favorite-apps=['chromium.desktop', 'nemo.desktop', 'org.gnome.Terminal.desktop', 'cinnamon-settings.desktop']
\ No newline at end of file
+favorite-apps=['chromium.desktop', 'nemo.desktop', 'org.gnome.Terminal.desktop', 'cinnamon-settings.desktop']
"value": 100
},
"__md5__": "a8bd266f01474817e50162d841192d67"
-}
\ No newline at end of file
+}
- name: "pacman-init"
mandatory: false
-
+
- name: "tlp"
mandatory: false
mandatory: false
- name: "systemd-rfkill.socket"
- mandatory: false
\ No newline at end of file
+ mandatory: false
- name: "pacman-init"
mandatory: false
-
+
- name: "tlp"
mandatory: false
mandatory: false
- name: "systemd-rfkill.socket"
- mandatory: false
\ No newline at end of file
+ mandatory: false
-alteriso=3
\ No newline at end of file
+alteriso=3
# Supported architecture list
x86_64
-i686
\ No newline at end of file
+i686
-Gorgeous cinnamon desktop with many applications.
\ No newline at end of file
+Gorgeous cinnamon desktop with many applications.
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#
# Alter Linux packages
-alterlinux-wallpapers
\ No newline at end of file
+alterlinux-wallpapers
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
partimage
sdparm
smartmontools
-testdisk
\ No newline at end of file
+testdisk
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#-- security --#
firewalld
-ufw
\ No newline at end of file
+ufw
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
# lightdm-webkit2-theme-alter
# lightdm-gtk-greeter
lightdm-slick-greeter
-lightdm-settings
\ No newline at end of file
+lightdm-settings
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#-- media player --#
viewnior
-vlc
\ No newline at end of file
+vlc
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
dconf-editor
ipad_charge
libreoffice-still
-tlpui
\ No newline at end of file
+tlpui
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
zsh
zsh-autosuggestions
zsh-completions
-zsh-history-substring-search
+zsh-history-substring-search
zsh-syntax-highlighting
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
partimage
sdparm
smartmontools
-testdisk
\ No newline at end of file
+testdisk
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#-- security --#
firewalld
-ufw
\ No newline at end of file
+ufw
# other
-libreoffice-still-ja
\ No newline at end of file
+libreoffice-still-ja
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
lightdm-webkit2-theme-alter
# lightdm-gtk-greeter
# lightdm-slick-greeter
-# lightdm-settings
\ No newline at end of file
+# lightdm-settings
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#-- media player --#
viewnior
-vlc
\ No newline at end of file
+vlc
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
ipad_charge
libreoffice-still
snapd
-tlpui
\ No newline at end of file
+tlpui
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
zsh
zsh-autosuggestions
zsh-completions
-zsh-history-substring-search
+zsh-history-substring-search
zsh-syntax-highlighting
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
[[ $DISPLAY ]] && shopt -s checkwinsize
# PS1='[\u@\h \W]\$ '
-PS1='\u@\h:\w\$ '
+PS1='\u@\h:\w\$ '
[[ -f /etc/bash_aliases ]] && source /etc/bash_aliases
[[ -f /etc/bash_functions ]] && source /etc/bash_functions
if (action.id == "org.blueman.network.setup" && subject.local && subject.active && subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
-});
\ No newline at end of file
+});
#
# disable-beep.sh
#
-# Script to disable PC beep sound
+# Script to disable PC beep sound
#
setterm -blength 0
-
-#
-# Yamada Hayao
+#
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
alias apt-get='aptpac'
# no-beep less
-alias less='less -Q'
\ No newline at end of file
+alias less='less -Q'
if [[ $(systemctl is-active graphical.target) = "active" ]] && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
exec startx
-fi
\ No newline at end of file
+fi
# ~/.bashrc
#
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
if [[ "$TERM" != "linux" ]]; then
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
fi
-fi
\ No newline at end of file
+fi
-{"Adapters":{"00:1B:DC:F6:F5:3C":{"Powered":true}},"Devices":{},"discoverable":true}
\ No newline at end of file
+{"Adapters":{"00:1B:DC:F6:F5:3C":{"Powered":true}},"Devices":{},"discoverable":true}
-{"Profiles":{"alsa_card.pci-0000_02_02.0":"output:analog-stereo+input:analog-stereo"},"Sink":"alsa_output.pci-0000_02_02.0.analog-stereo","Source":"alsa_input.pci-0000_02_02.0.analog-stereo","SinkPort":"analog-output","SourcePort":"analog-input-mic","SinkVolume":0.5,"SourceVolume":0.5}
\ No newline at end of file
+{"Profiles":{"alsa_card.pci-0000_02_02.0":"output:analog-stereo+input:analog-stereo"},"Sink":"alsa_output.pci-0000_02_02.0.analog-stereo","Source":"alsa_input.pci-0000_02_02.0.analog-stereo","SinkPort":"analog-output","SourcePort":"analog-input-mic","SinkVolume":0.5,"SourceVolume":0.5}
Font=Noto Sans
MonFont=Noto Mono
MonoFont=Source Code Pro
-
-4.0
\ No newline at end of file
+4.0
<match target="font">
<edit name="rgba"><const>rgb</const></edit>
</match>
-</fontconfig>
\ No newline at end of file
+</fontconfig>
-login
\ No newline at end of file
+login
-lsd=true
\ No newline at end of file
+lsd=true
xset -b
# Start deepin
-exec startdde
\ No newline at end of file
+exec startdde
# ~/.zshrc
#
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
systemctl enable systemd-timesyncd.service
# Replace auto login user
-sed -i s/%USERNAME%/${username}/g /etc/lightdm/lightdm.conf
\ No newline at end of file
+sed -i s/%USERNAME%/${username}/g /etc/lightdm/lightdm.conf
# Update system datebase
-dconf update
\ No newline at end of file
+dconf update
-alteriso=3
\ No newline at end of file
+alteriso=3
-Equipped with Deepin and some software
\ No newline at end of file
+Equipped with Deepin and some software
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascone.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascone.net
#
partimage
sdparm
smartmontools
-testdisk
\ No newline at end of file
+testdisk
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascone.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascone.net
#
#-- web browser --#
-chromium
\ No newline at end of file
+chromium
# other
-libreoffice-still-ja
\ No newline at end of file
+libreoffice-still-ja
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascone.net
#
blueman
bluez
bluez-utils
-pulseaudio-bluetooth
\ No newline at end of file
+pulseaudio-bluetooth
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascone.net
#
#-- other --#
libreoffice-still
-tlpui
\ No newline at end of file
+tlpui
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
zsh
zsh-autosuggestions
zsh-completions
-zsh-history-substring-search
+zsh-history-substring-search
zsh-syntax-highlighting
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
A customized Gnome with many packages for beginners.
Some extensions are enabled by default and are easy to use.
This edition uses GDM.
-Only x86_64 is supported and the channel name is gnome.
\ No newline at end of file
+Only x86_64 is supported and the channel name is gnome.
[[ $DISPLAY ]] && shopt -s checkwinsize
# PS1='[\u@\h \W]\$ '
-PS1='\u@\h:\w\$ '
+PS1='\u@\h:\w\$ '
[[ -f /etc/bash_aliases ]] && source /etc/bash_aliases
[[ -f /etc/bash_functions ]] && source /etc/bash_functions
[org/gnome/login-screen]
-logo='/usr/share/pixmaps/alter-logo.png'
\ No newline at end of file
+logo='/usr/share/pixmaps/alter-logo.png'
[org/gnome/desktop/sound]
-event-sounds='false'
\ No newline at end of file
+event-sounds='false'
lock-enabled=false
[org/cinnamon/desktop/keybindings/media-keys]
-screensaver=@as []
\ No newline at end of file
+screensaver=@as []
[org/gnome/shell/extensions/arc-menu]
show-suspend-button=false
show-lock-button=false
-show-logout-button=false
\ No newline at end of file
+show-logout-button=false
user-db:user
system-db:gdm
-file-db:/usr/share/gdm/greeter-dconf-defaults
\ No newline at end of file
+file-db:/usr/share/gdm/greeter-dconf-defaults
user-db:user
-system-db:local
\ No newline at end of file
+system-db:local
[debug]
# Uncomment the line below to turn on debugging
#Enable=true
-
-
</defaults>
</action>
-</policyconfig>
\ No newline at end of file
+</policyconfig>
if (action.id == "org.blueman.network.setup" && subject.local && subject.active && subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
-});
\ No newline at end of file
+});
#
# disable-beep.sh
#
-# Script to disable PC beep sound
+# Script to disable PC beep sound
#
setterm -blength 0
-
if [[ $(systemctl is-active graphical.target) = "active" ]] && [[ -z "${DISPLAY}" && "${XDG_VTNR}" -eq 1 ]]; then
exec startx
-fi
\ No newline at end of file
+fi
-#
-# Yamada Hayao
+#
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
alias apt-get='aptpac'
# no-beep less
-alias less='less -Q'
\ No newline at end of file
+alias less='less -Q'
if [[ $(systemctl is-active graphical.target) = "active" ]] && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
exec startx
-fi
\ No newline at end of file
+fi
# ~/.bashrc
#
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
if [[ "$TERM" != "linux" ]]; then
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
fi
-fi
\ No newline at end of file
+fi
Icon=ulauncher
Terminal=false
Type=Application
-X-GNOME-Autostart-enabled=true
\ No newline at end of file
+X-GNOME-Autostart-enabled=true
-{}
\ No newline at end of file
+{}
"show-recent-apps": "5",
"terminal-command": "",
"theme-name": "arc-dark"
-}
\ No newline at end of file
+}
"run_without_argument": false,
"added": 1598511913.1544025
}
-}
\ No newline at end of file
+}
[Desktop]
Session=gnome
-
gtk-xft-hintstyle="hintmedium"
gtk-xft-rgba="rgb"
gtk-modules="gail:atk-bridge"
-
-lsd=true
\ No newline at end of file
+lsd=true
xset -b
# Start Gnome
-exec gnome-session
\ No newline at end of file
+exec gnome-session
# ~/.zshrc
#
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-export EDITOR=nano
\ No newline at end of file
+export EDITOR=nano
# Update system datebase
-dconf update
\ No newline at end of file
+dconf update
- name: "pacman-init"
mandatory: false
-
+
- name: "tlp"
mandatory: false
mandatory: false
- name: "systemd-rfkill.socket"
- mandatory: false
\ No newline at end of file
+ mandatory: false
- name: "pacman-init"
mandatory: false
-
+
- name: "tlp"
mandatory: false
mandatory: false
- name: "systemd-rfkill.socket"
- mandatory: false
\ No newline at end of file
+ mandatory: false
-alteriso=3
\ No newline at end of file
+alteriso=3
usershell="/bin/zsh"
# Force install the AUR package.
-noaur=false
\ No newline at end of file
+noaur=false
-Gnome edition with a macOS-like UI
\ No newline at end of file
+Gnome edition with a macOS-like UI
-alterlinux-wallpapers
\ No newline at end of file
+alterlinux-wallpapers
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
partimage
sdparm
smartmontools
-testdisk
\ No newline at end of file
+testdisk
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#-- security --#
firewalld
-ufw
\ No newline at end of file
+ufw
# other
-libreoffice-still-ja
\ No newline at end of file
+libreoffice-still-ja
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#-- media player --#
viewnior
-vlc
\ No newline at end of file
+vlc
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
ipad_charge
libreoffice-still
snapd
-tlpui
\ No newline at end of file
+tlpui
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
zsh
zsh-autosuggestions
zsh-completions
-zsh-history-substring-search
+zsh-history-substring-search
zsh-syntax-highlighting
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
A customized Gnome with many packages for beginners.
Some extensions are enabled by default and are easy to use.
This edition uses GDM.
-Only x86_64 is supported and the channel name is gnome.
\ No newline at end of file
+Only x86_64 is supported and the channel name is gnome.
[[ $DISPLAY ]] && shopt -s checkwinsize
# PS1='[\u@\h \W]\$ '
-PS1='\u@\h:\w\$ '
+PS1='\u@\h:\w\$ '
[[ -f /etc/bash_aliases ]] && source /etc/bash_aliases
[[ -f /etc/bash_functions ]] && source /etc/bash_functions
[org/gnome/login-screen]
-logo='/usr/share/pixmaps/alter-logo.png'
\ No newline at end of file
+logo='/usr/share/pixmaps/alter-logo.png'
[org/gnome/desktop/sound]
-event-sounds='false'
\ No newline at end of file
+event-sounds='false'
lock-enabled=false
[org/cinnamon/desktop/keybindings/media-keys]
-screensaver=@as []
\ No newline at end of file
+screensaver=@as []
[org/gnome/shell/extensions/arc-menu]
show-suspend-button=false
show-lock-button=false
-show-logout-button=false
\ No newline at end of file
+show-logout-button=false
user-db:user
system-db:gdm
-file-db:/usr/share/gdm/greeter-dconf-defaults
\ No newline at end of file
+file-db:/usr/share/gdm/greeter-dconf-defaults
user-db:user
-system-db:local
\ No newline at end of file
+system-db:local
[debug]
# Uncomment the line below to turn on debugging
#Enable=true
-
-
</defaults>
</action>
-</policyconfig>
\ No newline at end of file
+</policyconfig>
if (action.id == "org.blueman.network.setup" && subject.local && subject.active && subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
-});
\ No newline at end of file
+});
#
# disable-beep.sh
#
-# Script to disable PC beep sound
+# Script to disable PC beep sound
#
setterm -blength 0
-
if [[ $(systemctl is-active graphical.target) = "active" ]] && [[ -z "${DISPLAY}" && "${XDG_VTNR}" -eq 1 ]]; then
exec startx
-fi
\ No newline at end of file
+fi
-#
-# Yamada Hayao
+#
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
alias apt-get='aptpac'
# no-beep less
-alias less='less -Q'
\ No newline at end of file
+alias less='less -Q'
if [[ $(systemctl is-active graphical.target) = "active" ]] && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
exec startx
-fi
\ No newline at end of file
+fi
# ~/.bashrc
#
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
if [[ "$TERM" != "linux" ]]; then
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
fi
-fi
\ No newline at end of file
+fi
[Desktop]
Session=gnome
-
gtk-xft-hintstyle="hintmedium"
gtk-xft-rgba="rgb"
gtk-modules="gail:atk-bridge"
-
-lsd=true
\ No newline at end of file
+lsd=true
xset -b
# Start Gnome
-exec gnome-session
\ No newline at end of file
+exec gnome-session
# ~/.zshrc
#
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-export EDITOR=nano
\ No newline at end of file
+export EDITOR=nano
# Update system datebase
-dconf update
\ No newline at end of file
+dconf update
- name: "pacman-init"
mandatory: false
-
+
- name: "tlp"
mandatory: false
mandatory: false
- name: "systemd-rfkill.socket"
- mandatory: false
\ No newline at end of file
+ mandatory: false
- name: "pacman-init"
mandatory: false
-
+
- name: "tlp"
mandatory: false
mandatory: false
- name: "systemd-rfkill.socket"
- mandatory: false
\ No newline at end of file
+ mandatory: false
-alteriso=3
\ No newline at end of file
+alteriso=3
usershell="/bin/zsh"
# Force install the AUR package.
-noaur=false
\ No newline at end of file
+noaur=false
-Gnome customized with extension and software for beginner
\ No newline at end of file
+Gnome customized with extension and software for beginner
-alterlinux-wallpapers
\ No newline at end of file
+alterlinux-wallpapers
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
partimage
sdparm
smartmontools
-testdisk
\ No newline at end of file
+testdisk
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#-- security --#
firewalld
-ufw
\ No newline at end of file
+ufw
# other
-libreoffice-still-ja
\ No newline at end of file
+libreoffice-still-ja
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#-- media player --#
viewnior
-vlc
\ No newline at end of file
+vlc
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
ipad_charge
libreoffice-still
snapd
-tlpui
\ No newline at end of file
+tlpui
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
zsh
zsh-autosuggestions
zsh-completions
-zsh-history-substring-search
+zsh-history-substring-search
zsh-syntax-highlighting
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
if (action.id == "org.blueman.network.setup" && subject.local && subject.active && subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
-});
\ No newline at end of file
+});
#
# disable-beep.sh
#
-# Script to disable PC beep sound
+# Script to disable PC beep sound
#
setterm -blength 0
-
if [[ $(systemctl is-active graphical.target) = "active" ]] && [[ -z "${DISPLAY}" && "${XDG_VTNR}" -eq 1 ]]; then
exec startx
-fi
\ No newline at end of file
+fi
-#
-# Yamada Hayao
+#
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
alias apt-get='aptpac'
# no-beep less
-alias less='less -Q'
\ No newline at end of file
+alias less='less -Q'
[
if [[ $(systemctl is-active graphical.target) = "active" ]] && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
exec startx
-fi
\ No newline at end of file
+fi
# ~/.bashrc
#
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
if [[ "$TERM" != "linux" ]]; then
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
fi
-fi
\ No newline at end of file
+fi
bindsym $mod+r mode "default"
}
bindsym $mod+r mode "resize"
-
-
content = " "
[module/right-end]
inherit = module/block-base
-content = " "
\ No newline at end of file
+content = " "
; |)
[module/right-end]
inherit = module/block-base
-content = " "
\ No newline at end of file
+content = " "
; |/
[module/left-end]
inherit = module/block-base
-content = " "
\ No newline at end of file
+content = " "
modules-left = launcher i3 left-end
modules-center = left-begin clock right-end
-modules-right = right-begin network cpu memory battery right-end right-begin power
\ No newline at end of file
+modules-right = right-begin network cpu memory battery right-end right-begin power
content-foreground = ${color.icon_power}
content-background = ${color.bg-mod}
click-left = exec i3 mode "(S): Shutdown (R): Reboot (O): logOut (L): Lock"
-
32: memory
64: battery
128: power
-
rofi.show-icons : true
rofi.icon-theme : Inverse-blue
rofi.theme : ~/.config/rofi/alter-dark.rasi
-rofi.kb-cancel : Escape
\ No newline at end of file
+rofi.kb-cancel : Escape
[[ $# -ne 0 ]] && eval "${menu_list[$1]}" || echo "${!menu_list[*]}"
}
-main $@
\ No newline at end of file
+main $@
scloll_lines = 4096
less_questions = true
urgent_bell = Yes
-audible_bell = No
\ No newline at end of file
+audible_bell = No
-lsd=true
\ No newline at end of file
+lsd=true
# Twitter: @Watasuke102
# Email : Watasuke102@gmail.com
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
cancel)
CANCELSTATUS=1
break
- ;;
- *)
+ ;;
+ *)
picks+=("$pick")
break
- ;;
+ ;;
esac
done
if [ $CANCELSTATUS -eq 1 ]; then
echo ""
- else
+ else
if [[ $picks ]]; then
printf "$SETTINGGTK2THEMEMSG" "${picks[*]}"
SELECTEDITEM="${picks[@]}"
cancel)
CANCELSTATUS=1
break
- ;;
- *)
+ ;;
+ *)
picks+=("$pick")
break
- ;;
+ ;;
esac
done
if [ $CANCELSTATUS -eq 1 ]; then
echo ""
- else
+ else
if [[ $picks ]]; then
printf "$SETTINGGTK3THEMEMSG" "${picks[*]}"
SELECTEDITEM="${picks[@]}"
function set_icon_theme {
new_theme="$@"
cp $HOME/.config/gtk-3.0/settings.ini $HOME/.config/gtk-3.0/settings.ini.bak && sed -i "s/$(grep "gtk-icon-theme-name" $HOME/.config/gtk-3.0/settings.ini)/gtk-icon-theme-name=$new_theme/g" $HOME/.config/gtk-3.0/settings.ini
- cp $HOME/.gtkrc-2.0 $HOME/.gtkrc-2.0.bak && sed -i "s/$(grep "gtk-icon-theme-name" $HOME/.gtkrc-2.0)/gtk-icon-theme-name=\"$new_theme\"/g" $HOME/.gtkrc-2.0
+ cp $HOME/.gtkrc-2.0 $HOME/.gtkrc-2.0.bak && sed -i "s/$(grep "gtk-icon-theme-name" $HOME/.gtkrc-2.0)/gtk-icon-theme-name=\"$new_theme\"/g" $HOME/.gtkrc-2.0
STATUSVAR=$?
return $STATUSVAR
}
cancel)
CANCELSTATUS=1
break
- ;;
- *)
+ ;;
+ *)
picks+=("$pick")
break
- ;;
+ ;;
esac
done
cancel)
CANCELSTATUS=1
break
- ;;
- *)
+ ;;
+ *)
picks+=("$pick")
break
- ;;
+ ;;
esac
done
schar=""
# This function checks font family and tries to find
# fonts with fixed pixel size value using fc-cat command.
- # fc-cat output is huge and can be used in other procedures.
+ # fc-cat output is huge and can be used in other procedures.
# If we found nothing user should enter font size manually
# because selected font is a size scalable one.
- # If we found pixelsize items for selected font
+ # If we found pixelsize items for selected font
# user selects size in range of these items.
CURRENTITEM=$(current_item_get "gtkfontsize")
fccatmsggrep=""
function set_font {
new_theme="$@"
cp $HOME/.config/gtk-3.0/settings.ini $HOME/.config/gtk-3.0/settings.ini.bak && sed -i "s/$(grep "gtk-font-name" $HOME/.config/gtk-3.0/settings.ini)/gtk-font-name=$new_theme/g" $HOME/.config/gtk-3.0/settings.ini
- cp $HOME/.gtkrc-2.0 $HOME/.gtkrc-2.0.bak && sed -i "s/$(grep "gtk-font-name" $HOME/.gtkrc-2.0)/gtk-font-name=\"$new_theme\"/g" $HOME/.gtkrc-2.0
+ cp $HOME/.gtkrc-2.0 $HOME/.gtkrc-2.0.bak && sed -i "s/$(grep "gtk-font-name" $HOME/.gtkrc-2.0)/gtk-font-name=\"$new_theme\"/g" $HOME/.gtkrc-2.0
STATUSVAR=$?
return $STATUSVAR
}
if [ $STATUSVAR -eq 1 ]; then
return $STATUSVAR
else
- font_size=$number
+ font_size=$number
set_font $new_font $font_size
return $STATUSVAR
fi
;;
0) sed -i "s/gtk-application-prefer-dark-theme=0/gtk-application-prefer-dark-theme=1/g" $HOME/.config/gtk-3.0/settings.ini
;;
- esac
+ esac
STATUSVAR+=$?
return $STATUSVAR
}
echo -e " ┌────────────────────────────────────────────────────────────────┐"
echo -e " │ 1 Set gtk2 theme 2 Set gtk3 theme │"
echo -e " │ 3 Set font 4 Set icon theme │"
- echo -e " │ 5 Toggle dark theme 6 Set pointer theme │"
- echo -e " │ 7 Edit gtk2 settings 8 Edit gtk3 settings │"
- echo -e " │ 9 Edit Xresources │"
+ echo -e " │ 5 Toggle dark theme 6 Set pointer theme │"
+ echo -e " │ 7 Edit gtk2 settings 8 Edit gtk3 settings │"
+ echo -e " │ 9 Edit Xresources │"
echo -e " └────────────────────────────────────────────────────────────────┘"
echo -e " Select an item - 0 Exit "
echo ""
echo ""
echo -e "$GTK2THEMEPREFIXMSG$SELECTEDITEM$SETSUFFIXMSG"
pressanykeyrequest
- fi
+ fi
;;
2)
echo
xsane
STATUSVAR=$?
else
- if [ - e /var/lib/pacman/db.lck ]; then
+ if [ - e /var/lib/pacman/db.lck ]; then
echo "$XSANEINSTMSG"
STATUSVAR=$?
- else
+ else
sudo pacman -Sy xsane && xsane
STATUSVAR=$?
fi
echo "export SANE_DEFAULT_DEVICE=$default_scanner" >> $HOME/.profile
SANE_DEFAULT_DEVICE="$default_scanner"
fi
-return $STATUSVAR
+return $STATUSVAR
}
function select_filetype {
select pick in "${filetypes[@]}"
do
case $pick in
- *) echo $pick
+ *) echo $pick
break
esac
done
fi
else
STATUSVAR=1
- fi
-return $STATUSVAR
+ fi
+return $STATUSVAR
}
function default_scan {
echo -e " ┌─────────────────────────────────────────────────────────────┐"
echo -e " │ 1 Manage Printers 2 Print files │"
echo -e " │ 3 Set default printer 4 List printers │"
- echo -e " │ 5 Set default scanner 6 Scan with GUI │"
- echo -e " │ 7 List scanners 8 Scan using defaults │"
+ echo -e " │ 5 Set default scanner 6 Scan with GUI │"
+ echo -e " │ 7 List scanners 8 Scan using defaults │"
echo -e " └─────────────────────────────────────────────────────────────┘"
echo -e " Select an item - 0 Exit "
echo ""
mc
else
echo "$INSTALLINGRNG1MSG"
- if [ - e /var/lib/pacman/db.lck ]; then
+ if [ - e /var/lib/pacman/db.lck ]; then
echo "$CLIFMNOTINSTMSG"
- else
+ else
sudo pacman -Sy ranger && ranger
fi
fi
rifle $(find -type f | fzf -e --reverse)
else
echo "$INSTALLINGRNG2MSG"
- if [ - e /var/lib/pacman/db.lck ]; then
+ if [ - e /var/lib/pacman/db.lck ]; then
echo "$RIFLENOTINSTMSG"
- else
+ else
sudo pacman -Sy ranger && rifle $(find -type f | fzf -e --reverse)
fi
fi
sudo timeset
else
echo "$INSTALLINGTIMESETMSG"
- if [ -e /var/lib/pacman/db.lck ]; then
+ if [ -e /var/lib/pacman/db.lck ]; then
echo "$TIMESETNOTINSTMSG"
- else
+ else
sudo pacman -Sy timeset && sudo timeset
fi
fi
elif [ -e /usr/bin/lynx ]; then
lynx
else
- if [ -e /var/lib/pacman/db.lck ]; then
+ if [ -e /var/lib/pacman/db.lck ]; then
echo "$CLIBROWSNOTINSTMSG"
- else
+ else
sudo pacman -Sy elinks && elinks
fi
fi
brandr
else
echo "$INSTALLINGBRANDRMSG"
- if [ -e /var/lib/pacman/db.lck ]; then
+ if [ -e /var/lib/pacman/db.lck ]; then
echo "$BRANDRNOTINSTMSG"
- else
+ else
sudo pacman -Sy brandr && brandr
fi
fi
mhwd-tui
else
echo "$INSTALLINGMHWDTUIMSG"
- if [ -e /var/lib/pacman/db.lck ]; then
+ if [ -e /var/lib/pacman/db.lck ]; then
echo "$MHWDTUINOTINSTMSG"
- else
+ else
sudo pacman -Sy mhwd-tui && mhwd-tui
fi
fi
echo -e " ┌─────────────────────────────────────────────────────────────┐"
echo -e " │ 1 Hardware and drivers 2 Display │"
echo -e " │ 3 Printers 4 Appearance │"
- echo -e " │ 5 Package manager 6 Network │"
+ echo -e " │ 5 Package manager 6 Network │"
echo -e " │ 7 Sound 8 Configuration │"
echo -e " │ 9 Time settings T Taskmanager │"
echo -e " │ F File Manager B Browser │"
[ -e /etc/systemd/logind.conf.d/10-logind.conf ] || \
sudo mkdir -p /etc/systemd/logind.conf.d/ && \
sudo cp /etc/systemd/logind.conf /etc/systemd/logind.conf.d/10-logind.conf && \
- sudo $TEXTEDITOR /etc/systemd/logind.conf.d/10-logind.conf
+ sudo $TEXTEDITOR /etc/systemd/logind.conf.d/10-logind.conf
break
- ;;
+ ;;
system.conf)
[ -e /etc/systemd/system.conf.d/10-system.conf ] || \
sudo mkdir -p /etc/systemd/system.conf.d/ && \
sudo cp /etc/systemd/system.conf /etc/systemd/system.conf.d/10-system.conf && \
sudo $TEXTEDITOR /etc/systemd/system.conf.d/10-system.conf
break
- ;;
+ ;;
journald.conf)
[ -e /etc/systemd/journald.conf.d/10-journald.conf ] || \
sudo mkdir -p /etc/systemd/journald.conf.d/ && \
sudo cp /etc/systemd/journald.conf /etc/systemd/journald.conf.d/10-journald.conf && \
sudo $TEXTEDITOR /etc/systemd/journald.conf.d/10-journald.conf
break
- ;;
+ ;;
user.conf)
[ -e /etc/systemd/user.conf.d/10-user.conf ] || \
sudo mkdir -p /etc/systemd/user.conf.d/ && \
sudo cp /etc/systemd/user.conf /etc/systemd/user.conf.d/10-user.conf && \
sudo $TEXTEDITOR /etc/systemd/user.conf.d/10-user.conf
break
- ;;
+ ;;
cancel)
break
esac
done
-
+
}
function change_runlevel {
poweroff)
sudo systemctl isolate poweroff.target
break
- ;;
+ ;;
reboot)
sudo systemctl isolate reboot.target
break
- ;;
+ ;;
rescue)
sudo systemctl isolate rescue.target
break
- ;;
+ ;;
multi-user)
sudo systemctl isolate multi-user.target
break
- ;;
+ ;;
graphical)
sudo systemctl isolate graphical.target
break
- ;;
+ ;;
cancel)
break
esac
done
-
-
+
+
}
function enable_services {
echo -e " ┌─────────────────────────────────────────────────────────────┐"
echo -e " │ 1 Enable services 2 Disable services │"
echo -e " │ 3 Start services 4 Stop Services │"
- echo -e " │ 5 List active services 6 Show boot messages │"
+ echo -e " │ 5 List active services 6 Show boot messages │"
echo -e " │ 7 Edit configuration files 8 Change runlevel │"
echo -e " │ 9 Analyze boot │"
echo -e " └─────────────────────────────────────────────────────────────┘"
xdm)
sudo $EDITOR /etc/conf.d/xdm
break
- ;;
+ ;;
rc.local)
sudo $EDITOR /etc/rc.local
break
- ;;
+ ;;
sysctl.conf)
sudo $EDITOR /etc/sysctl.conf
break
- ;;
+ ;;
modules)
sudo $EDITOR /etc/conf.d/modules
break
- ;;
+ ;;
cancel)
break
esac
-done
-}
+done
+}
function enable_services {
sudo rc-update add $(rc-status -s | awk '/stopped/ {print $1}' | fzf -m -e --reverse)
STATUSVAR=$?
-return $STATUSVAR
+return $STATUSVAR
}
function start_services {
echo -e " ┌─────────────────────────────────────────────────────────────┐"
echo -e " │ 1 Enable services 2 Disable services │"
echo -e " │ 3 Start services 4 Stop Services │"
- echo -e " │ 5 List active services 6 Show boot messages │"
+ echo -e " │ 5 List active services 6 Show boot messages │"
echo -e " │ 7 Edit configuration files │"
echo -e " └─────────────────────────────────────────────────────────────┘"
echo -e " Select an item - 0 Exit "
sudo $TEXTEDITOR /etc/default/grub
sudo update-grub
break
- ;;
+ ;;
refind)
sudo $TEXTEDITOR /boot/refind_linux.conf
sudo $TEXTEDITOR /boot/EFI/refind/refind.conf
break
- ;;
+ ;;
systemdboot)
sudo $TEXTEDITOR /boot/loader/entries/manjaro.conf
break
- ;;
+ ;;
syslinux)
sudo $TEXTEDITOR /boot/syslinux/syslinux.cfg
break
- ;;
+ ;;
cancel)
break
esac
echo -e " ┌─────────────────────────────────────────────────────────────┐"
echo -e " │ 1 Pacman settings 2 Mkinitcpio │"
echo -e " │ 3 Fstab 4 Sudoers │"
- echo -e " │ 5 Logind 6 Bootloader │"
+ echo -e " │ 5 Logind 6 Bootloader │"
echo -e " │ 7 Udevil settings 8 Xinitrc │"
echo -e " │ 9 Setup │"
echo -e " └─────────────────────────────────────────────────────────────┘"
chsh -s /usr/bin/zsh
SELECTEDITEM="$pick"
break
- ;;
+ ;;
bash)
echo ""
echo ""
chsh -s /bin/bash
SELECTEDITEM="$pick"
break
- ;;
+ ;;
fish)
echo ""
echo ""
chsh -s /usr/bin/fish
SELECTEDITEM="$pick"
break
- ;;
+ ;;
dash)
echo ""
echo ""
chsh -s /usr/dash
SELECTEDITEM="$pick"
break
- ;;
+ ;;
cancel)
break
esac
STATUSVAR=$?
fi
break
- ;;
+ ;;
lightdm)
SELECTEDITEM="$pick"
if ! [[ -d /run/openrc ]] ; then
STATUSVAR=$?
fi
break
- ;;
+ ;;
sddm)
SELECTEDITEM="$pick"
if ! [[ -d /run/openrc ]] ; then
STATUSVAR=$?
fi
break
- ;;
+ ;;
mdm)
SELECTEDITEM="$pick"
if ! [[ -d /run/openrc ]] ; then
STATUSVAR=$?
fi
break
- ;;
+ ;;
lxdm)
SELECTEDITEM="$pick"
if ! [[ -d /run/openrc ]] ; then
STATUSVAR=$?
fi
break
- ;;
+ ;;
gdm)
SELECTEDITEM="$pick"
if ! [[ -d /run/openrc ]] ; then
read -s n1
fi
break
- ;;
+ ;;
kdm)
SELECTEDITEM="$pick"
if ! [[ -d /run/openrc ]] ; then
fi
sudo rc-update add xdm default
STATUSVAR=$?
- fi
+ fi
break
- ;;
+ ;;
cancel)
STATUSVAR=1
break
cfdisk)
sudo cfdisk
break
- ;;
+ ;;
cgdisk)
sudo cgdisk
break
- ;;
+ ;;
gdisk)
sudo gdisk
break
- ;;
+ ;;
parted)
sudo parted
break
- ;;
+ ;;
gparted)
sudo gparted
break
- ;;
+ ;;
gnome-disks)
sudo gnome-disks
break
- ;;
+ ;;
cancel)
break
esac
;;
*)
break
- ;;
+ ;;
esac
return $STATUSVAR
}
*)
echo $pick
break
- ;;
+ ;;
cancel)
STATUSVAR=1
break
fi
dm=$(dm_detect)
eval user=$(whoami)
- case dm in
+ case dm in
slim)
sudo sed -i '/autologin/s/^#//g' /etc/slim.conf && sudo sed -i '/defaultuser/s/^#//g' /etc/slim.conf
sudo sed -i "s/simone/$user/g" /etc/slim.conf
STATUSVAR=$?
break
- ;;
+ ;;
lightdm)
sudo sed -i "s/^autologin-user=*/autologin-user=$user/g" /etc/lightdm.conf
sudo sed -i 's/^autologin-user-timeout=*/autologin-user-timeout=0/g' /etc/lightdm.conf
sudo groupadd -r autologin
sudo gpasswd -a $user autologin
- STATUSVAR=$?
+ STATUSVAR=$?
sudo $TEXTEDITOR /etc/lightdm.conf
break
- ;;
+ ;;
sddm)
session=$(choose_session)
if [ $STATUSVAR -eq 1 ] || [ "$session" == "" ]; then
sudo sed -i "s/^Session/Session=$session/g" /etc/sddm.conf
STATUSVAR=$?
break
- ;;
+ ;;
mdm)
sudo sed -i "s/^AutomaticLogin=*/AutomaticLogin=$user/g" /etc/mdm.conf
sudo sed -i 's/^AutomaticLoginEnable=*/AutomaticLoginEnable=true/g' /etc/mdm.conf
STATUSVAR=$?
sudo $TEXTEDITOR /etc/mdm/mdm.conf
break
- ;;
+ ;;
lxdm)
sudo sed -i "1s/^/autologin=$user /" /etc/lxdm/lxdm.conf
STATUSVAR=$?
sudo $TEXTEDITOR /etc/lxdm/lxdm.conf
break
- ;;
+ ;;
gdm)
sudo sed -i "s/^AutomaticLogin=*/AutomaticLogin=$user/g" /etc/gdm/custom.conf
sudo sed -i 's/^AutomaticLoginEnable=*/AutomaticLoginEnable=true/g' /etc/gdm/custom.conf
sudo sed -i 's/^TimedLoginDelay=*/TimedLoginDelay=0/g' /etc/gdm/custom.conf
STATUSVAR=$?
break
- ;;
+ ;;
kdm)
sudo sed -i "s/^AutoLoginUser=*/AutoLoginUser=$user/g" /usr/kde/*/share/config/kdm/kdmrc
sudo sed -i "s/^AutoLoginEnable=*/AutoLoginEnable=true/g" /usr/kde/*/share/config/kdm/kdmrc
STATUSVAR=$?
break
- ;;
+ ;;
*)
if ! [[ -d /run/openrc ]] ; then
sudo pacman -Syu xlogin && sudo systemctl enable xlogin@$(whoami)
echo -e " ┌─────────────────────────────────────────────────────────────┐"
echo -e " │ 1 Enable hibernation 2 Install Display manager│"
echo -e " │ 3 Enable autologin 4 Install AUR support │"
- echo -e " │ 5 Install shell 6 Disk utility │"
+ echo -e " │ 5 Install shell 6 Disk utility │"
echo -e " │ 7 Install printer support 8 Recover files │"
echo -e " └─────────────────────────────────────────────────────────────┘"
echo -e " Select an item - 0 Exit "
done
}
-main
\ No newline at end of file
+main
if [[ $(xinput --list-props "$touchpad_id" | grep "Natural Scrolling Enabled (" | awk '{print $6}' | head -n1) == 1 ]]; then
xinput --set-prop "$touchpad_id" "$natural_scrolling_code" 0 && echo "Natural scrolling is now disabled" || echo "Something vent wrong"
else
- xinput --set-prop "$touchpad_id" "$natural_scrolling_code" 1 && echo "Natural scrolling is now enabled" || echo "Something vent wrong"
+ xinput --set-prop "$touchpad_id" "$natural_scrolling_code" 1 && echo "Natural scrolling is now enabled" || echo "Something vent wrong"
fi
}
if [[ $(xinput --list-props "$touchpad_id" | awk '/Tapping Enabled \(/ {print $5}') == 1 ]]; then
xinput --set-prop "$touchpad_id" "$tap_to_click_code" 0 && echo "Tap to click is now disabled" || echo "Something vent wrong"
else
- xinput --set-prop "$touchpad_id" "$tap_to_click_code" 1 && echo "Tap to click is now enabled" || echo "Something vent wrong"
+ xinput --set-prop "$touchpad_id" "$tap_to_click_code" 1 && echo "Tap to click is now enabled" || echo "Something vent wrong"
fi
}
if [[ $(xinput --list-props "$touchpad_id" | grep "Left Handed Enabled" | awk '{print $6}' | head -n1) == 1 ]]; then
xinput --set-prop "$touchpad_id" "$left_handed_code" 0 && echo "Left handed mode is now disabled" || echo "Something vent wrong"
else
- xinput --set-prop "$touchpad_id" "$left_handed_code" 1 && echo "Left handed mode is now enabled" || echo "Something vent wrong"
+ xinput --set-prop "$touchpad_id" "$left_handed_code" 1 && echo "Left handed mode is now enabled" || echo "Something vent wrong"
fi
}
echo "Speed is now set to $speed."
read -r -p "${1:-Do you wish to make this setting permanent? [Y/n]} " response
case $response in
- [nN] | [nN][oO])
+ [nN] | [nN][oO])
false
;;
*)
;;
esac
echo ""
- echo "created file /etc/X11/xorg.conf.d/31-pointerspeed.conf.
+ echo "created file /etc/X11/xorg.conf.d/31-pointerspeed.conf.
Press any key to continue"
read -s -n1
}
if [[ $(xinput --list-props "$touchpad_id" | grep "Drag Lock Enabled (" | awk '{print $7}' | head -n1) == 1 ]]; then
xinput --set-prop "$touchpad_id" "$drag_lock_code" 0 && echo "Drag lock is now disabled" || echo "Something vent wrong"
else
- xinput --set-prop "$touchpad_id" "$drag_lock_code" 1 && echo "Drag lock is now enabled" || echo "Something vent wrong"
+ xinput --set-prop "$touchpad_id" "$drag_lock_code" 1 && echo "Drag lock is now enabled" || echo "Something vent wrong"
fi
}
if [[ $(xinput --list-props "$touchpad_id" | grep "Disable While Typing Enabled (" | awk '{print $7}' | head -n1) == 1 ]]; then
xinput --set-prop "$touchpad_id" "$disable_while_typing_code" 1 && echo "Touchpad is now disabled while typing" || echo "Something vent wrong"
else
- xinput --set-prop "$touchpad_id" "$disable_while_typing_code" 0 && echo "Touchpad is now enabled while typing" || echo "Something vent wrong"
+ xinput --set-prop "$touchpad_id" "$disable_while_typing_code" 0 && echo "Touchpad is now enabled while typing" || echo "Something vent wrong"
fi
}
if [[ $(xinput --list-props "$touchpad_id" | grep "Horizontal Scroll Enabled" | awk '{print $6}' | head -n1) == 1 ]]; then
xinput --set-prop "$touchpad_id" "$horizontal_scrolling_code" 0 && echo "Horizontal scrolling is now disabled" || echo "Something vent wrong"
else
- xinput --set-prop "$touchpad_id" "$horizontal_scrolling_code" 1 && echo "Horizontal scrolling is now enabled" || echo "Something vent wrong"
+ xinput --set-prop "$touchpad_id" "$horizontal_scrolling_code" 1 && echo "Horizontal scrolling is now enabled" || echo "Something vent wrong"
fi
}
echo
if [[ $REPLY =~ ^[Yy]$ ]]
then
- if [ -e /var/lib/pacman/db.lck ]; then
+ if [ -e /var/lib/pacman/db.lck ]; then
echo "Pacman seems to be currently in use."
- else
+ else
sudo pacman -Sy lxinput && lxinput &>/dev/null
fi
fi
echo -e " ┌──────────────────────────────────────────┐"
echo -e " │ 1 Set pointer speed │"
echo -e " │ 2 Toggle tap to click │"
- echo -e " │ 3 Toggle drag lock │"
+ echo -e " │ 3 Toggle drag lock │"
echo -e " │ 4 Toggle left handed mode │"
echo -e " │ 5 Toggle disable while typing │"
echo -e " │ 6 Toggle natural scrolling │"
;;
8)
echo
- man xinput
+ man xinput
read -s -n1
;;
9)
;;
l|L)
echo
- gui
- echo -e "Operation complete. Press any key to continue."
+ gui
+ echo -e "Operation complete. Press any key to continue."
read -s -n1
;;
0)
-<!DOCTYPE html>\r
-<html>\r
-<head>\r
-<title>DOCUMENT.md</title>\r
-<meta http-equiv="Content-type" content="text/html;charset=UTF-8">\r
+<!DOCTYPE html>
+<html>
+<head>
+<title>DOCUMENT.md</title>
+<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<style>
-/* https://github.com/microsoft/vscode/blob/master/extensions/markdown-language-features/media/markdown.css */\r
-/*---------------------------------------------------------------------------------------------\r
- * Copyright (c) Microsoft Corporation. All rights reserved.\r
- * Licensed under the MIT License. See License.txt in the project root for license information.\r
- *--------------------------------------------------------------------------------------------*/\r
-\r
-body {\r
- font-family: var(--vscode-markdown-font-family, -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "Ubuntu", "Droid Sans", sans-serif);\r
- font-size: var(--vscode-markdown-font-size, 14px);\r
- padding: 0 26px;\r
- line-height: var(--vscode-markdown-line-height, 22px);\r
- word-wrap: break-word;\r
-}\r
-\r
-#code-csp-warning {\r
- position: fixed;\r
- top: 0;\r
- right: 0;\r
- color: white;\r
- margin: 16px;\r
- text-align: center;\r
- font-size: 12px;\r
- font-family: sans-serif;\r
- background-color:#444444;\r
- cursor: pointer;\r
- padding: 6px;\r
- box-shadow: 1px 1px 1px rgba(0,0,0,.25);\r
-}\r
-\r
-#code-csp-warning:hover {\r
- text-decoration: none;\r
- background-color:#007acc;\r
- box-shadow: 2px 2px 2px rgba(0,0,0,.25);\r
-}\r
-\r
-body.scrollBeyondLastLine {\r
- margin-bottom: calc(100vh - 22px);\r
-}\r
-\r
-body.showEditorSelection .code-line {\r
- position: relative;\r
-}\r
-\r
-body.showEditorSelection .code-active-line:before,\r
-body.showEditorSelection .code-line:hover:before {\r
- content: "";\r
- display: block;\r
- position: absolute;\r
- top: 0;\r
- left: -12px;\r
- height: 100%;\r
-}\r
-\r
-body.showEditorSelection li.code-active-line:before,\r
-body.showEditorSelection li.code-line:hover:before {\r
- left: -30px;\r
-}\r
-\r
-.vscode-light.showEditorSelection .code-active-line:before {\r
- border-left: 3px solid rgba(0, 0, 0, 0.15);\r
-}\r
-\r
-.vscode-light.showEditorSelection .code-line:hover:before {\r
- border-left: 3px solid rgba(0, 0, 0, 0.40);\r
-}\r
-\r
-.vscode-light.showEditorSelection .code-line .code-line:hover:before {\r
- border-left: none;\r
-}\r
-\r
-.vscode-dark.showEditorSelection .code-active-line:before {\r
- border-left: 3px solid rgba(255, 255, 255, 0.4);\r
-}\r
-\r
-.vscode-dark.showEditorSelection .code-line:hover:before {\r
- border-left: 3px solid rgba(255, 255, 255, 0.60);\r
-}\r
-\r
-.vscode-dark.showEditorSelection .code-line .code-line:hover:before {\r
- border-left: none;\r
-}\r
-\r
-.vscode-high-contrast.showEditorSelection .code-active-line:before {\r
- border-left: 3px solid rgba(255, 160, 0, 0.7);\r
-}\r
-\r
-.vscode-high-contrast.showEditorSelection .code-line:hover:before {\r
- border-left: 3px solid rgba(255, 160, 0, 1);\r
-}\r
-\r
-.vscode-high-contrast.showEditorSelection .code-line .code-line:hover:before {\r
- border-left: none;\r
-}\r
-\r
-img {\r
- max-width: 100%;\r
- max-height: 100%;\r
-}\r
-\r
-a {\r
- text-decoration: none;\r
-}\r
-\r
-a:hover {\r
- text-decoration: underline;\r
-}\r
-\r
-a:focus,\r
-input:focus,\r
-select:focus,\r
-textarea:focus {\r
- outline: 1px solid -webkit-focus-ring-color;\r
- outline-offset: -1px;\r
-}\r
-\r
-hr {\r
- border: 0;\r
- height: 2px;\r
- border-bottom: 2px solid;\r
-}\r
-\r
-h1 {\r
- padding-bottom: 0.3em;\r
- line-height: 1.2;\r
- border-bottom-width: 1px;\r
- border-bottom-style: solid;\r
-}\r
-\r
-h1, h2, h3 {\r
- font-weight: normal;\r
-}\r
-\r
-table {\r
- border-collapse: collapse;\r
-}\r
-\r
-table > thead > tr > th {\r
- text-align: left;\r
- border-bottom: 1px solid;\r
-}\r
-\r
-table > thead > tr > th,\r
-table > thead > tr > td,\r
-table > tbody > tr > th,\r
-table > tbody > tr > td {\r
- padding: 5px 10px;\r
-}\r
-\r
-table > tbody > tr + tr > td {\r
- border-top: 1px solid;\r
-}\r
-\r
-blockquote {\r
- margin: 0 7px 0 5px;\r
- padding: 0 16px 0 10px;\r
- border-left-width: 5px;\r
- border-left-style: solid;\r
-}\r
-\r
-code {\r
- font-family: Menlo, Monaco, Consolas, "Droid Sans Mono", "Courier New", monospace, "Droid Sans Fallback";\r
- font-size: 1em;\r
- line-height: 1.357em;\r
-}\r
-\r
-body.wordWrap pre {\r
- white-space: pre-wrap;\r
-}\r
-\r
-pre:not(.hljs),\r
-pre.hljs code > div {\r
- padding: 16px;\r
- border-radius: 3px;\r
- overflow: auto;\r
-}\r
-\r
-pre code {\r
- color: var(--vscode-editor-foreground);\r
- tab-size: 4;\r
-}\r
-\r
-/** Theming */\r
-\r
-.vscode-light pre {\r
- background-color: rgba(220, 220, 220, 0.4);\r
-}\r
-\r
-.vscode-dark pre {\r
- background-color: rgba(10, 10, 10, 0.4);\r
-}\r
-\r
-.vscode-high-contrast pre {\r
- background-color: rgb(0, 0, 0);\r
-}\r
-\r
-.vscode-high-contrast h1 {\r
- border-color: rgb(0, 0, 0);\r
-}\r
-\r
-.vscode-light table > thead > tr > th {\r
- border-color: rgba(0, 0, 0, 0.69);\r
-}\r
-\r
-.vscode-dark table > thead > tr > th {\r
- border-color: rgba(255, 255, 255, 0.69);\r
-}\r
-\r
-.vscode-light h1,\r
-.vscode-light hr,\r
-.vscode-light table > tbody > tr + tr > td {\r
- border-color: rgba(0, 0, 0, 0.18);\r
-}\r
-\r
-.vscode-dark h1,\r
-.vscode-dark hr,\r
-.vscode-dark table > tbody > tr + tr > td {\r
- border-color: rgba(255, 255, 255, 0.18);\r
-}\r
+/* https://github.com/microsoft/vscode/blob/master/extensions/markdown-language-features/media/markdown.css */
+/*---------------------------------------------------------------------------------------------
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+
+body {
+ font-family: var(--vscode-markdown-font-family, -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "Ubuntu", "Droid Sans", sans-serif);
+ font-size: var(--vscode-markdown-font-size, 14px);
+ padding: 0 26px;
+ line-height: var(--vscode-markdown-line-height, 22px);
+ word-wrap: break-word;
+}
+
+#code-csp-warning {
+ position: fixed;
+ top: 0;
+ right: 0;
+ color: white;
+ margin: 16px;
+ text-align: center;
+ font-size: 12px;
+ font-family: sans-serif;
+ background-color:#444444;
+ cursor: pointer;
+ padding: 6px;
+ box-shadow: 1px 1px 1px rgba(0,0,0,.25);
+}
+
+#code-csp-warning:hover {
+ text-decoration: none;
+ background-color:#007acc;
+ box-shadow: 2px 2px 2px rgba(0,0,0,.25);
+}
+
+body.scrollBeyondLastLine {
+ margin-bottom: calc(100vh - 22px);
+}
+
+body.showEditorSelection .code-line {
+ position: relative;
+}
+
+body.showEditorSelection .code-active-line:before,
+body.showEditorSelection .code-line:hover:before {
+ content: "";
+ display: block;
+ position: absolute;
+ top: 0;
+ left: -12px;
+ height: 100%;
+}
+
+body.showEditorSelection li.code-active-line:before,
+body.showEditorSelection li.code-line:hover:before {
+ left: -30px;
+}
+
+.vscode-light.showEditorSelection .code-active-line:before {
+ border-left: 3px solid rgba(0, 0, 0, 0.15);
+}
+
+.vscode-light.showEditorSelection .code-line:hover:before {
+ border-left: 3px solid rgba(0, 0, 0, 0.40);
+}
+
+.vscode-light.showEditorSelection .code-line .code-line:hover:before {
+ border-left: none;
+}
+
+.vscode-dark.showEditorSelection .code-active-line:before {
+ border-left: 3px solid rgba(255, 255, 255, 0.4);
+}
+
+.vscode-dark.showEditorSelection .code-line:hover:before {
+ border-left: 3px solid rgba(255, 255, 255, 0.60);
+}
+
+.vscode-dark.showEditorSelection .code-line .code-line:hover:before {
+ border-left: none;
+}
+
+.vscode-high-contrast.showEditorSelection .code-active-line:before {
+ border-left: 3px solid rgba(255, 160, 0, 0.7);
+}
+
+.vscode-high-contrast.showEditorSelection .code-line:hover:before {
+ border-left: 3px solid rgba(255, 160, 0, 1);
+}
+
+.vscode-high-contrast.showEditorSelection .code-line .code-line:hover:before {
+ border-left: none;
+}
+
+img {
+ max-width: 100%;
+ max-height: 100%;
+}
+
+a {
+ text-decoration: none;
+}
+
+a:hover {
+ text-decoration: underline;
+}
+
+a:focus,
+input:focus,
+select:focus,
+textarea:focus {
+ outline: 1px solid -webkit-focus-ring-color;
+ outline-offset: -1px;
+}
+
+hr {
+ border: 0;
+ height: 2px;
+ border-bottom: 2px solid;
+}
+
+h1 {
+ padding-bottom: 0.3em;
+ line-height: 1.2;
+ border-bottom-width: 1px;
+ border-bottom-style: solid;
+}
+
+h1, h2, h3 {
+ font-weight: normal;
+}
+
+table {
+ border-collapse: collapse;
+}
+
+table > thead > tr > th {
+ text-align: left;
+ border-bottom: 1px solid;
+}
+
+table > thead > tr > th,
+table > thead > tr > td,
+table > tbody > tr > th,
+table > tbody > tr > td {
+ padding: 5px 10px;
+}
+
+table > tbody > tr + tr > td {
+ border-top: 1px solid;
+}
+
+blockquote {
+ margin: 0 7px 0 5px;
+ padding: 0 16px 0 10px;
+ border-left-width: 5px;
+ border-left-style: solid;
+}
+
+code {
+ font-family: Menlo, Monaco, Consolas, "Droid Sans Mono", "Courier New", monospace, "Droid Sans Fallback";
+ font-size: 1em;
+ line-height: 1.357em;
+}
+
+body.wordWrap pre {
+ white-space: pre-wrap;
+}
+
+pre:not(.hljs),
+pre.hljs code > div {
+ padding: 16px;
+ border-radius: 3px;
+ overflow: auto;
+}
+
+pre code {
+ color: var(--vscode-editor-foreground);
+ tab-size: 4;
+}
+
+/** Theming */
+
+.vscode-light pre {
+ background-color: rgba(220, 220, 220, 0.4);
+}
+
+.vscode-dark pre {
+ background-color: rgba(10, 10, 10, 0.4);
+}
+
+.vscode-high-contrast pre {
+ background-color: rgb(0, 0, 0);
+}
+
+.vscode-high-contrast h1 {
+ border-color: rgb(0, 0, 0);
+}
+
+.vscode-light table > thead > tr > th {
+ border-color: rgba(0, 0, 0, 0.69);
+}
+
+.vscode-dark table > thead > tr > th {
+ border-color: rgba(255, 255, 255, 0.69);
+}
+
+.vscode-light h1,
+.vscode-light hr,
+.vscode-light table > tbody > tr + tr > td {
+ border-color: rgba(0, 0, 0, 0.18);
+}
+
+.vscode-dark h1,
+.vscode-dark hr,
+.vscode-dark table > tbody > tr + tr > td {
+ border-color: rgba(255, 255, 255, 0.18);
+}
</style>
<style>
-/* Tomorrow Theme */\r
-/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */\r
-/* Original theme - https://github.com/chriskempson/tomorrow-theme */\r
-\r
-/* Tomorrow Comment */\r
-.hljs-comment,\r
-.hljs-quote {\r
- color: #8e908c;\r
-}\r
-\r
-/* Tomorrow Red */\r
-.hljs-variable,\r
-.hljs-template-variable,\r
-.hljs-tag,\r
-.hljs-name,\r
-.hljs-selector-id,\r
-.hljs-selector-class,\r
-.hljs-regexp,\r
-.hljs-deletion {\r
- color: #c82829;\r
-}\r
-\r
-/* Tomorrow Orange */\r
-.hljs-number,\r
-.hljs-built_in,\r
-.hljs-builtin-name,\r
-.hljs-literal,\r
-.hljs-type,\r
-.hljs-params,\r
-.hljs-meta,\r
-.hljs-link {\r
- color: #f5871f;\r
-}\r
-\r
-/* Tomorrow Yellow */\r
-.hljs-attribute {\r
- color: #eab700;\r
-}\r
-\r
-/* Tomorrow Green */\r
-.hljs-string,\r
-.hljs-symbol,\r
-.hljs-bullet,\r
-.hljs-addition {\r
- color: #718c00;\r
-}\r
-\r
-/* Tomorrow Blue */\r
-.hljs-title,\r
-.hljs-section {\r
- color: #4271ae;\r
-}\r
-\r
-/* Tomorrow Purple */\r
-.hljs-keyword,\r
-.hljs-selector-tag {\r
- color: #8959a8;\r
-}\r
-\r
-.hljs {\r
- display: block;\r
- overflow-x: auto;\r
- color: #4d4d4c;\r
- padding: 0.5em;\r
-}\r
-\r
-.hljs-emphasis {\r
- font-style: italic;\r
-}\r
-\r
-.hljs-strong {\r
- font-weight: bold;\r
+/* Tomorrow Theme */
+/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
+/* Original theme - https://github.com/chriskempson/tomorrow-theme */
+
+/* Tomorrow Comment */
+.hljs-comment,
+.hljs-quote {
+ color: #8e908c;
+}
+
+/* Tomorrow Red */
+.hljs-variable,
+.hljs-template-variable,
+.hljs-tag,
+.hljs-name,
+.hljs-selector-id,
+.hljs-selector-class,
+.hljs-regexp,
+.hljs-deletion {
+ color: #c82829;
+}
+
+/* Tomorrow Orange */
+.hljs-number,
+.hljs-built_in,
+.hljs-builtin-name,
+.hljs-literal,
+.hljs-type,
+.hljs-params,
+.hljs-meta,
+.hljs-link {
+ color: #f5871f;
+}
+
+/* Tomorrow Yellow */
+.hljs-attribute {
+ color: #eab700;
+}
+
+/* Tomorrow Green */
+.hljs-string,
+.hljs-symbol,
+.hljs-bullet,
+.hljs-addition {
+ color: #718c00;
+}
+
+/* Tomorrow Blue */
+.hljs-title,
+.hljs-section {
+ color: #4271ae;
+}
+
+/* Tomorrow Purple */
+.hljs-keyword,
+.hljs-selector-tag {
+ color: #8959a8;
+}
+
+.hljs {
+ display: block;
+ overflow-x: auto;
+ color: #4d4d4c;
+ padding: 0.5em;
+}
+
+.hljs-emphasis {
+ font-style: italic;
+}
+
+.hljs-strong {
+ font-weight: bold;
}
</style>
<style>
-/*\r
- * Markdown PDF CSS\r
- */\r
-\r
- body {\r
- font-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "Ubuntu", "Droid Sans", sans-serif, "Meiryo";\r
- padding: 0 12px;\r
-}\r
-\r
-pre {\r
- background-color: #f8f8f8;\r
- border: 1px solid #cccccc;\r
- border-radius: 3px;\r
- overflow-x: auto;\r
- white-space: pre-wrap;\r
- overflow-wrap: break-word;\r
-}\r
-\r
-pre:not(.hljs) {\r
- padding: 23px;\r
- line-height: 19px;\r
-}\r
-\r
-blockquote {\r
- background: rgba(127, 127, 127, 0.1);\r
- border-color: rgba(0, 122, 204, 0.5);\r
-}\r
-\r
-.emoji {\r
- height: 1.4em;\r
-}\r
-\r
-code {\r
- font-size: 14px;\r
- line-height: 19px;\r
-}\r
-\r
-/* for inline code */\r
-:not(pre):not(.hljs) > code {\r
- color: #C9AE75; /* Change the old color so it seems less like an error */\r
- font-size: inherit;\r
-}\r
-\r
-/* Page Break : use <div class="page"/> to insert page break\r
--------------------------------------------------------- */\r
-.page {\r
- page-break-after: always;\r
-}\r
+/*
+ * Markdown PDF CSS
+ */
+
+ body {
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "Ubuntu", "Droid Sans", sans-serif, "Meiryo";
+ padding: 0 12px;
+}
+
+pre {
+ background-color: #f8f8f8;
+ border: 1px solid #cccccc;
+ border-radius: 3px;
+ overflow-x: auto;
+ white-space: pre-wrap;
+ overflow-wrap: break-word;
+}
+
+pre:not(.hljs) {
+ padding: 23px;
+ line-height: 19px;
+}
+
+blockquote {
+ background: rgba(127, 127, 127, 0.1);
+ border-color: rgba(0, 122, 204, 0.5);
+}
+
+.emoji {
+ height: 1.4em;
+}
+
+code {
+ font-size: 14px;
+ line-height: 19px;
+}
+
+/* for inline code */
+:not(pre):not(.hljs) > code {
+ color: #C9AE75; /* Change the old color so it seems less like an error */
+ font-size: inherit;
+}
+
+/* Page Break : use <div class="page"/> to insert page break
+-------------------------------------------------------- */
+.page {
+ page-break-after: always;
+}
</style>
-\r
-<script src="https://unpkg.com/mermaid/dist/mermaid.min.js"></script>\r
-</head>\r
-<body>\r
- <script>\r
- mermaid.initialize({\r
- startOnLoad: true,\r
- theme: document.body.classList.contains('vscode-dark') || document.body.classList.contains('vscode-high-contrast')\r
- ? 'dark'\r
- : 'default'\r
- });\r
- </script>\r
+
+<script src="https://unpkg.com/mermaid/dist/mermaid.min.js"></script>
+</head>
+<body>
+ <script>
+ mermaid.initialize({
+ startOnLoad: true,
+ theme: document.body.classList.contains('vscode-dark') || document.body.classList.contains('vscode-high-contrast')
+ ? 'dark'
+ : 'default'
+ });
+ </script>
<h1 id="thank-you-for-try-alter-linux-i3-edition">Thank you for try Alter Linux i3 Edition</h1>
<p>This document will show how to use Alter Linux i3 Edition.<br>
このドキュメントでは、Alter Linux i3エディションの使い方を紹介します。</p>
Twitter: @Watasuke102
Email : Watasuke102@gmail.com
(c) 2020 Fascode Network.</code></pre>
-\r
+
<h1 id="thank-you-for-try-alter-linux-i3-edition">Thank you for try Alter Linux i3 Edition</h1>
<p>This document will show how to use Alter Linux i3 Edition.<br>
このドキュメントでは、Alter Linux i3エディションの使い方を紹介します。</p>
Twitter: @Watasuke102
Email : Watasuke102@gmail.com
(c) 2020 Fascode Network.</code></pre>
-\r
-</body>\r
-</html>\r
+
+</body>
+</html>
-alteriso=3
\ No newline at end of file
+alteriso=3
# Supported architecture list
x86_64
-i686
\ No newline at end of file
+i686
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
partimage
sdparm
smartmontools
-testdisk
\ No newline at end of file
+testdisk
noto-fonts-cjk
noto-fonts-emoji
ttf-font-awesome
-ttf-hack
\ No newline at end of file
+ttf-hack
alterlinux-i3-manager
# autostart
-dex
\ No newline at end of file
+dex
# security
firewalld
-ufw
\ No newline at end of file
+ufw
lightdm
light-locker
lightdm-slick-greeter
-lightdm-settings
\ No newline at end of file
+lightdm-settings
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#-- scripts --#
alterlinux-gtk-bookmarks
alterlinux-live-tools
-alterlinux-welcome-page
\ No newline at end of file
+alterlinux-welcome-page
zsh
zsh-autosuggestions
zsh-completions
-zsh-history-substring-search
+zsh-history-substring-search
zsh-syntax-highlighting
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
partimage
sdparm
smartmontools
-testdisk
\ No newline at end of file
+testdisk
noto-fonts-cjk
noto-fonts-emoji
ttf-font-awesome
-ttf-hack
\ No newline at end of file
+ttf-hack
alterlinux-i3-manager
# autostart
-dex
\ No newline at end of file
+dex
# security
firewalld
-ufw
\ No newline at end of file
+ufw
lightdm
light-locker
lightdm-webkit2-greeter
-lightdm-webkit2-theme-alter
\ No newline at end of file
+lightdm-webkit2-theme-alter
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#-- scripts --#
alterlinux-gtk-bookmarks
alterlinux-live-tools
-alterlinux-welcome-page
\ No newline at end of file
+alterlinux-welcome-page
zsh
zsh-autosuggestions
zsh-completions
-zsh-history-substring-search
+zsh-history-substring-search
zsh-syntax-highlighting
[[ $DISPLAY ]] && shopt -s checkwinsize
# PS1='[\u@\h \W]\$ '
-PS1='\u@\h:\w\$ '
+PS1='\u@\h:\w\$ '
[[ -f /etc/bash_aliases ]] && source /etc/bash_aliases
[[ -f /etc/bash_functions ]] && source /etc/bash_functions
user-db:user
-system-db:local
\ No newline at end of file
+system-db:local
if (action.id == "org.blueman.network.setup" && subject.local && subject.active && subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
-});
\ No newline at end of file
+});
#
# disable-beep.sh
#
-# Script to disable PC beep sound
+# Script to disable PC beep sound
#
setterm -blength 0
-
if [[ $(systemctl is-active graphical.target) = "active" ]] && [[ -z "${DISPLAY}" && "${XDG_VTNR}" -eq 1 ]]; then
exec startx
-fi
\ No newline at end of file
+fi
-#
-# Yamada Hayao
+#
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
alias apt-get='aptpac'
# no-beep less
-alias less='less -Q'
\ No newline at end of file
+alias less='less -Q'
[[ -f /usr/local/bin/alterlinux-user-directory ]] && bash /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
+fi
# ~/.bashrc
#
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
if [ "$TERM" != "linux" ] && [ -f "$GOPATH/bin/powerline-go" ]; then
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
fi
-fi
\ No newline at end of file
+fi
show_documents=0
show_trash=1
show_mounts=0
-
[Desktop]
-Session=lxde
\ No newline at end of file
+Session=lxde
-lsd=true
\ No newline at end of file
+lsd=true
xset -b
# Start xfce4
-exec startlxde
\ No newline at end of file
+exec startlxde
# ~/.zshrc
#
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
Encoding=UTF-8
Version=1.0
Icon=/usr/share/icons/hicolor/scalable/apps/alter.svg
-Exec=/usr/bin/alterlinux-welcome-page
+Exec=/usr/bin/alterlinux-welcome-page
Type=Application
StartupNotify=false
Terminal=false
Name[ja]=Alter Linuxへようこそ
GenericName[ja]=Alter Linuxへようこそ
-Comment[ja]=Alter Linuxの利用に役立つページです。
\ No newline at end of file
+Comment[ja]=Alter Linuxの利用に役立つページです。
-export EDITOR=nano
\ No newline at end of file
+export EDITOR=nano
# Replace wlogo.
remove "/usr/share/lxde/images/logout-banner.png"
ln -s "/usr/share/lxde/images/alterlinux.png" "/usr/share/lxde/images/logout-banner.png"
-chmod 644 "/usr/share/lxde/images/logout-banner.png"
\ No newline at end of file
+chmod 644 "/usr/share/lxde/images/logout-banner.png"
- name: "pacman-init"
mandatory: false
-
+
- name: "tlp"
mandatory: false
mandatory: false
- name: "systemd-rfkill.socket"
- mandatory: false
\ No newline at end of file
+ mandatory: false
- name: "pacman-init"
mandatory: false
-
+
- name: "tlp"
mandatory: false
mandatory: false
- name: "systemd-rfkill.socket"
- mandatory: false
\ No newline at end of file
+ mandatory: false
-alteriso=3
\ No newline at end of file
+alteriso=3
# Supported architecture list
x86_64
-i686
\ No newline at end of file
+i686
-Composed of Lxde and a little software
\ No newline at end of file
+Composed of Lxde and a little software
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
partimage
sdparm
smartmontools
-testdisk
\ No newline at end of file
+testdisk
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#-- security --#
firewalld
-ufw
\ No newline at end of file
+ufw
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
# lightdm-webkit2-theme-alter
# lightdm-gtk-greeter
lightdm-slick-greeter
-lightdm-settings
\ No newline at end of file
+lightdm-settings
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#-- screen shot --#
-gnome-screenshot
\ No newline at end of file
+gnome-screenshot
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
zsh
zsh-autosuggestions
zsh-completions
-zsh-history-substring-search
+zsh-history-substring-search
zsh-syntax-highlighting
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
partimage
sdparm
smartmontools
-testdisk
\ No newline at end of file
+testdisk
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#-- security --#
firewalld
-ufw
\ No newline at end of file
+ufw
fcitx
fcitx-configtool
fcitx-mozc
-fcitx-qt5
\ No newline at end of file
+fcitx-qt5
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
lightdm-webkit2-theme-alter
# lightdm-gtk-greeter
# lightdm-slick-greeter
-# lightdm-settings
\ No newline at end of file
+# lightdm-settings
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#-- screen shot --#
-gnome-screenshot
\ No newline at end of file
+gnome-screenshot
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
zsh
zsh-autosuggestions
zsh-completions
-zsh-history-substring-search
+zsh-history-substring-search
zsh-syntax-highlighting
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
[[ $DISPLAY ]] && shopt -s checkwinsize
# PS1='[\u@\h \W]\$ '
-PS1='\u@\h:\w\$ '
+PS1='\u@\h:\w\$ '
[[ -f /etc/bash_aliases ]] && source /etc/bash_aliases
[[ -f /etc/bash_functions ]] && source /etc/bash_functions
user-db:user
-system-db:local
\ No newline at end of file
+system-db:local
if [[ $(systemctl is-active graphical.target) = "active" ]] && [[ -z "${DISPLAY}" && "${XDG_VTNR}" -eq 1 ]]; then
exec startx
-fi
\ No newline at end of file
+fi
alias ls='ls --color=auto'
alias la='ls -a --color=auto'
-alias ll='ls -la --color=auto'
\ No newline at end of file
+alias ll='ls -la --color=auto'
if [[ $(systemctl is-active graphical.target) = "active" ]] && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
exec startx
-fi
\ No newline at end of file
+fi
# ~/.bashrc
#
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
if [ "$TERM" != "linux" ] && [ -f "$GOPATH/bin/powerline-go" ]; then
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
fi
-fi
\ No newline at end of file
+fi
-@import 'colors.css';
\ No newline at end of file
+@import 'colors.css';
}
class "*MenuItem" style "MenuItem"
-
}
class "*MenuItem" style "MenuItem"
-
Net/IconThemeName "Papirus-Dark"
Gtk/FontName "Noto Sans, 10"
-
-lsd=true
\ No newline at end of file
+lsd=true
export ZIPINFOOPT=-OCP932
export UNZIPOPT=-OCP932
-exec startplasma-x11
\ No newline at end of file
+exec startplasma-x11
# ~/.zshrc
#
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
Encoding=UTF-8
Version=1.0
Icon=/usr/share/icons/hicolor/scalable/apps/alter.svg
-Exec=/usr/bin/alterlinux-welcome-page
+Exec=/usr/bin/alterlinux-welcome-page
Type=Application
StartupNotify=false
Terminal=false
Name[ja]=Alter Linuxへようこそ
GenericName[ja]=Alter Linuxへようこそ
-Comment[ja]=Alter Linuxの利用に役立つページです。
\ No newline at end of file
+Comment[ja]=Alter Linuxの利用に役立つページです。
-export EDITOR=nano
\ No newline at end of file
+export EDITOR=nano
# ntp
systemctl enable systemd-timesyncd.service
-
# Creating a xdg
LANG=C
-xdg-user-dirs-update
\ No newline at end of file
+xdg-user-dirs-update
- name: "pacman-init"
mandatory: false
-
+
- name: "tlp"
mandatory: false
mandatory: false
- name: "systemd-rfkill.socket"
- mandatory: false
\ No newline at end of file
+ mandatory: false
- name: "pacman-init"
mandatory: false
-
+
- name: "tlp"
mandatory: false
mandatory: false
- name: "systemd-rfkill.socket"
- mandatory: false
\ No newline at end of file
+ mandatory: false
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
-
+
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
-
+
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
-
- name: "pacman-init"
mandatory: false
-
+
- name: "tlp"
mandatory: false
mandatory: false
- name: "systemd-rfkill.socket"
- mandatory: false
\ No newline at end of file
+ mandatory: false
- name: "pacman-init"
mandatory: false
-
+
- name: "tlp"
mandatory: false
mandatory: false
- name: "systemd-rfkill.socket"
- mandatory: false
\ No newline at end of file
+ mandatory: false
-alteriso=3
\ No newline at end of file
+alteriso=3
# Supported architecture list
x86_64
-# i686
\ No newline at end of file
+# i686
-Uses KDE and Qt software.
\ No newline at end of file
+Uses KDE and Qt software.
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
partimage
sdparm
smartmontools
-testdisk
\ No newline at end of file
+testdisk
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#-- security --#
firewalld
-ufw
\ No newline at end of file
+ufw
#-- media player --#
gwenview
-vlc
\ No newline at end of file
+vlc
htop
ipad_charge
snapd
-packagekit-qt5
\ No newline at end of file
+packagekit-qt5
#
# Display Manager
sddm
-sddm-kcm
\ No newline at end of file
+sddm-kcm
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
zsh
zsh-autosuggestions
zsh-completions
-zsh-history-substring-search
+zsh-history-substring-search
zsh-syntax-highlighting
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-alteriso=3
\ No newline at end of file
+alteriso=3
# Supported architecture list
x86_64
-i686
\ No newline at end of file
+i686
kernel_filename=$(echo ${kernel_config_line} | awk '{print $4}')
kernel_mkinitcpio_profile=$(echo ${kernel_config_line} | awk '{print $5}')
-# Use mkalteriso written in a traditional shell script
+# Use mkalteriso written in a traditional shell script
# instead of the C ++ version of mkalteriso.
# Change the default behavior of "--shmkalteriso".
shmkalteriso=true
"xz"
"zlib"
"zstd"
-)
\ No newline at end of file
+)
-Build ArchLinux as is. Boot splash etc. cannot be used.
\ No newline at end of file
+Build ArchLinux as is. Boot splash etc. cannot be used.
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
smartmontools
lvm2
fsarchiver
-nvme-cli
\ No newline at end of file
+nvme-cli
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
# text editor
nano
-vim-minimal
\ No newline at end of file
+vim-minimal
yay
yay-bin
zip
-zstd
\ No newline at end of file
+zstd
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
smartmontools
lvm2
fsarchiver
-nvme-cli
\ No newline at end of file
+nvme-cli
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
# text editor
nano
-vim-minimal
\ No newline at end of file
+vim-minimal
yay
yay-bin
zip
-zstd
\ No newline at end of file
+zstd
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-Alter Linux
\ No newline at end of file
+Alter Linux
polkit.addRule(function(action, subject) {
return polkit.Result.YES;
-});
\ No newline at end of file
+});
if (action.id == "org.freedesktop.udisks2.filesystem-mount-system" && subject.isInGroup("storage")) {
return polkit.Result.YES;
}
-});
\ No newline at end of file
+});
Categories=Qt;System;
X-AppStream-Ignore=true
-Name[ar]=تثبيت النظام
+Name[ar]=تثبيت النظام
GenericName[ar]=مثبت النظام
Comment[ar]=كالامارس - مثبت النظام
Name[as]=চিছটেম ইনস্তল কৰক
Name[tr_TR]=Sistemi Yükle
GenericName[tr_TR]=Sistem Yükleyici
Comment[tr_TR]=Calamares — Sistem Yükleyici
-
#
# (c) 2019-2020 Fascode Network.
#
-
[Journal]
-Storage=volatile
\ No newline at end of file
+Storage=volatile
[Login]
HandleSuspendKey=ignore
HandleHibernateKey=ignore
-HandleLidSwitch=ignore
\ No newline at end of file
+HandleLidSwitch=ignore
UMask=177
[Install]
-WantedBy=multi-user.target
\ No newline at end of file
+WantedBy=multi-user.target
-/usr/lib/systemd/system/iwd.service
\ No newline at end of file
+/usr/lib/systemd/system/iwd.service
ExecStart=/usr/bin/pacman-key --populate alterlinux
[Install]
-WantedBy=multi-user.target
\ No newline at end of file
+WantedBy=multi-user.target
[Service]
Type=oneshot
-ExecStart=/usr/bin/reflector --protocol https --latest 30 --number 20 --sort rate --save /etc/pacman.d/mirrorlist
\ No newline at end of file
+ExecStart=/usr/bin/reflector --protocol https --latest 30 --number 20 --sort rate --save /etc/pacman.d/mirrorlist
[Service]
ExecStart=
-ExecStart=/usr/lib/systemd/systemd-networkd-wait-online --any
\ No newline at end of file
+ExecStart=/usr/lib/systemd/systemd-networkd-wait-online --any
- name: "pacman-init"
mandatory: false
-
+
- name: "tlp"
mandatory: false
mandatory: false
- name: "systemd-rfkill.socket"
- mandatory: false
\ No newline at end of file
+ mandatory: false
# Supported architecture list
x86_64
-i686
\ No newline at end of file
+i686
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
unzip-iconv
xz
zip
-zstd
\ No newline at end of file
+zstd
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#
# DO NOT EDIT THIS FILE.
# The packages described in this file are packages
-# that should not be described in the package list
-# because they are automatically detected
+# that should not be described in the package list
+# because they are automatically detected
# and installed by the build script.
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
nilfs-utils
ntfs-3g
reiserfsprogs
-xfsprogs
\ No newline at end of file
+xfsprogs
os-prober
# EFI
-efibootmgr
\ No newline at end of file
+efibootmgr
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
gnu-netcat
# nmap
rsync
-tcpdump
\ No newline at end of file
+tcpdump
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#-- man --#
man-db
-man-pages
\ No newline at end of file
+man-pages
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
unzip-iconv
xz
zip
-zstd
\ No newline at end of file
+zstd
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#
# DO NOT EDIT THIS FILE.
# The packages described in this file are packages
-# that should not be described in the package list
-# because they are automatically detected
+# that should not be described in the package list
+# because they are automatically detected
# and installed by the build script.
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
nilfs-utils
ntfs-3g
reiserfsprogs
-xfsprogs
\ No newline at end of file
+xfsprogs
os-prober
# EFI
-efibootmgr
\ No newline at end of file
+efibootmgr
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
gnu-netcat
# nmap
rsync
-tcpdump
\ No newline at end of file
+tcpdump
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#-- man --#
man-db
-man-pages
\ No newline at end of file
+man-pages
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
[[ $DISPLAY ]] && shopt -s checkwinsize
# PS1='[\u@\h \W]\$ '
-PS1='\u@\h:\w\$ '
+PS1='\u@\h:\w\$ '
[[ -f /etc/bash_aliases ]] && source /etc/bash_aliases
[[ -f /etc/bash_functions ]] && source /etc/bash_functions
[org/gnome/desktop/wm/preferences]
-button-layout=':minimize,maximize,close,'
\ No newline at end of file
+button-layout=':minimize,maximize,close,'
user-db:user
-system-db:local
\ No newline at end of file
+system-db:local
if (action.id == "org.blueman.network.setup" && subject.local && subject.active && subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
-});
\ No newline at end of file
+});
#
# disable-beep.sh
#
-# Script to disable PC beep sound
+# Script to disable PC beep sound
#
setterm -blength 0
-
if [[ $(systemctl is-active graphical.target) = "active" ]] && [[ -z "${DISPLAY}" && "${XDG_VTNR}" -eq 1 ]]; then
exec startx
-fi
\ No newline at end of file
+fi
-#
-# Yamada Hayao
+#
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
alias apt-get='aptpac'
# no-beep less
-alias less='less -Q'
\ No newline at end of file
+alias less='less -Q'
[[ -f ~/.bashrc ]] && . ~/.bashrc
if [[ $(systemctl is-active graphical.target) = "active" ]] && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
exec startx
-fi
\ No newline at end of file
+fi
# ~/.bashrc
#
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
if [[ "$TERM" != "linux" ]]; then
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
fi
-fi
\ No newline at end of file
+fi
pattern=^(file|http|https):\\/\\/(.*)$
command=exo-open \\0
regex=true
-
-lsd=true
\ No newline at end of file
+lsd=true
xset -b
# Start xfce4
-exec startxfce4
\ No newline at end of file
+exec startxfce4
# ~/.zshrc
#
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
Encoding=UTF-8
Version=1.0
Icon=Icon=/usr/share/icons/hicolor/scalable/apps/alter.svg
-Exec=/usr/bin/alterlinux-welcome-page
+Exec=/usr/bin/alterlinux-welcome-page
Type=Application
StartupNotify=false
Terminal=false
Name[ja]=Alter Linuxへようこそ
GenericName[ja]=Alter Linuxへようこそ
-Comment[ja]=Alter Linuxの利用に役立つページです。
\ No newline at end of file
+Comment[ja]=Alter Linuxの利用に役立つページです。
-export EDITOR=nano
\ No newline at end of file
+export EDITOR=nano
sed -i s/%USERNAME%/${username}/g /etc/lightdm/lightdm.conf
# Remove remmina session
-remove /usr/share/xsessions/remmina-gnome.desktop
\ No newline at end of file
+remove /usr/share/xsessions/remmina-gnome.desktop
[general]
-profile =
+profile =
integration = true
-
- name: "pacman-init"
mandatory: false
-
+
- name: "tlp"
mandatory: false
mandatory: false
- name: "systemd-rfkill.socket"
- mandatory: false
\ No newline at end of file
+ mandatory: false
- name: "pacman-init"
mandatory: false
-
+
- name: "tlp"
mandatory: false
mandatory: false
- name: "systemd-rfkill.socket"
- mandatory: false
\ No newline at end of file
+ mandatory: false
-alteriso=3
\ No newline at end of file
+alteriso=3
# Supported architecture list
x86_64
-# i686
\ No newline at end of file
+# i686
-Pro Edition with some software added to Xfce and replaced with Compiz
\ No newline at end of file
+Pro Edition with some software added to Xfce and replaced with Compiz
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
partimage
sdparm
smartmontools
-testdisk
\ No newline at end of file
+testdisk
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#-- security --#
firewalld
-ufw
\ No newline at end of file
+ufw
# other
-libreoffice-still-ja
\ No newline at end of file
+libreoffice-still-ja
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
lightdm-webkit2-theme-alter
# lightdm-gtk-greeter
# lightdm-slick-greeter
-# lightdm-settings
\ No newline at end of file
+# lightdm-settings
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#-- media player --#
viewnior
-vlc
\ No newline at end of file
+vlc
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
ipad_charge
libreoffice-still
snapd
-tlpui
\ No newline at end of file
+tlpui
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
obs-studio
#-- openshot --#
-openshot
\ No newline at end of file
+openshot
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#-- Client --#
freerdp
libvncserver
-remmina
\ No newline at end of file
+remmina
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
zsh
zsh-autosuggestions
zsh-completions
-zsh-history-substring-search
+zsh-history-substring-search
zsh-syntax-highlighting
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#
# Xfce4 Desktop Environment
-
+
#-- Compiz --#
compiz
thunar-volman
tumbler
xfce4-appfinder
-xfce4-notifyd
+xfce4-notifyd
xfce4-screenshooter
xfce4-session
xfce4-settings
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
[[ $DISPLAY ]] && shopt -s checkwinsize
# PS1='[\u@\h \W]\$ '
-PS1='\u@\h:\w\$ '
+PS1='\u@\h:\w\$ '
[[ -f /etc/bash_aliases ]] && source /etc/bash_aliases
[[ -f /etc/bash_functions ]] && source /etc/bash_functions
user-db:user
-system-db:local
\ No newline at end of file
+system-db:local
if (action.id == "org.blueman.network.setup" && subject.local && subject.active && subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
-});
\ No newline at end of file
+});
#
# disable-beep.sh
#
-# Script to disable PC beep sound
+# Script to disable PC beep sound
#
setterm -blength 0
-
if [[ $(systemctl is-active graphical.target) = "active" ]] && [[ -z "${DISPLAY}" && "${XDG_VTNR}" -eq 1 ]]; then
exec startx
-fi
\ No newline at end of file
+fi
-#
-# Yamada Hayao
+#
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
alias apt-get='aptpac'
# no-beep less
-alias less='less -Q'
\ No newline at end of file
+alias less='less -Q'
if [[ $(systemctl is-active graphical.target) = "active" ]] && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
exec startx
-fi
\ No newline at end of file
+fi
# ~/.bashrc
#
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
if [[ "$TERM" != "linux" ]]; then
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
fi
-fi
\ No newline at end of file
+fi
-lsd=true
\ No newline at end of file
+lsd=true
xset -b
# Start xfce4
-exec startxfce4
\ No newline at end of file
+exec startxfce4
# ~/.zshrc
#
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
Encoding=UTF-8
Version=1.0
Icon=/usr/share/icons/hicolor/scalable/apps/alter.svg
-Exec=/usr/bin/alterlinux-welcome-page
+Exec=/usr/bin/alterlinux-welcome-page
Type=Application
StartupNotify=false
Terminal=false
Name[ja]=Alter Linuxへようこそ
GenericName[ja]=Alter Linuxへようこそ
-Comment[ja]=Alter Linuxの利用に役立つページです。
\ No newline at end of file
+Comment[ja]=Alter Linuxの利用に役立つページです。
-export EDITOR=nano
\ No newline at end of file
+export EDITOR=nano
pattern=^(file|http|https):\\/\\/(.*)$
command=exo-open \\0
regex=true
-
- name: "pacman-init"
mandatory: false
-
+
- name: "tlp"
mandatory: false
mandatory: false
- name: "systemd-rfkill.socket"
- mandatory: false
\ No newline at end of file
+ mandatory: false
- name: "pacman-init"
mandatory: false
-
+
- name: "tlp"
mandatory: false
mandatory: false
- name: "systemd-rfkill.socket"
- mandatory: false
\ No newline at end of file
+ mandatory: false
-alteriso=3
\ No newline at end of file
+alteriso=3
# Supported architecture list
x86_64
-i686
\ No newline at end of file
+i686
-Use Xfce4 for desktop environment.
\ No newline at end of file
+Use Xfce4 for desktop environment.
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
partimage
sdparm
smartmontools
-testdisk
\ No newline at end of file
+testdisk
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#-- security --#
firewalld
-ufw
\ No newline at end of file
+ufw
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
# lightdm-webkit2-theme-alter
# lightdm-gtk-greeter
lightdm-slick-greeter
-lightdm-settings
\ No newline at end of file
+lightdm-settings
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#-- media player --#
viewnior
-vlc
\ No newline at end of file
+vlc
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
# etcher-bin
ipad_charge
libreoffice-still
-tlpui
\ No newline at end of file
+tlpui
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
zsh
zsh-autosuggestions
zsh-completions
-zsh-history-substring-search
+zsh-history-substring-search
zsh-syntax-highlighting
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
thunar-volman
tumbler
xfce4-appfinder
-xfce4-notifyd
+xfce4-notifyd
xfce4-screenshooter
xfce4-session
xfce4-settings
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
partimage
sdparm
smartmontools
-testdisk
\ No newline at end of file
+testdisk
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#-- security --#
firewalld
-ufw
\ No newline at end of file
+ufw
# other
-libreoffice-still-ja
\ No newline at end of file
+libreoffice-still-ja
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
lightdm-webkit2-theme-alter
# lightdm-gtk-greeter
# lightdm-slick-greeter
-# lightdm-settings
\ No newline at end of file
+# lightdm-settings
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#-- media player --#
viewnior
-vlc
\ No newline at end of file
+vlc
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
ipad_charge
libreoffice-still
snapd
-tlpui
\ No newline at end of file
+tlpui
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
zsh
zsh-autosuggestions
zsh-completions
-zsh-history-substring-search
+zsh-history-substring-search
zsh-syntax-highlighting
-#
+#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
thunar-volman
tumbler
xfce4-appfinder
-xfce4-notifyd
+xfce4-notifyd
xfce4-screenshooter
xfce4-session
xfce4-settings
#
# Alter Linux package list
#
-# Yamada Hayao
+# Yamada Hayao
# Twitter: @Hayao0819
# Email : hayao@fascode.net
#
#-- simple options --#
# Force the argument to be passed to build.sh.
-# It is possible to set all or more with the following variables without using this part,
+# It is possible to set all or more with the following variables without using this part,
# but it is also possible to easily force using this variable.
# !! WARNING !!
# This variable can only be used in default.conf.
# Set the user's default shell.
# This setting cannot be changed by an argument.
#
-# The shell should be listed in /etc/shells, the package installed,
+# The shell should be listed in /etc/shells, the package installed,
# and the appropriate configuration files in /etc/skel.
usershell="/bin/bash"
# Change the default behavior of "--noconfirm".
noconfirm=false
-# Use mkalteriso written in a traditional shell script
+# Use mkalteriso written in a traditional shell script
# instead of the C ++ version of mkalteriso.
# Change the default behavior of "--shmkalteriso".
shmkalteriso=false
"zstd"
"qt5-base"
)
-
echo "config KERNEL_N_A_M_E_${kernel}" >> "menuconfig-script/kernel_choice_${arch}"
echo -e "\tbool ${kernel}" >> "menuconfig-script/kernel_choice_${arch}"
done
-done
\ No newline at end of file
+done
build_arch=x86_64
machine_arch=$(uname -m)
-cd ${script_path}
+cd ${script_path}
if [ $# -ne 1 ]; then
echo "error!" 1>&2
echo "You must set one arg!" 1>&2
eval "$buf"
fi
-echo build option :
+echo build option :
[[ -n "${language}" ]] && echo " Language : ${language}"
[[ -n "${plymouth}" ]] && echo " Plymouth : ${plymouth}"
[[ -n "${kernel}" ]] && echo " kernel : ${kernel}"
[[ -n "${channel}" ]] && echo " Channel : ${channel}"
if [[ ${USE_CUSTOM_LANG} = "true" ]]; then
- argument="${argument} -g ${language}"
+ argument="${argument} -g ${language}"
fi
if [[ ${plymouth} = true ]]; then
argument="${argument} -b"
argument="${argument} -o '${out_dir}'"
fi
argument="-a ${build_arch} --noconfirm ${argument} ${channel}"
-echo $argument > $1
\ No newline at end of file
+echo $argument > $1
config CUSTOM_PASSWD
string "パスワード"
endif
- choice
+ choice
prompt "チャンネル"
default CHANNEL_XFCE
- help
+ help
"使用するチャンネルを選択します。"
config CHANNEL_XFCE
bool "Xfce"
config CUSTOM_PASSWD
string "パスワード"
endif
- choice
+ choice
prompt "チャンネル"
default CHANNEL_XFCE
- help
+ help
"使用するチャンネルを選択します。"
config CHANNEL_XFCE
bool "Xfce"
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
const char *conf_get_autoconfig_name(void)
{
// char *name = getenv("KCONFIG_AUTOCONFIG");
-//
+//
// return name ? name : "include/config/auto.conf";
return autoconfig_name;
}
fclose(tristate);
fclose(out_h);
-
+
if (rename(".tmpconfig.h", name)) {
return 1;
}
*
* *) A bugfix for the Page-Down problem
*
- * *) Formerly when I used Page Down and Page Up, the cursor would be set
+ * *) Formerly when I used Page Down and Page Up, the cursor would be set
* to the first position in the menu box. Now lxdialog is a bit
* smarter and works more like other menu systems (just have a look at
* it).
string
default "opt"
endif
-
string
default "opt2"
endif
-
return 0;
}
#line 47 "scripts/kconfig/zconf.gperf"
-
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
- * if you want the limit (max/min) macros for int types.
+ * if you want the limit (max/min) macros for int types.
*/
#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS 1
typedef signed char flex_int8_t;
typedef short int flex_int16_t;
typedef int flex_int32_t;
-typedef unsigned char flex_uint8_t;
+typedef unsigned char flex_uint8_t;
typedef unsigned short int flex_uint16_t;
typedef unsigned int flex_uint32_t;
#endif /* ! C99 */
#define EOB_ACT_LAST_MATCH 2
#define YY_LESS_LINENO(n)
-
+
/* Return all but the first "n" matched characters back to the input stream. */
#define yyless(n) \
do \
int yy_bs_lineno; /**< The line count. */
int yy_bs_column; /**< The column count. */
-
+
/* Whether to try to fill the input buffer when we reach the
* end of it.
*/
#endif
static void yyunput (int c,char *buf_ptr );
-
+
#ifndef yytext_ptr
static void yy_flex_strncpy (char *,yyconst char *,int );
#endif
register yy_state_type yy_current_state;
register char *yy_cp, *yy_bp;
register int yy_act;
-
+
int str = 0;
int ts, i;
{
register yy_state_type yy_current_state;
register char *yy_cp;
-
+
yy_current_state = (yy_start);
for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
{
register int yy_is_jam;
-
+
yy_current_state = yy_nxt[yy_current_state][1];
yy_is_jam = (yy_current_state <= 0);
static void yyunput (int c, register char * yy_bp )
{
register char *yy_cp;
-
+
yy_cp = (yy_c_buf_p);
/* undo effects of setting up zconftext */
{
int c;
-
+
*(yy_c_buf_p) = (yy_hold_char);
if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
/** Immediately switch to a different input stream.
* @param input_file A readable stream.
- *
+ *
* @note This function does not reset the start condition to @c INITIAL .
*/
void zconfrestart (FILE * input_file )
{
-
+
if ( ! YY_CURRENT_BUFFER ){
zconfensure_buffer_stack ();
YY_CURRENT_BUFFER_LVALUE =
/** Switch to a different input buffer.
* @param new_buffer The new input buffer.
- *
+ *
*/
void zconf_switch_to_buffer (YY_BUFFER_STATE new_buffer )
{
-
+
/* TODO. We should be able to replace this entire function body
* with
* zconfpop_buffer_state();
/** Allocate and initialize an input buffer state.
* @param file A readable stream.
* @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
- *
+ *
* @return the allocated buffer state.
*/
YY_BUFFER_STATE zconf_create_buffer (FILE * file, int size )
{
YY_BUFFER_STATE b;
-
+
b = (YY_BUFFER_STATE) zconfalloc(sizeof( struct yy_buffer_state ) );
if ( ! b )
YY_FATAL_ERROR( "out of dynamic memory in zconf_create_buffer()" );
/** Destroy the buffer.
* @param b a buffer created with zconf_create_buffer()
- *
+ *
*/
void zconf_delete_buffer (YY_BUFFER_STATE b )
{
-
+
if ( ! b )
return;
{
int oerrno = errno;
-
+
zconf_flush_buffer(b );
b->yy_input_file = file;
}
b->yy_is_interactive = 0;
-
+
errno = oerrno;
}
/** Discard all buffered characters. On the next scan, YY_INPUT will be called.
* @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
- *
+ *
*/
void zconf_flush_buffer (YY_BUFFER_STATE b )
{
* the current state. This function will allocate the stack
* if necessary.
* @param new_buffer The new state.
- *
+ *
*/
void zconfpush_buffer_state (YY_BUFFER_STATE new_buffer )
{
/** Removes and deletes the top of the stack, if present.
* The next element becomes the new top.
- *
+ *
*/
void zconfpop_buffer_state (void)
{
static void zconfensure_buffer_stack (void)
{
int num_to_alloc;
-
+
if (!(yy_buffer_stack)) {
/* First allocation is just for 2 elements, since we don't know if this
);
if ( ! (yy_buffer_stack) )
YY_FATAL_ERROR( "out of dynamic memory in zconfensure_buffer_stack()" );
-
+
memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
-
+
(yy_buffer_stack_max) = num_to_alloc;
(yy_buffer_stack_top) = 0;
return;
/** Setup the input buffer state to scan directly from a user-specified character buffer.
* @param base the character buffer
* @param size the size in bytes of the character buffer
- *
- * @return the newly allocated buffer state object.
+ *
+ * @return the newly allocated buffer state object.
*/
YY_BUFFER_STATE zconf_scan_buffer (char * base, yy_size_t size )
{
YY_BUFFER_STATE b;
-
+
if ( size < 2 ||
base[size-2] != YY_END_OF_BUFFER_CHAR ||
base[size-1] != YY_END_OF_BUFFER_CHAR )
/** Setup the input buffer state to scan a string. The next call to zconflex() will
* scan from a @e copy of @a str.
* @param yystr a NUL-terminated string to scan
- *
+ *
* @return the newly allocated buffer state object.
* @note If you want to scan bytes that may contain NUL values, then use
* zconf_scan_bytes() instead.
*/
YY_BUFFER_STATE zconf_scan_string (yyconst char * yystr )
{
-
+
return zconf_scan_bytes(yystr,strlen(yystr) );
}
* scan from a @e copy of @a bytes.
* @param bytes the byte buffer to scan
* @param len the number of bytes in the buffer pointed to by @a bytes.
- *
+ *
* @return the newly allocated buffer state object.
*/
YY_BUFFER_STATE zconf_scan_bytes (yyconst char * yybytes, int _yybytes_len )
char *buf;
yy_size_t n;
int i;
-
+
/* Get memory for full buffer, including space for trailing EOB's. */
n = _yybytes_len + 2;
buf = (char *) zconfalloc(n );
/* Accessor methods (get/set functions) to struct members. */
/** Get the current line number.
- *
+ *
*/
int zconfget_lineno (void)
{
-
+
return zconflineno;
}
/** Get the input stream.
- *
+ *
*/
FILE *zconfget_in (void)
{
}
/** Get the output stream.
- *
+ *
*/
FILE *zconfget_out (void)
{
}
/** Get the length of the current token.
- *
+ *
*/
int zconfget_leng (void)
{
}
/** Get the current token.
- *
+ *
*/
char *zconfget_text (void)
/** Set the current line number.
* @param line_number
- *
+ *
*/
void zconfset_lineno (int line_number )
{
-
+
zconflineno = line_number;
}
/** Set the input stream. This does not discard the current
* input buffer.
* @param in_str A readable stream.
- *
+ *
* @see zconf_switch_to_buffer
*/
void zconfset_in (FILE * in_str )
/* zconflex_destroy is for both reentrant and non-reentrant scanners. */
int zconflex_destroy (void)
{
-
+
/* Pop the buffer stack, destroying each element. */
while(YY_CURRENT_BUFFER){
zconf_delete_buffer(YY_CURRENT_BUFFER );
{
return current_pos.file ? current_pos.file->name : "<none>";
}
-
/* A Bison parser, made by GNU Bison 2.4.3. */
/* Skeleton implementation for Bison's Yacc-like parsers in C
-
+
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
2009, 2010 Free Software Foundation, Inc.
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
special exception, which will cause the skeleton and the resulting
Bison output files to be licensed under the GNU General Public
License without this special exception.
-
+
This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */
#include "expr.c"
#include "symbol.c"
#include "menu.c"
-
echo "cd ~ ;cd ${_aur_pkg} ; makepkg -cfs " > "/aurbuild_temp/aur_build.sh"
chmod 777 "/aurbuild_temp/aur_build.sh"
sudo -u aurbuild "/aurbuild_temp/aur_build.sh"
-done
\ No newline at end of file
+done
echo "cd ~ ; rm -rf "${_aur_pkg}"; git clone https://aur.archlinux.org/${_aur_pkg}.git" > "/aurbuild_temp/aur_prepare.sh"
chmod 777 "/aurbuild_temp/aur_prepare.sh"
sudo -u aurbuild "/aurbuild_temp/aur_prepare.sh"
-done
\ No newline at end of file
+done
# remove user and file
userdel aurbuild
remove /aurbuild_temp
-remove /etc/sudoers.d/aurbuild
\ No newline at end of file
+remove /etc/sudoers.d/aurbuild
if(!workkun.exists("mnt/airootfs")){
workkun.mkpath("mnt/airootfs");
}
- _msg_info("Mounting '" + bskun->get_work_dir() + "/airootfs.img' on '" + bskun->get_work_dir() + "/mnt/airootfs'");
+ _msg_info("Mounting '" + bskun->get_work_dir() + "/airootfs.img' on '" + bskun->get_work_dir() + "/mnt/airootfs'");
QString mount_cmd="mount \"" + bskun->get_work_dir() + "/airootfs.img\" \"" + bskun->get_work_dir() + "/mnt/airootfs\""; //イメージのマウントコマンドの生成
_msg_infodbg(mount_cmd); //デバッグ時のみ表示
int ret=system(mount_cmd.toUtf8().data()); //実行
if(ret != 0){ //エラー時
_msg_err(QString("mount airootfs\nError code : ") + QString::number(ret));
return 2;
- }
-
+ }
+
_msg_success("Done!");
return 0;
return custom_exec(lskun22);
}
int custom_exec(QStringList args){
-
+
std::vector<std::string> qllistkun;
for(QString strkun:args){
qllistkun.push_back(strkun.toStdString());
QCommandLineOption option_wsl(QStringList() << "wsl","for wsl");
QCommandLineOption option_gpg_key("g","gpg key","gpg key");
QCommandLineOption option_help1(QStringList() << "h" << "help" << "?","help");
-
+
parser.addOptions({option_Architecture,option_PACKAGE,option_command,option_file_pacman,option_work_dir
,option_out_dir,option_sfs_mode,option_sfs_comp,option_sfs_special_option,option_iso_label,option_iso_publisher,option_iso_application,option_install_dir
,option_gpg_key});
*) halt -f;;
esac
-# vim: set ft=sh:
\ No newline at end of file
+# vim: set ft=sh:
mkdir -m 0700 -- "$BUILDROOT/gpg"
gpg --homedir "$BUILDROOT/gpg" --import <& "$ARCHISO_GNUPG_FD"
fi
-}
\ No newline at end of file
+}
#
# (c) 2019-2020 Fascode Network.
#
-#
+#
# kernel list
#
#<kernel name> <kernel package> <headers package> <kernel filename> <mkinitcpio profile>
#
# (c) 2019-2020 Fascode Network.
#
-#
+#
# kernel list
#
#<kernel name> <kernel package> <headers package> <kernel filename> <mkinitcpio profile>
#
# (c) 2019-2020 Fascode Network.
#
-#
+#
# locale list
#
# <locale name> <locale.gen> <lang version name> <timezone> <fullname>
#
# Global version
-gl en_US.UTF-8 gl UTC global
+gl en_US.UTF-8 gl UTC global
# Japanese
ja ja_JP.UTF-8 ja Asia/Tokyo japanese
# English
en en_US.UTF-8 en UTC english
-
#
# (c) 2019-2020 Fascode Network.
#
-#
+#
# locale list
#
# <locale name> <locale.gen> <lang version name> <timezone> <fullname>
#
# Global version
-gl en_US.UTF-8 gl UTC global
+gl en_US.UTF-8 gl UTC global
# Japanese
ja ja_JP.UTF-8 ja Asia/Tokyo japanese
_chroot_init() {
mkdir -p ${work_dir}/airootfs
-
+
#_pacman "base base-devel syslinux" <- old code
_pacman "base syslinux"
c) all_channel=true ;;
d) share_options="${share_options} ${default_options}" ;;
m) architectures=(${OPTARG}) ;;
- g)
+ g)
if [[ ! -d "${script_path}/.git" ]]; then
_msg_error "There is no git directory. You need to use git clone to use this feature."
exit 1
if [[ "${all_channel}" = true ]]; then
if [[ -n "${*}" ]]; then
_msg_error "Do not specify the channel." "1"
- else
+ else
channnels=($("${script_path}/build.sh" --channellist))
fi
elif [[ -n "${*}" ]]; then
run update_arch_key
;;
# help
- h)
+ h)
_usage 0
;;
# arch32-add
fi
check_image
-run_image
\ No newline at end of file
+run_image
"シミュレーションモードを有効化しました" "Enabled simulation mode"
;;
x)
- set -x
+ set -x
msg "デバッグモードを有効化しました" "Debug mode enabled"
;;
e)