Compare commits

...

80 Commits

Author SHA1 Message Date
wyj
b7e4196d08 Merge pull request 'dev' (#4) from dev into main
Reviewed-on: #4
2024-05-27 03:38:28 -04:00
b6507b5b36 Merge branch 'upstream-custom' into dev 2024-05-27 03:37:54 -04:00
wyj
51d8386c6b Merge pull request 'dev' (#3) from dev into main
Reviewed-on: #3
2024-05-27 00:37:15 -04:00
dc31d31fb0 Merge branch 'upstream-custom' into dev 2024-05-27 00:28:16 -04:00
9971614a64 update: add laptop touchpad and gestures 2024-05-26 19:20:39 -04:00
308cf54c19 Merge branch 'upstream-custom' into dev 2024-05-26 19:08:43 -04:00
a6ee6ced28 Merge branch 'upstream-custom' into dev 2024-05-26 18:34:53 -04:00
1f63a28eeb Merge branch 'upstream-custom' into dev 2024-05-26 02:54:37 -04:00
967c5bbc57 update: remove pfetch 2024-05-26 02:06:39 -04:00
ca4b934dcf update: change cursor to vimix 2024-05-26 02:05:37 -04:00
507143360d Merge branch 'upstream-custom' into dev 2024-05-26 01:59:43 -04:00
23467523ed Merge branches 'upstream-hidpi' and 'upstream-custom' into dev 2024-05-26 01:48:19 -04:00
8828e93f78 update: add an empty line in custum.conf 2024-05-26 01:26:57 -04:00
50e0fca95c Merge branch 'upstream-custom' into dev 2024-05-26 01:18:34 -04:00
6a943e7e61 Merge branch 'upstream-custom' into dev 2024-05-26 00:53:54 -04:00
2a649838a4 Merge branch 'upstream-custom' into dev 2024-05-23 18:21:10 -04:00
9f9ea20ee3 Merge branches 'upstream-custom' and 'zshfish' into dev 2024-05-22 00:13:06 -04:00
bc37c0e612 Merge branch 'upstream-custom' into dev 2024-05-21 19:17:57 -04:00
d9bdf7e748 feat: add .zshrc 2024-05-20 23:01:49 -04:00
wyj
4bff4896ac Merge pull request 'Updates' (#2) from dev into main
Reviewed-on: #2
2024-05-18 16:33:41 -04:00
567a892f8b Merge branch 'upstream-hidpi' into dev 2024-05-18 16:29:10 -04:00
c99a2809ce fix: hidpi.sh 2024-05-18 16:28:58 -04:00
23f8294d48 Merge branch 'upstream-custom' into dev 2024-05-18 00:47:50 -04:00
63a3e3e222 Merge branch 'upstream-hidpi' into dev 2024-05-17 02:10:30 -04:00
08096e83ff update: font size=16 for alacritty 2024-05-17 02:09:53 -04:00
89623ce4f3 Merge branch 'upstream-hidpi' into dev 2024-05-17 01:59:09 -04:00
a0f43ada10 fix: patch in ~/dotfiles-versions rather than in repository 2024-05-17 01:46:29 -04:00
8503665117 Merge branch 'upstream-custom' into dev 2024-05-10 17:05:22 -04:00
3dac8139fe Merge branch 'upstream-custom' into dev 2024-05-10 17:03:13 -04:00
1e6940e88d Merge branch 'upstream-custom' into dev 2024-05-08 01:57:08 -04:00
90c646a8fe Merge branches 'upstream-hidpi' and 'upstream-custom' into dev 2024-05-05 16:41:45 -04:00
b4a5e4d99c Merge branch 'upstream-main' into upstream-hidpi 2024-05-05 16:34:49 -04:00
5c3bb19b01 Merge branch 'upstream-custom' into dev 2024-04-19 14:43:44 -04:00
8f7e902f81 Merge branch 'upstream-custom' into dev 2024-04-19 02:49:05 -04:00
3c8149ed0b Merge branch 'upstream-custom' into dev 2024-04-15 19:53:45 -04:00
c7fbe7c7f5 Merge branch 'upstream-custom' into dev 2024-04-15 13:18:02 -04:00
cc4a4fb1c0 Merge branch 'upstream-custom' into dev 2024-04-05 16:20:49 -04:00
056ffe440f Merge branch 'fcitx5' into dev 2024-04-05 16:13:32 -04:00
b9025fbfb1 fix: fcitx5 conf 2024-04-05 16:13:19 -04:00
d7a50ce2fe Merge branch 'fcitx5' into dev 2024-04-05 16:07:49 -04:00
7a4d9f7b21 fix: fcitx5 conf 2024-04-05 16:07:36 -04:00
2c3ff9e10d Merge branch 'fcitx5' into dev 2024-04-05 15:50:17 -04:00
249e71d187 fix: fcitx5 conf 2024-04-05 15:50:00 -04:00
48eab0a6ab Merge branch 'fcitx5' into dev 2024-04-05 15:31:39 -04:00
380b43ea30 new feat: fcitx5 install 2024-04-05 15:31:21 -04:00
607178e5a2 Merge branch 'upstream-custom' into dev 2024-04-05 02:59:58 -04:00
71a63edafa Merge branch 'upstream-custom' into dev 2024-04-05 01:34:01 -04:00
wyj
8c701dfd6a Merge pull request 'Updates in waybar' (#1) from dev into main
Reviewed-on: #1
2024-04-04 22:18:37 -04:00
091bbbfb1a Merge branch 'upstream-custom' into dev 2024-04-04 22:12:38 -04:00
f058ea58f7 Merge branch 'upstream-custom' into dev 2024-04-04 04:45:50 -04:00
6a9270c276 Merge branch 'upstream-custom' into dev 2024-04-04 03:17:46 -04:00
58966c14c8 Merge branch 'upstream-custom' into dev 2024-04-03 23:52:20 -04:00
674a16acbd Merge branch 'dev' 2024-04-03 22:21:41 -04:00
d2b6c0adcc Merge branch 'upstream-custom' into dev 2024-04-03 17:32:04 -04:00
75759b18c3 Merge branch 'upstream-custom' into dev 2024-04-03 14:34:51 -04:00
a1f6438b3c Merge branch 'upstream-custom' into dev 2024-04-03 14:29:21 -04:00
87b7bed3fe Merge branches 'upstream-hidpi' and 'upstream-custom' into dev 2024-04-03 14:23:18 -04:00
45214117ef Merge remote-tracking branch 'upstream/main' into upstream-hidpi 2024-04-03 14:22:34 -04:00
07c38a02b5 Merge branch 'upstream-custom' into dev 2024-04-03 14:19:44 -04:00
fdbd7de334 Merge branch 'upstream-hidpi' into dev 2024-04-01 15:42:28 -04:00
0d4b85956e fix: sed need -E 2024-04-01 15:42:06 -04:00
5fe3fed2ea fix: sed need -E 2024-04-01 15:40:33 -04:00
059396985d Merge branch 'upstream-hidpi' into dev 2024-04-01 15:01:02 -04:00
8565146242 update: change the non-hidpi default font size in alacritty 2024-04-01 15:00:34 -04:00
d2a368d166 fix hidpi.sh: echo -e 2024-03-28 20:46:48 -04:00
c6678dcc96 update hidpi.sh: add finish output 2024-03-28 20:46:48 -04:00
b6156e3233 fix hidpi.sh 2024-03-28 20:46:48 -04:00
0da2e83f29 fix hidpi.sh: -i instead of -E 2024-03-28 20:46:48 -04:00
9f8b285ba3 update hidpi.sh: run always 2024-03-28 20:46:48 -04:00
671a47f09e fix bug: missing fi 2024-03-28 20:46:48 -04:00
51a350c544 Merge branch 'upstream-custom' into dev 2024-03-28 19:30:46 -04:00
d28d59b6b8 Merge branch 'upstream-hidpi' into dev
merge hidpi support
2024-03-28 13:05:00 -04:00
2b1986edad fix hidpi.sh: echo -e 2024-03-28 03:21:44 -04:00
e6a80c8ad2 update hidpi.sh: add finish output 2024-03-28 02:45:02 -04:00
e2d65b4c3c fix hidpi.sh 2024-03-28 02:42:15 -04:00
0f69f88603 fix hidpi.sh: -i instead of -E 2024-03-28 02:40:05 -04:00
c63aa2430c update hidpi.sh: run always 2024-03-28 02:31:27 -04:00
259073e10f fix bug: missing fi 2024-03-28 02:25:56 -04:00
943cb53c93 add hidpi in install.sh 2024-03-28 01:45:39 -04:00
c3bfe46e79 add basic hidpi 2024-03-27 23:17:46 -04:00
10 changed files with 191 additions and 4 deletions

24
.install/fcitx5.sh Normal file
View File

@ -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

17
.install/hidpi.sh Executable file
View File

@ -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 = 16/' ~/dotfiles-versions/$version/alacritty/alacritty.toml
sed -i -E 's/[0-9]+(\.[0-9]+)?/16/' ~/dotfiles-versions/$version/.settings/rofi-font.rasi
echo -e '\n\n# hidpi scale\nsource = ~/dotfiles/hypr/conf/hidpi.conf' >> ~/dotfiles-versions/$version/hypr/conf/custom.conf
sed -i -E 's/1/2/' ~/dotfiles-versions/$version/hypr/conf/monitors/default.conf
echo ":: finished hidpi patch."
fi

View File

@ -63,8 +63,7 @@ packagesPacman=(
); );
packagesYay=( packagesYay=(
"pfetch" "vimix-cursors"
"bibata-cursor-theme"
"trizen" "trizen"
"pacseek" "pacseek"
); );

128
.zshrc Normal file
View File

@ -0,0 +1,128 @@
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:$HOME/.cargo/bin:$HOME/.local/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
# ZSH_THEME="robbyrussell"
ZSH_THEME="powerlevel10k/powerlevel10k"
# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load
# a theme from this variable instead of looking in $ZSH/themes/
# If set to an empty array, this variable will have no effect.
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
# Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"
# Uncomment one of the following lines to change the auto-update behavior
# zstyle ':omz:update' mode disabled # disable automatic updates
# zstyle ':omz:update' mode auto # update automatically without asking
# zstyle ':omz:update' mode reminder # just remind me to update when it's time
# Uncomment the following line to change how often to auto-update (in days).
# zstyle ':omz:update' frequency 13
# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS="true"
# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"
# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"
# Uncomment the following line to display red dots whilst waiting for completion.
# You can also set it to another string to have that shown instead of the default red dots.
# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f"
# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765)
# COMPLETION_WAITING_DOTS="true"
# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"
# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# You can set one of the optional three formats:
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# or set a custom format using the strftime function format specifications,
# see 'man strftime' for details.
# HIST_STAMPS="mm/dd/yyyy"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
# Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git colored-man-pages eza z sudo zsh-autosuggestions fast-syntax-highlighting)
source $ZSH/oh-my-zsh.sh
# User configuration
# export MANPATH="/usr/local/man:$MANPATH"
# You may need to manually set your language environment
# export LANG=en_US.UTF-8
# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim'
# else
# export EDITOR='mvim'
# fi
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
alias sshkoko="TERM=xterm-256color ssh ywang2020@koko-login.hpc.fau.edu"
alias wakemac="wakeonlan 18:C0:4D:8D:56:0E"
alias ls="eza --icons=auto"
alias githashselector="git log --oneline | gum filter | cut -d' ' -f1"
alias bat="bat --paging=never"
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
eval $(thefuck --alias)
eval "$(fzf --zsh)"
# -----------------------------------------------------
# PYWAL
# -----------------------------------------------------
cat ~/.cache/wal/sequences
export EDITOR=nvim

View File

@ -1,5 +1,5 @@
[font] [font]
size = 12.0 size = 16.0
[font.normal] [font.normal]
family = "FiraCode Nerd Font" family = "FiraCode Nerd Font"

View File

@ -1 +1 @@
exec-once = hyprctl setcursor Bibata-Modern-Ice 24 exec-once = hyprctl setcursor Vimix 24

5
hypr/conf/fcitx5.conf Normal file
View File

@ -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

6
hypr/conf/hidpi.conf Normal file
View File

@ -0,0 +1,6 @@
xwayland {
force_zero_scaling = true
}
env = GDK_SCALE,2
env = QT_SCALE_FACTOR=2

View File

@ -0,0 +1,6 @@
# -----------------------------------------------------
# Monitor Setup
# name: "Default"
# -----------------------------------------------------
monitor=,preferred,auto,2

View File

@ -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