merge
This commit is contained in:
commit
ef6d7ee1bb
@ -19,9 +19,9 @@ This is basically per user!
|
||||
|
||||
```bash
|
||||
$ sudo pacman -Syu git
|
||||
$ git clone --depth 1 https://gitea.nevaforget.de/dom/monarchos ~/.monarchos
|
||||
$ git clone --depth 1 https://gitea.moonarch.de/nevaforget/hyprmoonarch ~/.monarchos
|
||||
$ cd ~/.monarchos
|
||||
$ ./setup.sh
|
||||
$ ./stower.sh
|
||||
```
|
||||
|
||||
## Installation Stages
|
||||
|
||||
@ -103,6 +103,7 @@ function inst_pkgs {
|
||||
if [[ $confirm_basics == "Y" ]];
|
||||
then
|
||||
|
||||
|
||||
declare -a pkg_list=(wayland stow jq network-manager-applet alarm-clock-applet xarchiver man-db hardinfo networkmanager-openvpn udisks2 plocate vim alacritty gettext-hostname lsd alsa-utils ponymix btop polkit polkit-gnome timeshift timeshift-autosnap flatery-icon-theme-git waterfox fzf unzip hyprland hypridle hyprlock hyprcursor hyprkeys hyprpicker swww waypaper xdg-desktop-portal-hyprland wdisplays waybar-cava-git nwg-look cliphist wlogout hyprlock waybar-module-pacman-updates ufw zsh oh-my-zsh noise-suppression-for-voice grim satty-bin slurp dunst sweet-cursor-theme-git sweet-cursors-hyprcursor-git catppuccin-gtk-theme-mocha rofi-lbonn-wayland-git cmake meson cpio pkg-config ttf-ubuntu-nerd ttf-jetbrains-mono-nerd hyprsysteminfo qt5-styleplugins qt6gtk2 qt5gtk2)
|
||||
|
||||
for key in "${pkg_list[@]}"
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
## date 2024-08-16
|
||||
## loop battery devices and send notification on low percentage
|
||||
|
||||
NOTIFY_AT_PERCENTAGE=70
|
||||
NOTIFY_AT_PERCENTAGE=20
|
||||
|
||||
ICON="/usr/share/icons/Tela-purple-dark/symbolic/status/battery-empty-symbolic.svg"
|
||||
|
||||
|
||||
63
usr/local/bin/set-cursor
Executable file
63
usr/local/bin/set-cursor
Executable file
@ -0,0 +1,63 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
echo usage: $(basename $0) icon-name
|
||||
exit 0
|
||||
fi
|
||||
|
||||
THEME=${1}
|
||||
SIZE=24
|
||||
|
||||
echo Setting for GNOME ...
|
||||
|
||||
gsettings set org.gnome.desktop.interface cursor-theme "${THEME}"
|
||||
gsettings set org.gnome.desktop.interface cursor-size ${SIZE}
|
||||
|
||||
## Only for Deepin Linux
|
||||
cat /etc/lsb-release | grep -i Deepin 2>/dev/null 1>&2
|
||||
if [ $? -eq 0 ]; then
|
||||
gsettings set com.deepin.wrap.gnome.desktop.interface cursor-size ${SIZE}
|
||||
gsettings set com.deepin.xsettings gtk-cursor-theme-size ${SIZE}
|
||||
|
||||
gsettings set com.deepin.wrap.gnome.desktop.interface cursor-theme ${THEME}
|
||||
gsettings set com.deepin.xsettings gtk-cursor-theme-name ${THEME}
|
||||
gsettings set com.deepin.dde.appearance cursor-theme ${THEME}
|
||||
fi
|
||||
|
||||
if [ -f ~/.icons/default/index.theme ]; then
|
||||
rm ~/.icons/default/index.theme
|
||||
fi
|
||||
|
||||
if [ ! -d ~/.icons/default ]; then
|
||||
mkdir -p ~/.icons/default
|
||||
fi
|
||||
|
||||
echo \[icon theme\] >> ~/.icons/default/index.theme
|
||||
echo Inherits=${THEME} >> ~/.icons/default/index.theme
|
||||
|
||||
echo Setting for GTK-3.0 ...
|
||||
if [ -f ~/.config/gtk-3.0/settings.ini ]; then
|
||||
rm ~/.config/gtk-3.0/settings.ini
|
||||
fi
|
||||
|
||||
if [ ! -d ~/.config/gtk-3.0 ]; then
|
||||
mkdir ~/.config/gtk-3.0
|
||||
fi
|
||||
|
||||
echo \[Settings\] >> ~/.config/gtk-3.0/settings.ini
|
||||
echo gtk-cursor-theme-name=${THEME} >> ~/.config/gtk-3.0/settings.ini
|
||||
|
||||
echo Setting for Legacy X ...
|
||||
if [ -f ~/.xinitrc ]; then
|
||||
sed -i '/.*XCURSOR_THEME.*/Id' ~/.xinitrc
|
||||
sed -i '/.*XCURSOR_SIZE.*/Id' ~/.xinitrc
|
||||
fi
|
||||
echo XCURSOR_SIZE=${SIZE} >> ~/.xinitrc
|
||||
echo XCURSOR_THEME=${THEME} >> ~/.xinitrc
|
||||
|
||||
if [ -f ~/.Xresources ]; then
|
||||
sed -i '/.*xcursor.size.*/Id' ~/.Xresources
|
||||
sed -i '/.*xcursor.theme.*/Id' ~/.Xresources
|
||||
fi
|
||||
echo Xcursor.size=${SIZE} >> ~/.Xresources
|
||||
echo Xcursor.theme=${THEME} >> ~/.Xresources
|
||||
Loading…
x
Reference in New Issue
Block a user