forked from litoj/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path20_layout.swayconf
95 lines (85 loc) · 2.94 KB
/
20_layout.swayconf
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
## Window style
default_floating_border pixel $border
default_border pixel $border
gaps inner $gaps
font cursive 15
# # SwayFX specific
# corner_radius 15
# smart_corner_radius on
# default_dim_inactive 0.15
# dim_inactive_colors.unfocused #888888ff
# blur enable
# blur_radius 2
# shadow_color $fc
# shadow_blur_radius 40
# for_window [title="Picture-in-Picture"] dim_inactive 0
# for_window [app_id="mpv"] dim_inactive 0
for_window [app_id="dragon-drop"] floating enable, sticky enable, move position mouse
for_window [app_id="com.github.hluk.copyq"] floating enable, sticky enable
for_window [app_id="firefox" title="Picture-in-Picture|Obraz v obraze"] \
floating enable, sticky enable, border pixel $border, inhibit_idle fullscreen
for_window [title=".*Android Emulator.*"] floating enable, border none
for_window [title="win0"] floating enable
for_window [app_id="cpupower-gui"] floating enable, border pixel $border
for_window [app_id="thunderbird" instance="Calendar"] floating enable
for_window [app_id="thunderbird" instance="Msgcompose"] floating enable
for_window [class="scrcpy"] focus, floating enable, move position -1 191, resize set 1922 890
for_window [class="Ripcord" title="Edit Message"] floating enable
for_window [instance="gimp"] focus
# Use Mouse+↓ to drag floating windows
floating_modifier $Mod
xwayland enable
focus_on_window_activation smart
focus_follows_mouse no
focus_wrapping workspace
mouse_warping output
force_display_urgency_hint 0 ms
## Workspaces
workspace $wGame gaps inner 0
hide_edge_borders smart
smart_gaps on
assign [title="Transmission"] $w1
assign [app_id="firefox"] $wBrowser
assign [class="NetBeans|jetbrains-.*|ea.exe"] $wCode
assign [app_id="mpv|gimp|Inkscape|darktable|rawtherapee"] $wMedia
assign [instance="gimp|ART.bin"] $wMedia
assign [class="Ripcord"] $wMsg
assign [app_id="thunderbird|tutanota-desktop|Slack"] $wMsg
assign [title="^Minecraft.? 1\.[1-2][0-9][0-9.]*$"] $wGame
assign [app_id="org.prismlauncher.*"] $wGame
# assign [class=".*.exe"] $wGame
assign [class="[sS]team.*"] $wGame
# Outputs
output $d1 pos 0 1200
output 'Dell Inc. DELL U2412M 0FFXD4BO2T3S' pos 0 0
output $dMedia adaptive_sync on scale 2
workspace $w1 output $d1
workspace $w2 output $dMedia
workspace $w3 output $d2
workspace $wBrowser output $d2
workspace $wMedia output $dMedia
workspace $wGame output $dMedia
# Window border colours
# class border bg fg indic. child_bor.
client.focused $foc $foc $fg $con $foc
client.focused_inactive $bor $bgt $fg $bor $bor
client.unfocused $bor $bgt $fg $bor $bor
## Statusbar setup
bar {
height 24
status_command i3blocks
# modes: dock, hide, invisible
mode dock
modifier $Mod+Ctrl
separator_symbol " "
position top
colors {
statusline $fg
background $bg
# name border bg fg
focused_workspace $bg $bg $foc
active_workspace $foc $bg $fg
inactive_workspace $bg $bg $fg
urgent_workspace $bg $bg $err
}
}