routine changes
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 688 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.7 MiB |
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Executable
+28
@@ -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)
|
||||
|
||||
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Check if argument is provided
|
||||
if [ $# -eq 0 ]; then
|
||||
echo "Usage: $0 <commit_message>"
|
||||
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
|
||||
Executable
+12
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user