This repository has been archived by the owner on Oct 31, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
startup
123 lines (102 loc) · 4.12 KB
/
startup
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
#!/usr/bin/env bash
#
#
# ██ ██ ██ ████████ ██████
# ██ ██ ██ ██ ██ ██ ██ ██
# ██ ██ ██ ██ ██ ██ ██ ██ ██
# ██ ██ ██ ██ ██ ██ ██ ██████
# ████████ ██ ██ ██ ██
# ██ ██
# ██
#
# Example startup script.
#
# All possible options are described here.
# Options that are commented out contain their default values.
# The executable 'wimptool' configures wimp by sending messages to it.
#
# The first to be found of these paths is run as a startup script:
# $XDG_CONFIG_HOME/.config/wimp/startup
# $HOME/.config/wimp/startup
#
#wimptool set desks 2
#wimptool set desk 1 background #31475c
#wimptool set desk 1 borders normal #3e3e73
#wimptool set desk 1 corners normal #31315c
#wimptool set desk 1 borders focus #47315c
#wimptool set desk 1 corners focus #7e5992
#wimptool set desk 1 borders width 6
#wimptool set desk 2 background #3e3e73
#wimptool set desk 2 borders normal #31475c
#wimptool set desk 1 corners normal #3e5973
#wimptool set desk 2 borders focus #47315c
#wimptool set desk 1 corners focus #7e5992
#wimptool set desk 2 borders width 6
wimptool set desk 1 background ~/path/to/tiling-image.png
# Magnification bounds
#wimptool set zoom_min 0.2
#wimptool set zoom_max 5
# Set the colour for the snap box indicator shown when dragging
#wimptool set snap_box \#47315c66
# Set the colour for the mark setter/getter indicator
#wimptool set mark_indicator #000000
# Whether to allow VT switching: on or off.
#wimptool set vt_switching on
# natural or reverse scrolling
#wimptool set scroll_direction natural
# Focus when moving the pointer over a window
#wimptool set auto_focus on
# Whether to automatically bind marks to keys if the key is vacant
# This means instead of "mod+backtick 1" you can just do "mod+1"
#wimptool set bind_marks on
# Primary modifier be one of: shift, caps, ctrl, alt, mod2, mod3, logo, mod5
#wimptool set mod logo
## Key bindings
# additional modifiers, key, action
wimptool bind ctrl escape terminate
# These actions act on windows
wimptool bind ctrl q close_window
wimptool bind j focus down
wimptool bind k focus up
wimptool bind h focus left
wimptool bind l focus right
wimptool bind f toggle_fullscreen
wimptool bind shift m maximize
wimptool bind shift 1 send_to_desk 1
wimptool bind shift 2 send_to_desk 2
# These give the focussed window half of the screen
wimptool bind shift j halfimize down
wimptool bind shift k halfimize up
wimptool bind shift h halfimize left
wimptool bind shift l halfimize right
# And these act on desks
wimptool bind tab next_desk
wimptool bind shift tab prev_desk
wimptool bind i zoom 15
wimptool bind o zoom -15
wimptool bind r reset_zoom
# These pan the desk using the given percentage changes in x and y
wimptool bind s pan_desk 0 40
wimptool bind w pan_desk 0 -40
wimptool bind a pan_desk -40 0
wimptool bind d pan_desk 40 0
# The line after 'exec' is executed by /bin/sh
wimptool bind return exec gnome-terminal
# We can execute windows as scratchpads with a fixed geometry like this, where
# the geometry is specified as <width>x<height>+<x>+<y>
wimptool bind ctrl e scratchpad 1000x800+20+20 footclient mutt
# A percentage of the used output can also be requested:
wimptool bind ctrl t scratchpad 50%+50%+0+0 footclient tmux
wimptool bind s exec wimptool to_region \`slurp -f %wx%h+%x+%y\`
# These two actions can be used to mark and go to set positions. Each one, once
# pressed, waits for the next key press and uses that as the 'mark', e.g.
# hitting 'mod + m' then 'a' will save the current position, then hitting 'mod
# + `' then 'a' later will move to that marked position. These can be cancelled
# with the escape key.
wimptool bind m set_mark
wimptool bind grave go_to_mark
# Possible mouse bindings: motion, scroll, pinch, drag{1,2,3} (+ additional modifiers)
wimptool bind scroll pan_desk
wimptool bind pinch zoom
wimptool bind shift scroll zoom
wimptool bind drag1 move_window