-
Notifications
You must be signed in to change notification settings - Fork 0
/
position.conf
116 lines (101 loc) · 5.08 KB
/
position.conf
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
#
# Configuration file for position script
#
# 2020-01-20 maxwell@maxwellspangler.com
# 1:
# Define monitor configurations like this:
# monitor-config: <rule-group>: "<resolution>"
# monitor-config: display-home-office: "3120x1920"
# 2:
# Then define one or more rules for that monitor config name
# <rule-group>: "<wmctrl -r parameter>"
# display-home-office: "'Evolution' -e 0,535,0,1385,1020"
#
# Monitor configurations
#
# Home office, two Dell 24" monitors, one landscape, one portrait
monitor-config: display-home-office: "3120x1920"
# Work office, one Dell 24" 1200 line monitor, one Dell 1080 line monitor
monitor-config: display-work-office: "3840x1200"
# Laptop native display, a single low res display
monitor-config: display-laptop: "1366x768"
# Presenting on a single large display, with local laptop screen
monitor-config: display-laptop-plus-hdtv: "3286x1080"
# Presenting on a single large display
monitor-config: display-hdtv: "1920x1080"
#
# Positioning Rules
#
# Office uses a primary 1920x1200 monitor in landscape and a 1920x1080 monitor
# in portrait mode to the right.
# Place email on the primary display and put other programs on the aux display
# Make KeePassX and Slack sticky so they're always visible regardless of desktop
display-work-office: "'Evolution' -e 0,535,0,1385,1020"
display-work-office: "'Thunderbird' -e 0,535,0,1385,1020"
display-work-office: "'Mozilla Thunderbird' -e 0,535,0,1385,1020"
display-work-office: "'Buddy List' -e 0,2800,760,228,1160"
display-work-office: "'Slack' -e 1,2161,388,839,1572"
display-work-office: "'Slack' -b add,sticky"
display-work-office: "'Journal of Life' -e 1,1200,420,699,704"
display-work-office: "'KeePassX' -e 0,1921,1652,684,300"
display-work-office: "'KeePassX' -b add,sticky"
# Home office uses a primary 1920x1200 monitor in landscape and a 1920x1200
# monitor in portrait mode to the right.
# Place email on the primary display and put other programs on the aux display
# Make KeePassX and Slack sticky so they're always visible regardless of desktop
display-home-office: "'Evolution' -e 0,1735,30,1385,1020"
display-home-office: "'Thunderbird' -e 0,1735,0,1385,1020"
display-home-office: "'Mozilla Thunderbird' -e 0,1735,0,1385,1020"
display-home-office: "'Buddy List' -e 0,880,760,228,1160"
display-home-office: "'Slack' -e 0,261,0,939,1286"
display-home-office: "'Slack' -b add,sticky"
display-home-office: "'Journal of Life' -e 1,1200,420,699,704"
display-home-office: "'KeePassX' -e 0,517,1652,683,300"
display-home-office: "'KeePassX' -b add,sticky"
# Old aux monitor on right settings, prior to 2020-01-20
#display-home-office: "'Evolution' -e 0,535,0,1385,1020"
#display-home-office: "'Thunderbird' -e 0,535,0,1385,1020"
#display-home-office: "'Mozilla Thunderbird' -e 0,535,0,1385,1020"
#display-home-office: "'Buddy List' -e 0,2800,760,228,1160"
#display-home-office: "'Slack' -e 1,2281,388,839,1572"
#display-home-office: "'KeePassX' -e 0,1921,1652,684,300"
#display-home-office: "'KeePassX' -b add,sticky"
#display-home-office: "'Slack' -b add,sticky"
# Laptop is a Toshiba Z40 with a limited 1366x768 display, so we give email
# most of the display and place other programs on the right hand side
display-laptop: "'Evolution' -e 0,0,0,1366,704"
display-laptop: "'Thunderbird' -e 0,0,0,1366,704"
display-laptop: "'Mozilla Thunderbird' -e 0,0,0,1366,704"
display-laptop: "'Buddy List' -e 0,516,0,228,565"
display-laptop: "'Slack' -e 0,516,0,850,704"
display-laptop: "'Slack' -b add,sticky"
display-laptop: "'Journal of Life' -e 1,1200,420,699,704"
display-laptop: "'KeePassX' -e 0,685,235,681,533"
display-laptop: "'KeePassX' -b add,sticky"
# A typical office 40/50/60" HDTV is 1920x1080 so we give email a good size
# window and place support programs on the right hand side
display-laptop-plus-hdtv: "'Evolution' -e 0,0,0,1366,704"
display-laptop-plus-hdtv: "'Thunderbird' -e 0,0,0,1366,704"
display-laptop-plus-hdtv: "'Mozilla Thunderbird' -e 0,0,0,1366,704"
display-laptop-plus-hdtv: "'Buddy List' -e 0,516,0,228,565"
display-laptop-plus-hdtv: "'Slack' -e 0,516,0,850,704"
display-laptop-plus-hdtv: "'Slack' -b add,sticky"
display-laptop-plus-hdtv: "'Journal of Life' -e 1,1200,420,699,704"
display-laptop-plus-hdtv: "'KeePassX' -e 0,685,235,681,533"
display-laptop-plus-hdtv: "'KeePassX' -b add,sticky"
# A typical office 40/50/60" HDTV is 1920x1080 so we give email a good size
# window and place support programs on the right hand side
display-hdtv: "'Evolution' -e 0,535,0,1385,1020"
display-hdtv: "'Thunderbird' -e 0,535,0,1385,1020"
display-hdtv: "'Mozilla Thunderbird' -e 0,535,0,1385,1020"
display-hdtv: "'Buddy List' -e 0,516,0,228,565"
display-hdtv: "'Slack' -e 0,1070,0,850,1016"
display-hdtv: "'Slack' -b add,sticky"
display-hdtv: "'Journal of Life' -e 1,1200,420,699,704"
display-hdtv: "'KeePassX' -e 0,685,235,681,533"
display-hdtv: "'KeePassX' -b add,sticky"
# Office uses a primary 1920x1200 monitor in landscape and a 1920x1080 monitor
cloudstudy: "'AWS Certified Solutions' -e 0,1,465,1199,1078"
cloudstudy: "'Management Console' -e 0,1871,420,1249,1136"
cloudstudy: "'cloudstudy - Confluence' -e 0,1200,420,671,1136"
cloudstudy: "'Shutter' -e 0,1200,1298,665,303"