blob: c8d8dd715e2df1e4a49637ae76a9f017d28bb696 (
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
set $mod Mod4
set $ws1 "1"
set $ws2 "2"
set $ws3 "3"
set $ws4 "4"
set $wsa "a"
set $wss "s"
set $wsd "d"
set $wsf "f"
floating_modifier $mod
font pango:Droid Sans 11
default_border normal 3
workspace $ws1 output eDP-1
workspace $ws2 output eDP-1
workspace $ws3 output eDP-1
workspace $ws4 output eDP-1
workspace $wsa output DP-4
workspace $wss output DP-4
workspace $wsd output DP-4
workspace $wsf output DP-4
output eDP-1 {
position 0 0
background ~/.dotfiles/pictures/bg1.jpg fill
}
output DP-4 {
position 1920 0
background ~/.dotfiles/pictures/bg2.jpg fill
}
bindsym $mod+Return exec alacritty
bindsym $mod+Shift+q kill
bindsym $mod+space exec --no-startup-id wofi --show run
bindsym $mod+backslash split h
bindsym $mod+minus split v
bindsym $mod+Shift+Return fullscreen toggle
#bindsym $mod+s layout stacking
#bindsym $mod+w layout tabbed
#bindsym $mod+e layout toggle split
bindsym $mod+Shift+space floating toggle
#bindsym $mod+space focus mode_toggle
bindsym $mod+p focus parent
bindsym $mod+r mode "resize"
bindsym $mod+Shift+r restart
bindsym $mod+Shift+e exit
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right 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
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
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
mode "resize" {
bindsym h resize shrink width 10 px or 10 ppt
bindsym j resize grow height 10 px or 10 ppt
bindsym k resize shrink height 10 px or 10 ppt
bindsym l resize grow width 10 px or 10 ppt
bindsym Left resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt
bindsym Up resize shrink height 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym $mod+r mode "default"
}
bar {
swaybar_command waybar
}
exec --no-startup-id alacritty --class scratchpad_term -e tmux new-session -A -s default
for_window [app_id="scratchpad_term"] move scratchpad
bindsym F12 [app_id="scratchpad_term"] scratchpad show, \
resize set 100 ppt 100 ppt, \
move position center
|