mirror of
https://github.imc.re/void-land/hyprland-void-dots
synced 2025-04-25 13:06:54 +02:00
refactor: hyprland configs
This commit is contained in:
parent
73711d6551
commit
f61127bcac
12 changed files with 141 additions and 70 deletions
|
@ -1 +1 @@
|
|||
source = ~/.config/hypr/configs/animation/variants/animations-river.conf
|
||||
source = ~/.config/hypr/configs/animation/variants/animations-river.conf
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
# -----------------------------------------------------
|
||||
# Animations
|
||||
# name "Classic"
|
||||
# -----------------------------------------------------
|
||||
|
||||
animations {
|
||||
enabled = true
|
||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||
animation = windows, 1, 7, myBezier
|
||||
animation = windowsOut, 1, 7, default, popin 80%
|
||||
animation = border, 1, 10, default
|
||||
animation = borderangle, 1, 8, default
|
||||
animation = fade, 1, 7, default
|
||||
animation = workspaces, 1, 6, default
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
# -----------------------------------------------------
|
||||
# Animations
|
||||
# name "Dynamic"
|
||||
# -----------------------------------------------------
|
||||
|
||||
animations {
|
||||
enabled = true
|
||||
bezier = wind, 0.05, 0.9, 0.1, 1.05
|
||||
bezier = winIn, 0.1, 1.1, 0.1, 1.1
|
||||
bezier = winOut, 0.3, -0.3, 0, 1
|
||||
bezier = liner, 1, 1, 1, 1
|
||||
animation = windows, 1, 6, wind, slide
|
||||
animation = windowsIn, 1, 6, winIn, slide
|
||||
animation = windowsOut, 1, 5, winOut, slide
|
||||
animation = windowsMove, 1, 5, wind, slide
|
||||
animation = border, 1, 1, liner
|
||||
animation = borderangle, 1, 30, liner, loop
|
||||
animation = fade, 1, 10, default
|
||||
animation = workspaces, 1, 5, wind
|
||||
}
|
|
@ -16,4 +16,4 @@ animations {
|
|||
animation = fade, 1, 5, smoothIn
|
||||
animation = fadeDim, 1, 5, smoothIn
|
||||
animation = workspaces, 1, 6, default
|
||||
}
|
||||
}
|
|
@ -15,10 +15,4 @@ input {
|
|||
natural_scroll = false
|
||||
disable_while_typing = 1
|
||||
}
|
||||
}
|
||||
|
||||
gestures {
|
||||
workspace_swipe = true
|
||||
workspace_swipe_invert = true
|
||||
workspace_swipe_cancel_ratio = 0.1
|
||||
}
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
# -----------------------------------------------------
|
||||
# Layouts
|
||||
# -----------------------------------------------------
|
||||
|
||||
dwindle {
|
||||
pseudotile = true
|
||||
preserve_split = true
|
||||
}
|
1
hypr-configs/dotfiles/hypr/configs/layout/export.conf
Normal file
1
hypr-configs/dotfiles/hypr/configs/layout/export.conf
Normal file
|
@ -0,0 +1 @@
|
|||
source = ~/.config/hypr/configs/layout/variants/desktop.conf
|
|
@ -0,0 +1,19 @@
|
|||
# -----------------------------------------------------
|
||||
# Layouts
|
||||
# -----------------------------------------------------
|
||||
|
||||
dwindle {
|
||||
pseudotile = true
|
||||
preserve_split = true
|
||||
force_split = 2
|
||||
}
|
||||
|
||||
gestures {
|
||||
workspace_swipe = false
|
||||
}
|
||||
|
||||
binds {
|
||||
workspace_back_and_forth = true
|
||||
allow_workspace_cycles = true
|
||||
pass_mouse_when_bound = false
|
||||
}
|
|
@ -0,0 +1,30 @@
|
|||
# -----------------------------------------------------
|
||||
# Layouts
|
||||
# -----------------------------------------------------
|
||||
|
||||
dwindle {
|
||||
pseudotile = true
|
||||
preserve_split = true
|
||||
}
|
||||
|
||||
master {
|
||||
# Commented out due to compatibility reasons
|
||||
# new_status = master
|
||||
}
|
||||
|
||||
gestures {
|
||||
workspace_swipe = true
|
||||
workspace_swipe_fingers = 3
|
||||
workspace_swipe_distance = 500
|
||||
workspace_swipe_invert = true
|
||||
workspace_swipe_min_speed_to_force = 30
|
||||
workspace_swipe_cancel_ratio = 0.5
|
||||
workspace_swipe_create_new = true
|
||||
workspace_swipe_forever = true
|
||||
}
|
||||
|
||||
binds {
|
||||
workspace_back_and_forth = true
|
||||
allow_workspace_cycles = true
|
||||
pass_mouse_when_bound = false
|
||||
}
|
|
@ -2,15 +2,6 @@
|
|||
# Mouse
|
||||
# -----------------------------------------------------
|
||||
|
||||
$mouse_cursor = Bibata-Modern-Ice
|
||||
$mouse_cursor_size = 24
|
||||
|
||||
env = HYPRCURSOR_THEME, $mouse_cursor
|
||||
env = XCURSOR_THEME, $mouse_cursor
|
||||
env = HYPRCURSOR_SIZE, $mouse_cursor_size
|
||||
env = XCURSOR_SIZE, $mouse_cursor_size
|
||||
exec-once = gsettings set org.gnome.desktop.interface cursor-theme '$mouse_cursor'
|
||||
|
||||
# cursor {
|
||||
# no_hardware_cursors = true
|
||||
# }
|
||||
|
|
51
hypr-configs/dotfiles/hypr/env.conf
Normal file
51
hypr-configs/dotfiles/hypr/env.conf
Normal file
|
@ -0,0 +1,51 @@
|
|||
# -----------------------------------------------------
|
||||
# General Environments
|
||||
# -----------------------------------------------------
|
||||
|
||||
env = XDG_DATA_DIRS, $HOME/.nix-profile/share:/usr/share/:$HOME/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/var/lib/flatpak/exports/share
|
||||
|
||||
$mouse_cursor = Bibata-Modern-Ice
|
||||
$mouse_cursor_size = 24
|
||||
|
||||
env = HYPRCURSOR_THEME, $mouse_cursor
|
||||
env = XCURSOR_THEME, $mouse_cursor
|
||||
env = HYPRCURSOR_SIZE, $mouse_cursor_size
|
||||
env = XCURSOR_SIZE, $mouse_cursor_size
|
||||
exec-once = gsettings set org.gnome.desktop.interface cursor-theme $mouse_cursor
|
||||
|
||||
env = ELECTRON_OZONE_PLATFORM_HINT,auto
|
||||
env = QT_QPA_PLATFORM, wayland
|
||||
env = QT_QPA_PLATFORMTHEME, qt6ct
|
||||
env = QT_STYLE_OVERRIDE, kvantum
|
||||
exec-once = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"
|
||||
|
||||
$main_mod = SUPER
|
||||
|
||||
$script_dir = ~/.config/hypr/scripts
|
||||
$eww_script_dir = ~/.config/eww/scripts
|
||||
$eww_toggle_panel = $eww_script_dir/eww/toggle-panel.sh
|
||||
|
||||
$alacritty_terminal = alacritty
|
||||
$kitty_terminal = kitty
|
||||
$rio_terminal = rio
|
||||
|
||||
$terminal = $alacritty_terminal
|
||||
$zterminal = $terminal -o "window.opacity=1" -e zellij
|
||||
|
||||
$fileManager = nemo
|
||||
$bluetooth-manager = blueman-manager
|
||||
$pkg_manager = octoxbps
|
||||
$locker = hyprlock
|
||||
|
||||
$screenshot = $script_dir/hyprshot.sh
|
||||
$pavucontrol = $script_dir/pavucontrol-launch.sh
|
||||
$nekoray = $script_dir/nekoray-launch.sh
|
||||
$network_manager = $script_dir/nmtui-launch.sh
|
||||
$random_wallpaper = $script_dir/wallpaper/wallpaper-daemon.sh
|
||||
$kill_wallpaper_daemon = $script_dir/wallpaper/kill-daemon.sh
|
||||
$waybar_toggle = $script_dir/waybar/toggle.sh
|
||||
$rofi_menu = $script_dir/rofi-launch.sh d
|
||||
$rofi_powermenu = $script_dir/rofi-launch.sh p
|
||||
$rofi_screenshot = $script_dir/rofi-launch.sh s
|
||||
$rofi_clipboard = $script_dir/rofi-launch.sh c
|
||||
$rofi_wallpaper = $script_dir/rofi-launch.sh w
|
|
@ -7,57 +7,16 @@
|
|||
#
|
||||
# -----------------------------------------------------
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Environments
|
||||
# -----------------------------------------------------
|
||||
|
||||
env = ELECTRON_OZONE_PLATFORM_HINT,auto
|
||||
env = QT_QPA_PLATFORM, wayland
|
||||
env = QT_QPA_PLATFORMTHEME, qt6ct
|
||||
env = QT_STYLE_OVERRIDE, kvantum
|
||||
exec-once = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"
|
||||
|
||||
env = XDG_DATA_DIRS, $HOME/.nix-profile/share:/usr/share/:$HOME/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/var/lib/flatpak/exports/share
|
||||
|
||||
$main_mod = SUPER
|
||||
|
||||
$script_dir = ~/.config/hypr/scripts
|
||||
$eww_script_dir = ~/.config/eww/scripts
|
||||
$eww_toggle_panel = $eww_script_dir/eww/toggle-panel.sh
|
||||
|
||||
$alacritty_terminal = alacritty
|
||||
$kitty_terminal = kitty
|
||||
$rio_terminal = rio
|
||||
|
||||
$terminal = $alacritty_terminal
|
||||
$zterminal = $terminal -o "window.opacity=1" -e zellij
|
||||
|
||||
$fileManager = nemo
|
||||
$bluetooth-manager = blueman-manager
|
||||
$pkg_manager = octoxbps
|
||||
$locker = hyprlock
|
||||
|
||||
$screenshot = $script_dir/hyprshot.sh
|
||||
$pavucontrol = $script_dir/pavucontrol-launch.sh
|
||||
$nekoray = $script_dir/nekoray-launch.sh
|
||||
$network_manager = $script_dir/nmtui-launch.sh
|
||||
$random_wallpaper = $script_dir/wallpaper/wallpaper-daemon.sh
|
||||
$kill_wallpaper_daemon = $script_dir/wallpaper/kill-daemon.sh
|
||||
$waybar_toggle = $script_dir/waybar/toggle.sh
|
||||
$rofi_menu = $script_dir/rofi-launch.sh d
|
||||
$rofi_powermenu = $script_dir/rofi-launch.sh p
|
||||
$rofi_screenshot = $script_dir/rofi-launch.sh s
|
||||
$rofi_clipboard = $script_dir/rofi-launch.sh c
|
||||
$rofi_wallpaper = $script_dir/rofi-launch.sh w
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Main configuration files
|
||||
# -----------------------------------------------------
|
||||
|
||||
source = ~/.config/hypr/env.conf
|
||||
source = ~/.config/hypr/configs/autostart.conf
|
||||
source = ~/.config/hypr/configs/startup.conf
|
||||
source = ~/.config/hypr/configs/monitor/export.conf
|
||||
source = ~/.config/hypr/configs/animation/export.conf
|
||||
source = ~/.config/hypr/configs/layout/export.conf
|
||||
source = ~/.config/hypr/configs/input.conf
|
||||
source = ~/.config/hypr/configs/mouse.conf
|
||||
|
||||
|
@ -68,6 +27,5 @@ source = ~/.config/hypr/configs/mouse.conf
|
|||
source = ~/.config/hypr/configs/settings.conf
|
||||
source = ~/.config/hypr/configs/devices.conf
|
||||
source = ~/.config/hypr/configs/decoration/export.conf
|
||||
source = ~/.config/hypr/configs/layout.conf
|
||||
source = ~/.config/hypr/configs/keybinds.conf
|
||||
source = ~/.config/hypr/configs/rules.conf
|
||||
|
|
Loading…
Add table
Reference in a new issue