change powerSave module settings, add scripts to change power profile
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 2m31s

This commit is contained in:
2025-09-17 18:58:00 +02:00
parent fbc24916b5
commit 074dff48ca
10 changed files with 155 additions and 53 deletions

View File

@ -1,21 +0,0 @@
#!/bin/sh
FILE=/sys/class/backlight/amdgpu_bl1/brightness
if ! ( test -w "$FILE" ); then
xterm +cm -cr RED -bg BLACK -selbg WHITE -selfg BLACK -fg WHITE -fa Monospace -fs 14 -e "sudo chmod 777 $FILE"
fi
new=$(cat $FILE)
if [ "$1" = "up" ]; then
new=$((new + 13))
elif [ "$1" = "down" ];then
new=$((new - 13))
fi
if [ $new -gt 255 ]; then
new=255
elif [ $new -lt 0 ]; then
new=0
fi
echo $new > $FILE

View File

@ -1,3 +0,0 @@
#!/bin/sh
unison /home/tom/Desktop ssh://tom@tmoron.fr:1880//home/tom/Desktop_sync/Desktop $@

View File

@ -1,2 +0,0 @@
xtrlock&
systemctl hibernate

View File

@ -1,6 +0,0 @@
#!/bin/bash
if [ "$1" = "up" ]; then
asusctl -n
elif [ "$1" = "down" ];then
asusctl -p
fi

View File

@ -1,4 +0,0 @@
#!/bin/bash
until sudo iwctl station wlan0 show | grep iPhone > /dev/null;do
sudo iwctl station wlan0 scan 2>&1 > /dev/null
done

View File

@ -6,7 +6,7 @@
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2024/10/17 18:15:38 by tomoron #+# #+# #
# Updated: 2025/09/05 19:55:21 by tomoron ### ########.fr #
# Updated: 2025/09/17 18:18:51 by tomoron ### ########.fr #
# #
# **************************************************************************** #
@ -72,8 +72,8 @@
vi = "nvim";
hl = "Hyprland";
clr = "clear";
tagueule = "asusctl profile -P Quiet";
parle = "asusctl profile -P performance";
# tagueule = "asusctl profile -P Quiet";
# parle = "asusctl profile -P performance";
noidle = "systemctl --user stop hypridle";
};
@ -98,7 +98,6 @@
ref = "master";
}}/themes";
# ".local/bin/desk_sync".source = dotfiles/local/bin/desk_sync;
};
services.dunst.enable = true;

View File

@ -41,5 +41,77 @@
localsend
];
#mods.sync.syncedAdditions = ["VirtualBox VMs"];
# programs.superfile = {
# enable = true;
# hotkeys = {
# # global
# confirm = ["enter" ""];
# quit = ["ctrl+c" ""];
#
# # movement
# list_up = ["k" ""];
# list_down = ["j" ""];
# page_up = ["pgup"""];
# page_down = ["pgdown"""];
#
# # file panel control
# create_new_file_panel = ["n" ""];
# close_file_panel = ["q" ""];
# next_file_panel = ["tab" ""];
# previous_file_panel = ["shift+tab" ""];
# toggle_file_preview_panel = ["f" ""];
# open_sort_options_menu = ["o" ""];
# toggle_reverse_sort = ["R" ""];
#
# # change focus
# focus_on_process_bar = ["ctrl+p" ""];
# focus_on_sidebar = ["ctrl+s" ""];
# focus_on_metadata = ["ctrl+d" ""];
#
# # create file/directory and rename
# file_panel_item_create = ["a" ""];
# file_panel_item_rename = ["r" ""];
#
# # file operations
# copy_items = ["y" ""];
# cut_items = ["x" ""];
# paste_items = ["p" ""];
# delete_items = ["d" ""];
#
# # compress and extract
# extract_file = ["ctrl+e" ""];
# compress_file = ["ctrl+a" ""];
#
# # editor
# open_file_with_editor = ["e" ""];
# open_current_directory_with_editor = ["E" ""];
#
# # other
# pinned_directory = ["P" ""];
# toggle_dot_file = ["." ""];
# change_panel_mode = ["m" ""];
# open_help_menu = ["?" ""];
# open_command_line = [":" ""];
# copy_path = ["Y" ""];
# copy_present_working_directory = ["c" ""];
# toggle_footer = ["ctrl+f" ""];
#
# # Typing hotkeys (can conflict with all hotkeys)
# confirm_typing = ["enter" ""];
# cancel_typing = ["esc" ""];
#
# # =================================================================================================
# # Normal mode hotkeys (can conflict with other modes cannot conflict with global hotkeys)
# parent_directory = ["-" ""];
# search_bar = ["/" ""];
#
# # =================================================================================================
# # Select mode hotkeys (can conflict with other modes cannot conflict with global hotkeys)
# file_panel_select_mode_items_select_down = ["J" ""];
# file_panel_select_mode_items_select_up = ["K" ""];
# file_panel_select_all_items = ["A" ""];
#
# };
# };
}

View File

@ -8,6 +8,7 @@
};
config = lib.mkIf config.mods.hyprland.enable {
wayland.windowManager.hyprland.systemd.variables = [ "--all" ];
wayland.windowManager.hyprland.enable = true;
wayland.windowManager.hyprland.settings = {
@ -144,12 +145,12 @@
color = "rgba(1a1a1aee)";
};
blur = {
enabled = true;
size = 3;
passes = 1;
vibrancy = 0.1696;
};
#blur = {
# enabled = true;
# size = 3;
# passes = 1;
# vibrancy = 0.1696;
#};
};
general = {