aboutsummaryrefslogtreecommitdiff
path: root/i3/config
blob: 90a6ebd6fcaca824b4135d4b671ac25ab1bb4243 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
set $mod Mod4
set $ws1 "1:1"
set $ws2 "2:2"
set $ws3 "3:3"
set $ws4 "4:4"
set $wsa "5:a"
set $wss "6:s"
set $wsd "7:d"
set $wsf "8:f"
set $wst "9:term"

floating_modifier $mod
font pango:Droid Sans 11
default_border normal 3

workspace $ws1 output primary
workspace $ws2 output primary
workspace $ws3 output primary
workspace $ws4 output primary
workspace $wsa output DP1-1 DP1-2 DP1 primary
workspace $wss output DP1-1 DP1-2 DP1 primary
workspace $wsd output DP1-1 DP1-2 DP1 primary
workspace $wsf output DP1-1 DP1-2 DP1 primary

bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3
bindsym $mod+4 workspace $ws4
bindsym $mod+a workspace $wsa
bindsym $mod+s workspace $wss
bindsym $mod+d workspace $wsd
bindsym $mod+f workspace $wsf

bindsym $mod+Shift+1 move container to workspace $ws1
bindsym $mod+Shift+2 move container to workspace $ws2
bindsym $mod+Shift+3 move container to workspace $ws3
bindsym $mod+Shift+4 move container to workspace $ws4
bindsym $mod+Shift+a move container to workspace $wsa
bindsym $mod+Shift+s move container to workspace $wss
bindsym $mod+Shift+d move container to workspace $wsd
bindsym $mod+Shift+f move container to workspace $wsf

bar {
    status_command py3status
    tray_output primary
    strip_workspace_numbers yes
    workspace_min_width 40
    font pango:Font Awesome 5 Free, Font Awesome 5 Brands, Droid Sans Mono 12
}

exec_always --no-startup-id feh --bg-scale ~/.dotfiles/pictures/bg1.jpg \
                                           ~/.dotfiles/pictures/bg2.jpg

for_window [instance="scratchpad_term"] move container to workspace $wst