mirror of
https://gitee.com/hotalexnet/openbsd.git
synced 2026-01-11 09:07:58 +08:00
20250906
This commit is contained in:
parent
05286d97e2
commit
679a1d9e8f
8 changed files with 26 additions and 4 deletions
|
|
@ -55,7 +55,7 @@ bindsym Control+u exec urxvt
|
|||
bindsym Control+n exec nvim-qt
|
||||
bindsym Control+f exec firefox
|
||||
bindsym Control+g exec gvim
|
||||
bindsym Control+k exec kitty
|
||||
bindsym Control+k exec /home/alex/bin/kitty-chinese.sh
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ ctrl + n
|
|||
nvim-qt
|
||||
|
||||
ctrl + k
|
||||
kitty
|
||||
/home/alex/bin/kitty-chinese.sh
|
||||
|
||||
super + e
|
||||
rofi -show run -theme gruvbox-dark -show-icons
|
||||
|
|
|
|||
2
.cwmrc
2
.cwmrc
|
|
@ -95,7 +95,7 @@ bind-key C-g gvim # Ctrl+g 打开Vim
|
|||
bind-key C-u urxvt # Ctrl+u 打开urxvt
|
||||
bind-key C-n nvim-qt # Ctrl+n 打开Neovim
|
||||
bind-key C-m firefox # Ctrl+m 打开firefox
|
||||
bind-key C-k kitty # Ctrl+k 打开kitty
|
||||
bind-key C-k /home/alex/bin/kitty-chinese.sh # Ctrl+k 打开kitty
|
||||
|
||||
# 窗口操作设置快捷键
|
||||
bind-key 4-equal window-vmaximize # Win+= 窗口垂直最大化
|
||||
|
|
|
|||
1
.kshrc
1
.kshrc
|
|
@ -10,6 +10,7 @@ alias ll='colorls -Gal'
|
|||
alias df='df -h'
|
||||
alias du='du -sh'
|
||||
alias ifconfig='/home/alex/color_ifconfig'
|
||||
alias kitty="GLFW_IM_MODULE=ibus kitty"
|
||||
|
||||
#set -o vi
|
||||
# export PS1='\[\e[32m\]\u@\h:\w\[\e[0m\]$ '
|
||||
|
|
|
|||
10
.local/share/applications/kitty.desktop
Normal file
10
.local/share/applications/kitty.desktop
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Name=kitty
|
||||
GenericName=Terminal emulator
|
||||
Comment=Fast, feature-rich, GPU based terminal
|
||||
TryExec=kitty
|
||||
Exec=env GLFW_IM_MODULE=ibus kitty
|
||||
Icon=kitty
|
||||
Categories=System;TerminalEmulator;
|
||||
8
.local/share/applications/userapp-Firefox-QUHQB3.desktop
Normal file
8
.local/share/applications/userapp-Firefox-QUHQB3.desktop
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Version=1.0
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
Exec=/usr/local/lib/firefox/firefox %u
|
||||
Name=Firefox
|
||||
Comment=Firefox 的自定义
|
||||
|
|
@ -19,7 +19,7 @@ program[term] = /usr/X11R6/bin/xterm
|
|||
program[rxvt] = /usr/local/bin/urxvt
|
||||
program[browser] = /usr/local/bin/firefox
|
||||
program[neovim] = /usr/local/bin/nvim-qt
|
||||
program[kitty] = /usr/local/bin/kitty
|
||||
program[kitty] = /home/alex/bin/kitty-chinese.sh
|
||||
program[rofi_drun] = /usr/local/bin/rofi -show drun -theme gruvbox-dark -show-icons
|
||||
program[rofi_run] = /usr/local/bin/rofi -show run -theme gruvbox-dark -show-icons
|
||||
program[rofi_window] = /usr/local/bin/rofi -show window -theme gruvbox-dark -show-icons
|
||||
|
|
|
|||
3
bin/kitty-chinese.sh
Executable file
3
bin/kitty-chinese.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
export GLFW_IM_MODULE=ibus
|
||||
exec kitty "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue