dotfiles/modules/i3/config

61 lines
1.6 KiB
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# vim:ft=i3config:fdm=marker
# reference: http://i3wm.org/docs/userguide.html
# main mod key
set $mod Mod4
# modFocus is set to Mod+Ctrl for macOS compatibility
set $modFocus Mod4+Ctrl
set $modMove Mod4+Shift
# hyper - CMD+Shift+Control+Alt
set $hyper Mod4+Mod1+Shift+Ctrl
# programs to easily switch
set $browser firefox
set $fileman pcmanfm
set $terminal wezterm-gui start
set $pwman 1password --quick-access
# Set DPI value
set_from_resource $dpi Xft.dpi 140
# Use Mouse+$mod to drag floating windows
floating_modifier $mod
# Configure border style <normal|1pixel|pixel xx|none|pixel>
default_border pixel 2
default_floating_border pixel 2
default_orientation auto
workspace_layout default
workspace_auto_back_and_forth yes
# font for window titles. also used by the bar unless a font is set in bar {}
font pango:Berkeley Mono, Symbols Nerd Font Mono 16
title_align center
# Workspace names
set $ws1 1:
set $ws2 2:Ⅱ
set $ws3 3:Ⅲ
set $ws4 4:Ⅳ
set $ws5 5:
set $ws6 6:Ⅵ
set $ws7 7:Ⅶ
set $ws8 8:Ⅷ
set $ws9 9:Ⅸ
set $ws10 10:
# Autostart applications
exec --no-startup-id 1password --silent
# Theme colors
# class title bg text indic. border
client.focused #F5C2E7 #000000 #CDD6F4 #F5E0DC #F5C2E7
client.focused_inactive #CBA6F7 #000000 #9399B2 #F5E0DC #CBA6F7
client.unfocused #CBA6F7 #000000 #9399B2 #F5E0DC #CBA6F7
client.urgent #F38BA8 #000000 #F38BA8 #313244 #F38BA8
client.placeholder #313244 #000000 #CDD6F4 #313244 #313244
client.background #000000
include bar
include config.d/*