diff --git a/.config/.wallpaper/aerial.jpg b/.config/.wallpaper/aerial.jpg new file mode 100644 index 0000000..3626b28 Binary files /dev/null and b/.config/.wallpaper/aerial.jpg differ diff --git a/.config/.wallpaper/aerial.png b/.config/.wallpaper/aerial.png new file mode 100644 index 0000000..a092310 Binary files /dev/null and b/.config/.wallpaper/aerial.png differ diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 6e267cf..8a330fd 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -21,7 +21,7 @@ source = ~/.config/hypr/conf/autostart.conf # Set programs that you use $terminal = kitty -$fileManager = nemo +$fileManager = nautilus -w $menu = rofi --show drun # Some default env vars. @@ -97,7 +97,7 @@ animations { bezier = easeinoutcirc,0.85, 0, 0.15, 1 bezier = easeinoutquad,0.11, 0, 0.5, 0 animation = windows, 1, 7, overshot - animation = windowsOut, 1, 7, default, popin + animation = windowsOut, 1, 7, default, popin 0% animation = border, 1, 10, default animation = borderangle, 1, 8, default animation = fade, 1, 7, default @@ -142,7 +142,7 @@ device { # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more windowrulev2 = suppressevent maximize, class:.* # You'll probably like this. -windowrulev2 = opacity 0.85,class:^(nemo) +windowrulev2 = opacity 0.85,class:^(org.gnome.Nautilus) windowrulev2 = opacity 0.90,class:^(Code) windowrule = opacity 0.90, ^(Spotify)$ windowrule = opacity 0.80, ^(org.qbittorrent.qBittorrent)$ @@ -155,7 +155,7 @@ $mainMod = SUPER # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, Q, exec, $terminal -binde = $mainMod, C, killactive, +bind = $mainMod, C, killactive, bind = $mainMod, M, exit, bind = $mainMod, E, exec, $fileManager bind = $mainMod, V, togglefloating, @@ -169,6 +169,7 @@ bind = ALT, R, exec, protonvpn-cli c -r bind = ALT, D, exec, protonvpn-cli d bind = , Print, exec, grim -g "$(slurp -d)" "$HOME/Pictures/grim/$(date +'%Y_%m_%d_%H_%M_%S').png" bind = ALT , Print, exec, grim -t jpeg -q 100 -g "$(slurp -d)" "$HOME/Pictures/grim/$(date +'%Y_%m_%d_%H_%M_%S').jpeg" +bind = $mainMod ALT, S ,exec, grim -g "$(slurp -d)" -| wl-copy # Move focus with mainMod + arrow keys bind = $mainMod, left, movefocus, l @@ -180,8 +181,8 @@ bind = $mainMod, down, movefocus, d bind = $mainMod, F, fullscreen, 1 bind = $mainMod SHIFT, F, fullscreen, 0 bind = $mainMod CTRL, F, fakefullscreen -bind = $mainMod, L, exec, hyprlock -bind = CTRL ALT, S , exec, systemctl suspend; hyprlock +bind = $mainMod, L, exec, killall hyprlock ; hyprlock +bind = CTRL ALT, S , exec, systemctl suspend; killall hyprlock ; hyprlock # Switch workspaces with mainMod + [0-9] bind = $mainMod, A, workspace, 1 @@ -248,7 +249,7 @@ bind = CTRL ALT, M, exec, nbfc set -f 0 1 -s 100 bind = CTRL ALT, P, exec, nbfc set -f 0 1 -a # Lid Switch -bindl=,switch:Lid Switch, exec, hyprlock +bindl=,switch:Lid Switch, exec, killall hyprlock ; hyprlock # Gamemode bind = WIN, F1, exec, ~/.config/hypr/gamemode.sh diff --git a/.config/hypr/hyprlock.conf b/.config/hypr/hyprlock.conf index d83cb66..5de388e 100644 --- a/.config/hypr/hyprlock.conf +++ b/.config/hypr/hyprlock.conf @@ -8,7 +8,7 @@ background { monitor = - path = $HOME/.config/.wallpaper/astronautjelly.png # only png supported for now + path = $HOME/.config/.wallpaper/aerial.png # only png supported for now } input-field { diff --git a/.config/hypr/hyprpaper.conf b/.config/hypr/hyprpaper.conf index a4cd99b..3948946 100644 --- a/.config/hypr/hyprpaper.conf +++ b/.config/hypr/hyprpaper.conf @@ -1,6 +1,6 @@ -preload = ~/.config/.wallpaper/astronautjelly.jpg +preload = ~/.config/.wallpaper/aerial.jpg -wallpaper = ,~/.config/.wallpaper/astronautjelly.jpg +wallpaper = ,~/.config/.wallpaper/aerial.jpg splash = true diff --git a/.gitignore b/.gitignore index 1de056a..7b9851d 100644 --- a/.gitignore +++ b/.gitignore @@ -63,3 +63,10 @@ .config/konsolerc .config/konsolesshconfig .config/simple-update-notifier/ +.config/Upscayl/ +.config/VirtualBox/ +.config/bashtop/ +.config/kcalcrc +.config/systemmonitorrc +.config/user-dirs.dirs +.config/user-dirs.locale diff --git a/.local/bin/fileconv b/.local/bin/fileconv new file mode 100755 index 0000000..4e28e9e --- /dev/null +++ b/.local/bin/fileconv @@ -0,0 +1,28 @@ +#!/usr/bin/env python + +import os + +def rename_folders_and_files(directory): + # First, rename files and directories in subdirectories + for root, dirs, files in os.walk(directory): + for d in dirs: + rename_folders_and_files(os.path.join(root, d)) + + # Then, rename files in the current directory + for root, dirs, files in os.walk(directory): + for f in files: + old_path = os.path.join(root, f) + new_path = os.path.join(root, f.lower().replace(" ", "_")) + os.rename(old_path, new_path) + + # Finally, rename directories in the current directory + for root, dirs, _ in os.walk(directory): + for d in dirs: + old_path = os.path.join(root, d) + new_path = os.path.join(root, d.lower().replace(" ", "_")) + os.rename(old_path, new_path) + +if __name__ == "__main__": + root_directory = input("Enter the root directory path: ") + rename_folders_and_files(root_directory) + diff --git a/.local/bin/gp b/.local/bin/gp new file mode 100755 index 0000000..245c0c5 --- /dev/null +++ b/.local/bin/gp @@ -0,0 +1,17 @@ +#!/bin/bash + +# Check if argument is provided +if [ $# -eq 0 ]; then + echo "Usage: $0 " + exit 1 +fi + +# Add all changes +git add . + +# Commit with the provided argument +commit_message="$1" +git commit -m "$commit_message" + +# Push changes to the master branch of the origin remote +git push -u origin master diff --git a/.local/bin/rofi-waybar b/.local/bin/rofi-waybar new file mode 100755 index 0000000..0e81576 --- /dev/null +++ b/.local/bin/rofi-waybar @@ -0,0 +1,12 @@ +#!/bin/bash + +# Check if rofi is already running +if pgrep -x "rofi" > /dev/null +then + # If running, kill rofi + pkill -x rofi +else + # If not running, launch rofi + rofi -show drun & +fi +