Merge branch 'master' of https://github.com/yutent/i3-logs
commit
3f2b6d0c83
|
@ -18,7 +18,7 @@ floating_minimum_size 640 x 480
|
||||||
for_window [class="Alacritty"] floating enable
|
for_window [class="Alacritty"] floating enable
|
||||||
|
|
||||||
# 设置浮动窗口有标题栏, 平铺窗口没有 (有点bug, 标题栏去掉之后, 恢复不回来, 下面加了一组快捷键恢复标题栏)
|
# 设置浮动窗口有标题栏, 平铺窗口没有 (有点bug, 标题栏去掉之后, 恢复不回来, 下面加了一组快捷键恢复标题栏)
|
||||||
for_window [floating] border inormal
|
for_window [floating] border normal
|
||||||
for_window [tiling] border none
|
for_window [tiling] border none
|
||||||
|
|
||||||
# Start XDG autostart .desktop files using dex. See also
|
# 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
|
bindsym $mod+F9 layout toggle stacking split
|
||||||
|
|
||||||
|
# 来回切平铺方向
|
||||||
# 显示窗口的标题栏, 用来解决上面提到的bug
|
bindsym $mod+Shift+equal layout toggle splith splitv
|
||||||
bindsym $mod+Shift+Insert border normal
|
|
||||||
|
|
||||||
# 来回将当前窗口改为平铺或浮动
|
# 来回将当前窗口改为平铺或浮动
|
||||||
bindsym $mod+Shift+space floating toggle
|
bindsym $mod+Shift+space floating toggle
|
||||||
|
|
||||||
|
# 显示窗口的标题栏, 用来解决上面提到的bug
|
||||||
|
bindsym $mod+Shift+Insert border normal
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# 设置下个平铺窗口的拆分方向, 横向, backslash为反斜杠键
|
# 设置下个平铺窗口的拆分方向, 横向, backslash为反斜杠键
|
||||||
bindsym $mod+$alt+backslash split h
|
bindsym $mod+backslash split h
|
||||||
|
|
||||||
# 同上, 此为纵向, equal 即为"等号键"
|
# 同上, 此为纵向, equal 即为"等号键"
|
||||||
bindsym $mod+$alt+equal split v
|
bindsym $mod+equal split v
|
||||||
|
|
||||||
# 来回切换全屏
|
# 来回切换全屏
|
||||||
bindsym F11 fullscreen toggle
|
bindsym F11 fullscreen toggle
|
||||||
|
@ -98,10 +101,10 @@ set $ws3 "3"
|
||||||
set $ws4 "4"
|
set $ws4 "4"
|
||||||
|
|
||||||
# 切换工作区的快捷键
|
# 切换工作区的快捷键
|
||||||
bindsym $mod+1 workspace number $ws1
|
bindsym Ctrl+1 workspace number $ws1
|
||||||
bindsym $mod+2 workspace number $ws2
|
bindsym Ctrl+2 workspace number $ws2
|
||||||
bindsym $mod+3 workspace number $ws3
|
bindsym Ctrl+3 workspace number $ws3
|
||||||
bindsym $mod+4 workspace number $ws4
|
bindsym Ctrl+4 workspace number $ws4
|
||||||
bindsym Ctrl+Tab workspace next
|
bindsym Ctrl+Tab workspace next
|
||||||
bindsym Ctrl+Shift+Tab workspace prev
|
bindsym Ctrl+Shift+Tab workspace prev
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue