From 5b0f05d4bb2961cdfbfabc86332c745f9bc3abac Mon Sep 17 00:00:00 2001 From: asandikci Date: Mon, 23 Oct 2023 16:47:07 +0300 Subject: [PATCH] add dark theme --- README.md | 6 ++++-- install.sh | 1 + src/config.sh | 7 ++++++- src/prerequisites.sh | 3 ++- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a12a4a5..333040d 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,11 @@ wget -qO- https://raw.githubusercontent.com/asandikci/iflbot-setup/main/install. - [ ] XFCE General Configurations - [ ] Auto Sleep 2H - [ ] Auto Dimming 2H - - [ ] Dark Theme + - [x] Dark Theme - [ ] XFCE Panel Configurations - [ ] Panel Size: 28px +- [ ] LightDM configurations + - [ ] Auto login bot user - [ ] Disable annoying bell sound (in each restart) -- [ ] End-of-life after [LabManage](https://git.aliberksandikci.com.tr/asandikci/labmanage) application ready-to-use +- [ ] End-of-life after [LabManage](https://git.aliberksandikci.com.tr/asandikci/labmanage) application ready-to-use (WIP/private for now) diff --git a/install.sh b/install.sh index 7624520..ff3d3d7 100755 --- a/install.sh +++ b/install.sh @@ -97,6 +97,7 @@ _checkinput() { [eE][vV]][eE][tT]) return 1 ;; [Yy]*) return 1 ;; [Ee]*) return 1 ;; + "" | " ") return 1 ;; n | N | H | h | *) return 0 ;; esac } diff --git a/src/config.sh b/src/config.sh index 0d9a5b2..20a7cfe 100644 --- a/src/config.sh +++ b/src/config.sh @@ -3,4 +3,9 @@ # NOT IPLEMENTED YET, see ./../README.md -### SUBLIME BUILDS \ No newline at end of file +### SUBLIME BUILDS + + +### XFCE SETTINGS +xfconf-query -c "xfwm4" -p "/general/theme" -s "pardus-xfce-dark" --type "string" --create +xfconf-query -c "xsettings" -p "/Net/IconThemeName" -s "pardus-xfce-dark" --type "string" --create \ No newline at end of file diff --git a/src/prerequisites.sh b/src/prerequisites.sh index 02bf295..e86cdde 100644 --- a/src/prerequisites.sh +++ b/src/prerequisites.sh @@ -1,6 +1,7 @@ #!/bin/bash # prerequisites +sudo apt install xfconf -y sudo apt-get install curl wget apt-transport-https -y sudo apt install software-properties-common -y -sudo apt install gcc build-essential cmake make g++ -y \ No newline at end of file +sudo apt install gcc build-essential cmake make g++ -y