Made i3 colors variables, bitwig opening and gaps shortcuts

This commit is contained in:
Christian Colglazier 2019-10-14 19:37:49 -04:00
parent 70361efc50
commit ebcacb7bc2
2 changed files with 27 additions and 10 deletions

View File

@ -48,6 +48,10 @@ for_window [class="REAPER"] move to workspace $ws3
# Steam
for_window [class="^Steam$"] move to workspace $ws4
# Bitwig
assign [class="^Show-splash-gtk$"] $ws1
assign [class="^Bitwig Studio$"] $ws1
# The side buttons move the desktop around
bindsym --whole-window button9 exec python3 ~/.config/scripts/i3-mouse.py back
bindsym --whole-window button8 exec python3 ~/.config/scripts/i3-mouse.py forward

View File

@ -1,6 +1,11 @@
# Set super key as mod
set $mod Mod4
# Colors
set $blue "#0288D1"
set $pink "#E91E63"
set $lpink "#FFCDD2"
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
font pango:NimbusSans Bold 10
@ -15,7 +20,7 @@ bindsym $mod+Return exec alacritty
bindsym $mod+q kill
# start dmenu (a program launcher)
bindsym $mod+d exec --no-startup-id dmenu_run -i -nb '#000000' -nf '#03A9F4' -sb '#E91E63' -sf '#FFCDD2' -fn 'SF Pro Display:semibold:fixed:pixelsize=18'
bindsym $mod+d exec --no-startup-id dmenu_run -i -nb '#000000' -nf $blue -sb $pink -sf $lpink -fn 'SF Pro Display:semibold:fixed:pixelsize=18'
# change focus
bindsym $mod+j focus left
@ -68,8 +73,10 @@ bindsym $mod+space focus mode_toggle
bindsym $mod+a focus parent
# Gaps
gaps inner 8
gaps outer 2
set $inner 8
set $outer 2
gaps inner $inner
gaps outer $outer
smart_borders on
smart_borders no_gaps
@ -160,13 +167,13 @@ exec_always --no-startup-id setxkbmap -option 'caps:super'
exec --no-startup-id sh ~/.config/scripts/connect-nas.sh
# class border backgr. text indicator child_border
client.focused #E91E63 #E91E63 #E91E63 #E91E63 #E91E63
client.focused_inactive #0288D1 #0288D1 #0288D1 #0288D1 #0288D1
client.unfocused #0288D1 #0288D1 #0288D1 #0288D1 #0288D1
client.urgent #0288D1 #0288D1 #0288D1 #0288D1 #0288D1
client.placeholder #0288D1 #0288D1 #0288D1 #0288D1 #0288D1
client.focused $pink $pink $pink $pink $pink
client.focused_inactive $blue $blue $blue $blue $blue
client.unfocused $blue $blue $blue $blue $blue
client.urgent $blue $blue $blue $blue $blue
client.placeholder $blue $blue $blue $blue $blue
client.background #0288D1
client.background $blue
# Removes border and title bar
for_window [class="^.*"] border pixel 2
@ -195,3 +202,9 @@ for_window [instance="^sun-awt-X11-XDialogPeer$" title="^Complete Installation$"
# DaVinci Resolve
for_window [class="resolve"] gaps inner current set 0; gaps outer current set 0
# Bitwig
for_window [class="^Bitwig Studio$"] gaps inner set 0; gaps outer set 0
bindsym $mod+F5 gaps inner current set 0; gaps outer current set 0
bindsym $mod+F6 gaps inner current set $inner; gaps outer current set $outer