init: copy from Hacmini
This commit is contained in:
@@ -0,0 +1 @@
|
||||
source = ~/dotfiles/hypr/conf/animations/animations-high.conf
|
||||
@@ -0,0 +1,18 @@
|
||||
# -----------------------------------------------------
|
||||
# Animations
|
||||
# name "Moving"
|
||||
# -----------------------------------------------------
|
||||
animations {
|
||||
enabled = true
|
||||
bezier = overshot, 0.05, 0.9, 0.1, 1.05
|
||||
bezier = smoothOut, 0.5, 0, 0.99, 0.99
|
||||
bezier = smoothIn, 0.5, -0.5, 0.68, 1.5
|
||||
animation = windows, 1, 5, overshot, slide
|
||||
animation = windowsOut, 1, 3, smoothOut
|
||||
animation = windowsIn, 1, 3, smoothOut
|
||||
animation = windowsMove, 1, 4, smoothIn, slide
|
||||
animation = border, 1, 5, default
|
||||
animation = fade, 1, 5, smoothIn
|
||||
animation = fadeDim, 1, 5, smoothIn
|
||||
animation = workspaces, 1, 6, default
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
# -----------------------------------------------------
|
||||
# Animations
|
||||
# name "Fast"
|
||||
# -----------------------------------------------------
|
||||
animations {
|
||||
enabled = true
|
||||
bezier = linear, 0, 0, 1, 1
|
||||
bezier = md3_standard, 0.2, 0, 0, 1
|
||||
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 = 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
|
||||
bezier = easeOutCirc, 0, 0.55, 0.45, 1
|
||||
bezier = easeOutExpo, 0.16, 1, 0.3, 1
|
||||
animation = windows, 1, 3, md3_decel, popin 60%
|
||||
animation = border, 1, 10, default
|
||||
animation = fade, 1, 2.5, md3_decel
|
||||
animation = workspaces, 1, 3.5, easeOutExpo, slide
|
||||
animation = specialWorkspace, 1, 3, md3_decel, slidevert
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
# -----------------------------------------------------
|
||||
# Animations
|
||||
# name: "High"
|
||||
# -----------------------------------------------------
|
||||
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
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
# -----------------------------------------------------
|
||||
# Animations
|
||||
# name "Default"
|
||||
# -----------------------------------------------------
|
||||
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,7 @@
|
||||
# -----------------------------------------------------
|
||||
# Animations
|
||||
# name "Default"
|
||||
# -----------------------------------------------------
|
||||
animations {
|
||||
enabled = false
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
# -----------------------------------------------------
|
||||
# Autostart
|
||||
# -----------------------------------------------------
|
||||
|
||||
# Setup XDG for screen sharing
|
||||
exec-once = ../scripts/xdg.sh
|
||||
|
||||
# Start Polkit
|
||||
# exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
|
||||
# Load Dunst Notification Manager
|
||||
exec-once = dunst
|
||||
|
||||
# Load GTK settings
|
||||
# exec-once = ~/dotfiles/hypr/scripts/gtk.sh
|
||||
|
||||
# Using hypridle to start hyprlock
|
||||
# exec-once = hypridle
|
||||
|
||||
# Load cliphist history
|
||||
exec-once = wl-paste --watch cliphist store
|
||||
|
||||
# Initialize Wallpaper Engine
|
||||
exec-once = ~/dotfiles/hypr/scripts/init-wallpaper-engine.sh
|
||||
|
||||
# Autostart ML4W App
|
||||
# exec-once = ~/dotfiles/hypr/scripts/ml4w-welcome-autostart.sh
|
||||
|
||||
# Start ewww daemon
|
||||
# exec-once = ~/dotfiles/hypr/scripts/eww.sh
|
||||
|
||||
exec-once = pypr
|
||||
|
||||
|
||||
# Start autostart cleanup
|
||||
# exec-once = ~/dotfiles/hypr/scripts/cleanup.sh
|
||||
@@ -0,0 +1,2 @@
|
||||
exec-once = hyprctl setcursor Vimix-hyprcursors 32
|
||||
env = HYPRCURSOR_THEME,Vimix-hyprcursors
|
||||
@@ -0,0 +1,2 @@
|
||||
exec-once = sleep 1 && pw-play ~/.local/share/startupsounds/start-computeraif-14572.mp3 &
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
source = ~/dotfiles/hypr/conf/decorations/custom.conf
|
||||
@@ -0,0 +1,25 @@
|
||||
# -----------------------------------------------------
|
||||
# General window decoration
|
||||
# name: "Default"
|
||||
# -----------------------------------------------------
|
||||
|
||||
decoration {
|
||||
rounding = 10
|
||||
blur {
|
||||
enabled = true
|
||||
size = 10
|
||||
passes = 3
|
||||
new_optimizations = on
|
||||
ignore_opacity = true
|
||||
xray = false
|
||||
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
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
# -----------------------------------------------------
|
||||
# General window decoration
|
||||
# name: "Default"
|
||||
# -----------------------------------------------------
|
||||
|
||||
decoration {
|
||||
rounding = 10
|
||||
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
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
# -----------------------------------------------------
|
||||
# General window decoration
|
||||
# name: "No Rounding More Blur"
|
||||
# -----------------------------------------------------
|
||||
|
||||
decoration {
|
||||
rounding = 0
|
||||
blur {
|
||||
enabled = true
|
||||
size = 12
|
||||
passes = 6
|
||||
new_optimizations = on
|
||||
ignore_opacity = true
|
||||
xray = true
|
||||
# blurls = waybar
|
||||
}
|
||||
active_opacity = 1.0
|
||||
inactive_opacity = 0.6
|
||||
fullscreen_opacity = 1.0
|
||||
|
||||
drop_shadow = true
|
||||
shadow_range = 30
|
||||
shadow_render_power = 3
|
||||
col.shadow = 0x66000000
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
# -----------------------------------------------------
|
||||
# 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
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
# -----------------------------------------------------
|
||||
# General window decoration
|
||||
# name: "Rounding All Blur No Shadows"
|
||||
# -----------------------------------------------------
|
||||
|
||||
decoration {
|
||||
rounding = 10
|
||||
blur {
|
||||
enabled = true
|
||||
size = 12
|
||||
passes = 4
|
||||
new_optimizations = on
|
||||
ignore_opacity = true
|
||||
xray = true
|
||||
blurls = waybar
|
||||
}
|
||||
active_opacity = 0.9
|
||||
inactive_opacity = 0.6
|
||||
fullscreen_opacity = 0.9
|
||||
|
||||
drop_shadow = false
|
||||
shadow_range = 30
|
||||
shadow_render_power = 3
|
||||
col.shadow = 0x66000000
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
# -----------------------------------------------------
|
||||
# General window decoration
|
||||
# name: "Rounding All Blur"
|
||||
# -----------------------------------------------------
|
||||
|
||||
decoration {
|
||||
rounding = 10
|
||||
blur {
|
||||
enabled = true
|
||||
size = 12
|
||||
passes = 4
|
||||
new_optimizations = on
|
||||
ignore_opacity = true
|
||||
xray = true
|
||||
blurls = waybar
|
||||
}
|
||||
active_opacity = 0.9
|
||||
inactive_opacity = 0.6
|
||||
fullscreen_opacity = 0.9
|
||||
|
||||
drop_shadow = true
|
||||
shadow_range = 30
|
||||
shadow_render_power = 3
|
||||
col.shadow = 0x66000000
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
# -----------------------------------------------------
|
||||
# General window decoration
|
||||
# name: "Rounding More Blur"
|
||||
# -----------------------------------------------------
|
||||
|
||||
decoration {
|
||||
rounding = 10
|
||||
blur {
|
||||
enabled = true
|
||||
size = 12
|
||||
passes = 6
|
||||
new_optimizations = on
|
||||
ignore_opacity = true
|
||||
xray = true
|
||||
# blurls = waybar
|
||||
}
|
||||
active_opacity = 1.0
|
||||
inactive_opacity = 0.6
|
||||
fullscreen_opacity = 1.0
|
||||
|
||||
drop_shadow = true
|
||||
shadow_range = 30
|
||||
shadow_render_power = 3
|
||||
col.shadow = 0x66000000
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
# -----------------------------------------------------
|
||||
# General window decoration
|
||||
# name: "Default"
|
||||
# -----------------------------------------------------
|
||||
|
||||
decoration {
|
||||
rounding = 10
|
||||
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
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
source = environments/default.conf
|
||||
@@ -0,0 +1,14 @@
|
||||
# -----------------------------------------------------
|
||||
# Environment Variables
|
||||
# name: "Default"
|
||||
# -----------------------------------------------------
|
||||
|
||||
env = XDG_CURRENT_DESKTOP, Hyprland
|
||||
env = XDG_SESSION_TYPE,wayland
|
||||
env = XDG_SESSION_DESKTOP,Hyprland
|
||||
env = QT_QPA_PLATFORM,wayland
|
||||
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
|
||||
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
|
||||
env = MOZ_ENABLE_WAYLAND,1
|
||||
|
||||
env = LANG,zh_CN.UTF-8
|
||||
@@ -0,0 +1,14 @@
|
||||
# -----------------------------------------------------
|
||||
# Environment Variables
|
||||
# name: "KVM"
|
||||
# -----------------------------------------------------
|
||||
|
||||
env = XDG_SESSION_TYPE,wayland
|
||||
env = XDG_SESSION_DESKTOP,Hyprland
|
||||
env = QT_QPA_PLATFORM,wayland
|
||||
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
|
||||
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
|
||||
env = MOZ_ENABLE_WAYLAND,1
|
||||
env = GDK_SCALE,1
|
||||
env = WLR_RENDERER_ALLOW_SOFTWARE, 1
|
||||
env = WLR_NO_HARDWARE_CURSORS, 1
|
||||
@@ -0,0 +1,13 @@
|
||||
# -----------------------------------------------------
|
||||
# Environment Variables
|
||||
# name: "Nvidia"
|
||||
# -----------------------------------------------------
|
||||
# https://wiki.hyprland.org/Nvidia/
|
||||
|
||||
env = LIBVA_DRIVER_NAME,nvidia
|
||||
env = XDG_SESSION_TYPE,wayland
|
||||
env = GBM_BACKEND,nvidia-drm
|
||||
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
||||
|
||||
# env = __GL_VRR_ALLOWED,1
|
||||
# env = WLR_DRM_NO_ATOMIC,1
|
||||
@@ -0,0 +1,9 @@
|
||||
exec-once = fcitx5-remote -r
|
||||
exec-once = fcitx5 -d --replace
|
||||
exec-once = fcitx5-remote -r
|
||||
|
||||
bind=$mainMod CTRL, E, exec, pkill fcitx5 -9;sleep 1;fcitx5 -d --replace; sleep 1;fcitx5-remote -r
|
||||
|
||||
env=XMODIFIERS,'@im=fcitx'
|
||||
#env=GTK_IM_MODULE,fcitx
|
||||
env=QT_IM_MODULE,fcitx
|
||||
@@ -0,0 +1,6 @@
|
||||
xwayland {
|
||||
force_zero_scaling = true
|
||||
}
|
||||
|
||||
env = GDK_SCALE,2
|
||||
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
|
||||
@@ -0,0 +1 @@
|
||||
source = keybindings/custom.conf
|
||||
@@ -0,0 +1,104 @@
|
||||
# -----------------------------------------------------
|
||||
# Key bindings
|
||||
# name: "Default"
|
||||
# -----------------------------------------------------
|
||||
|
||||
# SUPER KEY
|
||||
$mainMod = SUPER
|
||||
|
||||
# Applications
|
||||
bind = $mainMod, RETURN, exec, ~/dotfiles/.settings/terminal.sh
|
||||
bind = $mainMod, B, exec, ~/dotfiles/.settings/browser.sh
|
||||
bind = $mainMod SHIFT, E, exec, emote
|
||||
|
||||
# Windows
|
||||
bind = $mainMod, Q, killactive
|
||||
bind = $mainMod, F, fullscreen
|
||||
bind = $mainMod SHIFT, F, fullscreen, 1
|
||||
bind = $mainMod CTRL SHIFT, F, fullscreen, 2
|
||||
#bind = $mainMod ALT, F, fakefullscreen
|
||||
bind = $mainMod, E, exec, ~/dotfiles/.settings/filemanager.sh
|
||||
bind = $mainMod, T, togglefloating
|
||||
bind = $mainMod SHIFT, T, exec, ~/dotfiles/hypr/scripts/toggleallfloat.sh
|
||||
bind = $mainMod, J, togglesplit
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
bind = $mainMod SHIFT, right, resizeactive, 100 0
|
||||
bind = $mainMod SHIFT, left, resizeactive, -100 0
|
||||
bind = $mainMod SHIFT, up, resizeactive, 0 -100
|
||||
bind = $mainMod SHIFT, down, resizeactive, 0 100
|
||||
bind = $mainMod, G, togglegroup
|
||||
bind = $mainMod CTRL, Tab, changegroupactive, f
|
||||
|
||||
# Actions
|
||||
bind = $mainMod, PRINT, exec, ~/dotfiles/hypr/scripts/screenshot.sh
|
||||
bind = $mainMod CTRL, Q, exec, wlogout
|
||||
bind = $mainMod SHIFT, W, exec, ~/dotfiles/hypr/scripts/wallpaper.sh
|
||||
bind = $mainMod CTRL, W, exec, ~/dotfiles/hypr/scripts/wallpaper.sh select
|
||||
bind = $mainMod, SPACE, exec, rofi -show drun -replace -i
|
||||
bind = $mainMod CTRL, H, exec, ~/dotfiles/hypr/scripts/keybindings.sh
|
||||
bind = $mainMod SHIFT, B, exec, ~/dotfiles/waybar/launch.sh
|
||||
bind = $mainMod CTRL, B, exec, ~/dotfiles/waybar/toggle.sh
|
||||
bind = $mainMod SHIFT, R, exec, ~/dotfiles/hypr/scripts/loadconfig.sh
|
||||
bind = $mainMod CTRL, C, exec, ~/dotfiles/scripts/cliphist.sh
|
||||
bind = $mainMod, V, exec, ~/dotfiles/scripts/cliphist.sh
|
||||
bind = $mainMod CTRL, T, exec, ~/dotfiles/waybar/themeswitcher.sh
|
||||
bind = $mainMod CTRL, S, exec, ~/dotfiles/apps/ML4W_Dotfiles_Settings-x86_64.AppImage
|
||||
bind = $mainMod CTRL, P, exec, hyprpicker -a
|
||||
bind = $mainMod SHIFT, S, exec, ~/dotfiles/hypr/scripts/hyprshade.sh
|
||||
bind = $mainMod ALT, G, exec, ~/dotfiles/hypr/scripts/gamemode.sh
|
||||
|
||||
# Workspaces
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
bind = $mainMod, 4, workspace, 4
|
||||
bind = $mainMod, 5, workspace, 5
|
||||
bind = $mainMod, 6, workspace, 6
|
||||
bind = $mainMod, 7, workspace, 7
|
||||
bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
bind = $mainMod CTRL, down, workspace, empty
|
||||
bind = $mainMod CTRL, left, workspace, e-1
|
||||
bind = $mainMod CTRL, right, workspace, e+1
|
||||
|
||||
# Fn keys
|
||||
bind = , XF86MonBrightnessUp, exec, brightnessctl -q s +10%
|
||||
bind = , XF86MonBrightnessDown, exec, brightnessctl -q s 10%-
|
||||
bind = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5% && notify-send -t 400 "Volume: $(pactl get-sink-volume @DEFAULT_SINK@ | awk '/front-left/ {print $5}')"
|
||||
bind = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5% && notify-send -t 400 "Volume: $(pactl get-sink-volume @DEFAULT_SINK@ | awk '/front-left/ {print $5}')"
|
||||
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
bind = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bind = , XF86AudioPause, exec, playerctl pause
|
||||
bind = , XF86AudioNext, exec, playerctl next
|
||||
bind = , XF86AudioPrev, exec, playerctl previous
|
||||
bind = , XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
||||
bind = , XF86Calculator, exec, qalculate-gtk
|
||||
bind = , XF86Lock, exec, hyprlock
|
||||
bind = , XF86Tools, exec, alacritty --class dotfiles-floating -e ~/dotfiles/hypr/settings/settings.sh
|
||||
|
||||
# Passthrough SUPER KEY to Virtual Machine
|
||||
bind = $mainMod, P, submap, passthru
|
||||
submap = passthru
|
||||
bind = SUPER, Escape, submap, reset
|
||||
submap = reset
|
||||
|
||||
# Pyprland
|
||||
bind = $mainMod SHIFT, RETURN, exec, pypr toggle term
|
||||
@@ -0,0 +1,94 @@
|
||||
# -----------------------------------------------------
|
||||
# Key bindings
|
||||
# name: "Default"
|
||||
# -----------------------------------------------------
|
||||
|
||||
# SUPER KEY
|
||||
$mainMod = SUPER
|
||||
|
||||
# Applications
|
||||
bind = $mainMod, RETURN, exec, ~/dotfiles/.settings/terminal.sh # Open the terminal
|
||||
bind = $mainMod, B, exec, ~/dotfiles/.settings/browser.sh # Open the browser
|
||||
bind = $mainMod, E, exec, ~/dotfiles/.settings/filemanager.sh # Open the filemanager
|
||||
|
||||
# Windows
|
||||
bind = $mainMod, Q, killactive # Kill active window
|
||||
bind = $mainMod, F, fullscreen # Set active window to fullscreen
|
||||
bind = $mainMod, T, togglefloating # Toggle active windows into floating mode
|
||||
bind = $mainMod SHIFT, T, exec, ~/dotfiles/hypr/scripts/toggleallfloat.sh # Toggle all windows into floating mode
|
||||
bind = $mainMod, J, togglesplit # Toggle split
|
||||
bind = $mainMod, left, movefocus, l # Move focus left
|
||||
bind = $mainMod, right, movefocus, r # Move focus right
|
||||
bind = $mainMod, up, movefocus, u # Move focus up
|
||||
bind = $mainMod, down, movefocus, d # Move focus down
|
||||
bindm = $mainMod, mouse:272, movewindow # Move window with the mouse
|
||||
bindm = $mainMod, mouse:273, resizewindow # Resize window with the mouse
|
||||
bind = $mainMod SHIFT, right, resizeactive, 100 0 # Increase window width with keyboard
|
||||
bind = $mainMod SHIFT, left, resizeactive, -100 0 # Reduce window width with keyboard
|
||||
bind = $mainMod SHIFT, down, resizeactive, 0 100 # Increase window height with keyboard
|
||||
bind = $mainMod SHIFT, up, resizeactive, 0 -100 # Reduce window height with keyboard
|
||||
bind = $mainMod, G, togglegroup # Toggle window group
|
||||
|
||||
# Actions
|
||||
bind = $mainMod SHIFT, A, exec, ~/dotfiles/hypr/scripts/toggle-animations.sh # Toggle animations
|
||||
bind = $mainMod, PRINT, exec, ~/dotfiles/hypr/scripts/screenshot.sh # Take a screenshot
|
||||
bind = $mainMod CTRL, Q, exec, wlogout # Start wlogout
|
||||
bind = $mainMod SHIFT, W, exec, ~/dotfiles/hypr/scripts/wallpaper.sh # Change the wallpaper
|
||||
bind = $mainMod CTRL, W, exec, ~/dotfiles/hypr/scripts/wallpaper.sh select # Open wallpaper selector
|
||||
bind = $mainMod CTRL, RETURN, exec, rofi -show drun -replace -i # Open application launcher
|
||||
bind = $mainMod CTRL, H, exec, ~/dotfiles/hypr/scripts/keybindings.sh # Show keybindings
|
||||
bind = $mainMod SHIFT, B, exec, ~/dotfiles/waybar/launch.sh # Reload waybar
|
||||
bind = $mainMod CTRL, B, exec, ~/dotfiles/waybar/toggle.sh # Toggle waybar
|
||||
bind = $mainMod SHIFT, R, exec, ~/dotfiles/hypr/scripts/loadconfig.sh # Reload hyprland config
|
||||
bind = $mainMod, V, exec, ~/dotfiles/scripts/cliphist.sh # Open clipboard manager
|
||||
bind = $mainMod CTRL, T, exec, ~/dotfiles/waybar/themeswitcher.sh # Open waybar theme switcher
|
||||
bind = $mainMod CTRL, S, exec, ~/dotfiles/apps/ML4W_Dotfiles_Settings-x86_64.AppImage # Open ML4W Dotfiles Settings app
|
||||
bind = $mainMod SHIFT, S, exec, ~/dotfiles/hypr/scripts/hyprshade.sh # Toggle screenshader
|
||||
bind = $mainMod ALT, G, exec, ~/dotfiles/hypr/scripts/gamemode.sh # Toggle game mode
|
||||
|
||||
# Workspaces
|
||||
bind = $mainMod, 1, workspace, 1 # Open workspace 1
|
||||
bind = $mainMod, 2, workspace, 2 # Open workspace 2
|
||||
bind = $mainMod, 3, workspace, 3 # Open workspace 3
|
||||
bind = $mainMod, 4, workspace, 4 # Open workspace 4
|
||||
bind = $mainMod, 5, workspace, 5 # Open workspace 5
|
||||
bind = $mainMod, 6, workspace, 6 # Open workspace 6
|
||||
bind = $mainMod, 7, workspace, 7 # Open workspace 7
|
||||
bind = $mainMod, 8, workspace, 8 # Open workspace 8
|
||||
bind = $mainMod, 9, workspace, 9 # Open workspace 9
|
||||
bind = $mainMod, 0, workspace, 10 # Open workspace 10
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1 # Move active window to workspace 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2 # Move active window to workspace 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3 # Move active window to workspace 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4 # Move active window to workspace 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5 # Move active window to workspace 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6 # Move active window to workspace 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7 # Move active window to workspace 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8 # Move active window to workspace 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9 # Move active window to workspace 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10 # Move active window to workspace 10
|
||||
bind = $mainMod, mouse_down, workspace, e+1 # Open next workspace
|
||||
bind = $mainMod, mouse_up, workspace, e-1 # Open previous workspace
|
||||
bind = $mainMod CTRL, down, workspace, empty # Open the next empty workspace
|
||||
|
||||
# Passthrough SUPER KEY to Virtual Machine
|
||||
bind = $mainMod, P, submap, passthru # Passthrough SUPER key to virtual machine
|
||||
submap = passthru
|
||||
bind = SUPER, Escape, submap, reset # Get SUPER key back from virtual machine
|
||||
submap = reset
|
||||
|
||||
# Fn keys
|
||||
bind = , XF86MonBrightnessUp, exec, brightnessctl -q s +10% # Increase brightness by 10%
|
||||
bind = , XF86MonBrightnessDown, exec, brightnessctl -q s 10%- # Reduce brightness by 10%
|
||||
bind = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5% # Increase volume by 5%
|
||||
bind = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5% # Reduce volume by 5%
|
||||
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle # Toggle mute
|
||||
bind = , XF86AudioPlay, exec, playerctl play-pause # Audio play pause
|
||||
bind = , XF86AudioPause, exec, playerctl pause # Audio pause
|
||||
bind = , XF86AudioNext, exec, playerctl next # Audio next
|
||||
bind = , XF86AudioPrev, exec, playerctl previous # Audio previous
|
||||
bind = , XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle # Toggle microphone
|
||||
bind = , XF86Calculator, exec, qalculate-gtk # Open calculator
|
||||
bind = , XF86Lock, exec, hyprlock # Open screenlock
|
||||
bind = , XF86Tools, exec, alacritty --class dotfiles-floating -e ~/dotfiles/apps/ML4W_Dotfiles_Settings-x86_64.AppImage # Open ML4W Dotfiles Settings app
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
# -----------------------------------------------------
|
||||
# Misc settings
|
||||
# -----------------------------------------------------
|
||||
|
||||
misc {
|
||||
disable_hyprland_logo = true
|
||||
disable_splash_rendering = true
|
||||
enable_swallow = true
|
||||
swallow_regex = ^(Alacritty|kitty|thunar)$
|
||||
font_family = FiraCode Nerd Font
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
source=monitors/hacmini.conf
|
||||
@@ -0,0 +1,5 @@
|
||||
monitor=DP-1,preferred,0x0,2
|
||||
monitor=HDMI-A-1,3840x2160@30,1920x-275,2,transform,1
|
||||
|
||||
workspace=1,monitor:DP-1
|
||||
exec-once=hyprctl dispatch workspace 1
|
||||
@@ -0,0 +1 @@
|
||||
source = ~/dotfiles/hypr/conf/windows/default.conf
|
||||
@@ -0,0 +1 @@
|
||||
source = ~/dotfiles/hypr/conf/windowrules/custom.conf
|
||||
@@ -0,0 +1,27 @@
|
||||
# -----------------------------------------------------
|
||||
# Window rules
|
||||
# -----------------------------------------------------
|
||||
|
||||
windowrule = float,^(Rofi)$
|
||||
|
||||
windowrule = tile,^(Microsoft-edge)$
|
||||
windowrule = tile,^(Brave-browser)$
|
||||
windowrule = tile,^(Chromium)$
|
||||
windowrule = float,^(pavucontrol)$
|
||||
windowrule = float,^(blueman-manager)$
|
||||
windowrule = float,^(nm-connection-editor)$
|
||||
windowrule = float,^(qalculate-gtk)$
|
||||
windowrule = float,^(showmethekey-gtk)$
|
||||
windowrule = pin,^(showmethekey-gtk)$
|
||||
layerrule = blur, gtk-layer-shell
|
||||
layerrule = blur, logout_dialog
|
||||
|
||||
windowrule = float,title:^(Mathematica)$
|
||||
windowrule = opacity 0.8, ^(Code)$
|
||||
windowrule = opacity 0.8, ^(code-oss)$
|
||||
windowrule = opacity 0.8, ^(code-url-handler)$
|
||||
windowrule = float,^(QQ)$
|
||||
windowrule = float,^(wechat)$
|
||||
windowrule = float,^(fdm)$
|
||||
windowrule = float,^(Uget-gtk)$
|
||||
windowrule = float,^(xdg-desktop-portal-gtk)$
|
||||
@@ -0,0 +1,11 @@
|
||||
# -----------------------------------------------------
|
||||
# Window rules
|
||||
# -----------------------------------------------------
|
||||
|
||||
windowrule = tile,^(Microsoft-edge)$
|
||||
windowrule = tile,^(Brave-browser)$
|
||||
windowrule = tile,^(Chromium)$
|
||||
windowrule = float,^(pavucontrol)$
|
||||
windowrule = float,^(blueman-manager)$
|
||||
windowrule = float,^(nm-connection-editor)$
|
||||
windowrule = float,^(qalculate-gtk)$
|
||||
@@ -0,0 +1,13 @@
|
||||
# -----------------------------------------------------
|
||||
# General window layout and colors
|
||||
# name: "Default"
|
||||
# -----------------------------------------------------
|
||||
|
||||
general {
|
||||
gaps_in = 10
|
||||
gaps_out = 14
|
||||
border_size = 1
|
||||
col.active_border = rgba(ffffffff)
|
||||
col.inactive_border = $color11
|
||||
layout = dwindle
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
# -----------------------------------------------------
|
||||
# General window layout and colors
|
||||
# name: "Default"
|
||||
# -----------------------------------------------------
|
||||
|
||||
general {
|
||||
gaps_in = 10
|
||||
gaps_out = 14
|
||||
border_size = 1
|
||||
col.active_border = $color11
|
||||
col.inactive_border = rgba(ffffffff)
|
||||
layout = dwindle
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
# -----------------------------------------------------
|
||||
# General window layout and colors
|
||||
# name: "Default"
|
||||
# -----------------------------------------------------
|
||||
|
||||
general {
|
||||
gaps_in = 10
|
||||
gaps_out = 14
|
||||
border_size = 2
|
||||
col.active_border = rgba(ffffffff)
|
||||
col.inactive_border = $color11
|
||||
layout = dwindle
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
# -----------------------------------------------------
|
||||
# General window layout and colors
|
||||
# name: "Default"
|
||||
# -----------------------------------------------------
|
||||
|
||||
general {
|
||||
gaps_in = 10
|
||||
gaps_out = 14
|
||||
border_size = 2
|
||||
col.active_border = $color11
|
||||
col.inactive_border = rgba(ffffffff)
|
||||
layout = dwindle
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
# -----------------------------------------------------
|
||||
# General window layout and colors
|
||||
# name: "Default"
|
||||
# -----------------------------------------------------
|
||||
|
||||
general {
|
||||
gaps_in = 10
|
||||
gaps_out = 14
|
||||
border_size = 3
|
||||
col.active_border = rgba(ffffffff)
|
||||
col.inactive_border = $color11
|
||||
layout = dwindle
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
# -----------------------------------------------------
|
||||
# General window layout and colors
|
||||
# name: "Default"
|
||||
# -----------------------------------------------------
|
||||
|
||||
general {
|
||||
gaps_in = 10
|
||||
gaps_out = 14
|
||||
border_size = 3
|
||||
col.active_border = $color11
|
||||
col.inactive_border = rgba(ffffffff)
|
||||
layout = dwindle
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
# -----------------------------------------------------
|
||||
# General window layout and colors
|
||||
# name: "Default"
|
||||
# -----------------------------------------------------
|
||||
|
||||
general {
|
||||
gaps_in = 10
|
||||
gaps_out = 14
|
||||
border_size = 4
|
||||
col.active_border = rgba(ffffffff)
|
||||
col.inactive_border = $color11
|
||||
layout = dwindle
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
# -----------------------------------------------------
|
||||
# General window layout and colors
|
||||
# name: "Default"
|
||||
# -----------------------------------------------------
|
||||
|
||||
general {
|
||||
gaps_in = 10
|
||||
gaps_out = 14
|
||||
border_size = 4
|
||||
col.active_border = $color11
|
||||
col.inactive_border = rgba(ffffffff)
|
||||
layout = dwindle
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
# -----------------------------------------------------
|
||||
# General window layout and colors
|
||||
# name: "Default"
|
||||
# -----------------------------------------------------
|
||||
|
||||
general {
|
||||
gaps_in = 10
|
||||
gaps_out = 14
|
||||
border_size = 2
|
||||
col.active_border = $color11
|
||||
col.inactive_border = rgba(ffffffff)
|
||||
layout = dwindle
|
||||
}
|
||||
|
||||
group {
|
||||
col.border_active = $color11
|
||||
col.border_inactive = rgba(ffffffff)
|
||||
groupbar {
|
||||
col.active = $color11
|
||||
col.inactive = $color13
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
# -----------------------------------------------------
|
||||
# General window layout and colors
|
||||
# name: "No Border More Gaps"
|
||||
# -----------------------------------------------------
|
||||
|
||||
general {
|
||||
gaps_in = 20
|
||||
gaps_out = 40
|
||||
border_size = 0
|
||||
col.active_border = $color11
|
||||
col.inactive_border = rgba(ffffffff)
|
||||
layout = dwindle
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
# -----------------------------------------------------
|
||||
# General window layout and colors
|
||||
# name: "No Border"
|
||||
# -----------------------------------------------------
|
||||
|
||||
general {
|
||||
gaps_in = 10
|
||||
gaps_out = 14
|
||||
border_size = 0
|
||||
col.active_border = $color11
|
||||
col.inactive_border = rgba(ffffffff)
|
||||
layout = dwindle
|
||||
}
|
||||
Reference in New Issue
Block a user