From 06a556fb99b3421d5b546b31b8c601e8240ecf85 Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Mon, 15 Jul 2019 08:34:06 +0200 Subject: [PATCH 1/7] Add second battery indicator Signed-off-by: Severin Kaderli --- system/.config/polybar/config | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/system/.config/polybar/config b/system/.config/polybar/config index 3a95b4d..b747bbc 100644 --- a/system/.config/polybar/config +++ b/system/.config/polybar/config @@ -43,7 +43,7 @@ module-margin = 2 modules-left = i3 modules-center = -modules-right = update gmail todo battery volume backlight vpn wlan ethernet date power +modules-right = update gmail todo battery battery2 volume backlight vpn wlan ethernet date power tray-position = none separator = | @@ -184,6 +184,10 @@ animation-charging-framerate = 500 interval = 5 poll-interval = 5 +[module/battery2] +battery = BAT0 +inherit = module/battery + ############################################################################## # Volume indicator # From 96d9da874a9af983eee20df6e8c26ce8e4c32dbe Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Mon, 15 Jul 2019 10:20:21 +0200 Subject: [PATCH 2/7] Fix ruby gems path Signed-off-by: Severin Kaderli --- install | 1 + system/.config/custom/env | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/install b/install index 9018ebe..9c64d28 100755 --- a/install +++ b/install @@ -143,6 +143,7 @@ COMPOSER_PACKAGES=( declare -A COPY_ROOT_FILES COPY_ROOT_FILES=( ["/etc/docker/daemon.json"]="644" + ["/etc/gemrc"]="644" ["/etc/mkinitcpio.conf"]="644" ["/etc/NetworkManager/conf.d/dns.conf"]="644" ["/etc/pacman.conf"]="644" diff --git a/system/.config/custom/env b/system/.config/custom/env index dd5bcf5..8651953 100644 --- a/system/.config/custom/env +++ b/system/.config/custom/env @@ -110,7 +110,6 @@ export PATH="${PATH}:${CARGO_HOME}/bin" export PATH="${PATH}:${XDG_DATA_HOME}/npm/bin" export PATH="${PATH}:${GOPATH}/bin" export PATH="${PATH}:${GEM_HOME}/bin" -export PATH="${PATH}:${HOME}/.gem/ruby/2.6.0/bin" export PATH="${PATH}:${XDG_CONFIG_HOME}/composer/vendor/bin" export PATH="${HOME}/.local/bin:${PATH}" From 1379fb8e20972107ae0af1c063991110f0d37704 Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Mon, 15 Jul 2019 10:21:22 +0200 Subject: [PATCH 3/7] Update gems in upgrade script Signed-off-by: Severin Kaderli --- system/.local/bin/upgrade | 3 +++ 1 file changed, 3 insertions(+) diff --git a/system/.local/bin/upgrade b/system/.local/bin/upgrade index 1048bbb..f4625f3 100755 --- a/system/.local/bin/upgrade +++ b/system/.local/bin/upgrade @@ -23,5 +23,8 @@ npm update -g print_section "Update composer packages" composer global update +print_section "Update ruby gems" +gem update + print_section "Update Rust components" rustup update From 54cb7afbe896b708535d7ef1c251b2ac1ce704b6 Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Mon, 15 Jul 2019 10:29:52 +0200 Subject: [PATCH 4/7] Add gemrc Signed-off-by: Severin Kaderli --- system/etc/gemrc | 1 + 1 file changed, 1 insertion(+) create mode 100644 system/etc/gemrc diff --git a/system/etc/gemrc b/system/etc/gemrc new file mode 100644 index 0000000..f22daf0 --- /dev/null +++ b/system/etc/gemrc @@ -0,0 +1 @@ +gem: --no-user-install \ No newline at end of file From 1c6c4676593fbc0d2a94479e6ee5ac5eac8f1b3f Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Mon, 15 Jul 2019 10:30:07 +0200 Subject: [PATCH 5/7] Add clean script Signed-off-by: Severin Kaderli --- system/.local/bin/clean | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 system/.local/bin/clean diff --git a/system/.local/bin/clean b/system/.local/bin/clean new file mode 100755 index 0000000..c7badf6 --- /dev/null +++ b/system/.local/bin/clean @@ -0,0 +1,23 @@ +#!/usr/bin/env bash +# +# SCRIPT NAME: +# clean +# +# AUTHOR: +# Severin Kaderli +# +# DESCRIPTION: +# This script cleans the system. +# +# USAGE: +# ./clean +. utils + +print_section "Remove unneeded dependencies" +yay -R $(yay -Qdtq) + +print_section "Clean yay cache" +yay -Sc + +print_section "Clean docker" +docker system prune \ No newline at end of file From e7762503590af2f8cefc794194c184f9764d4ce9 Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Mon, 15 Jul 2019 10:32:03 +0200 Subject: [PATCH 6/7] Update PhpStorm options Signed-off-by: Severin Kaderli --- system/.config/phpstorm/config/options/docker.xml | 5 +++++ system/.config/phpstorm/config/options/find.xml | 9 +++++++++ system/.config/phpstorm/config/options/ide.general.xml | 1 + system/.config/phpstorm/config/options/markdown.xml | 5 +++++ .../.config/phpstorm/config/options/remote-servers.xml | 10 ++++++++++ 5 files changed, 30 insertions(+) create mode 100644 system/.config/phpstorm/config/options/docker.xml create mode 100644 system/.config/phpstorm/config/options/find.xml create mode 100644 system/.config/phpstorm/config/options/markdown.xml create mode 100644 system/.config/phpstorm/config/options/remote-servers.xml diff --git a/system/.config/phpstorm/config/options/docker.xml b/system/.config/phpstorm/config/options/docker.xml new file mode 100644 index 0000000..0eb4334 --- /dev/null +++ b/system/.config/phpstorm/config/options/docker.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/system/.config/phpstorm/config/options/find.xml b/system/.config/phpstorm/config/options/find.xml new file mode 100644 index 0000000..9e31a93 --- /dev/null +++ b/system/.config/phpstorm/config/options/find.xml @@ -0,0 +1,9 @@ + + + + \ No newline at end of file diff --git a/system/.config/phpstorm/config/options/ide.general.xml b/system/.config/phpstorm/config/options/ide.general.xml index a4827a0..ba14c49 100644 --- a/system/.config/phpstorm/config/options/ide.general.xml +++ b/system/.config/phpstorm/config/options/ide.general.xml @@ -1,6 +1,7 @@ \ No newline at end of file diff --git a/system/.config/phpstorm/config/options/markdown.xml b/system/.config/phpstorm/config/options/markdown.xml new file mode 100644 index 0000000..92e74be --- /dev/null +++ b/system/.config/phpstorm/config/options/markdown.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/system/.config/phpstorm/config/options/remote-servers.xml b/system/.config/phpstorm/config/options/remote-servers.xml new file mode 100644 index 0000000..1964411 --- /dev/null +++ b/system/.config/phpstorm/config/options/remote-servers.xml @@ -0,0 +1,10 @@ + + + + + + + + \ No newline at end of file From b1b9879e2d8d1a3f3ea67c1e53638178341c823f Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Mon, 15 Jul 2019 10:34:56 +0200 Subject: [PATCH 7/7] Update .gitignore Signed-off-by: Severin Kaderli --- .gitignore | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 5ebb5bd..51362dd 100644 --- a/.gitignore +++ b/.gitignore @@ -38,4 +38,13 @@ system/.config/phpstorm/config/options/project.default.xml system/.config/phpstorm/config/options/updates.xml system/.config/phpstorm/config/options/usage.statistics.xml system/.config/phpstorm/config/options/recentProjectDirectories.xml -system/.config/phpstorm/config/options/window.manager.xml \ No newline at end of file +system/.config/phpstorm/config/options/window.manager.xml +system/.config/phpstorm/config/consoles +system/.config/phpstorm/config/extensions/com.intellij.database/ +system/.config/phpstorm/config/jdbc-drivers +system/.config/phpstorm/config/phpstorm64.vmoptions +system/.config/phpstorm/config/options/window.state.xml +system/.config/phpstorm/config/terminal/history/history- +system/.config/phpstorm/config/options/runner.layout.xml +system/.config/phpstorm/config/options/extensionsRootType.xml +system/.config/phpstorm/config/options/databaseDrivers.xml