69 lines
2 KiB
Text
69 lines
2 KiB
Text
# 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 /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||
exec --no-startup-id /usr/bin/gnome-keyring-daemon -c secrets
|
||
exec --no-startup-id 1password --silent
|
||
exec --no-startup-id blueman-applet
|
||
exec --no-startup-id dunst
|
||
exec --no-startup-id pcmanfm -d
|
||
exec --no-startup-id setxkbmap -option caps:ctrl_modifier
|
||
exec --no-startup-id sleep 1; picom -b
|
||
exec --no-startup-id ~/.screenlayout/main.sh
|
||
|
||
# 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/*
|