├── .gitignore ├── debian ├── compat ├── install ├── source │ └── format ├── rules ├── gbp.conf ├── control ├── copyright └── changelog ├── README.md └── config /.gitignore: -------------------------------------------------------------------------------- 1 | files 2 | -------------------------------------------------------------------------------- /debian/compat: -------------------------------------------------------------------------------- 1 | 11 2 | -------------------------------------------------------------------------------- /debian/install: -------------------------------------------------------------------------------- 1 | config /etc/regolith/i3/ -------------------------------------------------------------------------------- /debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /debian/rules: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make -f 2 | 3 | %: 4 | dh $@ 5 | 6 | -------------------------------------------------------------------------------- /debian/gbp.conf: -------------------------------------------------------------------------------- 1 | [DEFAULT] 2 | upstream-tree=master 3 | debian-branch=master -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # regolith-i3-gaps-config 2 | 3 | This repo is for Regolith-specific configuration for i3-gaps. -------------------------------------------------------------------------------- /debian/control: -------------------------------------------------------------------------------- 1 | Source: regolith-i3-gaps-config 2 | Section: x11 3 | Priority: optional 4 | Maintainer: Ken Gilmer 5 | Build-Depends: debhelper (>= 11) 6 | Standards-Version: 4.1.3 7 | Homepage: https://github.com/regolith-linux/regolith-i3-gaps-config 8 | 9 | Package: regolith-i3-gaps-config 10 | Architecture: any 11 | Depends: ${misc:Depends}, 12 | i3-gaps-wm, 13 | xdg-utils, 14 | xdotool 15 | Recommends: 16 | i3-next-workspace, 17 | i3-snapshot, 18 | network-manager-gnome, 19 | regolith-compositor, 20 | regolith-ftue, 21 | regolith-rofication, 22 | regolith-rofi-config, 23 | regolith-styles 24 | Conflicts: regolith-i3-wm 25 | Replaces: regolith-i3-wm 26 | Description: Regolith i3-gaps config file 27 | This is the i3 config file for the Regolith desktop environment. It 28 | assumes that i3-gaps is running and that Xresources have been loaded. 29 | -------------------------------------------------------------------------------- /debian/copyright: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | Upstream-Name: regolith-i3-gaps-config 3 | Source: http://regolith-linux.org 4 | 5 | Files: * 6 | Copyright: 2019 Ken Gilmer and contributors. 7 | License: MIT 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | . 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | . 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Files: debian/* 27 | Copyright: 2019 Ken Gilmer 28 | License: GPL-2+ 29 | This package is free software; you can redistribute it and/or modify 30 | it under the terms of the GNU General Public License as published by 31 | the Free Software Foundation; either version 2 of the License, or 32 | (at your option) any later version. 33 | . 34 | This package is distributed in the hope that it will be useful, 35 | but WITHOUT ANY WARRANTY; without even the implied warranty of 36 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 37 | GNU General Public License for more details. 38 | . 39 | You should have received a copy of the GNU General Public License 40 | along with this program. If not, see 41 | . 42 | On Debian systems, the complete text of the GNU General 43 | Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". 44 | -------------------------------------------------------------------------------- /debian/changelog: -------------------------------------------------------------------------------- 1 | regolith-i3-gaps-config (2.8.7-1) UNRELEASED; urgency=medium 2 | 3 | [ Ken Gilmer ] 4 | * Move to regolith2 config dir 5 | 6 | -- Regolith Linux Fri, 04 Feb 2022 07:25:27 -0800 7 | 8 | regolith-i3-gaps-config (2.8.6-1) bionic; urgency=medium 9 | 10 | [ Ken Gilmer ] 11 | * specify default workspace layout mode 12 | 13 | -- Regolith Linux Wed, 05 May 2021 21:04:59 -0700 14 | 15 | regolith-i3-gaps-config (2.8.5-1) bionic; urgency=medium 16 | 17 | [ Bence Ferdinandy ] 18 | * adding $mod+s for sound setting (#36) 19 | 20 | [ Ken Gilmer ] 21 | * Fix urls to howtos. Relates to https://github.com/regolith-linux/regolith-i3-config/pull/1. 22 | 23 | -- Regolith Linux Sun, 18 Apr 2021 15:39:30 -0700 24 | 25 | regolith-i3-gaps-config (2.8.4-1) bionic; urgency=medium 26 | 27 | [ Ken Gilmer ] 28 | * Fix build files 29 | * Fix path to i3-next-workspace 30 | 31 | -- Regolith Linux Mon, 14 Dec 2020 19:37:14 -0800 32 | 33 | regolith-i3-gaps-config (2.8.3-1) bionic; urgency=medium 34 | 35 | [ Ken Gilmer ] 36 | * Move some non-critical dependencies to Recommends. Add recommends to i3-next-workspace. Remove dep on fontawesome. 37 | 38 | -- Regolith Linux Sat, 12 Dec 2020 14:32:58 -0800 39 | 40 | regolith-i3-gaps-config (2.8.2-1) bionic; urgency=medium 41 | 42 | [ Bence Ferdinandy ] 43 | * deprecating startnum 44 | * fix 45 | * adding a missing logic 46 | 47 | -- Regolith Linux Wed, 25 Nov 2020 21:32:37 -0800 48 | 49 | regolith-i3-gaps-config (2.8.1-1) bionic; urgency=medium 50 | 51 | [ Will Winder ] 52 | * Fix 'Carry Window to Next Free' binding, remove trailing whitespace. (#31) 53 | 54 | -- Regolith Linux Sun, 22 Nov 2020 19:52:17 -0800 55 | 56 | regolith-i3-gaps-config (2.8.0-1) bionic; urgency=medium 57 | 58 | [ Bence Ferdinandy ] 59 | * adding bindings for next_on_output and prev_on_output (#29) 60 | 61 | -- Regolith Linux Wed, 28 Oct 2020 08:33:53 -0700 62 | 63 | regolith-i3-gaps-config (2.7.2-1) bionic; urgency=medium 64 | 65 | [ Ken Gilmer ] 66 | * Add nm-applet to launch by default. Enables better network connectivity workflow. 67 | 68 | -- Regolith Linux Sun, 25 Oct 2020 21:20:19 -0700 69 | 70 | regolith-i3-gaps-config (2.7.1-1) bionic; urgency=medium 71 | 72 | [ Ken Gilmer ] 73 | * Shorten look-selector to look for rofi menu. 74 | 75 | -- Regolith Linux Sun, 13 Sep 2020 18:55:56 -0700 76 | 77 | regolith-i3-gaps-config (2.7.0-1) bionic; urgency=medium 78 | 79 | [ Ken Gilmer ] 80 | * Add launcher for look selector. 81 | 82 | -- Regolith Linux Sun, 13 Sep 2020 10:55:56 -0700 83 | 84 | regolith-i3-gaps-config (2.6.0-1) bionic; urgency=medium 85 | 86 | [ Ken Gilmer ] 87 | * Based on idea from @Ukaszg, extract all keybindings to Xres keys for easy overriding without i3 file copy. Fixes https://github.com/regolith-linux/regolith-i3-gaps-config/issues/25. 88 | * Restart compositor upon i3 restart. Part of fix for https://github.com/regolith-linux/regolith-desktop/issues/475. 89 | 90 | -- Regolith Linux Mon, 07 Sep 2020 13:50:45 -0700 91 | 92 | regolith-i3-gaps-config (2.5.1-1) bionic; urgency=medium 93 | 94 | [ Moritz Heiber ] 95 | * Set tray output to primary by default (#24) 96 | 97 | [ Ken Gilmer ] 98 | * Allow the bar mode (dock|hide|invisible) to be specified by xres overrides. 99 | 100 | -- Regolith Linux Sun, 30 Aug 2020 11:15:57 -0700 101 | 102 | regolith-i3-gaps-config (2.5.0-1) bionic; urgency=medium 103 | 104 | [ Ken Gilmer ] 105 | * Add keybindings for 'next free workspace' feature. 106 | 107 | -- Regolith Linux Mon, 20 Jul 2020 06:48:24 -0700 108 | 109 | regolith-i3-gaps-config (2.4.18-1) bionic; urgency=medium 110 | 111 | [ Will Winder ] 112 | * Add missing keybind for moving the workspace with hjkl. (#19) 113 | 114 | [ Jordan Cohen ] 115 | * shortcuts for explicit window orientation and hierarchical focusing (#18) 116 | 117 | -- Regolith Linux Sat, 20 Jun 2020 16:22:37 -0700 118 | 119 | regolith-i3-gaps-config (2.4.17-1) bionic; urgency=medium 120 | 121 | [ Markus Bertheau ] 122 | * Allow customization of workspace_auto_back_and_forth (#20) 123 | 124 | -- Regolith Linux Sat, 20 Jun 2020 16:11:32 -0700 125 | 126 | regolith-i3-gaps-config (2.4.16-1) bionic; urgency=medium 127 | 128 | [ ukaszg ] 129 | * configurable workspace keys (#17) 130 | 131 | -- Regolith Linux Tue, 09 Jun 2020 08:35:21 -0700 132 | 133 | regolith-i3-gaps-config (2.4.15-1) bionic; urgency=medium 134 | 135 | [ Ken Gilmer ] 136 | * Cleanup from lintian warnings. 137 | 138 | -- Regolith Linux Wed, 03 Jun 2020 08:23:48 -0700 139 | 140 | regolith-i3-gaps-config (2.4.14-1) bionic; urgency=medium 141 | 142 | * Take smart-gaps fix from @winder. 143 | * Comment cleanup. 144 | 145 | -- Regolith Linux Mon, 18 May 2020 19:56:43 -0700 146 | 147 | regolith-i3-gaps-config (2.4.13-1) focal; urgency=medium 148 | 149 | * Version bump to appease package builder. No change from previous version. 150 | 151 | -- Regolith Linux Sun, 03 May 2020 20:37:41 -0700 152 | 153 | regolith-i3-gaps-config (2.4.12-1) focal; urgency=medium 154 | 155 | * Fix fallback theme reference to last versions default Look. 156 | 157 | -- Regolith Linux Mon, 27 Apr 2020 21:58:42 -0700 158 | 159 | regolith-i3-gaps-config (2.4.11-1) eoan; urgency=medium 160 | 161 | * Fix xres mapping for $i3-wm.gaps.focus_follows_mouse. 162 | 163 | -- Regolith Linux Mon, 20 Apr 2020 18:53:01 -0700 164 | 165 | regolith-i3-gaps-config (2.4.10) eoan; urgency=medium 166 | 167 | * Change screen lock command for 20.04 compat. 168 | 169 | -- Regolith Linux Sat, 18 Apr 2020 20:04:21 -0700 170 | 171 | regolith-i3-gaps-config (2.4.9) eoan; urgency=medium 172 | 173 | * Update rofication paths based on @farsil's refactor of rofication. 174 | 175 | -- Regolith Linux Wed, 15 Apr 2020 20:27:42 -0700 176 | 177 | regolith-i3-gaps-config (2.4.8) eoan; urgency=medium 178 | 179 | * Comment cleanup. 180 | * Depend on xgd-utils for xdg-settings. 181 | 182 | -- Regolith Linux Mon, 06 Apr 2020 08:55:13 -0700 183 | 184 | regolith-i3-gaps-config (2.4.7) eoan; urgency=medium 185 | 186 | * Cause Nautilus keybinding to always launch new window. From 187 | https://www.youtube.com/watch?v=1gKfgRxKiis. 188 | 189 | -- Regolith Linux Sun, 05 Apr 2020 10:45:50 -0700 190 | 191 | regolith-i3-gaps-config (2.4.6) eoan; urgency=medium 192 | 193 | * Add font dependency back in for remonotoire. 194 | 195 | -- Regolith Linux Thu, 02 Apr 2020 14:21:21 -0700 196 | 197 | regolith-i3-gaps-config (2.4.5) eoan; urgency=medium 198 | 199 | * Fix versioning from previous version. 200 | * Minor tweaks to config file. 201 | 202 | -- Regolith Linux Wed, 01 Apr 2020 21:23:45 -0700 203 | 204 | regolith-i3-gaps-config (2.4.4ubuntu1) eoan; urgency=medium 205 | 206 | * Add Xres overrides documentation as comments. 207 | * Add bt keybinding back in. 208 | 209 | -- Regolith Linux Wed, 01 Apr 2020 09:48:07 -0700 210 | 211 | regolith-i3-gaps-config (2.4.4) eoan; urgency=medium 212 | 213 | * Move to i3xrocks conf.d style configuration. 214 | 215 | -- Regolith Linux Sun, 29 Mar 2020 11:21:40 -0700 216 | 217 | regolith-i3-gaps-config (2.4.3) eoan; urgency=medium 218 | 219 | * Remove hard dependency on regolith-rofication. 220 | 221 | -- Regolith Linux Sun, 22 Mar 2020 16:10:44 -0700 222 | 223 | regolith-i3-gaps-config (2.4.2) eoan; urgency=medium 224 | 225 | * Fix modi URI for file search dialog. 226 | * Use windows fontawesome character for Super. 227 | 228 | -- Regolith Linux Sun, 22 Mar 2020 14:32:21 -0700 229 | 230 | regolith-i3-gaps-config (2.4.1) eoan; urgency=medium 231 | 232 | * Integrate Rofi file search dialog into config. 233 | 234 | -- Regolith Linux Sat, 21 Mar 2020 21:47:05 -0700 235 | 236 | regolith-i3-gaps-config (2.4.0) eoan; urgency=medium 237 | 238 | * Fix typo on i3 reload comment. 239 | * Add comment headers and group config by function. 240 | * Allow for overriding more defaults via Xresources. 241 | * Allow specifying custom programs to launch via Xresources. 242 | * Cleanup Remontoire comment headers. 243 | 244 | -- Regolith Linux Sun, 08 Mar 2020 09:26:38 -0700 245 | 246 | regolith-i3-gaps-config (2.3.6-1ubuntu1~ppa1) eoan; urgency=medium 247 | 248 | * Fix previous fix that didn't load i3 font from Xresources, pointed out by 249 | @uselessthird. 250 | * Update fallback bar font to match default Cahuella theme. 251 | 252 | -- Regolith Linux Thu, 05 Mar 2020 21:36:40 -0800 253 | 254 | regolith-i3-gaps-config (2.3.5-1ubuntu1~ppa1) eoan; urgency=medium 255 | 256 | * Fix incorrectly quoted defaults for new Xresource settings for i3 config 257 | entries. 258 | * Fix incorrect Xresource key for i3 font. 259 | 260 | -- Regolith Linux Wed, 04 Mar 2020 19:51:49 -0800 261 | 262 | regolith-i3-gaps-config (2.3.4-1ubuntu1~ppa1) eoan; urgency=medium 263 | 264 | * Take @ekostem's suggested keybinding for workspace traversal. 265 | 266 | -- Regolith Linux Wed, 26 Feb 2020 07:43:44 -0800 267 | 268 | regolith-i3-gaps-config (2.3.3-1ubuntu1~ppa1) eoan; urgency=medium 269 | 270 | * Use Remontoire compatible comments in i3 config. 271 | 272 | -- Regolith Linux Tue, 25 Feb 2020 20:07:13 -0800 273 | 274 | regolith-i3-gaps-config (2.3.2-1ubuntu1~ppa1) eoan; urgency=medium 275 | 276 | * Defer to gnome setting for default browser over update-alternatives. 277 | 278 | -- Regolith Linux Sun, 16 Feb 2020 10:22:40 -0800 279 | 280 | regolith-i3-gaps-config (2.3.1-1ubuntu1~ppa1) eoan; urgency=medium 281 | 282 | * Fix typo in last Xresource change. 283 | * Use update-alternatives for terminal launch instead of hardcode st. 284 | * Migrate several i3 config settings to Xresources: bar separator, i3xrocks 285 | config, tray_output, strip_workspace_numbers, Mod, Alt. 286 | 287 | -- Regolith Linux Sun, 16 Feb 2020 09:08:19 -0800 288 | 289 | regolith-i3-gaps-config (2.3.0-1ubuntu1~ppa1) eoan; urgency=medium 290 | 291 | * Consume Xresource values for bar position, window border and gap width. 292 | 293 | -- Regolith Linux Sat, 15 Feb 2020 09:19:32 -0800 294 | 295 | regolith-i3-gaps-config (2.2.9-1ubuntu1~ppa1) eoan; urgency=medium 296 | 297 | * Add dependency on xdotool for kill TERM keybinding. 298 | 299 | -- Regolith Linux Sat, 08 Feb 2020 16:44:27 -0800 300 | 301 | regolith-i3-gaps-config (2.2.8-1ubuntu1~ppa1) eoan; urgency=medium 302 | 303 | * Package @tomster's fix for migrating from deprecated config keywords. 304 | * Change kill commands to be consistent w/ previous keybindings. 305 | 306 | -- Regolith Linux Tue, 04 Feb 2020 20:26:47 -0800 307 | 308 | regolith-i3-gaps-config (2.2.7-1ubuntu1~ppa1) eoan; urgency=medium 309 | 310 | * Tweak gap resize for consistency. 311 | 312 | -- Regolith Linux Mon, 27 Jan 2020 20:54:44 -0800 313 | 314 | regolith-i3-gaps-config (2.2.6-1ubuntu1~ppa1) eoan; urgency=medium 315 | 316 | * Fix i3-snapshot path. 317 | * Remove redundant floating action. 318 | 319 | -- Regolith Linux Mon, 27 Jan 2020 20:50:05 -0800 320 | 321 | regolith-i3-gaps-config (2.2.5-1ubuntu1~ppa1) eoan; urgency=medium 322 | 323 | * Remove hack to fix workspace label on primary screen, as root-cause is 324 | fixed in i3-gaps. See https://github.com/regolith-linux/speed-ricer/compare/f4239c0f0881...96bcb932fd59. 325 | 326 | -- Regolith Linux Sat, 25 Jan 2020 20:03:24 -0800 327 | 328 | regolith-i3-gaps-config (2.2.4-1ubuntu1~ppa1) eoan; urgency=medium 329 | 330 | * Add keybinding to toggle bar visibility. 331 | 332 | -- Regolith Linux Sun, 19 Jan 2020 12:33:44 -0800 333 | 334 | regolith-i3-gaps-config (2.2.3-1ubuntu1~ppa1) eoan; urgency=medium 335 | 336 | * Add some experimental changes from 337 | https://github.com/regolith-linux/regolith-i3-gaps-config/issues/6 338 | * Fix i3 startup error due to not specifying font. 339 | 340 | -- Regolith Linux Thu, 16 Jan 2020 20:44:35 -0800 341 | 342 | regolith-i3-gaps-config (2.2.2-1ubuntu1~ppa1) eoan; urgency=medium 343 | 344 | * Migrate to new PPA. 345 | 346 | -- Regolith Linux Sun, 12 Jan 2020 19:11:43 -0800 347 | 348 | regolith-i3-gaps-config (2.2.1-1ubuntu1~ppa1) eoan; urgency=medium 349 | 350 | * Work around for i3 bug in which workspace label is not used upon 351 | start. Force i3 to move to #1 workspace label. 352 | 353 | -- Ken Gilmer Wed, 01 Jan 2020 13:20:03 -0800 354 | 355 | regolith-i3-gaps-config (2.2.0-1ubuntu1~ppa2) eoan; urgency=medium 356 | 357 | * Add replaces declaration for package update. 358 | 359 | -- Ken Gilmer Wed, 25 Dec 2019 05:03:44 -0800 360 | 361 | regolith-i3-gaps-config (2.2.0-1ubuntu1~ppa1) eoan; urgency=medium 362 | 363 | * Migrate from regolith-conky-config to regolith-ftue. 364 | 365 | -- Ken Gilmer Tue, 24 Dec 2019 21:19:54 -0800 366 | 367 | regolith-i3-gaps-config (2.1.3-1ubuntu1~ppa2) eoan; urgency=medium 368 | 369 | * Package @leosunmo's new feature below. 370 | 371 | -- Ken Gilmer Tue, 17 Dec 2019 08:57:18 -0800 372 | 373 | regolith-i3-gaps-config (2.1.3-1ubuntu1~ppa1) eoan; urgency=medium 374 | 375 | * Update config to use index number when referencing i3 workspaces 376 | 377 | -- Leo Sunmo Tue, 17 Dec 2019 18:30:19 +1300 378 | 379 | regolith-i3-gaps-config (2.1.2-1ubuntu1~ppa1) eoan; urgency=medium 380 | 381 | * Add i3-snapshot dependency and keybinding. 382 | 383 | -- Ken Gilmer Sun, 15 Dec 2019 16:33:40 -0800 384 | 385 | regolith-i3-gaps-config (2.1.1-1ubuntu1~ppa1) eoan; urgency=medium 386 | 387 | * Move Super+n from network to notification dialog 388 | 389 | -- Ken Gilmer Sat, 30 Nov 2019 13:17:19 -0800 390 | 391 | regolith-i3-gaps-config (2.1.0-1ubuntu1~ppa1) eoan; urgency=medium 392 | 393 | * Start Rofication for notifications 394 | 395 | -- Ken Gilmer Fri, 29 Nov 2019 15:27:42 -0800 396 | 397 | regolith-i3-gaps-config (2.0.2-1ubuntu1~ppa3) eoan; urgency=medium 398 | 399 | * Minor edits to config comments. 400 | 401 | -- Ken Gilmer Wed, 20 Nov 2019 21:24:51 -0800 402 | 403 | regolith-i3-gaps-config (2.0.0.1-1ubuntu1~ppa2) eoan; urgency=medium 404 | 405 | * Update for compositor to virtual package. 406 | 407 | -- Ken Gilmer Fri, 08 Nov 2019 07:24:45 -0800 408 | 409 | regolith-i3-gaps-config (1.18.20-1ubuntu1~ppa1) eoan; urgency=medium 410 | 411 | * Remove xeventbind script to update wallpaper, not needed in Eoan. 412 | 413 | -- Ken Gilmer Tue, 22 Oct 2019 20:31:19 -0700 414 | 415 | regolith-i3-gaps-config (1.18.19.1-1ubuntu1~ppa1~disco) disco; urgency=medium 416 | 417 | * Add workspace movement keybindings from @leosunmo. 418 | 419 | -- Ken Gilmer Mon, 04 Nov 2019 07:46:25 -0800 420 | 421 | regolith-i3-gaps-config (1.18.21-1ubuntu1~ppa1) eoan; urgency=medium 422 | 423 | * Add workspace movement keybindings from @leosunmo. 424 | 425 | -- Ken Gilmer Mon, 04 Nov 2019 07:40:30 -0800 426 | 427 | regolith-i3-gaps-config (1.18.20-1ubuntu1~ppa1) eoan; urgency=medium 428 | 429 | * Remove xeventbind script to update wallpaper, not needed in Eoan. 430 | 431 | -- Ken Gilmer Tue, 22 Oct 2019 20:31:19 -0700 432 | 433 | regolith-i3-gaps-config (1.18.19-1ubuntu1~ppa1) disco; urgency=medium 434 | 435 | * Fix workspace 10 move command from 436 | https://github.com/regolith-linux/regolith-i3-gaps-config/pull/2. 437 | 438 | -- Ken Gilmer Wed, 25 Sep 2019 18:57:30 -0700 439 | 440 | regolith-i3-gaps-config (1.18.18-1ubuntu1~ppa1) disco; urgency=medium 441 | 442 | * Fix compton config path. 443 | * Extract config file paths to variables at top for clarity. 444 | 445 | -- Ken Gilmer Fri, 30 Aug 2019 18:16:07 -0700 446 | 447 | regolith-i3-gaps-config (1.18.17-1ubuntu1~ppa1) disco; urgency=medium 448 | 449 | * Fix conky script paths after renamed. 450 | 451 | -- Ken Gilmer Wed, 28 Aug 2019 21:22:54 -0700 452 | 453 | regolith-i3-gaps-config (1.18.16-1ubuntu1~ppa1) disco; urgency=medium 454 | 455 | * Add xeventbind to refresh wallpaper upon screen resolution change. 456 | 457 | -- Ken Gilmer Wed, 28 Aug 2019 20:20:34 -0700 458 | 459 | regolith-i3-gaps-config (1.18.15-1ubuntu1~ppa1) disco; urgency=medium 460 | 461 | * Remove bad line from deprecated feature. 462 | * Add reboot and shutdown keybindings. 463 | * Use gnome-session-quit for exit operations. 464 | * Add keybindings to move window to workspace, move to workspace. 465 | 466 | -- Ken Gilmer Sun, 25 Aug 2019 21:52:55 -0700 467 | 468 | regolith-i3-gaps-config (1.18.14-1ubuntu1ppa3) disco; urgency=medium 469 | 470 | * Add Conflicts declaration to allow replacement of regolith-i3. 471 | 472 | -- Ken Gilmer Wed, 21 Aug 2019 21:53:25 -0700 473 | 474 | regolith-i3-gaps-config (1.18.14-1ubuntu1ppa2) disco; urgency=medium 475 | 476 | * Initial release, forked from regolith-i3 4.16-1ubuntu18ppa14. 477 | 478 | -- Ken Gilmer Tue, 20 Aug 2019 20:41:00 -0700 479 | -------------------------------------------------------------------------------- /config: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # i3-gaps config file for the Regolith Desktop Environment 3 | # 4 | # Please see http://i3wm.org/docs/userguide.html for a complete reference! 5 | # 6 | ############################################################################### 7 | # 8 | # In this config file many values are taken from Xresources with the directive 9 | # set_from_resource: 10 | # 11 | # set_from_resource 12 | # 13 | # This configuration file utilizes Xresource variables to change configuration 14 | # without having to make a copy of this config file. 15 | # The benefit to not copying this file is easier upgrades in the future. 16 | # To update a value in this config without making a copy, update the Xresource 17 | # value in the file ~/.config/regolith2/Xresources. 18 | # 19 | # For example, to change the bar position to the top of the screen this is the 20 | # i3 config entry in this file: 21 | # set_from_resource $i3-wm.bar.position i3-wm.bar.position bottom 22 | # 23 | # So add this line to ~/.config/regolith2/Xresources to change it's value: 24 | # i3-wm.bar.position: top 25 | # 26 | # Reload i3 after making Xresource changes. Learn more at 27 | # https://regolith-linux.org/docs/howtos/override-xres/ 28 | # 29 | ############################################################################### 30 | # 31 | # This file uses a machine-parsable format for comments. The schema is: 32 | # ## // // ## 33 | # Learn more at https://github.com/regolith-linux/remontoire 34 | # 35 | ############################################################################### 36 | 37 | ############################################################################### 38 | # Key Mappings 39 | ############################################################################### 40 | 41 | # Meta Key - Alt key is Mod1, and Windows key is Mod4 42 | set_from_resource $mod i3-wm.mod Mod4 43 | set_from_resource $alt i3-wm.alt Mod1 44 | 45 | set_from_resource $i3-wm.binding. i3-wm.binding. 46 | 47 | ############################################################################### 48 | # Workspace Names 49 | # These are the labels which define each i3 workspace. 50 | ############################################################################### 51 | 52 | set_from_resource $ws1 i3-wm.workspace.01.name "1" 53 | set_from_resource $ws2 i3-wm.workspace.02.name "2" 54 | set_from_resource $ws3 i3-wm.workspace.03.name "3" 55 | set_from_resource $ws4 i3-wm.workspace.04.name "4" 56 | set_from_resource $ws5 i3-wm.workspace.05.name "5" 57 | set_from_resource $ws6 i3-wm.workspace.06.name "6" 58 | set_from_resource $ws7 i3-wm.workspace.07.name "7" 59 | set_from_resource $ws8 i3-wm.workspace.08.name "8" 60 | set_from_resource $ws9 i3-wm.workspace.09.name "9" 61 | set_from_resource $ws10 i3-wm.workspace.10.name "10" 62 | set_from_resource $ws11 i3-wm.workspace.11.name "11" 63 | set_from_resource $ws12 i3-wm.workspace.12.name "12" 64 | set_from_resource $ws13 i3-wm.workspace.13.name "13" 65 | set_from_resource $ws14 i3-wm.workspace.14.name "14" 66 | set_from_resource $ws15 i3-wm.workspace.15.name "15" 67 | set_from_resource $ws16 i3-wm.workspace.16.name "16" 68 | set_from_resource $ws17 i3-wm.workspace.17.name "17" 69 | set_from_resource $ws18 i3-wm.workspace.18.name "18" 70 | set_from_resource $ws19 i3-wm.workspace.19.name "19" 71 | 72 | ############################################################################### 73 | # Workspace Keys 74 | # These are the keys which will be used while binding workspace switching 75 | ############################################################################### 76 | 77 | set_from_resource $ws1_key i3-wm.workspace.01.key 1 78 | set_from_resource $ws2_key i3-wm.workspace.02.key 2 79 | set_from_resource $ws3_key i3-wm.workspace.03.key 3 80 | set_from_resource $ws4_key i3-wm.workspace.04.key 4 81 | set_from_resource $ws5_key i3-wm.workspace.05.key 5 82 | set_from_resource $ws6_key i3-wm.workspace.06.key 6 83 | set_from_resource $ws7_key i3-wm.workspace.07.key 7 84 | set_from_resource $ws8_key i3-wm.workspace.08.key 8 85 | set_from_resource $ws9_key i3-wm.workspace.09.key 9 86 | set_from_resource $ws10_key i3-wm.workspace.10.key 0 87 | 88 | ############################################################################### 89 | # Launcher dialogs 90 | ############################################################################### 91 | 92 | ## Launch // Terminal // <> Enter ## 93 | set_from_resource $i3-wm.binding.terminal i3-wm.binding.terminal Return 94 | bindsym $mod+$i3-wm.binding.terminal exec /usr/bin/x-terminal-emulator 95 | 96 | ## Launch // Browser // <> Enter ## 97 | set_from_resource $i3-wm.binding.browser i3-wm.binding.browser Shift+Return 98 | bindsym $mod+$i3-wm.binding.browser exec gtk-launch $(xdg-settings get default-web-browser) 99 | 100 | set_from_resource $rofiTheme rofi.theme /etc/regolith/styles/lascaille/rofi.rasi 101 | 102 | ## Launch // Application // <> Space ## 103 | set_from_resource $i3-wm.binding.launcher.app i3-wm.binding.launcher.app space 104 | set_from_resource $i3-wm.program.launcher.app i3-wm.program.launcher.app rofi -show drun -theme $rofiTheme 105 | bindsym $mod+$i3-wm.binding.launcher.app exec $i3-wm.program.launcher.app 106 | 107 | ## Launch // Command // <> Space ## 108 | set_from_resource $i3-wm.binding.launcher.cmd i3-wm.binding.launcher.cmd Shift+space 109 | set_from_resource $i3-wm.program.launcher.cmd i3-wm.program.launcher.cmd rofi -show run -theme $rofiTheme 110 | bindsym $mod+$i3-wm.binding.launcher.cmd exec $i3-wm.program.launcher.cmd 111 | 112 | ## Navigate // Window by Name // <> Space ## 113 | set_from_resource $i3-wm.binding.launcher.window i3-wm.binding.launcher.window Ctrl+space 114 | set_from_resource $i3-wm.program.launcher.window i3-wm.program.launcher.window rofi -show window -theme $rofiTheme 115 | bindsym $mod+$i3-wm.binding.launcher.window exec $i3-wm.program.launcher.window 116 | 117 | ## Launch // This Dialog // <> ? ## 118 | set_from_resource $i3-wm.binding.help i3-wm.binding.help Shift+question 119 | set_from_resource $i3-wm.program.help i3-wm.program.help /usr/bin/remontoire-toggle 120 | bindsym $mod+$i3-wm.binding.help exec --no-startup-id $i3-wm.program.help 121 | 122 | ## Launch // File Search // <> Space ## 123 | set_from_resource $i3-wm.binding.file_search i3-wm.binding.file_search Mod1+space 124 | set_from_resource $i3-wm.program.file_search i3-wm.program.file_search rofi -show find -modi find:/usr/share/rofi/modi/finder.sh 125 | bindsym $mod+$i3-wm.binding.file_search exec $i3-wm.program.file_search 126 | 127 | ## Launch // Look Selector // <> l ## 128 | set_from_resource $i3-wm.binding.look_selector i3-wm.binding.look_selector Mod1+l 129 | set_from_resource $i3-wm.program.look_selector i3-wm.program.look_selector rofi -show look -modi look:/usr/share/rofi/modi/look-selector.sh 130 | bindsym $mod+$i3-wm.binding.look_selector exec $i3-wm.program.look_selector 131 | 132 | ############################################################################### 133 | # Window and Workspace Navigation 134 | ############################################################################### 135 | 136 | ## Navigate // Relative Parent // <> a ##/ 137 | set_from_resource $i3-wm.binding.focus_parent i3-wm.binding.focus_parent a 138 | bindsym $mod+$i3-wm.binding.focus_parent focus parent 139 | 140 | ## Navigate // Relative Child // <> z ##/ 141 | set_from_resource $i3-wm.binding.focus_child i3-wm.binding.focus_child z 142 | bindsym $mod+$i3-wm.binding.focus_child focus child 143 | 144 | ## Navigate // Relative Window // <> ↑ ↓ ← → ## 145 | bindsym $mod+Left focus left 146 | bindsym $mod+Down focus down 147 | bindsym $mod+Up focus up 148 | bindsym $mod+Right focus right 149 | 150 | ## Navigate // Relative Window // <> k j h l ## 151 | set_from_resource $i3-wm.binding.left i3-wm.binding.left h 152 | set_from_resource $i3-wm.binding.right i3-wm.binding.right l 153 | set_from_resource $i3-wm.binding.up i3-wm.binding.up k 154 | set_from_resource $i3-wm.binding.down i3-wm.binding.down j 155 | bindsym $mod+$i3-wm.binding.left focus left 156 | bindsym $mod+$i3-wm.binding.down focus down 157 | bindsym $mod+$i3-wm.binding.up focus up 158 | bindsym $mod+$i3-wm.binding.right focus right 159 | 160 | ## Navigate // Workspaces 1-10 // <> 0..9 ## 161 | bindsym $mod+$ws1_key workspace number $ws1 162 | bindsym $mod+$ws2_key workspace number $ws2 163 | bindsym $mod+$ws3_key workspace number $ws3 164 | bindsym $mod+$ws4_key workspace number $ws4 165 | bindsym $mod+$ws5_key workspace number $ws5 166 | bindsym $mod+$ws6_key workspace number $ws6 167 | bindsym $mod+$ws7_key workspace number $ws7 168 | bindsym $mod+$ws8_key workspace number $ws8 169 | bindsym $mod+$ws9_key workspace number $ws9 170 | bindsym $mod+$ws10_key workspace number $ws10 171 | ## Navigate // Workspace 11 - 19 // <> 1..9 ## 172 | bindsym $mod+Ctrl+$ws1_key workspace number $ws11 173 | bindsym $mod+Ctrl+$ws2_key workspace number $ws12 174 | bindsym $mod+Ctrl+$ws3_key workspace number $ws13 175 | bindsym $mod+Ctrl+$ws4_key workspace number $ws14 176 | bindsym $mod+Ctrl+$ws5_key workspace number $ws15 177 | bindsym $mod+Ctrl+$ws6_key workspace number $ws16 178 | bindsym $mod+Ctrl+$ws7_key workspace number $ws17 179 | bindsym $mod+Ctrl+$ws8_key workspace number $ws18 180 | bindsym $mod+Ctrl+$ws9_key workspace number $ws19 181 | 182 | ## Navigate // Next Workspace // <> Tab ## 183 | set_from_resource $i3-wm.binding.ws_next i3-wm.binding.ws_next Tab 184 | bindsym $mod+$i3-wm.binding.ws_next workspace next 185 | 186 | ## Navigate // Next Workspace // <> → ## 187 | set_from_resource $i3-wm.binding.ws_next2 i3-wm.binding.ws_next2 Mod1+Right 188 | bindsym $mod+$i3-wm.binding.ws_next2 workspace next 189 | 190 | ## Navigate // Next Workspace on Output // <> Tab ## 191 | set_from_resource $i3-wm.binding.ws_next_on_output i3-wm.binding.ws_next_on_output Ctrl+Tab 192 | bindsym $mod+$i3-wm.binding.ws_next_on_output workspace next_on_output 193 | 194 | ## Navigate // Next Workspace on Output // <> l ## 195 | set_from_resource $i3-wm.binding.ws_next_on_output2 i3-wm.binding.ws_next_on_output2 Ctrl+l 196 | bindsym $mod+$i3-wm.binding.ws_next_on_output2 workspace next_on_output 197 | 198 | ## Navigate // Previous Workspace // <> Tab ## 199 | set_from_resource $i3-wm.binding.ws_prev i3-wm.binding.ws_prev Shift+Tab 200 | bindsym $mod+$i3-wm.binding.ws_prev workspace prev 201 | 202 | ## Navigate // Previous Workspace // <> ← ## 203 | set_from_resource $i3-wm.binding.ws_prev2 i3-wm.binding.ws_prev2 Mod1+Left 204 | bindsym $mod+$i3-wm.binding.ws_prev2 workspace prev 205 | 206 | ## Navigate // Previous Workspace on Output // <> Tab ## 207 | set_from_resource $i3-wm.binding.ws_prev_on_output i3-wm.binding.ws_prev_on_output Ctrl+Shift+Tab 208 | bindsym $mod+$i3-wm.binding.ws_prev_on_output workspace prev_on_output 209 | 210 | ## Navigate // Previous Workspace on Output // <> h ## 211 | set_from_resource $i3-wm.binding.ws_prev_on_output2 i3-wm.binding.ws_prev_on_output2 Ctrl+h 212 | bindsym $mod+$i3-wm.binding.ws_prev_on_output2 workspace prev_on_output 213 | 214 | ## Navigate // Next Free Workspace // <> ` ## 215 | set_from_resource $i3-wm.binding.next_free i3-wm.binding.next_free grave 216 | bindsym $mod+$i3-wm.binding.next_free exec --no-startup-id /usr/bin/i3-next-workspace 217 | 218 | ## Navigate // Scratchpad // <> a ## 219 | set_from_resource $i3-wm.binding.scratchpad i3-wm.binding.scratchpad Ctrl+a 220 | bindsym $mod+$i3-wm.binding.scratchpad scratchpad show 221 | 222 | ############################################################################### 223 | # Window and Workspace Configuration 224 | ############################################################################### 225 | 226 | ## Modify // Window Position // <> ↑ ↓ ← → ## 227 | bindsym $mod+Shift+Left move left 228 | bindsym $mod+Shift+Down move down 229 | bindsym $mod+Shift+Up move up 230 | bindsym $mod+Shift+Right move right 231 | 232 | ## Modify // Window Position // <> k j h l ## 233 | set_from_resource $i3-wm.binding.move_left i3-wm.binding.move_left Shift+h 234 | set_from_resource $i3-wm.binding.move_right i3-wm.binding.move_right Shift+l 235 | set_from_resource $i3-wm.binding.move_up i3-wm.binding.move_up Shift+k 236 | set_from_resource $i3-wm.binding.move_down i3-wm.binding.move_down Shift+j 237 | bindsym $mod+$i3-wm.binding.move_left move left 238 | bindsym $mod+$i3-wm.binding.move_down move down 239 | bindsym $mod+$i3-wm.binding.move_up move up 240 | bindsym $mod+$i3-wm.binding.move_right move right 241 | 242 | ## Modify // Containing Workspace // <> ↑ ↓ ← → ## 243 | set_from_resource $i3-wm.binding.move_workspace_output_left i3-wm.binding.move_workspace_output_left Ctrl+Shift+Left 244 | set_from_resource $i3-wm.binding.move_workspace_output_right i3-wm.binding.move_workspace_output_right Ctrl+Shift+Right 245 | set_from_resource $i3-wm.binding.move_workspace_output_up i3-wm.binding.move_workspace_output_up Ctrl+Shift+Up 246 | set_from_resource $i3-wm.binding.move_workspace_output_down i3-wm.binding.move_workspace_output_down Ctrl+Shift+Down 247 | bindsym $mod+$i3-wm.binding.move_workspace_output_left move workspace to output left 248 | bindsym $mod+$i3-wm.binding.move_workspace_output_right move workspace to output right 249 | bindsym $mod+$i3-wm.binding.move_workspace_output_up move workspace to output up 250 | bindsym $mod+$i3-wm.binding.move_workspace_output_down move workspace to output down 251 | 252 | 253 | ## Modify // Containing Workspace // <> k j h l ## 254 | set_from_resource $i3-wm.binding.take_left i3-wm.binding.take_left Ctrl+Shift+h 255 | set_from_resource $i3-wm.binding.take_right i3-wm.binding.take_right Ctrl+Shift+l 256 | set_from_resource $i3-wm.binding.take_up i3-wm.binding.take_up Ctrl+Shift+k 257 | set_from_resource $i3-wm.binding.take_down i3-wm.binding.take_down Ctrl+Shift+j 258 | bindsym $mod+$i3-wm.binding.take_left move workspace to output left 259 | bindsym $mod+$i3-wm.binding.take_down move workspace to output down 260 | bindsym $mod+$i3-wm.binding.take_up move workspace to output up 261 | bindsym $mod+$i3-wm.binding.take_right move workspace to output right 262 | 263 | ## Modify // Vertical Window Orientation // <> v ## 264 | set_from_resource $i3-wm.binding.split_v i3-wm.binding.split_v v 265 | bindsym $mod+$i3-wm.binding.split_v split vertical 266 | 267 | ## Modify // Horizontal Window Orientation // <> g ## 268 | set_from_resource $i3-wm.binding.split_h i3-wm.binding.split_h g 269 | bindsym $mod+$i3-wm.binding.split_h split horizontal 270 | 271 | ## Modify // Toggle Window Orientation // <> Backspace ## 272 | set_from_resource $i3-wm.binding.orientation_toggle i3-wm.binding.orientation_toggle BackSpace 273 | bindsym $mod+$i3-wm.binding.orientation_toggle split toggle 274 | 275 | ## Modify // Window Fullscreen Toggle // <> f ## 276 | set_from_resource $i3-wm.binding.fullscreen_toggle i3-wm.binding.fullscreen_toggle f 277 | bindsym $mod+$i3-wm.binding.fullscreen_toggle fullscreen toggle 278 | 279 | ## Modify // Window Floating Toggle // <> f ## 280 | set_from_resource $i3-wm.binding.float_toggle i3-wm.binding.float_toggle Shift+f 281 | bindsym $mod+Shift+$i3-wm.binding.float_toggle floating toggle 282 | 283 | ## Modify // Move to Scratchpad // <> m ## 284 | set_from_resource $i3-wm.binding.move_scratchpad i3-wm.binding.move_scratchpad Ctrl+m 285 | bindsym $mod+$i3-wm.binding.move_scratchpad move to scratchpad 286 | 287 | ## Modify // Tile/Float Focus Toggle // <> t ## 288 | set_from_resource $i3-wm.binding.focus_toggle i3-wm.binding.focus_toggle Shift+t 289 | bindsym $mod+$i3-wm.binding.focus_toggle focus mode_toggle 290 | 291 | ## Modify // Window Layout Mode // <> t ## 292 | set_from_resource $i3-wm.binding.layout_mode i3-wm.binding.layout_mode t 293 | bindsym $mod+$i3-wm.binding.layout_mode layout toggle tabbed splith splitv 294 | 295 | ## Modify // Move Window to Workspace 1 - 10 // <> 0..9 ## 296 | bindsym $mod+Shift+$ws1_key move container to workspace number $ws1 297 | bindsym $mod+Shift+$ws2_key move container to workspace number $ws2 298 | bindsym $mod+Shift+$ws3_key move container to workspace number $ws3 299 | bindsym $mod+Shift+$ws4_key move container to workspace number $ws4 300 | bindsym $mod+Shift+$ws5_key move container to workspace number $ws5 301 | bindsym $mod+Shift+$ws6_key move container to workspace number $ws6 302 | bindsym $mod+Shift+$ws7_key move container to workspace number $ws7 303 | bindsym $mod+Shift+$ws8_key move container to workspace number $ws8 304 | bindsym $mod+Shift+$ws9_key move container to workspace number $ws9 305 | bindsym $mod+Shift+$ws10_key move container to workspace number $ws10 306 | ## Modify // Move Window to Workspace 11 - 19// <> 1..9 ## 307 | bindsym $mod+Shift+Ctrl+$ws1_key move container to workspace number $ws11 308 | bindsym $mod+Shift+Ctrl+$ws2_key move container to workspace number $ws12 309 | bindsym $mod+Shift+Ctrl+$ws3_key move container to workspace number $ws13 310 | bindsym $mod+Shift+Ctrl+$ws4_key move container to workspace number $ws14 311 | bindsym $mod+Shift+Ctrl+$ws5_key move container to workspace number $ws15 312 | bindsym $mod+Shift+Ctrl+$ws6_key move container to workspace number $ws16 313 | bindsym $mod+Shift+Ctrl+$ws7_key move container to workspace number $ws17 314 | bindsym $mod+Shift+Ctrl+$ws8_key move container to workspace number $ws18 315 | bindsym $mod+Shift+Ctrl+$ws9_key move container to workspace number $ws19 316 | 317 | ## Modify // Move Window to Next Free Workspace // <> ` ## 318 | set_from_resource $i3-wm.binding.move_next_free i3-wm.binding.move_next_free Shift+grave 319 | bindsym $mod+$i3-wm.binding.move_next_free exec --no-startup-id /usr/bin/i3-next-workspace --move-window 320 | 321 | # move focused container to workspace, move to workspace 322 | ## Modify // Carry Window to Workspace 1 - 10// <> 0..9 ## 323 | bindsym $mod+$alt+$ws1_key move container to workspace number $ws1; workspace number $ws1 324 | bindsym $mod+$alt+$ws2_key move container to workspace number $ws2; workspace number $ws2 325 | bindsym $mod+$alt+$ws3_key move container to workspace number $ws3; workspace number $ws3 326 | bindsym $mod+$alt+$ws4_key move container to workspace number $ws4; workspace number $ws4 327 | bindsym $mod+$alt+$ws5_key move container to workspace number $ws5; workspace number $ws5 328 | bindsym $mod+$alt+$ws6_key move container to workspace number $ws6; workspace number $ws6 329 | bindsym $mod+$alt+$ws7_key move container to workspace number $ws7; workspace number $ws7 330 | bindsym $mod+$alt+$ws8_key move container to workspace number $ws8; workspace number $ws8 331 | bindsym $mod+$alt+$ws9_key move container to workspace number $ws9; workspace number $ws9 332 | bindsym $mod+$alt+$ws10_key move container to workspace number $ws10; workspace number $ws10 333 | ## Modify // Carry Window to Workspace 11 - 19 // <> 1..9 ## 334 | bindsym $mod+$alt+Ctrl+$ws1_key move container to workspace number $ws11; workspace number $ws11 335 | bindsym $mod+$alt+Ctrl+$ws2_key move container to workspace number $ws12; workspace number $ws12 336 | bindsym $mod+$alt+Ctrl+$ws3_key move container to workspace number $ws13; workspace number $ws13 337 | bindsym $mod+$alt+Ctrl+$ws4_key move container to workspace number $ws14; workspace number $ws14 338 | bindsym $mod+$alt+Ctrl+$ws5_key move container to workspace number $ws15; workspace number $ws15 339 | bindsym $mod+$alt+Ctrl+$ws6_key move container to workspace number $ws16; workspace number $ws16 340 | bindsym $mod+$alt+Ctrl+$ws7_key move container to workspace number $ws17; workspace number $ws17 341 | bindsym $mod+$alt+Ctrl+$ws8_key move container to workspace number $ws18; workspace number $ws18 342 | bindsym $mod+$alt+Ctrl+$ws9_key move container to workspace number $ws19; workspace number $ws19 343 | 344 | ## Modify // Carry Window to Next Free Workspace // <> ` ## 345 | set_from_resource $i3-wm.binding.take_next_free i3-wm.binding.take_next_free Mod1+grave 346 | bindsym $mod+$i3-wm.binding.take_next_free exec --no-startup-id /usr/bin/i3-next-workspace --move-window-and-follow 347 | 348 | # Use Mouse+$mod to drag floating windows to their wanted position 349 | floating_modifier $mod 350 | 351 | # Hiding borders adjacent to the screen edges. 352 | # The "smart" setting hides borders on workspaces with only one window visible. 353 | set_from_resource $i3-wm.hide.edge.borders i3-wm.hide.edge.borders smart 354 | hide_edge_borders $i3-wm.hide.edge.borders 355 | 356 | # Set the default layout mode 357 | set_from_resource $i3-wm.workspace.layout i3-wm.workspace.layout default 358 | workspace_layout $i3-wm.workspace.layout 359 | 360 | ############################################################################### 361 | # Session Management 362 | ############################################################################### 363 | 364 | ## Session // Exit App // <> q ## 365 | set_from_resource $i3-wm.binding.exit_app i3-wm.binding.exit_app Shift+q 366 | bindsym $mod+$i3-wm.binding.exit_app [con_id="__focused__"] kill 367 | 368 | ## Session // Terminate App // <> q ## 369 | set_from_resource $i3-wm.binding.kill_app i3-wm.binding.kill_app Mod1+q 370 | bindsym $mod+$i3-wm.binding.kill_app [con_id="__focused__"] exec --no-startup-id kill -9 $(xdotool getwindowfocus getwindowpid) 371 | 372 | ## Session // Reload i3 Config // <> c ## 373 | set_from_resource $i3-wm.binding.reload i3-wm.binding.reload Shift+c 374 | bindsym $mod+$i3-wm.binding.reload reload 375 | 376 | ## Session // Refresh Session // <> r ## 377 | set_from_resource $i3-wm.binding.refresh i3-wm.binding.refresh Shift+r 378 | set_from_resource $i3-wm.program.refresh_ui i3-wm.program.refresh_ui /usr/bin/regolith-look refresh 379 | bindsym $mod+$i3-wm.binding.refresh exec --no-startup-id $i3-wm.program.refresh_ui 380 | 381 | ## Session // Restart i3 // <> r ## 382 | set_from_resource $i3-wm.binding.restart i3-wm.binding.restart Ctrl+r 383 | bindsym $mod+$i3-wm.binding.restart restart 384 | 385 | ## Session // Logout // <> e ## 386 | set_from_resource $i3-wm.binding.logout i3-wm.binding.logout Shift+e 387 | set_from_resource $i3-wm.program.logout i3-wm.program.logout /usr/bin/gnome-session-quit --logout 388 | bindsym $mod+$i3-wm.binding.logout exec $i3-wm.program.logout 389 | 390 | ## Session // Reboot // <> b ## 391 | set_from_resource $i3-wm.binding.reboot i3-wm.binding.reboot Shift+b 392 | set_from_resource $i3-wm.program.reboot i3-wm.program.reboot /usr/bin/gnome-session-quit --reboot 393 | bindsym $mod+$i3-wm.binding.reboot exec $i3-wm.program.reboot 394 | 395 | ## Session // Power Down // <> p ## 396 | set_from_resource $i3-wm.binding.shutdown i3-wm.binding.shutdown Shift+p 397 | set_from_resource $i3-wm.program.shutdown i3-wm.program.shutdown /usr/bin/gnome-session-quit --power-off 398 | bindsym $mod+$i3-wm.binding.shutdown exec $i3-wm.program.shutdown 399 | 400 | ## Session // Lock Screen // <> Escape ## 401 | set_from_resource $i3-wm.binding.lock i3-wm.binding.lock Escape 402 | set_from_resource $i3-wm.program.lock i3-wm.program.lock dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock 403 | bindsym $mod+$i3-wm.binding.lock exec $i3-wm.program.lock 404 | 405 | ## Session // Sleep // <> s ## 406 | set_from_resource $i3-wm.binding.sleep i3-wm.binding.sleep Shift+s 407 | set_from_resource $i3-wm.program.sleep i3-wm.program.sleep systemctl suspend 408 | bindsym $mod+$i3-wm.binding.sleep exec $i3-wm.program.sleep 409 | 410 | ############################################################################### 411 | # System Management 412 | ############################################################################### 413 | 414 | ## Modify // Settings // <> c ## 415 | set_from_resource $i3-wm.binding.settings i3-wm.binding.settings c 416 | set_from_resource $i3-wm.program.settings i3-wm.program.settings gnome-control-center --class=floating_window 417 | bindsym $mod+$i3-wm.binding.settings exec $i3-wm.program.settings 418 | 419 | ## Modify // Display Settings // <> d ## 420 | set_from_resource $i3-wm.binding.display i3-wm.binding.display d 421 | set_from_resource $i3-wm.program.display i3-wm.program.display gnome-control-center --class=floating_window display 422 | bindsym $mod+$i3-wm.binding.display exec $i3-wm.program.display 423 | 424 | ## Modify // Wifi Settings // <> w ## 425 | set_from_resource $i3-wm.binding.wifi i3-wm.binding.wifi w 426 | set_from_resource $i3-wm.program.wifi i3-wm.program.wifi gnome-control-center --class=floating_window wifi 427 | bindsym $mod+$i3-wm.binding.wifi exec $i3-wm.program.wifi 428 | 429 | ## Modify // Bluetooth Settings // <> b ## 430 | set_from_resource $i3-wm.binding.bluetooth i3-wm.binding.bluetooth b 431 | set_from_resource $i3-wm.program.bluetooth i3-wm.program.bluetooth gnome-control-center --class=floating_window bluetooth 432 | bindsym $mod+$i3-wm.binding.bluetooth exec $i3-wm.program.bluetooth 433 | 434 | ## Modify // Sound Settings // <> s ## 435 | set_from_resource $i3-wm.binding.sound i3-wm.binding.sound s 436 | set_from_resource $i3-wm.program.sound i3-wm.program.sound gnome-control-center --class=floating_window sound 437 | bindsym $mod+$i3-wm.binding.sound exec $i3-wm.program.sound 438 | 439 | ## Launch // File Browser // <> n ## 440 | set_from_resource $i3-wm.binding.files i3-wm.binding.files Shift+n 441 | set_from_resource $i3-wm.program.files i3-wm.program.files /usr/bin/nautilus --new-window 442 | bindsym $mod+$i3-wm.binding.files exec $i3-wm.program.files 443 | 444 | ## Launch // Notification Viewer // <> n ## 445 | set_from_resource $i3-wm.binding.notification_ui i3-wm.binding.notification_ui n 446 | set_from_resource $i3-wm.program.notification_ui i3-wm.program.notification_ui /usr/bin/rofication-gui 447 | bindsym $mod+$i3-wm.binding.notification_ui exec $i3-wm.program.notification_ui 448 | 449 | ############################################################################### 450 | # Workspace Management 451 | ############################################################################### 452 | 453 | # i3-snapshot for load/save current layout 454 | ## Modify // Save Window Layout // <> , ## 455 | set_from_resource $i3-wm.binding.save_layout i3-wm.binding.save_layout comma 456 | bindsym $mod+$i3-wm.binding.save_layout exec /usr/bin/i3-snapshot -o > /tmp/i3-snapshot 457 | ## Modify // Load Window Layout // <> . ## 458 | set_from_resource $i3-wm.binding.load_layout i3-wm.binding.load_layout period 459 | bindsym $mod+$i3-wm.binding.load_layout exec /usr/bin/i3-snapshot -c < /tmp/i3-snapshot 460 | 461 | # Toggle bar visibility 462 | ## Modify // Toggle Bar // <> i ## 463 | set_from_resource $i3-wm.binding.bar_toggle i3-wm.binding.bar_toggle i 464 | bindsym $mod+$i3-wm.binding.bar_toggle bar mode toggle 465 | 466 | # Cause Settings app to float above tiled windows 467 | floating_maximum_size -1 x -1 468 | for_window [class="floating_window"] floating enable 469 | 470 | set_from_resource $i3-wm.workspace.auto_back_and_forth i3-wm.workspace.auto_back_and_forth no 471 | workspace_auto_back_and_forth $i3-wm.workspace.auto_back_and_forth 472 | 473 | ############################################################################### 474 | # Window Resize and Gaps 475 | ############################################################################### 476 | 477 | set_from_resource $i3-wm.binding.inc_gaps i3-wm.binding.inc_gaps plus 478 | set_from_resource $i3-wm.binding.dec_gaps i3-wm.binding.dec_gaps minus 479 | 480 | set_from_resource $i3-wm.binding.inc_gaps_big i3-wm.binding.inc_gaps_big Shift+plus 481 | set_from_resource $i3-wm.binding.dec_gaps_big i3-wm.binding.dec_gaps_big Shift+minus 482 | 483 | ## Resize // Enter Resize Mode // <> r ## 484 | mode "Resize Mode" { 485 | # These bindings trigger as soon as you enter the resize mode 486 | 487 | ## Resize // Resize Window // ↑ ↓ ← → ## 488 | bindsym Left resize shrink width 6 px or 6 ppt 489 | bindsym Down resize grow height 6 px or 6 ppt 490 | bindsym Up resize shrink height 6 px or 6 ppt 491 | bindsym Right resize grow width 6 px or 6 ppt 492 | 493 | bindsym Shift+Left resize shrink width 12 px or 12 ppt 494 | bindsym Shift+Down resize grow height 12 px or 12 ppt 495 | bindsym Shift+Up resize shrink height 12 px or 12 ppt 496 | bindsym Shift+Right resize grow width 12 px or 12 ppt 497 | 498 | ## Resize // Resize Window // k j h l ## 499 | bindsym $i3-wm.binding.left resize shrink width 6 px or 6 ppt 500 | bindsym $i3-wm.binding.up resize grow height 6 px or 6 ppt 501 | bindsym $i3-wm.binding.down resize shrink height 6 px or 6 ppt 502 | bindsym $i3-wm.binding.right resize grow width 6 px or 6 ppt 503 | 504 | bindsym $i3-wm.binding.move_left resize shrink width 12 px or 12 ppt 505 | bindsym $i3-wm.binding.move_up resize grow height 12 px or 12 ppt 506 | bindsym $i3-wm.binding.move_down resize shrink height 12 px or 12 ppt 507 | bindsym $i3-wm.binding.move_right resize grow width 12 px or 12 ppt 508 | 509 | ## Resize // Window Gaps // + - ## 510 | bindsym $i3-wm.binding.dec_gaps gaps inner current minus 6 511 | bindsym $i3-wm.binding.inc_gaps gaps inner current plus 6 512 | bindsym $i3-wm.binding.dec_gaps_big gaps inner current minus 12 513 | bindsym $i3-wm.binding.inc_gaps_big gaps inner current plus 12 514 | 515 | ## Resize // Exit Resize Mode // Escape or Enter ## 516 | bindsym Return mode "default" 517 | bindsym Escape mode "default" 518 | bindsym $mod+r mode "default" 519 | } 520 | bindsym $mod+r mode "Resize Mode" 521 | 522 | ############################################################################### 523 | # i3 Appearance and Behavior 524 | ############################################################################### 525 | 526 | # Disable titlebar 527 | set_from_resource $i3-wm.window.border.size i3-wm.window.border.size 1 528 | set_from_resource $i3-wm.floatingwindow.border.size i3-wm.floatingwindow.border.size 1 529 | default_border pixel $i3-wm.window.border.size 530 | default_floating_border pixel $i3-wm.floatingwindow.border.size 531 | 532 | # Specify the distance between windows in pixels. (i3-gaps) 533 | set_from_resource $i3-wm.gaps.inner.size i3-wm.gaps.inner.size 5 534 | set_from_resource $i3-wm.gaps.outer.size i3-wm.gaps.outer.size 0 535 | gaps inner $i3-wm.gaps.inner.size 536 | gaps outer $i3-wm.gaps.outer.size 537 | 538 | # Only enable gaps on a workspace when there is at least one container 539 | set_from_resource $i3-wm.gaps.smart i3-wm.gaps.smart on 540 | smart_gaps $i3-wm.gaps.smart 541 | 542 | # Enable popup during fullscreen 543 | set_from_resource $i3-wm.gaps.popup_during_fullscreen i3-wm.gaps.popup_during_fullscreen smart 544 | popup_during_fullscreen $i3-wm.gaps.popup_during_fullscreen 545 | 546 | # window focus follows your mouse movements as the mouse crosses window borders 547 | set_from_resource $i3-wm.gaps.focus_follows_mouse i3-wm.gaps.focus_follows_mouse no 548 | focus_follows_mouse $i3-wm.gaps.focus_follows_mouse 549 | 550 | ############################################################################### 551 | # i3 Colors and Fonts 552 | ############################################################################### 553 | 554 | # Create variables from Xresources for i3's look. 555 | set_from_resource $focused.color.border i3-wm.client.focused.color.border "#002b36" 556 | set_from_resource $focused.color.background i3-wm.client.focused.color.background "#586e75" 557 | set_from_resource $focused.color.text i3-wm.client.focused.color.text "#fdf6e3" 558 | set_from_resource $focused.color.indicator i3-wm.client.focused.color.indicator "#268bd2" 559 | set_from_resource $focused.color.child_border i3-wm.client.focused.color.child_border 560 | 561 | set_from_resource $focused_inactive.color.border i3-wm.client.focused_inactive.color.border "#002b36" 562 | set_from_resource $focused_inactive.color.background i3-wm.client.focused_inactive.color.background "#073642" 563 | set_from_resource $focused_inactive.color.text i3-wm.client.focused_inactive.color.text "#839496" 564 | set_from_resource $focused_inactive.color.indicator i3-wm.client.focused_inactive.color.indicator "#073642" 565 | set_from_resource $focused_inactive.color.child_border i3-wm.client.focused_inactive.color.child_border 566 | 567 | set_from_resource $unfocused.color.border i3-wm.client.unfocused.color.border "#002b36" 568 | set_from_resource $unfocused.color.background i3-wm.client.unfocused.color.background "#073642" 569 | set_from_resource $unfocused.color.text i3-wm.client.unfocused.color.text "#839496" 570 | set_from_resource $unfocused.color.indicator i3-wm.client.unfocused.color.indicator "#073642" 571 | set_from_resource $unfocused.color.child_border i3-wm.client.unfocused.color.child_border 572 | 573 | set_from_resource $urgent.color.border i3-wm.client.urgent.color.border "#002b36" 574 | set_from_resource $urgent.color.background i3-wm.client.urgent.color.background "#dc322f" 575 | set_from_resource $urgent.color.text i3-wm.client.urgent.color.text "#fdf6e3" 576 | set_from_resource $urgent.color.indicator i3-wm.client.urgent.color.indicator "#002b36" 577 | set_from_resource $urgent.color.child_border i3-wm.client.urgent.color.child_border 578 | 579 | 580 | # Window Border color 581 | # class border background text indicator child_border 582 | client.focused $focused.color.border $focused.color.background $focused.color.text $focused.color.indicator $focused.color.child_border 583 | client.focused_inactive $focused_inactive.color.border $focused_inactive.color.background $focused_inactive.color.text $focused_inactive.color.indicator $focused_inactive.color.child_border 584 | client.unfocused $unfocused.color.border $unfocused.color.background $unfocused.color.text $unfocused.color.indicator $unfocused.color.child_border 585 | client.urgent $urgent.color.border $urgent.color.background $urgent.color.text $urgent.color.indicator $urgent.color.child_border 586 | 587 | # Create variables from Xresources for i3bars's look. 588 | set_from_resource $i3-wm.bar.background.color i3-wm.bar.background.color "#002b36" 589 | set_from_resource $i3-wm.bar.statusline.color i3-wm.bar.statusline.color "#93a1a1" 590 | set_from_resource $i3-wm.bar.separator.color i3-wm.bar.separator.color "#268bd2" 591 | 592 | set_from_resource $i3-wm.bar.workspace.focused.border.color i3-wm.bar.workspace.focused.border.color "#073642" 593 | set_from_resource $i3-wm.bar.workspace.focused.background.color i3-wm.bar.workspace.focused.background.color "#073642" 594 | set_from_resource $i3-wm.bar.workspace.focused.text.color i3-wm.bar.workspace.focused.text.color "#eee8d5" 595 | 596 | set_from_resource $i3-wm.bar.workspace.active.border.color i3-wm.bar.workspace.active.border.color "#073642" 597 | set_from_resource $i3-wm.bar.workspace.active.background.color i3-wm.bar.workspace.active.background.color "#073642" 598 | set_from_resource $i3-wm.bar.workspace.active.text.color i3-wm.bar.workspace.active.text.color "#586e75" 599 | 600 | set_from_resource $i3-wm.bar.workspace.inactive.border.color i3-wm.bar.workspace.inactive.border.color "#002b36" 601 | set_from_resource $i3-wm.bar.workspace.inactive.background.color i3-wm.bar.workspace.inactive.background.color "#002b36" 602 | set_from_resource $i3-wm.bar.workspace.inactive.text.color i3-wm.bar.workspace.inactive.text.color "#586e75" 603 | 604 | set_from_resource $i3-wm.bar.workspace.urgent.border.color i3-wm.bar.workspace.urgent.border.color "#dc322f" 605 | set_from_resource $i3-wm.bar.workspace.urgent.background.color i3-wm.bar.workspace.urgent.background.color "#dc322f" 606 | set_from_resource $i3-wm.bar.workspace.urgent.text.color i3-wm.bar.workspace.urgent.text.color "#fdf6e3" 607 | 608 | # Sets i3 font for dialogs 609 | set_from_resource $i3-wm.font i3-wm.font pango:Source Code Pro Medium 13 610 | font $i3-wm.font 611 | 612 | ############################################################################### 613 | # i3 Bar 614 | ############################################################################### 615 | 616 | set_from_resource $i3-wm.bar.position i3-wm.bar.position bottom 617 | set_from_resource $i3-wm.bar.font i3-wm.bar.font pango:Source Code Pro Medium 13, Material Design Icons 13 618 | set_from_resource $i3-wm.bar.separator i3-wm.bar.separator " " 619 | set_from_resource $i3-wm.bar.trayoutput i3-wm.bar.trayoutput primary 620 | set_from_resource $i3-wm.bar.stripworkspacenumbers i3-wm.bar.stripworkspacenumbers yes 621 | set_from_resource $i3-wm.bar.mode i3-wm.bar.mode dock 622 | 623 | # i3xrocks config file. Override this for a custom status bar generator. 624 | set_from_resource $i3-wm.bar.status_command i3-wm.bar.status_command i3xrocks -u ~/.config/regolith2/i3xrocks/conf.d -d /etc/regolith/i3xrocks/conf.d 625 | 626 | # The bar configuration 627 | bar { 628 | position $i3-wm.bar.position 629 | mode $i3-wm.bar.mode 630 | font $i3-wm.bar.font 631 | separator_symbol $i3-wm.bar.separator 632 | status_command $i3-wm.bar.status_command 633 | tray_output $i3-wm.bar.trayoutput 634 | strip_workspace_numbers $i3-wm.bar.stripworkspacenumbers 635 | 636 | colors { 637 | background $i3-wm.bar.background.color 638 | statusline $i3-wm.bar.statusline.color 639 | separator $i3-wm.bar.separator.color 640 | 641 | # BORDER BACKGROUND TEXT 642 | focused_workspace $i3-wm.bar.workspace.focused.border.color $i3-wm.bar.workspace.focused.background.color $i3-wm.bar.workspace.focused.text.color 643 | active_workspace $i3-wm.bar.workspace.active.border.color $i3-wm.bar.workspace.active.background.color $i3-wm.bar.workspace.active.text.color 644 | inactive_workspace $i3-wm.bar.workspace.inactive.border.color $i3-wm.bar.workspace.inactive.background.color $i3-wm.bar.workspace.inactive.text.color 645 | urgent_workspace $i3-wm.bar.workspace.urgent.border.color $i3-wm.bar.workspace.urgent.background.color $i3-wm.bar.workspace.urgent.text.color 646 | } 647 | } 648 | 649 | ############################################################################### 650 | # External programs launched with i3 651 | ############################################################################### 652 | 653 | # Start the installed regolith-compositor 654 | set_from_resource $i3-wm.program.compositor i3-wm.program.compositor /usr/share/regolith-compositor/init 655 | exec_always --no-startup-id $i3-wm.program.compositor 656 | 657 | # Start Rofication for notifications 658 | set_from_resource $i3-wm.program.notifications i3-wm.program.notifications /usr/bin/rofication-daemon 659 | exec --no-startup-id $i3-wm.program.notifications 660 | 661 | # Launch first time user experience script 662 | set_from_resource $i3-wm.program.ftui i3-wm.program.ftui /usr/bin/regolith-ftue 663 | exec --no-startup-id $i3-wm.program.ftui 664 | 665 | # Hide the mouse pointer if unused for a duration 666 | set_from_resource $i3-wm.program.unclutter i3-wm.program.unclutter /usr/bin/unclutter -b 667 | exec --no-startup-id $i3-wm.program.unclutter 668 | 669 | # Load nm-applet to provide auth dialogs for network access 670 | set_from_resource $i3-wm.program.nm-applet i3-wm.program.nm-applet /usr/bin/nm-applet 671 | exec --no-startup-id $i3-wm.program.nm-applet 672 | 673 | # User programs from Xresources 674 | # To use, define an Xresource key i3-wm.program.[1-3] with the value of the program to launch. 675 | # See https://regolith-linux.org/docs/howtos/override-xres/ for details. 676 | set_from_resource $i3-wm.program.1 i3-wm.program.1 : 677 | exec --no-startup-id $i3-wm.program.1 678 | set_from_resource $i3-wm.program.2 i3-wm.program.2 : 679 | exec --no-startup-id $i3-wm.program.2 680 | set_from_resource $i3-wm.program.3 i3-wm.program.3 : 681 | exec --no-startup-id $i3-wm.program.3 682 | --------------------------------------------------------------------------------