From ebcacb7bc27efe6660fa294e7f39956b4d2637ad Mon Sep 17 00:00:00 2001 From: Christian Colglazier Date: Mon, 14 Oct 2019 19:37:49 -0400 Subject: [PATCH] Made i3 colors variables, bitwig opening and gaps shortcuts --- i3/desktop.conf | 4 ++++ i3/shared.conf | 33 +++++++++++++++++++++++---------- 2 files changed, 27 insertions(+), 10 deletions(-) diff --git a/i3/desktop.conf b/i3/desktop.conf index 62ee678..986b2bb 100644 --- a/i3/desktop.conf +++ b/i3/desktop.conf @@ -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 diff --git a/i3/shared.conf b/i3/shared.conf index 9836edc..cb4b130 100644 --- a/i3/shared.conf +++ b/i3/shared.conf @@ -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 @@ -194,4 +201,10 @@ for_window [class="^com-intellij-updater-Runner$" title="^Update$"] floating ena for_window [instance="^sun-awt-X11-XDialogPeer$" title="^Complete Installation$"] floating enable # DaVinci Resolve -for_window [class="resolve"] gaps inner current set 0; gaps outer current set 0 \ No newline at end of file +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 \ No newline at end of file