diff --git a/hypr/conf/animation.conf b/hypr/conf/animation.conf index fe66c0f..68c1127 100644 --- a/hypr/conf/animation.conf +++ b/hypr/conf/animation.conf @@ -1 +1 @@ -source = ~/dotfiles/hypr/conf/animations/default.conf +source = ~/dotfiles/hypr/conf/animations/animation-moving.conf diff --git a/hypr/conf/decoration.conf b/hypr/conf/decoration.conf index 7f906f4..e9490b4 100644 --- a/hypr/conf/decoration.conf +++ b/hypr/conf/decoration.conf @@ -1 +1 @@ -source = ~/dotfiles/hypr/conf/decorations/default.conf \ No newline at end of file +source = ~/dotfiles/hypr/conf/decorations/custom.conf diff --git a/hypr/conf/decorations/custom.conf b/hypr/conf/decorations/custom.conf new file mode 100644 index 0000000..bb4f1fd --- /dev/null +++ b/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 +} diff --git a/hypr/conf/keybinding.conf b/hypr/conf/keybinding.conf index 792e52f..e695cdb 100644 --- a/hypr/conf/keybinding.conf +++ b/hypr/conf/keybinding.conf @@ -1 +1 @@ -source = ~/dotfiles/hypr/conf/keybindings/default.conf \ No newline at end of file +source = ~/dotfiles/hypr/conf/keybindings/custom.conf diff --git a/hypr/conf/keybindings/custom.conf b/hypr/conf/keybindings/custom.conf new file mode 100644 index 0000000..9d07479 --- /dev/null +++ b/hypr/conf/keybindings/custom.conf @@ -0,0 +1,94 @@ +# ----------------------------------------------------- +# 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, period, exec, emote + +# Windows +bind = $mainMod, Q, killactive +bind = $mainMod, F, fullscreen +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 + +# 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 CTRL, RETURN, 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 SHIFT, R, exec, ~/dotfiles/hypr/scripts/loadconfig.sh +bind = $mainMod CTRL, F, exec, ~/dotfiles/scripts/filemanager.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 + +# 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% +bind = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -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 diff --git a/hypr/conf/monitors/dual.conf b/hypr/conf/monitors/dual.conf new file mode 100644 index 0000000..23591a5 --- /dev/null +++ b/hypr/conf/monitors/dual.conf @@ -0,0 +1,7 @@ +# ----------------------------------------------------- +# Monitor Setup +# name: "Default" +# ----------------------------------------------------- + +monitor=DP-1,preferred,0x0,2 +monitor=HDMI-A-1,3840x2160,1920x-180,2,transform,1 diff --git a/hypr/conf/windowrule.conf b/hypr/conf/windowrule.conf index 4ab74ea..b964d4c 100644 --- a/hypr/conf/windowrule.conf +++ b/hypr/conf/windowrule.conf @@ -1 +1 @@ -source = ~/dotfiles/hypr/conf/windowrules/default.conf \ No newline at end of file +source = ~/dotfiles/hypr/conf/windowrules/custom.conf diff --git a/hypr/conf/windowrules/custom.conf b/hypr/conf/windowrules/custom.conf new file mode 100644 index 0000000..3f8dbff --- /dev/null +++ b/hypr/conf/windowrules/custom.conf @@ -0,0 +1,18 @@ +# ----------------------------------------------------- +# 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)$ +windowrule = float,^(showmethekey-gtk)$ +windowrule = pin,^(showmethekey-gtk)$ +layerrule = blur, gtk-layer-shell +layerrule = blur, logout_dialog + +windowrule = float,title=^(Mathematica)$ +windowrule = opacity 0.75, ^(Code)$