Update config

i3
yutent 2023-06-29 15:56:35 +08:00 committed by GitHub
parent a21dc858bf
commit 22f4c76912
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 11 deletions

View File

@ -18,7 +18,7 @@ floating_minimum_size 640 x 480
for_window [class="Alacritty"] floating enable
# 设置浮动窗口有标题栏, 平铺窗口没有 (有点bug, 标题栏去掉之后, 恢复不回来, 下面加了一组快捷键恢复标题栏)
for_window [floating] border inormal
for_window [floating] border normal
for_window [tiling] border none
# Start XDG autostart .desktop files using dex. See also
@ -73,19 +73,22 @@ bindsym Ctrl+$alt+Shift+a exec --no-startup-id flameshot gui -d 2000
# 绑定切换窗口布局的快捷键, 在堆叠和平铺中切换
bindsym $mod+F9 layout toggle stacking split
# 显示窗口的标题栏, 用来解决上面提到的bug
bindsym $mod+Shift+Insert border normal
# 来回切平铺方向
bindsym $mod+Shift+equal layout toggle splith splitv
# 来回将当前窗口改为平铺或浮动
bindsym $mod+Shift+space floating toggle
# 显示窗口的标题栏, 用来解决上面提到的bug
bindsym $mod+Shift+Insert border normal
# 设置下个平铺窗口的拆分方向, 横向, backslash为反斜杠键
bindsym $mod+$alt+backslash split h
bindsym $mod+backslash split h
# 同上, 此为纵向, equal 即为"等号键"
bindsym $mod+$alt+equal split v
bindsym $mod+equal split v
# 来回切换全屏
bindsym F11 fullscreen toggle
@ -98,10 +101,10 @@ set $ws3 "3"
set $ws4 "4"
# 切换工作区的快捷键
bindsym $mod+1 workspace number $ws1
bindsym $mod+2 workspace number $ws2
bindsym $mod+3 workspace number $ws3
bindsym $mod+4 workspace number $ws4
bindsym Ctrl+1 workspace number $ws1
bindsym Ctrl+2 workspace number $ws2
bindsym Ctrl+3 workspace number $ws3
bindsym Ctrl+4 workspace number $ws4
bindsym Ctrl+Tab workspace next
bindsym Ctrl+Shift+Tab workspace prev