Compare commits
80 Commits
upstream-c
...
main
Author | SHA1 | Date | |
---|---|---|---|
b7e4196d08 | |||
b6507b5b36 | |||
51d8386c6b | |||
dc31d31fb0 | |||
9971614a64 | |||
308cf54c19 | |||
a6ee6ced28 | |||
1f63a28eeb | |||
967c5bbc57 | |||
ca4b934dcf | |||
507143360d | |||
23467523ed | |||
8828e93f78 | |||
50e0fca95c | |||
6a943e7e61 | |||
2a649838a4 | |||
9f9ea20ee3 | |||
bc37c0e612 | |||
d9bdf7e748 | |||
4bff4896ac | |||
567a892f8b | |||
c99a2809ce | |||
23f8294d48 | |||
63a3e3e222 | |||
08096e83ff | |||
89623ce4f3 | |||
a0f43ada10 | |||
8503665117 | |||
3dac8139fe | |||
1e6940e88d | |||
90c646a8fe | |||
b4a5e4d99c | |||
5c3bb19b01 | |||
8f7e902f81 | |||
3c8149ed0b | |||
c7fbe7c7f5 | |||
cc4a4fb1c0 | |||
056ffe440f | |||
b9025fbfb1 | |||
d7a50ce2fe | |||
7a4d9f7b21 | |||
2c3ff9e10d | |||
249e71d187 | |||
48eab0a6ab | |||
380b43ea30 | |||
607178e5a2 | |||
71a63edafa | |||
8c701dfd6a | |||
091bbbfb1a | |||
f058ea58f7 | |||
6a9270c276 | |||
58966c14c8 | |||
674a16acbd | |||
d2b6c0adcc | |||
75759b18c3 | |||
a1f6438b3c | |||
87b7bed3fe | |||
45214117ef | |||
07c38a02b5 | |||
fdbd7de334 | |||
0d4b85956e | |||
5fe3fed2ea | |||
059396985d | |||
8565146242 | |||
d2a368d166 | |||
c6678dcc96 | |||
b6156e3233 | |||
0da2e83f29 | |||
9f8b285ba3 | |||
671a47f09e | |||
51a350c544 | |||
d28d59b6b8 | |||
2b1986edad | |||
e6a80c8ad2 | |||
e2d65b4c3c | |||
0f69f88603 | |||
c63aa2430c | |||
259073e10f | |||
943cb53c93 | |||
c3bfe46e79 |
24
.install/fcitx5.sh
Normal file
24
.install/fcitx5.sh
Normal 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
17
.install/hidpi.sh
Executable 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
|
@ -63,8 +63,7 @@ packagesPacman=(
|
||||
);
|
||||
|
||||
packagesYay=(
|
||||
"pfetch"
|
||||
"bibata-cursor-theme"
|
||||
"vimix-cursors"
|
||||
"trizen"
|
||||
"pacseek"
|
||||
);
|
||||
|
128
.zshrc
Normal file
128
.zshrc
Normal 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
|
@ -1,5 +1,5 @@
|
||||
[font]
|
||||
size = 12.0
|
||||
size = 16.0
|
||||
|
||||
[font.normal]
|
||||
family = "FiraCode Nerd Font"
|
||||
|
@ -1 +1 @@
|
||||
exec-once = hyprctl setcursor Bibata-Modern-Ice 24
|
||||
exec-once = hyprctl setcursor Vimix 24
|
||||
|
5
hypr/conf/fcitx5.conf
Normal file
5
hypr/conf/fcitx5.conf
Normal 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
6
hypr/conf/hidpi.conf
Normal file
@ -0,0 +1,6 @@
|
||||
xwayland {
|
||||
force_zero_scaling = true
|
||||
}
|
||||
|
||||
env = GDK_SCALE,2
|
||||
env = QT_SCALE_FACTOR=2
|
6
hypr/conf/monitors/4k.conf
Normal file
6
hypr/conf/monitors/4k.conf
Normal file
@ -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/packages/general-packages.sh
|
||||
source .install/install-packages.sh
|
||||
source .install/fcitx5.sh
|
||||
source .install/profile.sh
|
||||
if [[ $profile == *"Hyprland"* ]]; then
|
||||
echo -e "${GREEN}"
|
||||
@ -60,6 +61,7 @@ if [[ $profile == *"Qtile"* ]]; then
|
||||
source .install/install-packages.sh
|
||||
fi
|
||||
source .install/wallpaper.sh
|
||||
source .install/hidpi.sh
|
||||
source .install/displaymanager.sh
|
||||
source .install/issue.sh
|
||||
source .install/restore.sh
|
||||
|
Loading…
Reference in New Issue
Block a user