i3

Not only i3 configuration but also related stuff. Like how to change cursor size and theme...

My i3 configuration is here.

Cursor size

The package xorg-xrdb needs to be installed.

~/.Xresources

Xcursor.size: 16

In ~/.config/gtk-3.0/settings.ini and ~/.config/gtk-4.0/settings.ini add

gtk-cursor-theme-name=Adwaita

Create file with default theme:

.local/share/icons/default/index.theme

[icon theme]
Inherits=Adwaita

Special Key Bindings

Put the following in your i3 configuration. Pressing a special key will display a notification with the corresponding number (you need notify-send, of course).

# taken from /usr/include/xkbcommon/xkbcommon-keysyms.h
#
bindsym Print                       exec notify-send 1
bindsym XF8610ChannelsDown          exec notify-send 2
bindsym XF8610ChannelsUp            exec notify-send 3
bindsym XF863DMode                  exec notify-send 4
bindsym XF86AddFavorite             exec notify-send 5
bindsym XF86Addressbook             exec notify-send 6
bindsym XF86ALSToggle               exec notify-send 7
bindsym XF86ApplicationLeft         exec notify-send 8
bindsym XF86ApplicationRight        exec notify-send 9
bindsym XF86AppSelect               exec notify-send 10
bindsym XF86AspectRatio             exec notify-send 11
bindsym XF86Assistant               exec notify-send 12
bindsym XF86AttendantOff            exec notify-send 13
bindsym XF86AttendantOn             exec notify-send 14
bindsym XF86AttendantToggle         exec notify-send 15
bindsym XF86Audio                   exec notify-send 16
bindsym XF86AudioCycleTrack         exec notify-send 17
bindsym XF86AudioDesc               exec notify-send 18
bindsym XF86AudioForward            exec notify-send 19
bindsym XF86AudioLowerVolume        exec notify-send 20
bindsym XF86AudioMedia              exec notify-send 21
bindsym XF86AudioMicMute            exec notify-send 22
bindsym XF86AudioMute               exec notify-send 23
bindsym XF86AudioNext               exec notify-send 24
bindsym XF86AudioPause              exec notify-send 25
bindsym XF86AudioPlay               exec notify-send 26
bindsym XF86AudioPreset             exec notify-send 27
bindsym XF86AudioPrev               exec notify-send 28
bindsym XF86AudioRaiseVolume        exec notify-send 29
bindsym XF86AudioRandomPlay         exec notify-send 30
bindsym XF86AudioRecord             exec notify-send 31
bindsym XF86AudioRepeat             exec notify-send 32
bindsym XF86AudioRewind             exec notify-send 33
bindsym XF86AudioStop               exec notify-send 34
bindsym XF86Away                    exec notify-send 35
bindsym XF86Back                    exec notify-send 36
bindsym XF86BackForward             exec notify-send 37
bindsym XF86Battery                 exec notify-send 38
bindsym XF86Blue                    exec notify-send 39
bindsym XF86Bluetooth               exec notify-send 40
bindsym XF86Book                    exec notify-send 41
bindsym XF86Break                   exec notify-send 42
bindsym XF86BrightnessAdjust        exec notify-send 43
bindsym XF86BrightnessAuto          exec notify-send 44
bindsym XF86BrightnessMax           exec notify-send 45
bindsym XF86BrightnessMin           exec notify-send 46
bindsym XF86Buttonconfig            exec notify-send 47
bindsym XF86Calculater              exec notify-send 48
bindsym XF86Calculator              exec notify-send 49
bindsym XF86Calendar                exec notify-send 50
bindsym XF86CameraDown              exec notify-send 51
bindsym XF86CameraFocus             exec notify-send 52
bindsym XF86CameraLeft              exec notify-send 53
bindsym XF86CameraRight             exec notify-send 54
bindsym XF86CameraUp                exec notify-send 55
bindsym XF86CameraZoomIn            exec notify-send 56
bindsym XF86CameraZoomOut           exec notify-send 57
bindsym XF86CD                      exec notify-send 58
bindsym XF86ChannelDown             exec notify-send 59
bindsym XF86ChannelUp               exec notify-send 60
bindsym XF86Clear                   exec notify-send 61
bindsym XF86ClearGrab               exec notify-send 62
bindsym XF86Close                   exec notify-send 63
bindsym XF86Community               exec notify-send 64
bindsym XF86ContextMenu             exec notify-send 65
bindsym XF86ContrastAdjust          exec notify-send 66
bindsym XF86ControlPanel            exec notify-send 67
bindsym XF86Copy                    exec notify-send 68
bindsym XF86Cut                     exec notify-send 69
bindsym XF86CycleAngle              exec notify-send 70
bindsym XF86Data                    exec notify-send 71
bindsym XF86Database                exec notify-send 72
bindsym XF86Display                 exec notify-send 73
bindsym XF86DisplayOff              exec notify-send 74
bindsym XF86DisplayToggle           exec notify-send 75
bindsym XF86Documents               exec notify-send 76
bindsym XF86DOS                     exec notify-send 77
bindsym XF86DVD                     exec notify-send 78
bindsym XF86Editor                  exec notify-send 79
bindsym XF86Eject                   exec notify-send 80
bindsym XF86Excel                   exec notify-send 81
bindsym XF86Explorer                exec notify-send 82
bindsym XF86FastReverse             exec notify-send 83
bindsym XF86Favorites               exec notify-send 84
bindsym XF86Finance                 exec notify-send 85
bindsym XF86Fn                      exec notify-send 86
bindsym XF86Fn_Esc                  exec notify-send 87
bindsym XF86FnRightShift            exec notify-send 88
bindsym XF86Forward                 exec notify-send 89
bindsym XF86FrameBack               exec notify-send 90
bindsym XF86FrameForward            exec notify-send 91
bindsym XF86FullScreen              exec notify-send 92
bindsym XF86Game                    exec notify-send 93
bindsym XF86Go                      exec notify-send 94
bindsym XF86GraphicsEditor          exec notify-send 95
bindsym XF86Green                   exec notify-send 96
bindsym XF86HangupPhone             exec notify-send 97
bindsym XF86Hibernate               exec notify-send 98
bindsym XF86History                 exec notify-send 99
bindsym XF86HomePage                exec notify-send 100
bindsym XF86HotLinks                exec notify-send 101
bindsym XF86Images                  exec notify-send 102
bindsym XF86Info                    exec notify-send 103
bindsym XF86iTouch                  exec notify-send 104
bindsym XF86Journal                 exec notify-send 105
bindsym XF86KbdBrightnessDown       exec notify-send 106
bindsym XF86KbdBrightnessUp         exec notify-send 107
bindsym XF86KbdInputAssistAccept    exec notify-send 108
bindsym XF86KbdInputAssistCancel    exec notify-send 109
bindsym XF86KbdInputAssistNext      exec notify-send 110
bindsym XF86KbdInputAssistNextgroup exec notify-send 111
bindsym XF86KbdInputAssistPrev      exec notify-send 112
bindsym XF86KbdInputAssistPrevgroup exec notify-send 113
bindsym XF86KbdLcdMenu1             exec notify-send 114
bindsym XF86KbdLcdMenu2             exec notify-send 115
bindsym XF86KbdLcdMenu3             exec notify-send 116
bindsym XF86KbdLcdMenu4             exec notify-send 117
bindsym XF86KbdLcdMenu5             exec notify-send 118
bindsym XF86KbdLightOnOff           exec notify-send 119
bindsym XF86Keyboard                exec notify-send 120
bindsym XF86Launch0                 exec notify-send 121
bindsym XF86Launch1                 exec notify-send 122
bindsym XF86Launch2                 exec notify-send 123
bindsym XF86Launch3                 exec notify-send 124
bindsym XF86Launch4                 exec notify-send 125
bindsym XF86Launch5                 exec notify-send 126
bindsym XF86Launch6                 exec notify-send 127
bindsym XF86Launch7                 exec notify-send 128
bindsym XF86Launch8                 exec notify-send 129
bindsym XF86Launch9                 exec notify-send 130
bindsym XF86LaunchA                 exec notify-send 131
bindsym XF86LaunchB                 exec notify-send 132
bindsym XF86LaunchC                 exec notify-send 133
bindsym XF86LaunchD                 exec notify-send 134
bindsym XF86LaunchE                 exec notify-send 135
bindsym XF86LaunchF                 exec notify-send 136
bindsym XF86LeftDown                exec notify-send 137
bindsym XF86LeftUp                  exec notify-send 138
bindsym XF86LightBulb               exec notify-send 139
bindsym XF86LightsToggle            exec notify-send 140
bindsym XF86LogGrabInfo             exec notify-send 141
bindsym XF86LogOff                  exec notify-send 142
bindsym XF86LogWindowTree           exec notify-send 143
bindsym XF86Macro1                  exec notify-send 144
bindsym XF86Macro10                 exec notify-send 145
bindsym XF86Macro11                 exec notify-send 146
bindsym XF86Macro12                 exec notify-send 147
bindsym XF86Macro13                 exec notify-send 148
bindsym XF86Macro14                 exec notify-send 149
bindsym XF86Macro15                 exec notify-send 150
bindsym XF86Macro16                 exec notify-send 151
bindsym XF86Macro17                 exec notify-send 152
bindsym XF86Macro18                 exec notify-send 153
bindsym XF86Macro19                 exec notify-send 154
bindsym XF86Macro2                  exec notify-send 155
bindsym XF86Macro20                 exec notify-send 156
bindsym XF86Macro21                 exec notify-send 157
bindsym XF86Macro22                 exec notify-send 158
bindsym XF86Macro23                 exec notify-send 159
bindsym XF86Macro24                 exec notify-send 160
bindsym XF86Macro25                 exec notify-send 161
bindsym XF86Macro26                 exec notify-send 162
bindsym XF86Macro27                 exec notify-send 163
bindsym XF86Macro28                 exec notify-send 164
bindsym XF86Macro29                 exec notify-send 165
bindsym XF86Macro3                  exec notify-send 166
bindsym XF86Macro30                 exec notify-send 167
bindsym XF86Macro4                  exec notify-send 168
bindsym XF86Macro5                  exec notify-send 169
bindsym XF86Macro6                  exec notify-send 170
bindsym XF86Macro7                  exec notify-send 171
bindsym XF86Macro8                  exec notify-send 172
bindsym XF86Macro9                  exec notify-send 173
bindsym XF86MacroPreset1            exec notify-send 174
bindsym XF86MacroPreset2            exec notify-send 175
bindsym XF86MacroPreset3            exec notify-send 176
bindsym XF86MacroPresetCycle        exec notify-send 177
bindsym XF86MacroRecordStart        exec notify-send 178
bindsym XF86MacroRecordStop         exec notify-send 179
bindsym XF86Mail                    exec notify-send 180
bindsym XF86MailForward             exec notify-send 181
bindsym XF86Market                  exec notify-send 182
bindsym XF86MediaRepeat             exec notify-send 183
bindsym XF86MediaTopMenu            exec notify-send 184
bindsym XF86Meeting                 exec notify-send 185
bindsym XF86Memo                    exec notify-send 186
bindsym XF86MenuKB                  exec notify-send 187
bindsym XF86MenuPB                  exec notify-send 188
bindsym XF86Messenger               exec notify-send 189
bindsym XF86ModeLock                exec notify-send 190
bindsym XF86MonBrightnessCycle      exec notify-send 191
bindsym XF86MonBrightnessDown       exec notify-send 192
bindsym XF86MonBrightnessUp         exec notify-send 193
bindsym XF86Music                   exec notify-send 194
bindsym XF86MyComputer              exec notify-send 195
bindsym XF86MySites                 exec notify-send 196
bindsym XF86New                     exec notify-send 197
bindsym XF86News                    exec notify-send 198
bindsym XF86Next_VMode              exec notify-send 199
bindsym XF86NextFavorite            exec notify-send 200
bindsym XF86NotificationCenter      exec notify-send 201
bindsym XF86Numeric0                exec notify-send 202
bindsym XF86Numeric1                exec notify-send 203
bindsym XF86Numeric11               exec notify-send 204
bindsym XF86Numeric12               exec notify-send 205
bindsym XF86Numeric2                exec notify-send 206
bindsym XF86Numeric3                exec notify-send 207
bindsym XF86Numeric4                exec notify-send 208
bindsym XF86Numeric5                exec notify-send 209
bindsym XF86Numeric6                exec notify-send 210
bindsym XF86Numeric7                exec notify-send 211
bindsym XF86Numeric8                exec notify-send 212
bindsym XF86Numeric9                exec notify-send 213
bindsym XF86NumericA                exec notify-send 214
bindsym XF86NumericB                exec notify-send 215
bindsym XF86NumericC                exec notify-send 216
bindsym XF86NumericD                exec notify-send 217
bindsym XF86NumericPound            exec notify-send 218
bindsym XF86NumericStar             exec notify-send 219
bindsym XF86OfficeHome              exec notify-send 220
bindsym XF86OnScreenKeyboard        exec notify-send 221
bindsym XF86Open                    exec notify-send 222
bindsym XF86OpenURL                 exec notify-send 223
bindsym XF86Option                  exec notify-send 224
bindsym XF86Paste                   exec notify-send 225
bindsym XF86PauseRecord             exec notify-send 226
bindsym XF86Phone                   exec notify-send 227
bindsym XF86PickupPhone             exec notify-send 228
bindsym XF86Pictures                exec notify-send 229
bindsym XF86PowerDown               exec notify-send 230
bindsym XF86PowerOff                exec notify-send 231
bindsym XF86Presentation            exec notify-send 232
bindsym XF86Prev_VMode              exec notify-send 233
bindsym XF86PrivacyScreenToggle     exec notify-send 234
bindsym XF86Q                       exec notify-send 235
bindsym XF86Red                     exec notify-send 236
bindsym XF86Refresh                 exec notify-send 237
bindsym XF86Reload                  exec notify-send 238
bindsym XF86Reply                   exec notify-send 239
bindsym XF86RFKill                  exec notify-send 240
bindsym XF86RightDown               exec notify-send 241
bindsym XF86RightUp                 exec notify-send 242
bindsym XF86RockerDown              exec notify-send 243
bindsym XF86RockerEnter             exec notify-send 244
bindsym XF86RockerUp                exec notify-send 245
bindsym XF86RootMenu                exec notify-send 246
bindsym XF86RotateWindows           exec notify-send 247
bindsym XF86RotationKB              exec notify-send 248
bindsym XF86RotationLockToggle      exec notify-send 249
bindsym XF86RotationPB              exec notify-send 250
bindsym XF86Save                    exec notify-send 251
bindsym XF86Screensaver             exec notify-send 252
bindsym XF86ScrollClick             exec notify-send 253
bindsym XF86ScrollDown              exec notify-send 254
bindsym XF86ScrollUp                exec notify-send 255
bindsym XF86Search                  exec notify-send 256
bindsym XF86Select                  exec notify-send 257
bindsym XF86SelectiveScreenshot     exec notify-send 258
bindsym XF86Send                    exec notify-send 259
bindsym XF86Shop                    exec notify-send 260
bindsym XF86Sleep                   exec notify-send 261
bindsym XF86SlowReverse             exec notify-send 262
bindsym XF86Spell                   exec notify-send 263
bindsym XF86SpellCheck              exec notify-send 264
bindsym XF86SplitScreen             exec notify-send 265
bindsym XF86Standby                 exec notify-send 266
bindsym XF86Start                   exec notify-send 267
bindsym XF86Stop                    exec notify-send 268
bindsym XF86StopRecord              exec notify-send 269
bindsym XF86Subtitle                exec notify-send 270
bindsym XF86Support                 exec notify-send 271
bindsym XF86Suspend                 exec notify-send 272
bindsym XF86Switch_VT_1             exec notify-send 273
bindsym XF86Switch_VT_10            exec notify-send 274
bindsym XF86Switch_VT_11            exec notify-send 275
bindsym XF86Switch_VT_12            exec notify-send 276
bindsym XF86Switch_VT_2             exec notify-send 277
bindsym XF86Switch_VT_3             exec notify-send 278
bindsym XF86Switch_VT_4             exec notify-send 279
bindsym XF86Switch_VT_5             exec notify-send 280
bindsym XF86Switch_VT_6             exec notify-send 281
bindsym XF86Switch_VT_7             exec notify-send 282
bindsym XF86Switch_VT_8             exec notify-send 283
bindsym XF86Switch_VT_9             exec notify-send 284
bindsym XF86Taskmanager             exec notify-send 285
bindsym XF86TaskPane                exec notify-send 286
bindsym XF86Terminal                exec notify-send 287
bindsym XF86Time                    exec notify-send 288
bindsym XF86ToDoList                exec notify-send 289
bindsym XF86Tools                   exec notify-send 290
bindsym XF86TopMenu                 exec notify-send 291
bindsym XF86TouchpadOff             exec notify-send 292
bindsym XF86TouchpadOn              exec notify-send 293
bindsym XF86TouchpadToggle          exec notify-send 294
bindsym XF86Travel                  exec notify-send 295
bindsym XF86Ungrab                  exec notify-send 296
bindsym XF86Unmute                  exec notify-send 297
bindsym XF86User1KB                 exec notify-send 298
bindsym XF86User2KB                 exec notify-send 299
bindsym XF86UserPB                  exec notify-send 300
bindsym XF86UWB                     exec notify-send 301
bindsym XF86VendorHome              exec notify-send 302
bindsym XF86Video                   exec notify-send 303
bindsym XF86VideoPhone              exec notify-send 304
bindsym XF86View                    exec notify-send 305
bindsym XF86VOD                     exec notify-send 306
bindsym XF86VoiceCommand            exec notify-send 307
bindsym XF86Voicemail               exec notify-send 308
bindsym XF86WakeUp                  exec notify-send 309
bindsym XF86WebCam                  exec notify-send 310
bindsym XF86WheelButton             exec notify-send 311
bindsym XF86WLAN                    exec notify-send 312
bindsym XF86Word                    exec notify-send 313
bindsym XF86WPSButton               exec notify-send 314
bindsym XF86WWAN                    exec notify-send 315
bindsym XF86WWW                     exec notify-send 316
bindsym XF86Xfer                    exec notify-send 317
bindsym XF86Yellow                  exec notify-send 318
bindsym XF86ZoomIn                  exec notify-send 319
bindsym XF86ZoomOut                 exec notify-send 320
bindsym XF86ZoomReset               exec notify-send 321