Compare commits
37
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3c8149ed0b | ||
|
|
c7fbe7c7f5 | ||
|
|
cc4a4fb1c0 | ||
|
|
056ffe440f | ||
|
|
b9025fbfb1 | ||
|
|
d7a50ce2fe | ||
|
|
7a4d9f7b21 | ||
|
|
2c3ff9e10d | ||
|
|
249e71d187 | ||
|
|
48eab0a6ab | ||
|
|
380b43ea30 | ||
|
|
607178e5a2 | ||
|
|
71a63edafa | ||
|
|
091bbbfb1a | ||
|
|
f058ea58f7 | ||
|
|
6a9270c276 | ||
|
|
58966c14c8 | ||
|
|
d2b6c0adcc | ||
|
|
75759b18c3 | ||
|
|
a1f6438b3c | ||
|
|
87b7bed3fe | ||
|
|
45214117ef | ||
|
|
07c38a02b5 | ||
|
|
fdbd7de334 | ||
|
|
0d4b85956e | ||
|
|
059396985d | ||
|
|
8565146242 | ||
|
|
d2a368d166 | ||
|
|
c6678dcc96 | ||
|
|
b6156e3233 | ||
|
|
0da2e83f29 | ||
|
|
9f8b285ba3 | ||
|
|
671a47f09e | ||
|
|
51a350c544 | ||
|
|
d28d59b6b8 | ||
|
|
943cb53c93 | ||
|
|
c3bfe46e79 |
@@ -0,0 +1,24 @@
|
|||||||
|
# ------------------------------------------------------
|
||||||
|
# Select fcitx5 or not
|
||||||
|
# ------------------------------------------------------
|
||||||
|
echo -e "${GREEN}"
|
||||||
|
figlet "fcitx5"
|
||||||
|
echo -e "${NONE}"
|
||||||
|
|
||||||
|
if gum confirm "Do you want to install fcitx5 and chinese input method?" ;then
|
||||||
|
packagesPacman=(
|
||||||
|
"fcitx5"
|
||||||
|
"fcitx5-chinese-addons"
|
||||||
|
"fcitx5-configtool"
|
||||||
|
"fcitx5-gtk"
|
||||||
|
"fcitx5-qt"
|
||||||
|
);
|
||||||
|
packagesYay=(
|
||||||
|
"fcitx5-skin-seasons"
|
||||||
|
);
|
||||||
|
source .install/install-packages.sh
|
||||||
|
echo -e "\n# -----------------------------------------------------" >> ~/dotfiles-versions/${version}/hypr/hyprland.conf
|
||||||
|
echo "# fcitx5 support" >> ~/dotfiles-versions/${version}/hypr/hyprland.conf
|
||||||
|
echo "# -----------------------------------------------------" >> ~/dotfiles-versions/${version}/hypr/hyprland.conf
|
||||||
|
echo "source = ~/dotfiles/hypr/conf/fcitx5.conf" >> ~/dotfiles-versions/${version}/hypr/hyprland.conf
|
||||||
|
fi
|
||||||
Executable
+17
@@ -0,0 +1,17 @@
|
|||||||
|
|
||||||
|
# ------------------------------------------------------
|
||||||
|
# hidpi support
|
||||||
|
# ------------------------------------------------------
|
||||||
|
|
||||||
|
echo -e "${GREEN}"
|
||||||
|
figlet "hidpi"
|
||||||
|
echo -e "${NONE}"
|
||||||
|
|
||||||
|
hidpiconfirm="Do you want 2x hidpi scale?"
|
||||||
|
if gum confirm "$hidpiconfirm"; then
|
||||||
|
sed -i -E 's/size = [0-9]+(\.[0-9]+)?/size = 18/' alacritty/alacritty.toml
|
||||||
|
sed -i -E 's/[0-9]+(\.[0-9]+)?/16/' .settings/rofi-font.rasi
|
||||||
|
echo -e '\n# hidpi scale\nsource = ~/dotfiles/hypr/conf/hidpi.conf' >> hypr/conf/custom.conf
|
||||||
|
sed -i -E 's/1/2/' hypr/conf/monitors/default.conf
|
||||||
|
echo ":: finished hidpi patch."
|
||||||
|
fi
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
[font]
|
[font]
|
||||||
size = 12.0
|
size = 16.0
|
||||||
|
|
||||||
[font.normal]
|
[font.normal]
|
||||||
family = "FiraCode Nerd Font"
|
family = "FiraCode Nerd Font"
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
exec-once = fcitx5-remote -r
|
||||||
|
exec-once = fcitx5 -d --replace
|
||||||
|
exec-once = fcitx5-remote -r
|
||||||
|
|
||||||
|
bind=$mainMod CTRL, E, exec, pkill fcitx5 -9;sleep 1;fcitx5 -d --replace; sleep 1;fcitx5-remote -r
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
xwayland {
|
||||||
|
force_zero_scaling = true
|
||||||
|
}
|
||||||
|
|
||||||
|
env = GDK_SCALE,2
|
||||||
|
env = QT_SCALE_FACTOR=2
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
# -----------------------------------------------------
|
||||||
|
# Monitor Setup
|
||||||
|
# name: "Default"
|
||||||
|
# -----------------------------------------------------
|
||||||
|
|
||||||
|
monitor=,preferred,auto,2
|
||||||
@@ -44,6 +44,7 @@ source .install/remove.sh
|
|||||||
source .install/general.sh
|
source .install/general.sh
|
||||||
source .install/packages/general-packages.sh
|
source .install/packages/general-packages.sh
|
||||||
source .install/install-packages.sh
|
source .install/install-packages.sh
|
||||||
|
source .install/fcitx5.sh
|
||||||
source .install/profile.sh
|
source .install/profile.sh
|
||||||
if [[ $profile == *"Hyprland"* ]]; then
|
if [[ $profile == *"Hyprland"* ]]; then
|
||||||
echo -e "${GREEN}"
|
echo -e "${GREEN}"
|
||||||
@@ -60,6 +61,7 @@ if [[ $profile == *"Qtile"* ]]; then
|
|||||||
source .install/install-packages.sh
|
source .install/install-packages.sh
|
||||||
fi
|
fi
|
||||||
source .install/wallpaper.sh
|
source .install/wallpaper.sh
|
||||||
|
source .install/hidpi.sh
|
||||||
source .install/displaymanager.sh
|
source .install/displaymanager.sh
|
||||||
source .install/issue.sh
|
source .install/issue.sh
|
||||||
source .install/restore.sh
|
source .install/restore.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user