battery optimization

This commit is contained in:
2025-05-17 16:05:22 +02:00
parent 4096d75cb1
commit d94152b1ef
3 changed files with 110 additions and 15 deletions

View File

@ -1,3 +1,4 @@
# https://wiki.hyprland.org/Configuring/
################
@ -24,17 +25,6 @@ $screenshot = grim
$screenshotSelect = grim -g "$(slurp)"
$lockscreen = hyprlock
#################
### AUTOSTART ###
#################
# Autostart necessary processes (like notifications daemons, status bars, etc.)
exec-once = waybar
exec-once = hyprpaper & hypridle & $lockscreen
exec-once = dunst
exec-once = [workspace 2 silent] $browser
exec-once = [workspace 1 silent] $terminal
#############################
### ENVIRONMENT VARIABLES ###
#############################
@ -43,13 +33,25 @@ exec-once = [workspace 1 silent] $terminal
env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24
env = GDK_BACKEND,wayland
env = QT_QPA_PLATFORM,wayland
env = GDK_BACKEND,wayland,x11,*
env = QT_QPA_PLATFORM,wayland;xcb
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland
env = GTK_THEME,Adwaita:dark
env = QT_QPA_PLATFORMTHEME,gtk3
env = ELECTRON_OZONE_PLATFORM_HINT,auto
#################
### AUTOSTART ###
#################
# Autostart necessary processes (like notifications daemons, status bars, etc.)
exec-once = waybar
exec-once = hyprpaper & hypridle & $lockscreen
exec-once = dunst
#exec-once = [workspace 2 silent] $browser
#exec-once = [workspace 1 silent] $terminal
##############################
### WINDOWS AND WORKSPACES ###