add power profile

This commit is contained in:
bullshar-k
2026-07-30 11:11:18 -04:00
parent 0f0798e963
commit 6aa22fe7f8
4 changed files with 38 additions and 224 deletions
-29
View File
@@ -1,29 +0,0 @@
## name: Pastel EGA
## author: Timo Heidutzek (trzyglow)
## blurb: A 16 color softened pastel theme, initially made as an artistic color palette (fist published on Lospec [https://lospec.com/palette-list/pastel-ega])
foreground #f6f6f6
background #282828
selection_foreground #414141
selection_background #f6f6f6
cursor #f48fb1
cursor_text_color #bfbfbf
color0 #414141
color8 #8d8d8d
color1 #dd4274
color9 #db7497
color2 #1db37b
color10 #70e6ae
color3 #cbae25
color11 #faf8ac
color4 #4c96d7
color12 #a5d2f3
color5 #bf2faf
color13 #df7cd3
color6 #41bcbc
color14 #5fe4e4
color7 #bfbfbf
color15 #f6f6f6
active_tab_foreground #f48fb1
active_tab_background #f6f6f6
inactive_tab_foreground #f06292
inactive_tab_background #dcdcdc
-44
View File
@@ -1,44 +0,0 @@
# vim:fileencoding=utf-8:foldmethod=marker
# BEGIN_KITTY_THEME
# Pastel EGA
include current-theme.conf
# END_KITTY_THEME
# Window
confirm_os_window_close 0
remember_window_size no
initial_window_width 870
initial_window_height 440
background_opacity 0.7
# Tab bar
tab_bar_margin_width 4.0
tab_bar_margin_height 4.0 4.0
tab_bar_style powerline
tab_bar_min_tabs 1
# Keybinds
map ctrl+e new_tab_with_cwd
map ctrl+x close_window
map ctrl+d next_tab
map ctrl+s previous_tab
map ctrl+i launch --location=hsplit --cwd=current
map ctrl+k copy
# Fixes starship not showing pwd
# Kitty use interactive shell
shell .
# Starship eval
eval "$(starship init bash)"
# Font
font_size 10.0
# BEGIN_KITTY_FONTS
font_family family="AtkynsonMono Nerd Font Mono"
bold_font auto
italic_font auto
bold_italic_font auto
# END_KITTY_FONTS
-151
View File
@@ -1,151 +0,0 @@
"$schema" = 'https://starship.rs/config-schema.json'
format = """
[](#9A348E)\
$os\
$username\
[](bg:#DA627D fg:#9A348E)\
$directory\
[](fg:#DA627D bg:#FCA17D)\
$git_branch\
$git_status\
[](fg:#FCA17D bg:#86BBD8)\
$c\
$elixir\
$elm\
$golang\
$gradle\
$haskell\
$java\
$julia\
$nodejs\
$nim\
$rust\
$scala\
[](fg:#86BBD8 bg:#06969A)\
$docker_context\
[](fg:#06969A bg:#33658A)\
$time\
[ ](fg:#33658A)\
"""
# Disable the blank line at the start of the prompt
# add_newline = false
# You can also replace your username with a neat symbol like  or disable this
# and use the os module below
[username]
show_always = true
style_user = "bg:#9A348E"
style_root = "bg:#9A348E"
format = '[$user ]($style)'
disabled = false
# An alternative to the username module which displays a symbol that
# represents the current operating system
[os]
style = "bg:#9A348E"
disabled = true # Disabled by default
[directory]
style = "bg:#DA627D"
format = "[ $path ]($style)"
truncation_length = 3
truncation_symbol = "…/"
# Here is how you can shorten some long paths by text replacement
# similar to mapped_locations in Oh My Posh:
[directory.substitutions]
"Documents" = "󰈙 "
"Downloads" = " "
"Music" = " "
"Pictures" = " "
# Keep in mind that the order matters. For example:
# "Important Documents" = " 󰈙 "
# will not be replaced, because "Documents" was already substituted before.
# So either put "Important Documents" before "Documents" or use the substituted version:
# "Important 󰈙 " = " 󰈙 "
[c]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[cpp]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[docker_context]
symbol = " "
style = "bg:#06969A"
format = '[ $symbol $context ]($style)'
[elixir]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[elm]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[git_branch]
symbol = ""
style = "bg:#FCA17D"
format = '[ $symbol $branch ]($style)'
[git_status]
style = "bg:#FCA17D"
format = '[$all_status$ahead_behind ]($style)'
[golang]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[gradle]
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[haskell]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[java]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[julia]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[nodejs]
symbol = ""
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[nim]
symbol = "󰆥 "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[rust]
symbol = ""
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[scala]
symbol = " "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[time]
disabled = false
time_format = "%R" # Hour:Minute Format
style = "bg:#33658A"
format = '[ :3c $time ]($style)'
+38
View File
@@ -0,0 +1,38 @@
CPU_SCALING_GOVERNER_ON_AC=performance
CPU_SCALING_GOVERNER_ON_BAT=powersave
CPU_BOOST_ON_AC=1
CPU_BOOTS_ON_BAT=0
CPU_HWP_DYN_BOOST_ON_AC=1
CPU_HWP_DYN_BOOST_ON_BAT=0
ENERGY_PREF_POLICY_ON_AC=balance_performance
ENERGY_PREF_POLICY_ON_BAT=power
CPU_MAX_PERF_ON_AC=0
CPU_MAX_PERF_ON_AC=100
CPU_MAX_PERF_ON_BAT=0
CPU_MAX_PERF_ON_BAT=40
CPU_BOOST_HWP_ON_AC=40
CPU_BOOST_HWP_ON_BAT=1
RADEON_DPM_PERF_LEVEL_ON_AC=auto
RADEON_DPM_PERF_LEVEL_ON_BAT=low
RADEON_DPM_STATE_ON_AC=performance
RADEON_DPM_STATE_ON_BAT=battery
DEVICES_TO_DISABLE_ON_BAT_NOT_IN_USE="bluetooth"
ENABLE_LAPTOP_MODE_ON_AC=0
ENABLE_LAPTOP_MODE_ON_=1
MAX_LOST_WORK_SECS_ON_BAT=120
MAX_LOST_WORK_SECS_ON_AC=15
VM_WRITEBACK_ON_BAT=1
VM_DIRTY_RATION_ON_BAT=40
SCHED_POWERSAVE_ON_AC=0
SCHED_POWERSAVE_ON_BAT=1