diff --git a/home/config/i3/config b/home/config/i3/config index 9100843..5fbda28 100644 --- a/home/config/i3/config +++ b/home/config/i3/config @@ -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 @@ -117,4 +120,4 @@ bindsym $mod+Shift+c reload # 重启i3 bindsym $mod+Shift+r restart # exit i3 (logs you out of your X session) -#bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" \ No newline at end of file +#bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"