From 0258a0c9b6037e530d6bad4851e3498a3debd701 Mon Sep 17 00:00:00 2001 From: Salt Date: Sun, 24 May 2020 23:22:02 -0500 Subject: [PATCH 01/18] i3: Remove startup tasks Gonna leave all that to firestarter --- .config/i3/config | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index 5c733764..dead0fbb 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -3,20 +3,6 @@ # Licensed under the terms of the MIT License # -## STARTUP TASKS -# High-priority -exec --no-startup-id pulseaudio -exec --no-startup-id ~/.config/compton/launch.sh -exec --no-startup-id nitrogen --restore -exec --no-startup-id ~/.config/polybar/launch.sh -exec --no-startup-id redshift -# Low-priority -exec --no-startup-id dunst -exec --no-startup-id "sleep 15 && mpd" -exec --no-startup-id "g910-lights" -# XDG -exec --no-startup-id "dex -a" - ## WORKSPACES set $w1 1 set $w2 2 From 8de955e932fe08b078eee59014371d7ed86abb56 Mon Sep 17 00:00:00 2001 From: Salt Date: Sun, 24 May 2020 23:35:30 -0500 Subject: [PATCH 02/18] .xinitrc: Add xinitrc --- .xinitrc | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 .xinitrc diff --git a/.xinitrc b/.xinitrc new file mode 100755 index 00000000..37f2b1e7 --- /dev/null +++ b/.xinitrc @@ -0,0 +1,5 @@ +#!/bin/bash + +if [ -x "$HOME/.firestarter/firestarter" ]; then + exec FS_DIEONWM=true "$HOME/.firestarter/firestarter" +fi From c6f5fd206693d6a79d6ba36ed521eebade170a74 Mon Sep 17 00:00:00 2001 From: Salt Date: Sun, 24 May 2020 23:39:09 -0500 Subject: [PATCH 03/18] firestarter: Fix option declaration --- .xinitrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.xinitrc b/.xinitrc index 37f2b1e7..749cafd5 100755 --- a/.xinitrc +++ b/.xinitrc @@ -1,5 +1,6 @@ #!/bin/bash if [ -x "$HOME/.firestarter/firestarter" ]; then - exec FS_DIEONWM=true "$HOME/.firestarter/firestarter" + export FS_DIEONWM=true + exec "$HOME/.firestarter/firestarter" | tee .firestarter.log fi From 834d07db187a6094d384a6cc669dbaec103f5381 Mon Sep 17 00:00:00 2001 From: Salt Date: Thu, 28 May 2020 20:27:37 -0500 Subject: [PATCH 04/18] Vim: Update plugins --- .vim/bundle/ale | 2 +- .vim/bundle/lightline.vim | 2 +- .vim/bundle/vim-javascript | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.vim/bundle/ale b/.vim/bundle/ale index 7265ceb6..c2b01f0e 160000 --- a/.vim/bundle/ale +++ b/.vim/bundle/ale @@ -1 +1 @@ -Subproject commit 7265ceb6d050d1a4642741d248f11e4f2abd37e1 +Subproject commit c2b01f0e28b4f007d01373821ba19dcfa440f9c2 diff --git a/.vim/bundle/lightline.vim b/.vim/bundle/lightline.vim index c172131e..865c5c3b 160000 --- a/.vim/bundle/lightline.vim +++ b/.vim/bundle/lightline.vim @@ -1 +1 @@ -Subproject commit c172131e0369672bc1b9454a2aec6d532d350dcc +Subproject commit 865c5c3b3065d281ad4325107e522209962a238c diff --git a/.vim/bundle/vim-javascript b/.vim/bundle/vim-javascript index 3c90d0cc..92a2b46b 160000 --- a/.vim/bundle/vim-javascript +++ b/.vim/bundle/vim-javascript @@ -1 +1 @@ -Subproject commit 3c90d0cc37bb8b78422f647e62587f498a5dd7bd +Subproject commit 92a2b46bf37bd5cd2fe421ff850728420895801b From a2a0b87b42ac5d1d6228709a8b4f852ec09e7417 Mon Sep 17 00:00:00 2001 From: Salt Date: Thu, 28 May 2020 20:27:46 -0500 Subject: [PATCH 05/18] Firestarter: Update --- .firestarter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.firestarter b/.firestarter index 74f477ab..b0028650 160000 --- a/.firestarter +++ b/.firestarter @@ -1 +1 @@ -Subproject commit 74f477ab6d92b16b076a0fb81bfe1ca6cca686a0 +Subproject commit b00286506a63e764dae33d9aa5ee46d082c0ac1f From 8a6a1fb5c866e440fd7df35469294b0301a2c183 Mon Sep 17 00:00:00 2001 From: Salt Date: Thu, 28 May 2020 20:28:05 -0500 Subject: [PATCH 06/18] Polybar: Minor refactor --- .config/polybar/launch.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/polybar/launch.sh b/.config/polybar/launch.sh index 387322de..82f8e18d 100755 --- a/.config/polybar/launch.sh +++ b/.config/polybar/launch.sh @@ -29,7 +29,7 @@ step_fallback() { exit 51 fi } -step_configure_restack() { +step_configure() { # Restack compatibility if pgrep -U "$UID" bspwm > /dev/null 2>&1; then export PB_WM_RESTACK="bspwm" @@ -66,7 +66,7 @@ step_wait() { # Main main() { step_fallback - step_configure_restack + step_configure step_spawn_primary step_spawn_secondary step_wait From 7f3ee1a995e3b99fcc0fc1b527e7175a392c3493 Mon Sep 17 00:00:00 2001 From: Salt Date: Thu, 28 May 2020 20:31:12 -0500 Subject: [PATCH 07/18] i3, Polybar: Work on our padding a bit --- .config/i3/config | 2 +- .config/polybar/config | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index dead0fbb..576f2b42 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -30,7 +30,7 @@ workspace $w7 output $monsec font pango:Roboto 10 new_window pixel 4 focus_on_window_activation none -gaps inner 8 +gaps inner 6 ## KEYBINDINGS # Set modifiers diff --git a/.config/polybar/config b/.config/polybar/config index 43090197..ca94a59e 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -28,6 +28,7 @@ border = #3B4252 selection = #88C0D0 [res/config] +border-size = 4 padding = 2 [settings] @@ -45,13 +46,17 @@ foreground = ${res/colors.fg} border-color = ${res/colors.border} tray-background = ${res/colors.bg} height = 48 +width = 100%:-12 +offset-x = 6 +border-left-size = ${res/config.border-size} +border-right-size = ${res/config.border-size} font-0 = "Inconsolata:style=Medium:size=11;2" font-1 = "Deja Vu Sans Mono:style=Regular:size=11;2" [bar/primary] monitor = ${env:PB_MONITOR:eDP-1} inherit = template/bar -border-top-size = 4 +border-top-size = ${res/config.border-size} modules-left = i3 cpu memory battery temp modules-right = backlight pulse date From d0c3b846fa149b0e7a4ccc2c91cf0e131c502c4e Mon Sep 17 00:00:00 2001 From: Salt Date: Thu, 28 May 2020 20:38:54 -0500 Subject: [PATCH 08/18] Polybar: Rice to Breeze Dark theme --- .config/polybar/config | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.config/polybar/config b/.config/polybar/config index ca94a59e..c3d85675 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -12,20 +12,20 @@ ## VARIABLES [res/colors] -red = #BF616A -green = #A3BE8C -yellow = #EBCB8B -blue = #81A1C1 -magenta = #B48EAD -cyan = #88C0D0 -white = #D8DEE9 -black = #2E3440 -gray = #3B4252 +red = #ed1515 +green = #11d116 +yellow = #fdbc4b +blue = #1d99f3 +magenta = #9b59b6 +cyan = #1abc9c +white = #eff0f1 +black = #232629 +gray = #31363b -bg = #2E3440 -fg = #D8DEE9 -border = #3B4252 -selection = #88C0D0 +bg = #232629 +fg = #eff0f1 +border = #31363b +selection = #1d99f3 [res/config] border-size = 4 From a556c3bd07087b942267fcd0f52f9e7ed728922a Mon Sep 17 00:00:00 2001 From: Salt Date: Thu, 28 May 2020 20:44:56 -0500 Subject: [PATCH 09/18] i3: Rice to Breeze Dark theme --- .config/i3/config | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.config/i3/config b/.config/i3/config index 576f2b42..7232f975 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -32,6 +32,24 @@ new_window pixel 4 focus_on_window_activation none gaps inner 6 +set $red #ed1515 +set $green #11d116 +set $yellow #fdbc4b +set $blue #1d99f3 +set $magenta #9b59b6 +set $cyan #1abc9c +set $white #eff0f1 +set $black #232629 +set $gray #31363b + +# + client.focused $blue $black $white $gray $blue + client.focused_inactive $cyan $black $white $gray $cyan + client.unfocused $gray $black $white $gray $gray + client.urgent $yellow $black $white $gray $yellow + client.placeholder $magenta $black $white $gray $magenta + client.background $bg + ## KEYBINDINGS # Set modifiers set $mod Mod1 From 84578ba204f5a3aea0c30d63cd11f67ca435d800 Mon Sep 17 00:00:00 2001 From: Salt Date: Thu, 28 May 2020 21:19:04 -0500 Subject: [PATCH 10/18] i3, Polybar: Rice rice rice rice --- .config/i3/config | 2 +- .config/polybar/config | 183 ++++++++++++++++++----------------------- 2 files changed, 80 insertions(+), 105 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index 7232f975..6c84472e 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -30,7 +30,7 @@ workspace $w7 output $monsec font pango:Roboto 10 new_window pixel 4 focus_on_window_activation none -gaps inner 6 +gaps inner 4 set $red #ed1515 set $green #11d116 diff --git a/.config/polybar/config b/.config/polybar/config index c3d85675..6731c2d4 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -28,6 +28,10 @@ border = #31363b selection = #1d99f3 [res/config] +bar-width = 50 +bar-fill = | +bar-empty = | +bar-indicator = border-size = 4 padding = 2 @@ -45,35 +49,47 @@ background = ${res/colors.bg} foreground = ${res/colors.fg} border-color = ${res/colors.border} tray-background = ${res/colors.bg} -height = 48 +height = 32 width = 100%:-12 offset-x = 6 +padding = 2 border-left-size = ${res/config.border-size} border-right-size = ${res/config.border-size} -font-0 = "Inconsolata:style=Medium:size=11;2" -font-1 = "Deja Vu Sans Mono:style=Regular:size=11;2" +font-0 = "Roboto:style=Regular:size=10;2" +font-1 = "Deja Vu Sans Mono:style=Regular:size=10;2" [bar/primary] monitor = ${env:PB_MONITOR:eDP-1} +bottom = false +inherit = template/bar +border-bottom-size = ${res/config.border-size} +modules-left = i3 +modules-center = xwindow + +[bar/primary-2] +monitor = ${env:PB_MONITOR:eDP-1} inherit = template/bar border-top-size = ${res/config.border-size} -modules-left = i3 cpu memory battery temp -modules-right = backlight pulse date +modules-left = battery cpu memory +modules-right = backlight pulse | date ## MODULES +[module/|] +type = custom/text +content = | +content-foreground = ${res/colors.gray} + [module/backlight] type = internal/xbacklight -format =