-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsubtle.toml
More file actions
930 lines (836 loc) · 23 KB
/
subtle.toml
File metadata and controls
930 lines (836 loc) · 23 KB
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
#
# Author:: Christoph Kappel <christoph@unexist.dev>
# Version:: $Id$
# License:: GNU GPLv3
#
# = Subtle default configuration
#
# This file will be installed as default and can also be used as a starter for
# an own custom configuration file. The system wide config usually resides in
# +/etc/xdg/subtle+ and the user config in +HOME/.config/subtle+, both locations
# are dependent on the locations specified by +XDG_CONFIG_DIRS+ and
# +XDG_CONFIG_HOME+.
#
#
# == Options
#
# Following options change behaviour and sizes of the window manager:
#
[subtle]
# Window move/resize steps in pixel per keypress
increase_step = 5
# Window screen border snapping
border_snap = 10
# Default starting gravity for windows. Comment out to use gravity of
# currently active client
default_gravity = "center"
# Make dialog windows urgent and draw focus
urgent_dialogs = false
# Honor resize size hints globally
honor_size_hints = false
# Enable gravity tiling for all gravities
gravity_tiling = false
# Enable click-to-focus focus model
click_to_focus = false
# Skip pointer movement on e.g. gravity change
skip_pointer_warp = false
# Skip pointer movement to urgent windows
skip_urgent_warp = false
# Set the WM_NAME of subtle (Java quirk)
#wm_name = "LG3D"
# == Styles
#
# Styles define various properties of styleable items in a CSS-like syntax.
# Undefined styles inherit the values from the all style element.
#
# Following properties are available for most the styles:
#
# [*foreground*] Foreground text color
# [*background*] Background color
# [*margin*] Outer spacing
# [*border*] Border color and size
# [*padding*] Inner spacing
# [*font*] Font string (xftontsel or xft)
#
#
# === Links
#
# https://subtle.rs/projects/subtle/wiki/Styles
# Style for all style elements
[[style]]
kind = "all"
foreground = "#757575"
background = "#202020"
icon = "#757575"
padding = [0, 3]
font = "-*-*-*-*-*-*-14-*-*-*-*-*-*-*"
#font = "xft:sans-8"
# Style for the all views
[[style]]
kind = "views"
# Style for the active views
[[style]]
kind = "active_views"
foreground = "#fecf35"
# Style for occupied views (views with clients)
[[style]]
kind = "occupied_views"
foreground = "#b8b8b8"
# Style for visible views
[[style]]
kind = "visible_views"
foreground = "#b8b8b8"
# Style for separator
[[style]]
kind = "separator"
separator = "|"
# Style for focus window title
[[style]]
kind = "title"
foreground = "#fecf35"
width = 50
# Style for urgent window titles and views
[[style]]
kind = "urgent"
foreground = "#ff9800"
# Style for active/inactive windows
[[style]]
kind = "clients"
active = "#757575"
inactive = "#202020"
margin = 5
padding = 5
border_width = 2
# Style for tray
#[[style]]
#kind = "tray"
# Style for top panel
#[[style]]
#kind = "top_panel"
# Style for bottom panel
#[[style]]
#kind = "bottom_panel"
#
# == Gravities
#
# Gravities are predefined sizes a window can be set to. There are several ways
# to set a certain gravity, most convenient is to define a gravity via a tag or
# change them during runtime via grab. Subtler and subtlext can also modify
# gravities.
#
# A gravity consists of four values which are a percentage value of the screen
# size. The first two values are x and y starting at the center of the screen
# and he last two values are the width and height.
#
# === Example
#
# Following defines a gravity for a window with 100% width and height:
#
# gravity.example = [ 0, 0, 100, 100 }
#
# === Link
#
# https://subtle.rs/projects/subtle/wiki/Gravity
#
[[gravity]]
name = "top_left"
x = 0
y = 0
width = 50
height = 50
[[gravity]]
name = "top_left66"
x = 0
y = 0
width = 50
height = 66
[[gravity]]
name = "top_left33"
x = 0
y = 0
width = 50
height = 34
# Top
[[gravity]]
name = "top"
x = 0
y = 0
width = 100
height = 50
[[gravity]]
name = "top66"
x = 0
y = 0
width = 100
height = 66
[[gravity]]
name = "top33"
x = 0
y = 0
width = 100
height = 34
# Top right
[[gravity]]
name = "top_right"
x = 50
y = 0
width = 50
height = 50
[[gravity]]
name = "top_right66"
x = 50
y = 0
width = 50
height = 66
[[gravity]]
name = "top_right33"
x = 50
y = 0
width = 50
height = 33
# Left
[[gravity]]
name = "left"
x = 0
y = 0
width = 50
height = 100
[[gravity]]
name = "left66"
x = 0
y = 0
width = 66
height = 100
[[gravity]]
name = "left33"
x = 0
y = 0
width = 33
height = 100
# Center
[[gravity]]
name = "center"
x = 0
y = 0
width = 100
height = 100
[[gravity]]
name = "center66"
x = 17
y = 17
width = 66
height = 66
[[gravity]]
name = "center33"
x = 33
y = 33
width = 33
height = 33
# Right
[[gravity]]
name = "right"
x = 50
y = 0
width = 50
height = 100
[[gravity]]
name = "right66"
x = 34
y = 0
width = 66
height = 100
[[gravity]]
name = "right33"
x = 67
y = 0
width = 33
height = 100
# Bottom left
[[gravity]]
name = "bottom_left"
x = 0
y = 50
width = 50
height = 50
[[gravity]]
name = "bottom_left66"
x = 0
y = 34
width = 50
height = 66
[[gravity]]
name = "bottom_left33"
x = 0
y = 67
width = 50
height = 33
# Bottom
[[gravity]]
name = "bottom"
x = 0
y = 50
width = 100
height = 50
[[gravity]]
name = "bottom66"
x = 0
y = 34
width = 100
height = 66
[[gravity]]
name = "bottom33"
x = 0
y = 67
width = 100
height = 33
# Bottom right
[[gravity]]
name = "bottom_right"
x = 50
y = 50
width = 50
height = 50
[[gravity]]
name = "bottom_right66"
x = 50
y = 34
width = 50
height = 66
[[gravity]]
name = "bottom_right33"
x = 50
y = 67
width = 50
height = 33
# Gimp
[[gravity]]
name = "gimp_image"
x = 10
y = 0
width = 80
height = 100
[[gravity]]
name = "gimp_toolbox"
x = 0
y = 0
width = 10
height = 100
[[gravity]]
name = "gimp_dock"
x = 90
y = 0
width = 10
height = 100
#
# == Grabs
#
# Grabs are keyboard and mouse actions within subtle, every grab can be
# assigned either to a key and/or to a mouse button combination. A grab
# consists of a chain and an action.
#
# === Finding keys
#
# The best resource for getting the correct key names is
# */usr/include/X11/keysymdef.h*, but to make life easier here are some hints
# about it:
#
# * Numbers and letters keep their names, so *a* is *a* and *0* is *0*
# * Keypad keys need *KP_* as prefix, so *KP_1* is *1* on the keypad
# * Strip the *XK_* from the key names if looked up in
# /usr/include/X11/keysymdef.h
# * Keys usually have meaningful english names
# * Modifier keys have special meaning (Alt (A), Control (C), Meta (M),
# Shift (S), Super (W))
#
# === Chaining
#
# Chains are a combination of keys and modifiers to one or a list of keys
# and can be used in various ways to trigger an action. In subtle, there are
# two ways to define chains for grabs:
#
# 1. *Default*: Add modifiers to a key and use it for a grab
#
# *Example*: grab "W-Return", "urxvt"
#
# 2. *Chain*: Define a list of grabs that need to be pressed in order
#
# *Example*: grab "C-y Return", "urxvt"
#
# ==== Mouse buttons
#
# [*B1*] = Button1 (Left mouse button)
# [*B2*] = Button2 (Middle mouse button)
# [*B3*] = Button3 (Right mouse button)
# [*B4*] = Button4 (Mouse wheel up)
# [*B5*] = Button5 (Mouse wheel down)
# [*...*]
# [*B20*] = Button20 (Are you sure that this is a mouse and not a keyboard?)
#
# ==== Modifiers
#
# [*A*] = Alt key (Mod1)
# [*C*] = Control key
# [*M*] = Meta key (Mod3)
# [*S*] = Shift key
# [*W*] = Super/Windows key (Mod4)
# [*G*] = Alt Gr (Mod5)
#
# === Action
#
# An action is something that happens when a grab is activated, this can be one
# of the following:
#
# [*symbol*] Run a subtle action
# [*string*] Start a certain program
# [*array*] Cycle through gravities
# [*lambda*] Run a Ruby proc
#
# === Example
#
# This will create a grab that starts a urxvt when Alt+Enter are pressed:
#
# grab "A-Return", "urxvt"
# grab "C-a c", "urxvt"
#
# === Link
#
# https://subtle.rs/projects/subtle/wiki/Grabs
#
[grabs]
# Jump to view1, view2, ...
view_jump1 = "A-S-1"
view_jump2 = "A-S-2"
view_jump3 = "A-S-3"
view_jump4 = "A-S-4"
# Switch current view
view_switch1 = "A-1"
view_switch2 = "A-2"
view_switch3 = "A-3"
view_switch4 = "A-4"
# Select next and prev view */
view_next = "KP_Add"
view_prev = "KP_Subtract"
# Move mouse to screen1, screen2, ...
screen_jump1 = "A-C-1"
screen_jump2 = "A-C-2"
screen_jump3 = "A-C-3"
screen_jump4 = "A-C-4"
# Force reload of config and sublets
subtle_reload = "A-C-r"
# Force restart of subtle
subtle_restart = "A-C-S-r"
# Quit subtle
subtle_quit = "A-C-q"
# Move current window
window_move = "A-B1"
# Resize current window
window_resize = "A-B3"
# Toggle floating mode of window
window_float = "A-f"
# Toggle fullscreen mode of window
window_full = "A-space"
# Toggle sticky mode of window (will be visible on all views)
window_stick = "A-s"
# Toggle zaphod mode of window (will span across all screens)
window_zaphod = "A-equal"
# Raise window
window_raise = "A-r"
# Lower window
window_lower = "A-l"
# Select next windows
window_left = "A-Left"
window_down = "A-Down"
window_up = "A-Up"
window_right = "A-Right"
# Kill current window
window_kill = "A-S-k"
# Cycle between given gravities
[grabs.gravity_cycles]
"A-S-q" = [ "top_left", "top_left66", "top_left33" ]
"A-S-w" = [ "top", "top66", "top33" ]
"A-S-e" = [ "top_right", "top_right66", "top_right33" ]
"A-S-a" = [ "left", "left66", "left33" ]
"A-S-s" = [ "center", "center66", "center33" ]
"A-S-d" = [ "right", "right66", "right33" ]
"A-S-y" = [ "bottom_left", "bottom_left66", "bottom_left33" ]
"A-S-x" = [ "bottom", "bottom66", "bottom33" ]
"A-S-c" = [ "bottom_right", "bottom_right66", "bottom_right33" ]
#
# == Tags
#
# Tags are generally used in subtle for placement of windows. This placement is
# strict, that means that - aside from other tiling window managers - windows
# must have a matching tag to be on a certain view. This also includes that
# windows that are started on a certain view will not automatically be placed
# there.
#
# There are to ways to define a tag:
#
# === Simple
#
# The simple way just needs a name and a regular expression to just handle the
# placement:
#
# Example:
#
# tag "terms", "xterm|[u]?rxvt"
#
# === Extended
#
# Additionally tags can do a lot more then just control the placement - they
# also have properties than can define and control some aspects of a window
# like the default gravity or the default screen per view.
#
# Example:
#
# tag "terms" do
# match "xterm|[u]?rxvt"
# gravity :center
# end
#
# === Default
#
# Whenever a window has no tag it will get the default tag and is placed on the
# default view. The default view can either be set by the user by adding the
# default tag to a view by choice or otherwise the first defined view will be
# chosen automatically.
#
# === Modes
#
# Modes can be set with the set option, see below.
#
# [*borderless*] Enable the borderless mode for tgagged clients. When set, any borders
# around tagged clients are absent.
#
# Example: set :borderless
# Links: https://subtle.rs/projects/subtle/wiki/Tagging#Borderless
# https://subtle.rs/projects/subtle/wiki/Clients#Borderless
#
# [*fixed*] Enable the fixed mode for tagged clients. When set, the client cannot be
# resized anymore.
#
# Example: set :fixed
# Links: https://subtle.rs/projects/subtle/wiki/Tagging#Fixed
# https://subtle.rs/projects/subtle/wiki/Clients#Fixed
#
# [*floating*] Enables the float mode for tagged clients.
#
# Example: set :floating
# Links: https://subtle.rs/projects/subtle/wiki/Tagging#Floating
# https://subtle.rs/projects/subtle/wiki/Clients#Floating
#
# [*full*] Enable the fullscreen mode for tagged clients. When set, the client
# covers the whole screen size.
#
# Example: set :full
# Links: https://subtle.rs/projects/subtle/wiki/Tagging#Fullscreen
# https://subtle.rs/projects/subtle/wiki/Clients#Fullscreen
#
# [*resize*] Enable resize mode for tagged clients. When set, subtle honors size
# hints, that define various size constraints like sizes for columns
# and rows of a terminal.
#
# Example: set :resize
# Links: https://subtle.rs/projects/subtle/wiki/Tagging#Resize
# https://subtle.rs/projects/subtle/wiki/Clients#Resize
#
# [*sticky*] Enable sticky mode for tagged clients. When set, subtle keeps the
# client on the current screen, regardless of the tags.
#
# Example: set :sticky
# Links: https://subtle.rs/projects/subtle/wiki/Tagging#Sticky
#
# [*urgent*] Enables the urgent mode for tagged clients. When set, subtle
# automatically sets this client to urgent.
#
# Urgent usually means the window requires immediate attention like
# a visual bell in a term.
#
# Example: set :urgent
# Links: https://subtle.rs/projects/subtle/wiki/Tagging#Stick
# https://subtle.rs/projects/subtle/wiki/Clients#Urgent
#
# [*zaphod*] Enables the zaphod mode for tagged clients. When set, the client
# spans across all connected screens.
#
# Example: set :zaphod
# Links: https://subtle.rs/projects/subtle/wiki/Tagging#Zaphod
# https://subtle.rs/projects/subtle/wiki/Clients#Zaphod
#
# === Options
#
# [*set*] Set various modes to the tagged client. Multiple modes can be set,
# separated by comma. (See Modes)
#
# Example: set :floating, :sticky
#
# [*geometry*] Set a certain geometry for the tagged client and put it in
# floating mode, but only on views that have this tag in common.
# Expected is an array with x, y, width and height values whereas
# width and height must be >0.
#
# Example: geometry [100, 100, 50, 50]
# Link: https://subtle.rs/projects/subtle/wiki/Tagging#Geometry
#
# [*gravity*] Set a certain to gravity to the tagged client, but only on views
# that have this tag in common.
#
# Example: gravity :center
# Link: https://subtle.rs/projects/subtle/wiki/Tagging#Gravity
#
# [*match*] Add matching patterns to a tag, this can be done more than once.
#
# Matching works either via plaintext, regular expressions
# (see man regex(7)) or window id. Per default tags will only match
# the WM_NAME and the WM_CLASS portion of a client, this can be
# changed with following possible values:
#
# [*:name*] Match the WM_NAME
# [*:instance*] Match the first (instance) part from WM_CLASS
# [*:class*] Match the second (class) part from WM_CLASS
# [*:role*] Match the window role
# [*:type*] Match the window type
#
# Examples: match instance: "urxvt"
# match [:role, :class] => "test"
# match "[xa]+term"
# Link: https://subtle.rs/projects/subtle/wiki/Tagging#Match
#
# [*on_match*] Add a Ruby proc that is executed when this tag matches
#
# Example:
#
# tag "gimp" do
# match role: "gimp.*"
#
# on_match do |c|
# c.gravity = ("gimp_" + c.role.split("-")[1]).to_sym
# end
# end
#
# [*position*] Similar to the geometry option, set the x/y coordinates of the
# tagged client for views with common tags.
#
# Expected is an array with x and y values.
#
# Example: position [ 10, 10 ]
# Link: https://subtle.rs/projects/subtle/wiki/Tagging#Position
#
# [*stick_to*] Keep a tagged client on the given screen. When set, clients are
# visible on all views, even when they don't have matching tags.
#
# On multihead, sticky clients keep the screen they are assigned to.
#
# Example: stick_to 1
# Links: https://subtle.rs/projects/subtle/wiki/Tagging#Stick
# https://subtle.rs/projects/subtle/wiki/Clients#Stick
#
# [*type*] Set the window type of the tagged client, this will force it to be
# treated as a specific window type though as the window sets the type by
# itself.
#
# Following types are possible:
#
# [*:desktop*] Treat as desktop window (_NET_WM_WINDOW_TYPE_DESKTOP)
# Link: https://subtle.rs/projects/subtle/wiki/Clients#Desktop
# [*:dock*] Treat as dock window (_NET_WM_WINDOW_TYPE_DOCK)
# Link: https://subtle.rs/projects/subtle/wiki/Clients#Dock
# [*:toolbar*] Treat as toolbar windows (_NET_WM_WINDOW_TYPE_TOOLBAR)
# Link: https://subtle.rs/projects/subtle/wiki/Clients#Toolbar
# [*:splash*] Treat as splash window (_NET_WM_WINDOW_TYPE_SPLASH)
# Link: https://subtle.rs/projects/subtle/wiki/Clients#Splash
# [*:dialog*] Treat as dialog window (_NET_WM_WINDOW_TYPE_DIALOG)
# Link: https://subtle.rs/projects/subtle/wiki/Clients#Dialog
#
# Example: type :desktop
# Link: https://subtle.rs/projects/subtle/wiki/Tagging#Type
#
# === Link
#
# https://subtle.rs/projects/subtle/wiki/Tagging
#
# Simple tags
[[tag]]
name = "terms"
match = "xterm|[u]?rxvt|alacritty"
[[tag]]
name = "browser"
match = "opera|firefox|(google-)?chrom[e|ium]"
# Placement
[[tag]]
name = "editor"
match = "[g]?vim"
[[tag]]
name = "fixed"
geometry = [ 10, 10, 100, 100 ]
sticky = true
[[tag]]
name = "resize"
match = "sakura|gvim"
resize = true
[[tag]]
name = "gravity"
gravity = "center"
#
# == Views
#
# Views are the virtual desktops in subtle, they show all windows that share a
# tag with them. Windows that have no tag will be visible on the default view
# which is the view with the default tag or the first defined view when this
# tag isn't set.
#
# Like tags views can be defined in two ways:
#
# === Simple
#
# The simple way is exactly the same as for tags:
#
# Example:
#
# view "terms", "terms"
#
# === Extended
#
# The extended way for views is also similar to the tags, but with fewer
# properties.
#
# Example:
#
# view "terms" do
# match "terms"
# icon "/usr/share/icons/icon.xbm"
# end
#
# === Modes
#
# Modes can be set with the set option, see below.
#
# [*dynamic*] Enable dynamic mode for views. When set, icons of unoccupied views (views that display no
# windows) are hidden.
#
# Example: set :dynamic
# Links: https://subtle.rs/projects/subtle/wiki/Views#Dynamic
#
# [*icon_only*] Enable icon only mode. When set, subtle hides the view name from the view buttons, just
# the icon will be visible.
#
# Example: set :icon_only
# Links: https://subtle.rs/projects/subtle/wiki/Views#Icon_only
#
# === Options
#
# [*set*] Set various modes to views. Multiple modes can be set,
# separated by comma. (See Modes)
#
# Example: set :dynamic, :icon_only
#
# [*match*] This property adds a matching pattern to a view. Matching
# works either via plaintext or regex (see man regex(7)) and
# applies to names of tags.
#
# Example: match "terms"
#
#
# [*icon*] This property adds an icon in front of the view name. The
# icon can either be path to an icon or an instance of
# Subtlext::Icon.
#
# Example: icon "/usr/share/icons/icon.xbm"
# icon Subtlext::Icon.new("/usr/share/icons/icon.xbm")
#
# === Link
#
# https://subtle.rs/projects/subtle/wiki/Tagging
#
[[view]]
name = "terms"
match = "terms"
icon_only = false
icon = "/home/unexist/.local/share/icons/black_diamond_with_question_mark.xbm"
[[view]]
name = "wwww"
match = "browser"
icon = "/home/unexist/.local/share/icons/black_diamond_with_question_mark.xbm"
[[view]]
name = "gimp"
match = "gimp_.*"
icon_only = true
icon = "/home/unexist/.local/share/icons/black_diamond_with_question_mark.xbm"
[[view]]
name = "dev"
match = "editor"
icon = "/home/unexist/.local/share/icons/black_diamond_with_question_mark.xbm"
# == Panel
# There are two possible # panels per screen in subtle. Each panel can be configured
# with different # panel items and sublets screen wise. The default config uses a top
# panel # on the first screen only, it's up to the user to enable the bottom panel or
# disable either one # or both.
#
# Following items are available for the panels:
#
# [*:views*] List of views with buttons
# [*:title*] Title of the current active window
# [*:tray*] Systray icons (Can be used only once)
# [*:spacer*] Variable spacer (free width / count of spacers)
# [*:center*] Enclose items with :center to center them on the panel
# [*:separator*] Insert separator
# Empty panels are hidden.
#
# === Links
#
# https://subtle.rs/projects/subtle/wiki/Panel
# Time panel
[[panel]]
name = "time"
interval = 60
script = """
print("12:00")
"""
#
# == Screens
#
# Subtle usually creates screens based on the information it gathers from X
# and xrandr runtime.
#
# To allow more flexibility, subtle can split physically screens into virtual
# ones and low to see multiple views on screen per virtual screen.
# When a screen is configured this config won't be used unless a physical screen
# has been found, or it is marked as virtual
#
# Additionally, each screen comes with two possible panels per screen.
# Each panel can be configured with different panel items screen wise.
# The default config uses a top panel on the first screen only, it's up to the
# user to enable the bottom panel or disable either one or both.
#
# Following panel items are available:
#
# *views* List of views with buttons
# *title* Title of the current active window
# *tray* Systray icons (Can be used only once; last one wins)
# *separator* Insert any text to use as a separator (like | or #)
#
# The panel is divided in the three zones left, center and right and items
# can be freely placed there just by adding one of the following prefixes:
#
# *<* Items are arranged on the left side (e.g. <views)
# *=* Items are centered (e.g. =views)
# *>* Items are arranged on the right side (e.g. >views)
#
# All remaining items are placed directly after the left block.
# Be aware there is no check for overlaps, this is enmtirely up to the user.
#
# === Link
#
# https://subtle.rs/projects/subtle/wiki/Panel
# https://subtle.rs/projects/subtle/wiki/Multihead
#
# Screen 1
[[screen]]
top_panel = [ "tray", "|", "views", "time", "=title" ]
bottom_panel = [ ]
#virtual = [ 0, 0, 50, 100 ]
# Screen 2
[[screen]]
top_panel = [ ]
bottom_panel = [ ]
#virtual = [ 50, 0, 50, 100 ]