dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

config (26073B)


      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, may values are taken from Xresources with the directive 
      9 # set_from_resource:
     10 #
     11 # set_from_resource <i3 variable name> <Xresources key> <default value>
     12 # 
     13 # This configuration file utilizes Xresource variables to enable users to
     14 # change the configuration without having to make a copy of this config file.
     15 # The benefit to not copying this file is easier upgrading in the future.
     16 # To update a value in this config without making a copy, update the Xresource 
     17 # value in the file ~/.config/regolith/Xresources.
     18 # 
     19 # For example, to change the bar position to the top of the screen this is the
     20 # i3 config entry:
     21 # set_from_resource $i3-wm.bar.position i3-wm.bar.position bottom
     22 #
     23 # So add this line to ~/.config/regolith/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/howto/override-xres/
     28 #
     29 ###############################################################################
     30 #
     31 # This file uses a machine-parsable format for comments. The schema:
     32 # ## <Category> // <Action> // <Keybinding> ##
     33 # Learn more at https://github.com/regolith-linux/remontoire
     34 #
     35 ###############################################################################
     36 
     37 ###############################################################################
     38 # Meta Key Mappings
     39 # Alt key is Mod1, and Windows key is Mod4
     40 ###############################################################################
     41 
     42 set_from_resource $mod  i3-wm.mod Mod4
     43 set_from_resource $alt  i3-wm.alt Mod1
     44 
     45 ###############################################################################
     46 # Workspace Names
     47 # These are the labels which define each i3 workspace.
     48 ###############################################################################
     49 
     50 set_from_resource $ws1  i3-wm.workspace.01.name "1"
     51 set_from_resource $ws2  i3-wm.workspace.02.name "2"
     52 set_from_resource $ws3  i3-wm.workspace.03.name "3"
     53 set_from_resource $ws4  i3-wm.workspace.04.name "4"
     54 set_from_resource $ws5  i3-wm.workspace.05.name "5"
     55 set_from_resource $ws6  i3-wm.workspace.06.name "6"
     56 set_from_resource $ws7  i3-wm.workspace.07.name "7"
     57 set_from_resource $ws8  i3-wm.workspace.08.name "8"
     58 set_from_resource $ws9  i3-wm.workspace.09.name "9"
     59 set_from_resource $ws10 i3-wm.workspace.10.name "10"
     60 set_from_resource $ws11 i3-wm.workspace.11.name "11"
     61 set_from_resource $ws12 i3-wm.workspace.12.name "12"
     62 set_from_resource $ws13 i3-wm.workspace.13.name "13"
     63 set_from_resource $ws14 i3-wm.workspace.14.name "14"
     64 set_from_resource $ws15 i3-wm.workspace.15.name "15"
     65 set_from_resource $ws16 i3-wm.workspace.16.name "16"
     66 set_from_resource $ws17 i3-wm.workspace.17.name "17"
     67 set_from_resource $ws18 i3-wm.workspace.18.name "18"
     68 set_from_resource $ws19 i3-wm.workspace.19.name "19"
     69 
     70 ###############################################################################
     71 # Launcher dialogs
     72 ###############################################################################
     73 
     74 ## Launch // Terminal // <> Enter ##
     75 bindsym $mod+Return exec SHLVL=0 /usr/bin/x-terminal-emulator
     76 
     77 ## Launch // Browser // <><Shift> Enter ##
     78 bindsym $mod+Shift+Return exec gtk-launch $(xdg-settings get default-web-browser)
     79 
     80 set_from_resource $rofiTheme rofi.theme /etc/regolith/styles/lascaille/rofi.rasi
     81 
     82 ## Launch // Application // <> Space ##
     83 set_from_resource $i3-wm.program.launcher.app i3-wm.program.launcher.app rofi -show drun -theme $rofiTheme
     84 bindsym $mod+space exec $i3-wm.program.launcher.app
     85 
     86 ## Launch // Command // <> r ##
     87 set_from_resource $i3-wm.program.launcher.cmd i3-wm.program.launcher.cmd rofi -show run -theme $rofiTheme
     88 bindsym $mod+r exec $i3-wm.program.launcher.cmd
     89 
     90 ## Navigate // Window by Name // <><Ctrl> Space ##
     91 set_from_resource $i3-wm.program.launcher.window i3-wm.program.launcher.window rofi -show window -theme $rofiTheme
     92 bindsym $mod+Ctrl+space exec $i3-wm.program.launcher.window
     93 
     94 ## Launch // This Dialog // <><Shift> ? ##
     95 set_from_resource $i3-wm.program.help i3-wm.program.help /usr/bin/remontoire-toggle
     96 bindsym $mod+Shift+question exec --no-startup-id $i3-wm.program.help
     97 
     98 ## Launch // File Search // <><Alt> Space ##
     99 set_from_resource $i3-wm.program.file_search i3-wm.program.file_search rofi -show find -modi find:/usr/share/rofi/modi/finder.sh
    100 bindsym $mod+$alt+space exec $i3-wm.program.file_search
    101 
    102 ###############################################################################
    103 # Window and Workspace Navigation
    104 ###############################################################################
    105 ## Navigate // Relative Window // <Alt> h j k l ##
    106 bindsym $alt+h focus left
    107 bindsym $alt+j focus down
    108 bindsym $alt+k focus up
    109 bindsym $alt+l focus right
    110 
    111 ## Navigate // Workspaces 1-10 // <> 0..9 ##
    112 bindsym $mod+1 workspace number $ws1
    113 bindsym $mod+2 workspace number $ws2
    114 bindsym $mod+3 workspace number $ws3
    115 bindsym $mod+4 workspace number $ws4
    116 bindsym $mod+5 workspace number $ws5
    117 bindsym $mod+6 workspace number $ws6
    118 bindsym $mod+7 workspace number $ws7
    119 bindsym $mod+8 workspace number $ws8
    120 bindsym $mod+9 workspace number $ws9
    121 bindsym $mod+0 workspace number $ws10
    122 ## Navigate // Workspace 11 - 19 // <><Ctrl> 0..9 ##
    123 bindsym $mod+Ctrl+1 workspace number $ws11
    124 bindsym $mod+Ctrl+2 workspace number $ws12
    125 bindsym $mod+Ctrl+3 workspace number $ws13
    126 bindsym $mod+Ctrl+4 workspace number $ws14
    127 bindsym $mod+Ctrl+5 workspace number $ws15
    128 bindsym $mod+Ctrl+6 workspace number $ws16
    129 bindsym $mod+Ctrl+7 workspace number $ws17
    130 bindsym $mod+Ctrl+8 workspace number $ws18
    131 bindsym $mod+Ctrl+9 workspace number $ws19
    132 
    133 ## Navigate // Next Workspace // <> Tab ##
    134 bindsym $mod+Tab workspace next
    135 
    136 ## Navigate // Next Workspace // <><Alt> → ##
    137 bindsym $mod+$alt+Right workspace next
    138 
    139 ## Navigate // Previous Workspace // <><Shift> Tab ##
    140 bindsym $mod+Shift+Tab workspace prev
    141 
    142 ## Navigate // Previous Workspace // <><Alt> ← ##
    143 bindsym $mod+$alt+Left workspace prev
    144 
    145 ## Navigate // Scratchpad // <><Ctrl> a ##
    146 bindsym $mod+Ctrl+a scratchpad show
    147 
    148 ###############################################################################
    149 # Window and Workspace Configuration
    150 ###############################################################################
    151 
    152 ## Modify // Window Position // <><Shift> ↑ ↓ ← → ##
    153 bindsym $mod+Shift+Left move left
    154 bindsym $mod+Shift+Down move down
    155 bindsym $mod+Shift+Up move up
    156 bindsym $mod+Shift+Right move right
    157 
    158 ## Modify // Window Position // <><Shift> k j h l ##
    159 bindsym $mod+Shift+h move left
    160 bindsym $mod+Shift+j move down
    161 bindsym $mod+Shift+k move up
    162 bindsym $mod+Shift+l move right
    163 
    164 ## Modify // Containing Workspace // <><Ctrl><Shift> ↑ ↓ ← → ##
    165 bindsym $mod+Ctrl+Shift+Left move workspace to output left
    166 bindsym $mod+Ctrl+Shift+Down move workspace to output down
    167 bindsym $mod+Ctrl+Shift+Up move workspace to output up
    168 bindsym $mod+Ctrl+Shift+Right move workspace to output right
    169 
    170 ## Modify // Next Window Orientation // <> Backspace ##
    171 bindsym $mod+BackSpace split toggle
    172 
    173 ## Modify // Window Fullscreen Toggle // <> f ##
    174 bindsym $mod+f fullscreen toggle
    175 
    176 ## Modify // Window Floating Toggle // <><Shift> f ##
    177 bindsym $mod+Shift+f floating toggle
    178 
    179 ## Modify // Move to Scratchpad // <><Ctrl> m ##
    180 bindsym $mod+Ctrl+m move to scratchpad
    181 
    182 ## Modify // Tile/Float Focus Toggle // <><Shift> t ##
    183 bindsym $mod+Shift+t focus mode_toggle
    184 
    185 ## Modify // Window Layout Mode // <> t ##
    186 bindsym $mod+t layout toggle tabbed splith splitv
    187 
    188 ## Modify // Move Window to Workspace 1 - 10 // <><Shift> 0..9 ##
    189 bindsym $mod+Shift+1 move container to workspace number $ws1
    190 bindsym $mod+Shift+2 move container to workspace number $ws2
    191 bindsym $mod+Shift+3 move container to workspace number $ws3
    192 bindsym $mod+Shift+4 move container to workspace number $ws4
    193 bindsym $mod+Shift+5 move container to workspace number $ws5
    194 bindsym $mod+Shift+6 move container to workspace number $ws6
    195 bindsym $mod+Shift+7 move container to workspace number $ws7
    196 bindsym $mod+Shift+8 move container to workspace number $ws8
    197 bindsym $mod+Shift+9 move container to workspace number $ws9
    198 bindsym $mod+Shift+0 move container to workspace number $ws10
    199 ## Modify // Move Window to Workspace 11 - 19// <><Ctrl><Shift> 0..9 ##
    200 bindsym $mod+Shift+Ctrl+1 move container to workspace number $ws11
    201 bindsym $mod+Shift+Ctrl+2 move container to workspace number $ws12
    202 bindsym $mod+Shift+Ctrl+3 move container to workspace number $ws13
    203 bindsym $mod+Shift+Ctrl+4 move container to workspace number $ws14
    204 bindsym $mod+Shift+Ctrl+5 move container to workspace number $ws15
    205 bindsym $mod+Shift+Ctrl+6 move container to workspace number $ws16
    206 bindsym $mod+Shift+Ctrl+7 move container to workspace number $ws17
    207 bindsym $mod+Shift+Ctrl+8 move container to workspace number $ws18
    208 bindsym $mod+Shift+Ctrl+9 move container to workspace number $ws19
    209 
    210 # move focused container to workspace, move to workspace
    211 ## Modify // Carry Window to Workspace 1 - 10// <><Alt> 0..9 ##
    212 bindsym $mod+$alt+1 move container to workspace number $ws1; workspace number $ws1  
    213 bindsym $mod+$alt+2 move container to workspace number $ws2; workspace number $ws2
    214 bindsym $mod+$alt+3 move container to workspace number $ws3; workspace number $ws3
    215 bindsym $mod+$alt+4 move container to workspace number $ws4; workspace number $ws4
    216 bindsym $mod+$alt+5 move container to workspace number $ws5; workspace number $ws5
    217 bindsym $mod+$alt+6 move container to workspace number $ws6; workspace number $ws6
    218 bindsym $mod+$alt+7 move container to workspace number $ws7; workspace number $ws7
    219 bindsym $mod+$alt+8 move container to workspace number $ws8; workspace number $ws8
    220 bindsym $mod+$alt+9 move container to workspace number $ws9; workspace number $ws9
    221 bindsym $mod+$alt+0 move container to workspace number $ws10; workspace number $ws10
    222 ## Modify // Carry Window to Workspace 11 - 19 // <><Alt><Ctrl> 0..9 ##
    223 bindsym $mod+$alt+Ctrl+1 move container to workspace number $ws11; workspace number $ws11
    224 bindsym $mod+$alt+Ctrl+2 move container to workspace number $ws12; workspace number $ws12
    225 bindsym $mod+$alt+Ctrl+3 move container to workspace number $ws13; workspace number $ws13
    226 bindsym $mod+$alt+Ctrl+4 move container to workspace number $ws14; workspace number $ws14
    227 bindsym $mod+$alt+Ctrl+5 move container to workspace number $ws15; workspace number $ws15
    228 bindsym $mod+$alt+Ctrl+6 move container to workspace number $ws16; workspace number $ws16
    229 bindsym $mod+$alt+Ctrl+7 move container to workspace number $ws17; workspace number $ws17
    230 bindsym $mod+$alt+Ctrl+8 move container to workspace number $ws18; workspace number $ws18
    231 bindsym $mod+$alt+Ctrl+9 move container to workspace number $ws19; workspace number $ws19
    232 
    233 # Use Mouse+$mod to drag floating windows to their wanted position
    234 floating_modifier $mod
    235 
    236 hide_edge_borders smart
    237 
    238 ###############################################################################
    239 # Session Management
    240 ###############################################################################
    241 
    242 ## Session // Exit App // <Alt> q ##
    243 bindsym $alt+q [con_id="__focused__"] kill
    244 
    245 ## Session // Terminate App // <><Alt> q ##
    246 bindsym $mod+$alt+q [con_id="__focused__"] exec --no-startup-id kill -9 $(xdotool getwindowfocus getwindowpid)
    247 
    248 ## Session // Reload i3 Config // <><Shift> c ##
    249 bindsym $mod+Shift+c reload
    250 
    251 ## Session // Refresh Session // <><Shift> r ##
    252 set_from_resource $i3-wm.program.refresh_ui i3-wm.program.refresh_ui /usr/bin/regolith-look refresh
    253 bindsym $mod+Shift+r exec --no-startup-id $i3-wm.program.refresh_ui
    254 
    255 ## Session // Restart i3 // <><Ctrl> r ##
    256 bindsym $mod+Ctrl+r restart
    257 
    258 ## Session // Logout // <><Shift> e ##
    259 set_from_resource $i3-wm.program.logout i3-wm.program.logout /usr/bin/gnome-session-quit --logout
    260 bindsym $mod+Shift+e exec $i3-wm.program.logout
    261 
    262 ## Session // Reboot // <><Shift> b ##
    263 set_from_resource $i3-wm.program.reboot i3-wm.program.reboot /usr/bin/gnome-session-quit --reboot
    264 bindsym $mod+Shift+b exec $i3-wm.program.reboot
    265 
    266 ## Session // Power Down // <><Shift> p ##
    267 set_from_resource $i3-wm.program.shutdown i3-wm.program.shutdown /usr/bin/gnome-session-quit --power-off
    268 bindsym $mod+Shift+p exec $i3-wm.program.shutdown
    269 
    270 ## Session // Lock Screen // <> Escape ##
    271 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
    272 bindsym $mod+Escape exec $i3-wm.program.lock
    273 
    274 ## Session // Sleep // <><Shift> s ##
    275 set_from_resource $i3-wm.program.sleep i3-wm.program.sleep systemctl suspend
    276 bindsym $mod+Shift+s exec $i3-wm.program.sleep
    277 
    278 ###############################################################################
    279 # System Management
    280 ###############################################################################
    281 
    282 ## Modify // Settings // <> c ##
    283 set_from_resource $i3-wm.program.settings i3-wm.program.settings gnome-control-center
    284 bindsym $mod+c exec $i3-wm.program.settings
    285 
    286 ## Modify // Display Settings // <> d ##
    287 set_from_resource $i3-wm.program.display i3-wm.program.display gnome-control-center display
    288 bindsym $mod+d exec $i3-wm.program.display
    289 
    290 ## Modify // Wifi Settings // <> w ##
    291 set_from_resource $i3-wm.program.wifi i3-wm.program.wifi gnome-control-center wifi
    292 bindsym $mod+w exec $i3-wm.program.wifi
    293 
    294 ## Modify // Bluetooth Settings // <> b ##
    295 set_from_resource $i3-wm.program.bluetooth i3-wm.program.bluetooth gnome-control-center bluetooth
    296 bindsym $mod+b exec $i3-wm.program.bluetooth
    297 
    298 ## Launch // File Browser // <><Shift> n ##
    299 set_from_resource $i3-wm.program.files i3-wm.program.files /usr/bin/nautilus --new-window
    300 bindsym $mod+Shift+n exec $i3-wm.program.files
    301 
    302 ## Launch // Notification Viewer // <> n ##
    303 set_from_resource $i3-wm.program.notification_ui i3-wm.program.notification_ui /usr/bin/rofication-gui
    304 bindsym $mod+n exec $i3-wm.program.notification_ui
    305 
    306 ###############################################################################
    307 # Workspace Management
    308 ###############################################################################
    309 
    310 # i3-snapshot for load/save current layout
    311 ## Modify // Save Window Layout // <> , ##
    312 bindsym $mod+comma  exec /usr/bin/i3-snapshot -o > /tmp/i3-snapshot 
    313 ## Modify // Load Window Layout // <> . ##
    314 bindsym $mod+period exec /usr/bin/i3-snapshot -c < /tmp/i3-snapshot
    315 
    316 # Toggle bar visibility
    317 ## Modify // Toggle Bar // <> i ##
    318 bindsym $mod+i bar mode toggle
    319 
    320 # Cause Settings app to float above tiled windows
    321 floating_maximum_size -1 x -1
    322 for_window [class="Gnome-control-center"] floating enable
    323 
    324 ###############################################################################
    325 # Window Resize and Gaps
    326 ###############################################################################
    327 
    328 ## Resize // Enter Resize Mode // <Alt> r ##
    329 mode "Resize Mode" {
    330         # These bindings trigger as soon as you enter the resize mode
    331 
    332         ## Resize // Resize Window // ↑ ↓ ← → ##
    333         bindsym Left resize shrink width 6 px or 6 ppt
    334         bindsym Down resize grow height 6 px or 6 ppt
    335         bindsym Up resize shrink height 6 px or 6 ppt
    336         bindsym Right resize grow width 6 px or 6 ppt
    337 
    338         bindsym Shift+Left resize shrink width 12 px or 12 ppt
    339         bindsym Shift+Down resize grow height 12 px or 12 ppt
    340         bindsym Shift+Up resize shrink height 12 px or 12 ppt
    341         bindsym Shift+Right resize grow width 12 px or 12 ppt
    342 
    343         ## Resize // Resize Window // k j h l ##
    344         bindsym h resize shrink width 6 px or 6 ppt
    345         bindsym k resize grow height 6 px or 6 ppt
    346         bindsym j resize shrink height 6 px or 6 ppt
    347         bindsym l resize grow width 6 px or 6 ppt
    348 
    349         bindsym Shift+h resize shrink width 12 px or 12 ppt
    350         bindsym Shift+k resize grow height 12 px or 12 ppt
    351         bindsym Shift+j resize shrink height 12 px or 12 ppt
    352         bindsym Shift+l resize grow width 12 px or 12 ppt
    353 
    354         ## Resize // Window Gaps // + - ##
    355         bindsym minus gaps inner current minus 6
    356         bindsym plus gaps inner current plus 6
    357         bindsym Shift+minus gaps inner current minus 12
    358         bindsym Shift+plus gaps inner current plus 12
    359 
    360         ## Resize // Exit Resize Mode // Escape or Enter ## 
    361         bindsym Return mode "default"
    362         bindsym Escape mode "default"
    363         bindsym $alt+r mode "default"
    364 }
    365 bindsym $alt+r mode "Resize Mode"
    366 
    367 ###############################################################################
    368 # i3 Appearance and Behavior
    369 ###############################################################################
    370 
    371 # Disable titlebar
    372 set_from_resource $i3-wm.window.border.size i3-wm.window.border.size 1
    373 set_from_resource $i3-wm.floatingwindow.border.size i3-wm.floatingwindow.border.size 1
    374 default_border pixel $i3-wm.window.border.size
    375 default_floating_border pixel $i3-wm.floatingwindow.border.size
    376 
    377 # Specify the distance between windows in pixels. (i3-gaps)
    378 set_from_resource $i3-wm.gaps.inner.size i3-wm.gaps.inner.size 5
    379 set_from_resource $i3-wm.gaps.outer.size i3-wm.gaps.outer.size 0
    380 gaps inner $i3-wm.gaps.inner.size
    381 gaps outer $i3-wm.gaps.outer.size
    382 
    383 # Only enable gaps on a workspace when there is at least one container
    384 set_from_resource $i3-wm.gaps.smart i3-wm.gaps.smart on
    385 smart_gaps $i3-wm.gaps.smart
    386 
    387 # Enable popup during fullscreen
    388 set_from_resource $i3-wm.gaps.popup_during_fullscreen i3-wm.gaps.popup_during_fullscreen smart
    389 popup_during_fullscreen $i3-wm.gaps.popup_during_fullscreen
    390 
    391 # window focus follows your mouse movements as the mouse crosses window borders
    392 set_from_resource $i3-wm.gaps.focus_follows_mouse i3-wm.gaps.focus_follows_mouse no
    393 focus_follows_mouse $i3-wm.gaps.focus_follows_mouse
    394 
    395 ###############################################################################
    396 # i3 Colors and Fonts
    397 ###############################################################################
    398 
    399 # Create variables from Xresources for i3's look.
    400 set_from_resource $focused.color.border i3-wm.client.focused.color.border "#002b36"
    401 set_from_resource $focused.color.background i3-wm.client.focused.color.background "#586e75"
    402 set_from_resource $focused.color.text i3-wm.client.focused.color.text "#fdf6e3"
    403 set_from_resource $focused.color.indicator i3-wm.client.focused.color.indicator "#268bd2"
    404 set_from_resource $focused.color.child_border i3-wm.client.focused.color.child_border
    405 
    406 set_from_resource $focused_inactive.color.border i3-wm.client.focused_inactive.color.border "#002b36"
    407 set_from_resource $focused_inactive.color.background i3-wm.client.focused_inactive.color.background "#073642"
    408 set_from_resource $focused_inactive.color.text i3-wm.client.focused_inactive.color.text "#839496"
    409 set_from_resource $focused_inactive.color.indicator i3-wm.client.focused_inactive.color.indicator "#073642"
    410 set_from_resource $focused_inactive.color.child_border i3-wm.client.focused_inactive.color.child_border
    411 
    412 set_from_resource $unfocused.color.border i3-wm.client.unfocused.color.border "#002b36"
    413 set_from_resource $unfocused.color.background i3-wm.client.unfocused.color.background "#073642"
    414 set_from_resource $unfocused.color.text i3-wm.client.unfocused.color.text "#839496"
    415 set_from_resource $unfocused.color.indicator i3-wm.client.unfocused.color.indicator "#073642"
    416 set_from_resource $unfocused.color.child_border i3-wm.client.unfocused.color.child_border
    417 
    418 set_from_resource $urgent.color.border i3-wm.client.urgent.color.border "#002b36"
    419 set_from_resource $urgent.color.background i3-wm.client.urgent.color.background "#dc322f"
    420 set_from_resource $urgent.color.text i3-wm.client.urgent.color.text "#fdf6e3"
    421 set_from_resource $urgent.color.indicator i3-wm.client.urgent.color.indicator "#002b36"
    422 set_from_resource $urgent.color.child_border i3-wm.client.urgent.color.child_border
    423 
    424 
    425 # Window Border color
    426 # class                 border                             background                         text                               indicator                          child_border
    427 client.focused          $focused.color.border              $focused.color.background          $focused.color.text                $focused.color.indicator           $focused.color.child_border
    428 client.focused_inactive $focused_inactive.color.border     $focused_inactive.color.background $focused_inactive.color.text       $focused_inactive.color.indicator  $focused_inactive.color.child_border
    429 client.unfocused        $unfocused.color.border            $unfocused.color.background        $unfocused.color.text              $unfocused.color.indicator         $unfocused.color.child_border
    430 client.urgent           $urgent.color.border               $urgent.color.background           $urgent.color.text                 $urgent.color.indicator            $urgent.color.child_border
    431 
    432 # Create variables from Xresources for i3bars's look.
    433 set_from_resource $i3-wm.bar.background.color i3-wm.bar.background.color "#002b36"
    434 set_from_resource $i3-wm.bar.statusline.color i3-wm.bar.statusline.color "#93a1a1"
    435 set_from_resource $i3-wm.bar.separator.color i3-wm.bar.separator.color "#268bd2"
    436 
    437 set_from_resource $i3-wm.bar.workspace.focused.border.color i3-wm.bar.workspace.focused.border.color "#073642"
    438 set_from_resource $i3-wm.bar.workspace.focused.background.color i3-wm.bar.workspace.focused.background.color "#073642"
    439 set_from_resource $i3-wm.bar.workspace.focused.text.color i3-wm.bar.workspace.focused.text.color "#eee8d5"
    440 
    441 set_from_resource $i3-wm.bar.workspace.active.border.color i3-wm.bar.workspace.active.border.color "#073642"
    442 set_from_resource $i3-wm.bar.workspace.active.background.color i3-wm.bar.workspace.active.background.color "#073642"
    443 set_from_resource $i3-wm.bar.workspace.active.text.color i3-wm.bar.workspace.active.text.color "#586e75"
    444 
    445 set_from_resource $i3-wm.bar.workspace.inactive.border.color i3-wm.bar.workspace.inactive.border.color "#002b36"
    446 set_from_resource $i3-wm.bar.workspace.inactive.background.color i3-wm.bar.workspace.inactive.background.color "#002b36"
    447 set_from_resource $i3-wm.bar.workspace.inactive.text.color i3-wm.bar.workspace.inactive.text.color "#586e75"
    448 
    449 set_from_resource $i3-wm.bar.workspace.urgent.border.color i3-wm.bar.workspace.urgent.border.color "#dc322f"
    450 set_from_resource $i3-wm.bar.workspace.urgent.background.color i3-wm.bar.workspace.urgent.background.color "#dc322f"
    451 set_from_resource $i3-wm.bar.workspace.urgent.text.color i3-wm.bar.workspace.urgent.text.color "#fdf6e3"
    452 
    453 # Sets i3 font for dialogs
    454 set_from_resource $i3-wm.font i3-wm.font pango:Source Code Pro Medium 13
    455 font $i3-wm.font
    456 
    457 ###############################################################################
    458 # i3 Bar
    459 ###############################################################################
    460 
    461 set_from_resource $i3-wm.bar.position i3-wm.bar.position bottom
    462 set_from_resource $i3-wm.bar.font i3-wm.bar.font pango:Source Code Pro Medium 13, Material Design Icons 13
    463 set_from_resource $i3-wm.bar.separator i3-wm.bar.separator " "
    464 set_from_resource $i3-wm.bar.trayoutput i3-wm.bar.trayoutput none
    465 set_from_resource $i3-wm.bar.stripworkspacenumbers i3-wm.bar.stripworkspacenumbers yes
    466 
    467 # i3xrocks config file. Override this for custom status indicators on the bar.
    468 set_from_resource $i3-wm.bar.status_command i3-wm.bar.status_command i3xrocks -u ~/.config/regolith/i3xrocks/conf.d -d /etc/regolith/i3xrocks/conf.d
    469 
    470 # The bar configuration
    471 bar {
    472   position $i3-wm.bar.position
    473   font $i3-wm.bar.font
    474   separator_symbol $i3-wm.bar.separator
    475   status_command $i3-wm.bar.status_command
    476   tray_output $i3-wm.bar.trayoutput
    477   strip_workspace_numbers $i3-wm.bar.stripworkspacenumbers
    478 
    479   colors {
    480       background $i3-wm.bar.background.color
    481       statusline $i3-wm.bar.statusline.color
    482       separator  $i3-wm.bar.separator.color
    483 
    484 #                        BORDER  BACKGROUND TEXT
    485       focused_workspace  $i3-wm.bar.workspace.focused.border.color      $i3-wm.bar.workspace.focused.background.color   $i3-wm.bar.workspace.focused.text.color
    486       active_workspace   $i3-wm.bar.workspace.active.border.color       $i3-wm.bar.workspace.active.background.color    $i3-wm.bar.workspace.active.text.color
    487       inactive_workspace $i3-wm.bar.workspace.inactive.border.color     $i3-wm.bar.workspace.inactive.background.color  $i3-wm.bar.workspace.inactive.text.color
    488       urgent_workspace   $i3-wm.bar.workspace.urgent.border.color       $i3-wm.bar.workspace.urgent.background.color    $i3-wm.bar.workspace.urgent.text.color
    489   }
    490 }
    491 
    492 ###############################################################################
    493 # External programs launched with i3
    494 ###############################################################################
    495 
    496 # Start the installed regolith-compositor
    497 set_from_resource $i3-wm.program.compositor i3-wm.program.compositor /usr/share/regolith-compositor/init
    498 exec --no-startup-id $i3-wm.program.compositor
    499 
    500 # Start Rofication for notifications
    501 set_from_resource $i3-wm.program.notifications i3-wm.program.notifications /usr/bin/rofication-daemon
    502 exec --no-startup-id $i3-wm.program.notifications
    503 
    504 # Launch first time user experience script
    505 set_from_resource $i3-wm.program.ftui i3-wm.program.ftui /usr/bin/regolith-ftue
    506 exec --no-startup-id $i3-wm.program.ftui
    507 
    508 # Hide the mouse pointer if unused for a duration
    509 set_from_resource $i3-wm.program.unclutter i3-wm.program.unclutter /usr/bin/regolith-ftue /usr/bin/unclutter -b
    510 exec --no-startup-id $i3-wm.program.unclutter
    511 
    512 # User programs from Xresources
    513 # To use, define an Xresource key i3-wm.program.[1-3] with the value of the program to launch.
    514 # See https://regolith-linux.org/docs/howto/override-xres/ for details.
    515 set_from_resource $i3-wm.program.1 i3-wm.program.1 :
    516 exec --no-startup-id $i3-wm.program.1
    517 set_from_resource $i3-wm.program.2 i3-wm.program.2 :
    518 exec --no-startup-id $i3-wm.program.2
    519 set_from_resource $i3-wm.program.3 i3-wm.program.3 :
    520 exec --no-startup-id $i3-wm.program.3