My i3config configuration

My i3wm Profile Description

i3configFile Location:~/.i3/config

1. Terminal replaced alacritty, replace the associated binding

# start a terminal
#bindsym $mod+Return exec terminal
bindsym $mod+Return exec alacritty

# bindsym $mod+Ctrl+m exec terminal -e 'alsamixer'
bindsym $mod+Ctrl+m exec alacritty -e 'alsamixer'

#bindsym $mod+Ctrl+b exec terminal -e 'bmenu'
bindsym $mod+Ctrl+b exec alacritty -e 'bmenu'

# bindsym $mod+F5 exec terminal -e 'mocp'
bindsym $mod+F5 exec alacritty -e 'mocp'

2. Use rofi replace dmenu

# start program launcher
# bindsym $mod+d exec --no-startup-id dmenu_recency
bindsym $mod+d exec --no-startup-id rofi -show drun -theme fancy
#bindsym $mod+d exec --no-startup-id rofi -show run -theme fancy

3. google-chrome replace Pale Moon browser bindings

# bindsym $mod+F2 exec palemoon # uninstall web browser base on firfox
bindsym $mod+G exec --no-startup-id google-chrome-stable

4. boot desktop background, open compton filters

exec --no-startup-id nitrogen --restore; sleep 1; compton -b

The depth of the binding theme (not to be solved using the clipboard)

bindsym $mod+Shift+A exec --no-startup-id deepin-screenshot

6. Set the workspace names

# Workspace names
# to display names or symbols instead of plain workspace numbers you can use
# something like: set $ws1 1:mail
#                 set $ws2 2:
set $ws1 1:  
set $ws2 2:  
set $ws3 3:  
set $ws4 4:  
set $ws5 5:  
set $ws6 6:  
set $ws7 7:   
set $ws8 8:  

7. Set the specified program is started, the default workspace which started in

assign [class="(?i)Chrome"] $ws2
assign [class="Typora"] $ws3
assign [class="code-oss"] $ws4
assign [class="netease-cloud-music"] $ws5
assign [class="vlc"] $ws5
assign [class="wechat"] $ws5

8. Alternatively blurlock i3lock-fancy

# Lock screen
#bindsym $mod+9 exec --no-startup-id blurlock
bindsym $mod+9 exec --no-startup-id i3lock-fancy

9. Configuration i3bar

# Start i3bar to display a workspace bar (plus the system information i3status if available)
bar {
    i3bar_command i3bar
    # 设置不显示workspace numbers
    strip_workspace_numbers no 
    status_command i3status
    # 显示网速的插件 git 上找的
    status_command ~/.config/i3status/net-speed.sh
    position top
    

10. The boot manager fcitx input

# 开机启动输入法
exec --no-startup-id fcitx

My Profile Archive

Gitee:https://gitee.com/siyingcheng/my_manjaro_i3wm_config/blob/master/i3/config

Guess you like

Origin www.cnblogs.com/siyingcheng/p/11706315.html