i3-config/config

70 lines
2.5 KiB
Text
Raw Normal View History

# This configuration has been modified. Mostly global config is in this config, everything else
# is in conf.d
#Set the $mod key to super/meta/"windows key"
2022-06-17 16:24:10 -04:00
set $mod Mod4
#Set $alt to the alt key
2022-06-17 16:24:10 -04:00
set $alt Mod1
# Define names for default workspaces
2022-06-17 16:24:10 -04:00
# don't use quotes and spaces like the example, run it all together or the restore won't work
set $ws1 1:fire
set $ws2 2:comment
set $ws3 3:terminal
set $ws4 4:code
set $ws5 5:music
set $ws6 6:tasks
set $ws7 7
set $ws8 8
set $ws9 9
set $ws10 10
2022-06-17 16:24:10 -04:00
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
#font pango:monospace 8
font pango:FiraCode 8
hide_edge_borders smart
2022-06-17 16:24:10 -04:00
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
#font pango:DejaVu Sans Mono 8
exec --no-startup-id greenclip daemon
exec_always --no-startup-id picom --backend glx --vsync
2022-06-20 14:05:07 -04:00
exec --no-startup-id /home/kellya/projects/public/gnome-keyring-yubikey-unlock /home/kellya/gnome-secret
2022-06-17 16:24:10 -04:00
# Set screen lock
exec xset s 300 5
exec xss-lock -n /usr/libexec/xsecurelock/dimmer -l -- xsecurelock
# Load workspace configs
exec --no-startup-id "i3-msg 'workspace $ws1; append_layout ~/.config/i3/layout/w1.json'"
exec --no-startup-id "i3-msg 'workspace $ws2; append_layout ~/.config/i3/layout/w2.json'"
exec --no-startup-id "i3-msg 'workspace $ws3; append_layout ~/.config/i3/layout/w3.json'"
exec --no-startup-id "i3-msg 'workspace $ws4; append_layout ~/.config/i3/layout/w4.json'"
exec --no-startup-id "i3-msg 'workspace $ws5; append_layout ~/.config/i3/layout/w5.json'"
exec --no-startup-id "i3-msg 'workspace $ws6; append_layout ~/.config/i3/layout/w6.json'"
# use gnome settings to set gnome things to dark mode by default
exec --no-startup-id /usr/libexec/gsd-xsettings
# start background rotator script
exec --no-startup-id ~/bin/bg_rotate.sh
# Always need firefox, so let's just start it
exec --no-startup-id firefox
# Create a kitty workspace for mail
exec --no-startup-id "kitty --name mail neomutt"
exec --no-startup-id dex-autostart --autostart --environment i3
2022-06-17 16:24:10 -04:00
# start nm-applet for network tray icon
2022-06-17 16:24:10 -04:00
exec --no-startup-id nm-applet
# Use pactl to adjust volume in PulseAudio.
set $refresh_i3status killall -SIGUSR1 i3status
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# New workspaces will get fullscreen/tabbed by default
workspace_layout tabbed
2022-06-17 16:24:10 -04:00
# Pull the rest of config from .conf files in conf.d
2022-06-17 16:24:10 -04:00
include conf.d/*.conf