dotfiles/dot_config/i3/config

70 lines
2 KiB
Text
Raw Normal View History

# vim:ft=i3config:fdm=marker
# reference: http://i3wm.org/docs/userguide.html
2022-07-30 07:17:12 +02:00
# 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
2022-07-30 07:17:12 +02:00
# Set DPI value
set_from_resource $dpi Xft.dpi 140
2022-07-30 07:17:12 +02:00
# 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
2022-07-30 07:17:12 +02:00
default_orientation auto
workspace_layout default
workspace_auto_back_and_forth yes
2022-07-30 07:17:12 +02:00
# 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
2022-07-30 07:17:12 +02:00
# 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:
2022-07-30 07:17:12 +02:00
# 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
2022-07-30 07:17:12 +02:00
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
2022-11-19 22:22:10 +01:00
exec --no-startup-id sleep 1; picom -b
exec --no-startup-id ~/.screenlayout/main.sh
2022-07-30 07:17:12 +02:00
# 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/*