Compare commits

..

6 Commits

Author SHA1 Message Date
52749d8ac3 feat:add_sh_for_ubuntu 2025-07-24 16:38:21 +08:00
c84fd8f412 remove:lazygit 2025-07-22 11:35:27 +08:00
dbdf37dbed update:fish 2025-07-21 09:43:40 +08:00
80c7581493 update:fuzzel 2025-07-19 14:37:53 +08:00
846704dc0c update:waybar 2025-07-12 11:09:36 +08:00
4e266843db update:fcitx5 2025-07-11 15:41:27 +08:00
23 changed files with 257 additions and 365 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 694 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 617 B

View File

@ -0,0 +1,110 @@
# vim: ft=dosini
[Metadata]
Name=Catppuccin Mocha Flamingo
Version=0.2
Author=justTOBBI and Isabelinc
Description=Catppuccin Mocha Flamingo Color Theme
ScaleWithDPI=True
[InputPanel]
# 字体
Font=Sarasa Gothic SC 14
# 非选中候选字颜色
# Blue
NormalColor=#89b4fa
# 选中候选字颜色
# Flamingo
HighlightCandidateColor=#f2cdcd
# 高亮前景颜色(输入字符颜色)
# Flamingo
HighlightColor=#f2cdcd
# 输入字符背景颜色
# Surface 0
HighlightBackgroundColor=#313244
Spacing=3
[InputPanel/TextMargin]
# 候选字对左边距
Left=10
# 候选字对右边距
Right=10
# 候选字向上边距
Top=6
# 候选字向下边距
Bottom=6
[InputPanel/Background]
# Surface 0
Color=#313244
# Surface 0
BorderColor=#313244
BorderWidth=2
[InputPanel/Background/Margin]
Left=2
Right=2
Top=2
Bottom=2
[InputPanel/Highlight]
# Surface 0
Color=#313244
[InputPanel/Highlight/Margin]
# 高亮区域左边距
Left=10
# 高亮区域右边距
Right=10
# 高亮区域上边距
Top=7
# 高亮区域下边距
Bottom=7
[Menu]
Font=Sarasa Gothic SC 14
# Text
NormalColor=#cdd6f4
Spacing=3
[Menu/Background]
# Surface 0
Color=#313244
[Menu/Background/Margin]
Left=2
Right=2
Top=2
Bottom=2
[Menu/ContentMargin]
Left=2
Right=2
Top=2
Bottom=2
[Menu/Highlight]
# Pink
Color=#f5c2e7
[Menu/Highlight/Margin]
Left=10
Right=10
Top=5
Bottom=5
[Menu/Separator]
# Base
Color=#1e1e2e
[Menu/CheckBox]
Image=radio.png
[Menu/SubMenu]
Image=arrow.png
[Menu/TextMargin]
Left=5
Right=5
Top=5
Bottom=5

View File

@ -958,6 +958,11 @@ Description="Keyboard - Swedish - Swedish (Svdvorak)"
Language=sv
Label="se (svdvorak)"
[keyboard-se-colemak]
Description="Keyboard - Swedish - Swedish (Colemak)"
Language=sv
Label="se (colemak)"
[keyboard-se-mac]
Description="Keyboard - Swedish - Swedish (Macintosh)"
Language=sv
@ -3673,11 +3678,6 @@ Description="Keyboard - Japanese - Japanese (Kana)"
Language=ja
Label="jp (kana)"
[keyboard-jp-kana86]
Description="Keyboard - Japanese - Japanese (Kana 86)"
Language=ja
Label="jp (kana86)"
[keyboard-jp-OADG109A]
Description="Keyboard - Japanese - Japanese (OADG 109A)"
Language=ja

View File

@ -0,0 +1,35 @@
# Vertical Candidate List
Vertical Candidate List=False
# Use mouse wheel to go to prev or next page
WheelForPaging=True
# Font
Font="Sarasa Gothic SC 14"
# Menu Font
MenuFont="Sarasa Gothic SC 14"
# Tray Font
TrayFont="Sarasa Gothic SC 12"
# Tray Label Outline Color
TrayOutlineColor=#000000
# Tray Label Text Color
TrayTextColor=#ffffff
# Prefer Text Icon
PreferTextIcon=False
# Show Layout Name In Icon
ShowLayoutNameInIcon=True
# Use input method language to display text
UseInputMethodLanguageToDisplayText=True
# Theme
Theme=catppuccin-mocha-flamingo
# Dark Theme
DarkTheme=catppuccin-mocha-flamingo
# Follow system light/dark color scheme
UseDarkTheme=True
# Follow system accent color if it is supported by theme and desktop
UseAccentColor=True
# Use Per Screen DPI on X11
PerScreenDPI=False
# Force font DPI on Wayland
ForceWaylandDPI=0
# Enable fractional scale under Wayland
EnableFractionalScale=True

View File

@ -1,3 +1,3 @@
[HiddenNotifications]
0=fcitx-rime-deploy
# Hidden Notifications
HiddenNotifications=

View File

@ -1,140 +0,0 @@
# Shuangpin Profile
ShuangpinProfile=Ziranma
# Show current shuangpin mode
ShowShuangpinMode=True
# Page size
PageSize=7
# Enable Spell
SpellEnabled=True
# Enable Symbols
SymbolsEnabled=True
# Enable Chaizi
ChaiziEnabled=True
# Enable Characters in Unicode CJK Extension B
ExtBEnabled=True
# Enable Cloud Pinyin
CloudPinyinEnabled=False
# Cloud Pinyin Index
CloudPinyinIndex=2
# Show animation when Cloud Pinyin is loading
CloudPinyinAnimation=True
# Always show Cloud Pinyin place holder
KeepCloudPinyinPlaceHolder=False
# Preedit Mode
PreeditMode="Composing pinyin"
# Fix embedded preedit cursor at the beginning of the preedit
PreeditCursorPositionAtBeginning=True
# Show complete pinyin in preedit
PinyinInPreedit=False
# Enable Prediction
Prediction=False
# Prediction Size
PredictionSize=49
# Action when switching input method
SwitchInputMethodBehavior="Commit current preedit"
# Select 2nd Candidate
SecondCandidate=
# Select 3rd Candidate
ThirdCandidate=
# Use Keypad as Selection key
UseKeypadAsSelection=False
# Use BackSpace to cancel the selection
BackSpaceToUnselect=True
# Number of Sentences
Number of sentence=2
# Prompt long word length when input length over (0 for disable)
LongWordLengthLimit=4
# Key to trigger quickphrase
QuickPhraseKey=semicolon
# Use V to trigger quickphrase
VAsQuickphrase=True
# FirstRun
FirstRun=False
[ForgetWord]
0=Control+7
[PrevPage]
0=minus
1=Up
2=KP_Up
3=Page_Up
[NextPage]
0=equal
1=Down
2=KP_Down
3=Next
[PrevCandidate]
0=Shift+Tab
[NextCandidate]
0=Tab
[CurrentCandidate]
0=space
1=KP_Space
[CommitRawInput]
0=Return
1=KP_Enter
2=Control+Return
3=Control+KP_Enter
4=Shift+Return
5=Shift+KP_Enter
6=Control+Shift+Return
7=Control+Shift+KP_Enter
[ChooseCharFromPhrase]
0=bracketleft
1=bracketright
[FilterByStroke]
0=grave
[QuickPhraseTriggerRegex]
0=.(/|@)$
1=^(www|bbs|forum|mail|bbs)\\.
2=^(http|https|ftp|telnet|mailto):
[Fuzzy]
# ue -> ve
VE_UE=True
# Common Typo
NG_GN=True
# Inner Segment (xian -> xi'an)
Inner=True
# Inner Segment for Short Pinyin (qie -> qi'e)
InnerShort=True
# Match partial finals (e -> en, eng, ei)
PartialFinal=True
# Match partial shuangpin if input length is longer than 4
PartialSp=False
# u <-> v
V_U=False
# an <-> ang
AN_ANG=False
# en <-> eng
EN_ENG=False
# ian <-> iang
IAN_IANG=False
# in <-> ing
IN_ING=False
# u <-> ou
U_OU=False
# uan <-> uang
UAN_UANG=False
# c <-> ch
C_CH=False
# f <-> h
F_H=False
# l <-> n
L_N=False
# s <-> sh
S_SH=False
# z <-> zh
Z_ZH=False
# Correction Layout
Correction=None

View File

@ -1,10 +0,0 @@
# Half width punctuation after latin letter or number
HalfWidthPuncAfterLetterOrNumber=True
# Type paired punctuations together (e.g. Quote)
TypePairedPunctuationsTogether=False
# Enabled
Enabled=True
[Hotkey]
0=Control+period

View File

@ -1,13 +0,0 @@
# Preedit Mode
PreeditMode="Composing text"
# Shared Input State
InputState=All
# Fix embedded preedit cursor at the beginning of the preedit
PreeditCursorPositionAtBeginning=True
# Action when switching input method
SwitchInputMethodBehavior="Commit commit preview"
# Deploy
Deploy=
# Synchronize
Synchronize=

View File

@ -11,7 +11,7 @@ EnumerateSkipFirst=False
ModifierOnlyKeyTimeout=250
[Hotkey/TriggerKeys]
0=Control+Shift+Shift_L
0=Control+space
1=Zenkaku_Hankaku
2=Hangul

View File

@ -97,7 +97,6 @@ alias l.="eza -a | grep -e '^\.'" # show only dotfiles
# Common use
alias grubup="sudo grub-mkconfig -o /boot/grub/grub.cfg"
alias fixpacman="sudo rm /var/lib/pacman/db.lck"
alias tarnow='tar -acf '
alias untar='tar -zxvf '
alias wget='wget -c '
@ -115,8 +114,6 @@ alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
alias hw='hwinfo --short' # Hardware Info
alias big="expac -H M '%m\t%n' | sort -h | nl" # Sort installed packages according to size in MB
alias gitpkg='pacman -Q | grep -i "\-git" | wc -l' # List amount of -git packages
alias update='sudo pacman -Syu'
# Get fastest mirrors
alias mirror="sudo cachyos-rate-mirrors"

View File

@ -1,99 +0,0 @@
# This file contains fish universal variable definitions.
# VERSION: 3.0
SETUVAR __done_min_cmd_duration:10000
SETUVAR __done_notification_urgency_level:low
SETUVAR __fish_initialized:3800
SETUVAR fish_color_autosuggestion:brblack
SETUVAR fish_color_cancel:\x2dr
SETUVAR fish_color_command:normal
SETUVAR fish_color_comment:red
SETUVAR fish_color_cwd:green
SETUVAR fish_color_cwd_root:red
SETUVAR fish_color_end:green
SETUVAR fish_color_error:brred
SETUVAR fish_color_escape:brcyan
SETUVAR fish_color_history_current:\x2d\x2dbold
SETUVAR fish_color_host:normal
SETUVAR fish_color_host_remote:yellow
SETUVAR fish_color_normal:normal
SETUVAR fish_color_operator:brcyan
SETUVAR fish_color_param:cyan
SETUVAR fish_color_quote:yellow
SETUVAR fish_color_redirection:cyan\x1e\x2d\x2dbold
SETUVAR fish_color_search_match:white\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_status:red
SETUVAR fish_color_user:brgreen
SETUVAR fish_color_valid_path:\x2d\x2dunderline
SETUVAR fish_key_bindings:fish_default_key_bindings
SETUVAR fish_pager_color_completion:normal
SETUVAR fish_pager_color_description:yellow\x1e\x2di
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
SETUVAR fish_pager_color_selected_background:\x2dr
SETUVAR pure_begin_prompt_with_current_directory:true
SETUVAR pure_check_for_new_release:false
SETUVAR pure_color_at_sign:pure_color_mute
SETUVAR pure_color_aws_profile:pure_color_warning
SETUVAR pure_color_command_duration:pure_color_warning
SETUVAR pure_color_current_directory:pure_color_primary
SETUVAR pure_color_danger:red
SETUVAR pure_color_dark:black
SETUVAR pure_color_git_branch:pure_color_mute
SETUVAR pure_color_git_dirty:pure_color_mute
SETUVAR pure_color_git_stash:pure_color_info
SETUVAR pure_color_git_unpulled_commits:pure_color_info
SETUVAR pure_color_git_unpushed_commits:pure_color_info
SETUVAR pure_color_hostname:pure_color_mute
SETUVAR pure_color_info:cyan
SETUVAR pure_color_jobs:pure_color_normal
SETUVAR pure_color_k8s_context:pure_color_success
SETUVAR pure_color_k8s_namespace:pure_color_primary
SETUVAR pure_color_k8s_prefix:pure_color_info
SETUVAR pure_color_light:white
SETUVAR pure_color_mute:brblack
SETUVAR pure_color_nixdevshell_prefix:pure_color_info
SETUVAR pure_color_nixdevshell_symbol:pure_color_mute
SETUVAR pure_color_normal:normal
SETUVAR pure_color_prefix_root_prompt:pure_color_danger
SETUVAR pure_color_primary:blue
SETUVAR pure_color_prompt_on_error:pure_color_danger
SETUVAR pure_color_prompt_on_success:pure_color_success
SETUVAR pure_color_success:magenta
SETUVAR pure_color_system_time:pure_color_mute
SETUVAR pure_color_username_normal:pure_color_mute
SETUVAR pure_color_username_root:pure_color_light
SETUVAR pure_color_virtualenv:pure_color_mute
SETUVAR pure_color_warning:yellow
SETUVAR pure_enable_aws_profile:true
SETUVAR pure_enable_container_detection:true
SETUVAR pure_enable_git:true
SETUVAR pure_enable_k8s:false
SETUVAR pure_enable_nixdevshell:false
SETUVAR pure_enable_single_line_prompt:false
SETUVAR pure_enable_virtualenv:true
SETUVAR pure_reverse_prompt_symbol_in_vimode:true
SETUVAR pure_separate_prompt_on_error:false
SETUVAR pure_shorten_prompt_current_directory_length:0
SETUVAR pure_shorten_window_title_current_directory_length:0
SETUVAR pure_show_jobs:false
SETUVAR pure_show_prefix_root_prompt:false
SETUVAR pure_show_subsecond_command_duration:false
SETUVAR pure_show_system_time:false
SETUVAR pure_symbol_aws_profile_prefix:
SETUVAR pure_symbol_container_prefix:
SETUVAR pure_symbol_git_dirty:\x2a
SETUVAR pure_symbol_git_stash:\u2261
SETUVAR pure_symbol_git_unpulled_commits:\u21e3
SETUVAR pure_symbol_git_unpushed_commits:\u21e1
SETUVAR pure_symbol_k8s_prefix:\u2638
SETUVAR pure_symbol_nixdevshell_prefix:\u2744\ufe0f
SETUVAR pure_symbol_prefix_root_prompt:\x23
SETUVAR pure_symbol_prompt:\u276f
SETUVAR pure_symbol_reverse_prompt:\u276e
SETUVAR pure_symbol_ssh_prefix:
SETUVAR pure_symbol_title_bar_separator:\x2d
SETUVAR pure_symbol_virtualenv_prefix:
SETUVAR pure_threshold_command_duration:5
SETUVAR pure_truncate_prompt_current_directory_keeps:\x2d1
SETUVAR pure_truncate_window_title_current_directory_keeps:\x2d1

21
fuzzel/fuzzel.ini Normal file
View File

@ -0,0 +1,21 @@
[colors]
background=1e1e2edd
text=cdd6f4ff
prompt=bac2deff
placeholder=7f849cff
input=cdd6f4ff
match=b4befeff
selection=585b70ff
selection-text=cdd6f4ff
selection-match=b4befeff
counter=7f849cff
border=b4befeff
[main]
font=Sarasa Gothic SC:size=18
icon-theme=Papirus-Dark
icons-enabled=no
delayed-filter-ms=0
delayed-filter-limit=0
lines=10
sort-result=yes

View File

@ -4,7 +4,7 @@
$browser = floorp
$filemanager = nemo
#$applauncher = rofi -show combi -modi window,run,combi -combi-modi window,run
$applauncher = wofi
$applauncher = fuzzel
$terminal = alacritty
#$idlehandler = swayidle -w timeout 300 'swaylock -f -c 000000' before-sleep 'swaylock -f -c 000000'
$capturing = grim -g "$(slurp)" - | swappy -f -

View File

@ -1,23 +0,0 @@
gui:
authorColors:
"*": "#b4befe"
theme:
activeBorderColor:
- "#cba6f7"
- bold
inactiveBorderColor:
- "#a6adc8"
optionsTextColor:
- "#89b4fa"
selectedLineBgColor:
- "#313244"
cherryPickedCommitBgColor:
- "#45475a"
cherryPickedCommitFgColor:
- "#cba6f7"
unstagedChangesColor:
- "#f38ba8"
defaultFgColor:
- "#cdd6f4"
searchingActiveBorderColor:
- "#f9e2af"

82
setup_ubuntu.sh Normal file
View File

@ -0,0 +1,82 @@
#!/usr/bin/env bash
set -euo pipefail
SCRIPT_NAME=$(basename "$0")
echo "\n=== Ubuntu Repos and Plugins Setup Script ===\n"
# Determine Ubuntu codename
CODENAME=$(lsb_release -cs)
echo "Detected Ubuntu codename: $CODENAME"
# Function to add PPA if not present
add_ppa() {
local PPA="$1"
if ! grep -Rq "${PPA#*:}" /etc/apt/sources.list.d; then
echo "Adding PPA: $PPA"
sudo add-apt-repository -y "$PPA"
else
echo "PPA already exists: $PPA"
fi
}
# Function to add Docker repo
add_docker_repo() {
local KEYRING="/usr/share/keyrings/docker-archive-keyring.gpg"
if [ ! -f "$KEYRING" ]; then
echo "Adding Docker GPG key and repository"
curl -fsSL https://download.docker.com/linux/ubuntu/gpg |
sudo gpg --dearmor -o "$KEYRING"
echo "deb [arch=amd64 signed-by=$KEYRING] https://download.docker.com/linux/ubuntu $CODENAME stable" |
sudo tee /etc/apt/sources.list.d/docker.list >/dev/null
else
echo "Docker repository already configured"
fi
}
# Add PPAs
add_ppa ppa:fish-shell/release-3
add_ppa ppa:neovim-ppa/unstable
add_ppa ppa:zhangsongcui3371/fastfetch
# Add Docker repo
add_docker_repo
# Update package list
echo "\nUpdating package lists..."
sudo apt update
# Core packages to install
CORE_PKGS=(docker-ce docker-ce-cli containerd.io fastfetch neovim fish tealdeer)
# Install each package, skip if not found
for pkg in "${CORE_PKGS[@]}"; do
if apt-cache show "$pkg" >/dev/null 2>&1; then
echo "Installing $pkg..."
sudo apt install -y "$pkg"
else
echo "Package not found in repos, skipping: $pkg"
fi
done
# Fisher and fish plugins
echo "\nInstalling Fisher and fish plugins..."
fish -c 'curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher'
fish -c 'fisher install bruno-ricard/fish-autopair Pure-Fish/pure'
# Atuin installation
if ! command -v atuin >/dev/null 2>&1; then
echo "\nInstalling Atuin"
curl -sS https://raw.githubusercontent.com/ellie/atuin/main/install.sh | bash
else
echo "Atuin already installed"
fi
# Change default shell to fish
if [ "$SHELL" != "$(which fish)" ]; then
echo "Changing default shell to fish"
chsh -s "$(which fish)"
else
echo "Default shell is already fish"
fi
echo "\n=== Setup Complete! Restart your terminal to apply changes. ==="

View File

@ -1,3 +0,0 @@
#!/usr/bin/env bash
grim -g "$(slurp)" - | swappy -f -

View File

@ -1,3 +0,0 @@
#!/usr/bin/env bash
grim - | wl-copy -t image/png;notify-send "Screenshot copied to clipboard"

View File

@ -1,3 +0,0 @@
#!/usr/bin/env bash
grim -g "$(hyprctl clients -j | jq '.[] | select(.hidden | not) | "\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"' -r | slurp)" - | swappy -f -

View File

@ -1,4 +0,0 @@
#!/usr/bin/env bash
## only support EN
grim -g "$(slurp)" - | tesseract -l "eng" stdin stdout | wl-copy;notify-send "OCR content copied to clipboard"

View File

@ -1,3 +0,0 @@
#!/usr/bin/env bash
grim -g "$(swaymsg -t get_tree | jq -r '.. | select(.pid? and .visible?) | .rect | "\(.x),\(.y) \(.width)x\(.height)"' | slurp)" - | swappy -f -

View File

@ -1,6 +0,0 @@
allow_images=true
hide_scroll=true
no_actions=false
term=alacritty
mode=drun
--show

View File

@ -1,46 +0,0 @@
* {
font-family: "Hack", monospace;
}
window {
background-color: #3B4252;
}
#input {
margin: 5px;
border-radius: 0px;
border: none;
background-color: #3B4252;
color: white;
}
#inner-box {
background-color: #383C4A;
}
#outer-box {
margin: 2px;
padding: 10px;
background-color: #383C4A;
}
#scroll {
margin: 5px;
}
#text {
padding: 4px;
color: white;
}
#entry:nth-child(even){
background-color: #404552;
}
#entry:selected {
background-color: #4C566A;
}
#text:selected {
background: transparent;
}