chore: folder structures and file names

This commit is contained in:
hesam-init 2024-02-28 22:18:59 +03:30
parent 9fc2d6411c
commit cff53a8a8a
23 changed files with 60 additions and 78 deletions

View file

View file

@ -1,7 +1,8 @@
# -----------------------------------------------------
# -----------------------------------------------------
# Animations
# name "Fast"
# -----------------------------------------------------
# -----------------------------------------------------
animations {
enabled = true
bezier = linear, 0, 0, 1, 1
@ -9,7 +10,7 @@ animations {
bezier = md3_decel, 0.05, 0.7, 0.1, 1
bezier = md3_accel, 0.3, 0, 0.8, 0.15
bezier = overshot, 0.05, 0.9, 0.1, 1.1
bezier = crazyshot, 0.1, 1.5, 0.76, 0.92
bezier = crazyshot, 0.1, 1.5, 0.76, 0.92
bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0
bezier = fluent_decel, 0.1, 1, 0, 1
bezier = easeInOutCirc, 0.85, 0, 0.15, 1

View file

@ -1,7 +1,8 @@
# -----------------------------------------------------
# -----------------------------------------------------
# Animations
# name: "High"
# -----------------------------------------------------
# -----------------------------------------------------
animations {
enabled = true
bezier = wind, 0.05, 0.9, 0.1, 1.05

View file

@ -1,7 +1,8 @@
# -----------------------------------------------------
# -----------------------------------------------------
# Animations
# name "Default"
# -----------------------------------------------------
# -----------------------------------------------------
animations {
enabled = true
bezier = myBezier, 0.05, 0.9, 0.1, 1.05

View file

@ -22,7 +22,7 @@ decoration {
fullscreen_opacity = 1.0
drop_shadow = true
shadow_range = 15
shadow_range = 30
shadow_render_power = 5
col.shadow = 0x66000000
}

View file

@ -1,25 +0,0 @@
# -----------------------------------------------------
# General window decoration
# name: "No Rounding"
# -----------------------------------------------------
decoration {
rounding = 0
blur {
enabled = true
size = 6
passes = 2
new_optimizations = on
ignore_opacity = true
xray = true
# blurls = waybar
}
active_opacity = 1.0
inactive_opacity = 0.8
fullscreen_opacity = 1.0
drop_shadow = true
shadow_range = 30
shadow_render_power = 3
col.shadow = 0x66000000
}

View file

@ -1,7 +1,7 @@
# -----------------------------------------------------
# -----------------------------------------------------
# General window decoration
# name: "Rounding All Blur"
# -----------------------------------------------------
# -----------------------------------------------------
decoration {
rounding = 10

View file

@ -1,7 +1,7 @@
# -----------------------------------------------------
# -----------------------------------------------------
# General window decoration
# name: "Rounding More Blur"
# -----------------------------------------------------
# -----------------------------------------------------
decoration {
rounding = 10

View file

@ -1,7 +1,7 @@
# -----------------------------------------------------
# -----------------------------------------------------
# General window decoration
# name: "Default"
# -----------------------------------------------------
# -----------------------------------------------------
decoration {
rounding = 10

View file

@ -1,21 +1,7 @@
# -----------------------------------------------------
# Environment Variables
# name: "Default"
# name: "default"
# -----------------------------------------------------
$scr_path = ~/.config/hypr/scripts
$mainMod = SUPER
$terminal = alacritty -o "window.opacity=0"
$fileManager = nemo
$screenshot = $scr_path/hyprshot.sh
$network_manager = $scr_path/wpa-launch.sh
$random_wallpaper = $scr_path/wallpaper-daemon.sh
$kill_wallpaper_daemon = $scr_path/kill-wallpaper-daemon.sh
$waybar_toggle = $scr_path/waybar-toggle.sh
$volume_control = $scr_path/volume-control.sh
$rofi_menu = $scr_path/rofi-launch.sh d
$rofi_powermenu = $scr_path/rofi-launch.sh p
$rofi_screenshot = $scr_path/rofi-launch.sh s
$rofi_clipboard = $scr_path/rofi-launch.sh c
$rofi_wallpaper = $scr_path/rofi-launch.sh w
$pkg_manager = octoxbps
env = XCURSOR_SIZE,24
env = QT_QPA_PLATFORM,wayland

View file

@ -1,7 +1,7 @@
# -----------------------------------------------------
# -----------------------------------------------------
# Environment Variables
# name: "KVM"
# -----------------------------------------------------
# -----------------------------------------------------
env = XCURSOR_SIZE,24
env = QT_QPA_PLATFORM,wayland

View file

@ -27,6 +27,7 @@ bind = $mainMod, W, exec, $terminal -e zellij
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, N, exec, $network_manager
bind = $mainMod, J, exec, $pkg_manager
bind = $mainMod, B, exec, $bluetooth-manager
# Screenshot
bind = $mainMod, PRINT, exec, $screenshot -m window

View file

@ -1,12 +1,18 @@
# -----------------------------------------------------
# Window rules
# -----------------------------------------------------
windowrulev2 = bordercolor rgb(FF0000) rgb(880808) 15deg,fullscreen:1
# global rules:
windowrulev2 = animation popin,class:^(alacritty|Alacritty|pavucontrol|org.kde.polkit-kde-authentication-agent-1)$
windowrulev2 = float,class:^(pavucontrol|wlogout|dunst|Dunst|org.kde.polkit-kde-authentication-agent-1)$
# bluetooth managers rules :
windowrulev2 = float, class:^(blueman-manager)$
windowrulev2 = size 800 450, class:^(blueman-manager)$
windowrulev2 = center, class:^(blueman-manager)$
# alacritty rules:
windowrulev2 = float, class:floating
windowrulev2 = animation popin, class:floating

View file

@ -1,7 +1,7 @@
# -----------------------------------------------------
# -----------------------------------------------------
# General window layout and colors
# name: "No Border More Gaps"
# -----------------------------------------------------
# -----------------------------------------------------
general {
gaps_in = 20

View file

@ -1,7 +1,7 @@
# -----------------------------------------------------
# -----------------------------------------------------
# General window layout and colors
# name: "No Border"
# -----------------------------------------------------
# -----------------------------------------------------
general {
gaps_in = 10

View file

@ -10,12 +10,26 @@
# -----------------------------------------------------
# Environments
# -----------------------------------------------------
env = XCURSOR_SIZE,24
env = QT_QPA_PLATFORM,wayland
source = ~/.config/hypr/conf/environment.conf
$mainMod = SUPER
$terminal = alacritty -o "window.opacity=0"
$fileManager = nemo
$bluetooth-manager = blueman-manager
$pkg_manager = octoxbps
$scr_path = ~/.config/hypr/scripts
$screenshot = $scr_path/hyprshot.sh
$network_manager = $scr_path/wpa-launch.sh
$random_wallpaper = $scr_path/wallpaper-daemon.sh
$kill_wallpaper_daemon = $scr_path/kill-wallpaper-daemon.sh
$waybar_toggle = $scr_path/waybar-toggle.sh
$volume_control = $scr_path/volume-control.sh
$rofi_menu = $scr_path/rofi-launch.sh d
$rofi_powermenu = $scr_path/rofi-launch.sh p
$rofi_screenshot = $scr_path/rofi-launch.sh s
$rofi_clipboard = $scr_path/rofi-launch.sh c
$rofi_wallpaper = $scr_path/rofi-launch.sh w
# -----------------------------------------------------
# Autostart
# -----------------------------------------------------

21
stow.sh
View file

@ -1,8 +1,7 @@
#!/bin/bash
configs_dir="$(pwd)/configs"
settings_dir="$(pwd)/.settings"
shortcuts_dir="$(pwd)/.shortcuts"
shortcuts_dir="$(pwd)/configs/shortcuts"
display_help() {
echo "Usage: [-s | -u] [-h]"
@ -42,7 +41,7 @@ unstow_shortcuts() {
local target_file=~/.local/share/applications/$file_name
if [ -e $target_file ]; then
rm $target_file
rm -f $target_file
echo "Removed: $target_file"
else
echo "Not found: $target_file"
@ -54,8 +53,6 @@ stow_dotfiles() {
create_symlinks $configs_dir/dotfiles ~/.config
create_symlinks $configs_dir/zsh ~/
ln -sfn $settings_dir/mimeapps.list ~/.config
echo "Dotfiles stowed successfully!"
}
@ -105,15 +102,15 @@ stow_hyprland() {
}
unstow_hyprland() {
for folder in $configs_dir/hyprland/*; do
folder_name=$(basename $folder)
target_folder=~/.config/$folder_name
for config in $configs_dir/hyprland/*; do
config_name=$(basename $config)
target_config=~/.config/$config_name
if [ -e $target_folder ]; then
rm -rf $target_folder
echo "Removed: $target_folder"
if [ -e $target_config ]; then
rm -rf $target_config
echo "Removed: $target_config"
else
echo "Not found: $target_folder"
echo "Not found: $target_config"
fi
done
}