add screen auto dimming/off

This commit is contained in:
Aliberk Sandıkçı 2023-10-24 12:18:37 +03:00
parent 5e02f8c63c
commit 53d59c88a4
Signed by: asandikci
GPG Key ID: 25C67A03B5666BC1
2 changed files with 10 additions and 6 deletions

View File

@ -10,11 +10,12 @@ wget -qO- https://raw.githubusercontent.com/asandikci/iflbot-setup/main/install.
- Auto MEB Certificate Installation
- Install Prerequisites for Building C/C++ Code: gcc, g++, build-essential
- Install Apps: VSCodium, Sublime Text, Xournal++
- Ready to Use C/C++ Sublime Build Files for both file/terminal execution
- Dark Theme
- Panel Settings: 28px
- Auto Login to user account
- Ready to Use C/C++ Sublime Build Files
- Sublime Build Configs for both file/terminal execution
- Screen Auto Dimming: 1H, Screen Auto Off: 2H
### Compatibility
- Pardus 23.0 XFCE
@ -23,8 +24,8 @@ wget -qO- https://raw.githubusercontent.com/asandikci/iflbot-setup/main/install.
- GNU GPLv3+
### TODO
- [ ] Auto Sleep 2H
- [ ] Auto Dimming 2H
- [ ] Add Apps to Panel: VSCodium, SublimeText, Firefox, File Explorer
- [ ] Also Favorite
- [ ] Default file assocation for Sublime text with .c, .cpp
- [ ] Disable annoying bell sound (in each restart)
- Firefox
@ -42,8 +43,6 @@ wget -qO- https://raw.githubusercontent.com/asandikci/iflbot-setup/main/install.
- XFCE General Configurations
- [ ] Auto Sleep 2H
- [ ] Auto Dimming 2H
- [ ] Add Apps to Panel: VSCodium, SublimeText, Firefox, File Explorer
- [ ] Also Favorite
- [ ] Disable root login
---

View File

@ -11,6 +11,10 @@ xfconf-query -c "xsettings" -p "/Net/IconThemeName" -s "pardus-xfce-dark" --type
# Panel Size
xfconf-query --channel 'xfce4-panel' --property '/panels/panel-1/size' --type int --set 28 --create
# Power Settings
xfconf-query --channel 'xfce4-power-manager' --property '/xfce4-power-manager/blank-on-ac' --type int --set 60 --create
xfconf-query --channel 'xfce4-power-manager' --property '/xfce4-power-manager/inactivity-on-ac' --type int --set 60 --create
### SUBLIME BUILDS
user=$([ -n "$SUDO_USER" ] && echo "$SUDO_USER" || echo "$USER")
SUBLIME_CONFIG_FILE="/home/${user}/.config/sublime-text/Packages/User/"
@ -22,3 +26,4 @@ DESKTOP_CODE_FOLDER="/home/${user}/Masaüstü/C_Kodları/"
if [ ! -d "$DESKTOP_CODE_FOLDER" ]; then
mv "$1/example/" "$DESKTOP_CODE_FOLDER"
fi