Added workspace rules and namesw
parent
fb51fefbdf
commit
4d6ddafdf1
43
i3/config
43
i3/config
|
@ -9,10 +9,11 @@ font pango: Noto Sans 8
|
||||||
floating_modifier $super
|
floating_modifier $super
|
||||||
|
|
||||||
#autostart
|
#autostart
|
||||||
exec --no-startup-id hsetroot -cover ~/Pictures/wallpaper/wallhaven-39gogv.jpg
|
exec_always --no-startup-id hsetroot -cover ~/Pictures/wallpaper/wallhaven-39gogv.jpg
|
||||||
exec --no-startup-id xsettingsd &
|
exec --no-startup-id xsettingsd &
|
||||||
exec --no-startup-id compton -b
|
exec --no-startup-id compton -b
|
||||||
exec --no-startup-id ibus-daemon &
|
exec --no-startup-id ibus-daemon &
|
||||||
|
exec --no-startup-id spotify
|
||||||
|
|
||||||
# start a terminal
|
# start a terminal
|
||||||
bindsym $super+Return exec i3-sensible-terminal
|
bindsym $super+Return exec i3-sensible-terminal
|
||||||
|
@ -97,20 +98,33 @@ bindsym $super+Shift+space focus mode_toggle
|
||||||
# switch to workspace
|
# switch to workspace
|
||||||
bindsym $alt+Control+Right workspace next
|
bindsym $alt+Control+Right workspace next
|
||||||
bindsym $alt+Control+Left workspace prev
|
bindsym $alt+Control+Left workspace prev
|
||||||
bindsym $super+1 workspace 1
|
|
||||||
bindsym $super+2 workspace 2
|
set $workspace1 "1: Terminal"
|
||||||
bindsym $super+3 workspace 3
|
set $workspace2 "2: "
|
||||||
bindsym $super+4 workspace 4
|
set $workspace3 "3: "
|
||||||
|
set $workspace4 "4: Editor"
|
||||||
|
set $workspace9 "9: Music"
|
||||||
|
|
||||||
|
bindsym $super+1 workspace $workspace1
|
||||||
|
bindsym $super+2 workspace $workspace2
|
||||||
|
bindsym $super+3 workspace $workspace3
|
||||||
|
bindsym $super+4 workspace $workspace4
|
||||||
bindsym $super+5 workspace 5
|
bindsym $super+5 workspace 5
|
||||||
bindsym $super+6 workspace 6
|
bindsym $super+6 workspace 6
|
||||||
|
bindsym $super+7 workspace 7
|
||||||
|
bindsym $super+8 workspace 8
|
||||||
|
bindsym $super+9 workspace $workspace9
|
||||||
|
|
||||||
# move focused container to workspace
|
# move focused container to workspace
|
||||||
bindsym $super+Shift+1 move container to workspace 1
|
bindsym $super+Shift+1 move container to workspace $workspace1
|
||||||
bindsym $super+Shift+2 move container to workspace 2
|
bindsym $super+Shift+2 move container to workspace $workspace2
|
||||||
bindsym $super+Shift+3 move container to workspace 3
|
bindsym $super+Shift+3 move container to workspace $workspace3
|
||||||
bindsym $super+Shift+4 move container to workspace 4
|
bindsym $super+Shift+4 move container to workspace $workspace4
|
||||||
bindsym $super+Shift+5 move container to workspace 5
|
bindsym $super+Shift+5 move container to workspace 5
|
||||||
bindsym $super+Shift+6 move container to workspace 6
|
bindsym $super+Shift+6 move container to workspace 6
|
||||||
|
bindsym $super+Shift+7 move container to workspace 7
|
||||||
|
bindsym $super+Shift+8 move container to workspace 8
|
||||||
|
bindsym $super+Shift+9 move container to workspace $workspace9
|
||||||
|
|
||||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||||
bindsym $super+Shift+r restart
|
bindsym $super+Shift+r restart
|
||||||
|
@ -146,12 +160,13 @@ bar {
|
||||||
|
|
||||||
# window rules, you can find the window class using xprop
|
# window rules, you can find the window class using xprop
|
||||||
for_window [class=".*"] border pixel 4
|
for_window [class=".*"] border pixel 4
|
||||||
assign [class=URxvt] 1
|
assign [class=URxvt] $workspace1
|
||||||
assign [class=Firefox|Transmission-gtk] 2
|
assign [class=Firefox|Transmission-gtk] $workspace2
|
||||||
assign [class=Thunar|File-roller] 3
|
assign [class=Thunar|File-roller] $workspace3
|
||||||
assign [class=Geany|Evince|Gucharmap|Soffice|libreoffice*] 4
|
assign [class=Code|Geany|Evince|Gucharmap|Soffice|libreoffice*] $workspace4
|
||||||
assign [class=Audacity|Vlc|mpv|Ghb|Xfburn|Gimp*|Inkscape] 5
|
assign [class=Audacity|Vlc|mpv|Ghb|Xfburn|Gimp*|Inkscape] 5
|
||||||
assign [class=Lxappearance|System-config-printer.py|Lxtask|GParted|Pavucontrol|Exo-helper*|Lxrandr|Arandr] 6
|
assign [class=Lxappearance|System-config-printer.py|Lxtask|GParted|Pavucontrol|Exo-helper*|Lxrandr|Arandr] 6
|
||||||
|
assign [class=Spotify] $workspace9
|
||||||
for_window [class=Viewnior|feh|Audacious|File-roller|Lxappearance|Lxtask|Pavucontrol] floating enable
|
for_window [class=Viewnior|feh|Audacious|File-roller|Lxappearance|Lxtask|Pavucontrol] floating enable
|
||||||
for_window [class=URxvt|Firefox|Geany|Evince|Soffice|libreoffice*|mpv|Ghb|Xfburn|Gimp*|Inkscape|Vlc|Lxappearance|Audacity] focus
|
for_window [class=URxvt|Firefox|Geany|Evince|Soffice|libreoffice*|mpv|Ghb|Xfburn|Gimp*|Inkscape|Vlc|Lxappearance|Audacity] focus
|
||||||
for_window [class=Xfburn|GParted|System-config-printer.py|Lxtask|Pavucontrol|Exo-helper*|Lxrandr|Arandr] focus
|
for_window [class=Xfburn|GParted|System-config-printer.py|Lxtask|Pavucontrol|Exo-helper*|Lxrandr|Arandr] focus
|
||||||
|
|
Loading…
Reference in New Issue