我对i3的一些自定义配置:
将默认终端修改为lilyterm1
bindsym $mod+Return exec lilyterm
jkl;
修改为hjkl
1
2
3
4
5
6
7
8
9bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right
修改工作区名1
2
3
4
5bindsym $mod+1 workspace 1 Terminal&Editor
bindsym $mod+2 workspace 2 Browser
bindsym $mod+Shift+1 move container to workspace 1 Terminal&Editor
bindsym $mod+Shift+2 move container to workspace 2 Browser
添加锁屏、关机
等功能,按$mod+Shift+e
呼出1
2
3
4
5
6
7
8
9
10
11
12
13
14set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown
mode "$mode_system" {
bindsym l exec --no-startup-id ~/bin/i3exit lock, mode "default"
bindsym e exec --no-startup-id ~/bin/i3exit logout, mode "default"
bindsym s exec --no-startup-id ~/bin/i3exit suspend, mode "default"
bindsym h exec --no-startup-id ~/bin/i3exit hibernate, mode "default"
bindsym r exec --no-startup-id ~/bin/i3exit reboot, mode "default"
bindsym Shift+s exec --no-startup-id ~/bin/i3exit shutdown, mode "default"
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+Shift+e mode "$mode_system"
关闭鼠标自动聚焦1
focus_follows_mouse no
绑定截图与文件管理器快捷键1
2bindsym $mod+Print exec xfce4-screenshooter
bindsym $mod+Shift+d exec thunar
关闭Chrome标题栏1
for_window [class="Google-chrome" title="Google Chrome"] border none
进入桌面后启动nitrogen(设置壁纸)和fcitx1
2exec --no-startup-id nitrogen --restore
exec --no-startup-id fcitx
ps:最近又被Google Plus上某黑叔叔 +dagnachew argaw 安利 bspwm …又要启程折腾了>°)))>彡