initial
This commit is contained in:
223
.config/hypr/hyprland.conf
Normal file
223
.config/hypr/hyprland.conf
Normal file
@ -0,0 +1,223 @@
|
||||
source=~/.config/hypr/mocha.conf
|
||||
|
||||
exec-once = copyq --start-server
|
||||
|
||||
exec-once=waybar
|
||||
exec-once=hyprpaper
|
||||
exec-once=dunst
|
||||
|
||||
exec-once=xrandr --output DP-2 --primary
|
||||
|
||||
exec-once = hyprpm reload -n
|
||||
|
||||
monitor=DP-2,2560x1440@144,1920x0,1,vrr,2
|
||||
monitor=HDMI-A-1,1920x1080@60,0x360,1
|
||||
|
||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||
input {
|
||||
kb_layout = us,ru
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options = grp:alt_shift_toggle, caps:escape
|
||||
kb_rules =
|
||||
|
||||
accel_profile =
|
||||
|
||||
follow_mouse = 1
|
||||
mouse_refocus = true
|
||||
|
||||
repeat_rate = 35
|
||||
repeat_delay = 500
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
force_no_accel = true
|
||||
}
|
||||
|
||||
general {
|
||||
gaps_in = 8
|
||||
gaps_out = 20
|
||||
border_size = 2
|
||||
|
||||
sensitivity = 1
|
||||
|
||||
col.active_border = rgba(05a4c4ee)
|
||||
col.inactive_border = rgba(595959aa)
|
||||
|
||||
layout = master
|
||||
}
|
||||
|
||||
decoration {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
# rounding = 10
|
||||
rounding = 2
|
||||
drop_shadow = no
|
||||
shadow_range = 4
|
||||
shadow_render_power = 3
|
||||
col.shadow = rgba(1a1a1aee)
|
||||
inactive_opacity = 0.90
|
||||
active_opacity = 0.90
|
||||
|
||||
blur {
|
||||
enabled = yes
|
||||
size = 8
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = false
|
||||
|
||||
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||
|
||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||
|
||||
animation = windows, 1, 4, myBezier, popin 70%
|
||||
animation = windowsOut, 1, 4, default, popin 80%
|
||||
animation = border, 0, 10, default
|
||||
animation = borderangle, 0, 8, default
|
||||
animation = fade, 0, 7, default
|
||||
animation = workspaces, 0, 6, default
|
||||
}
|
||||
|
||||
dwindle {
|
||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = yes # you probably want this
|
||||
}
|
||||
|
||||
master {
|
||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||
new_is_master = true
|
||||
new_on_top = true
|
||||
mfact = 0.5
|
||||
}
|
||||
|
||||
gestures {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
workspace_swipe = off
|
||||
}
|
||||
|
||||
misc {
|
||||
vrr = 2
|
||||
disable_hyprland_logo = true
|
||||
no_direct_scanout = false
|
||||
}
|
||||
|
||||
# Example windowrule v1
|
||||
# windowrule = float, ^(kitty)$
|
||||
# Example windowrule v2
|
||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
$mainMod = SUPER
|
||||
$terminal = alacritty
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
#
|
||||
bind = $mainMod_SHIFT, E, exit
|
||||
bind = $mainMod_SHIFT, Q, killactive,
|
||||
bind = $mainMod_SHIFT, SPACE, togglefloating,
|
||||
|
||||
bind = $mainMod, D, exec, tofi-drun --drun-launch=true
|
||||
|
||||
# Apps binds
|
||||
bind = $mainMod, RETURN, exec, $terminal
|
||||
bind = $mainMod, M, exec, $terminal -e ncmpcpp
|
||||
bind = $mainMod, B, exec, librewolf
|
||||
|
||||
# screenshot area
|
||||
bind = $mainMod_SHIFT, S, exec, grim -g "$(slurp)" - | wl-copy
|
||||
|
||||
# powermenu
|
||||
bind = $mainMod_SHIFT, BackSpace, exec, ~/.config/tofi/powermenu.sh
|
||||
|
||||
# bind = $mainMod, P, pseudo, # dwindle
|
||||
# bind = $mainMod, J, togglesplit, # dwindle
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
# bind = $mainMod, L, movefocus, l
|
||||
# bind = $mainMod, H, movefocus, r
|
||||
# bind = $mainMod, up, movefocus, u
|
||||
# bind = $mainMod, down, movefocus, d
|
||||
#
|
||||
bind = $mainMod, L, layoutmsg, cyclenext
|
||||
bind = $mainMod, H, layoutmsg, cycleprev
|
||||
|
||||
bind = $mainMod, J, focusmonitor, -1
|
||||
bind = $mainMod, K, focusmonitor, +1
|
||||
|
||||
bind = $mainMod, Y, splitratio, +0.1
|
||||
bind = $mainMod, O, splitratio, -0.1
|
||||
|
||||
bind = $mainMod, P, movewindow, mon:-1
|
||||
# bind = $mainMod, H, cycleprev
|
||||
#
|
||||
# bind = $mainMod, Y, master, mfact + 10
|
||||
|
||||
bind = $mainMod, SPACE, layoutmsg, swapwithmaster
|
||||
|
||||
bind = $mainMod, F, fullscreen, swapwithmaster
|
||||
|
||||
|
||||
# volume controls
|
||||
bind = ,XF86AudioPlay, exec, playerctl play-pause
|
||||
bind = ,XF86AudioPause, exec, playerctl play-pause
|
||||
bind = ,XF86AudioNext, exec, playerctl next
|
||||
bind = ,XF86AudioPrev, exec, playerctl previous
|
||||
|
||||
bind = $mainMod_SHIFT, bracketleft, exec, playerctl -p mpd volume 0.05-
|
||||
bind = $mainMod_SHIFT, bracketright, exec, playerctl -p mpd volume 0.05+
|
||||
|
||||
bind = $mainMod, PAGE_UP, pass, ^(discord)$
|
||||
# bind = $mainMod, PAGE_UP, pass, ^(discord-screenaudio)$
|
||||
|
||||
bind = ,XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||
bind = ,XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||
bind = ,XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
|
||||
bind = ,XF86MonBrightnessDown, exec, ddcutil -d 2 setvcp 10 - 5
|
||||
bind = ,XF86MonBrightnessUp, exec, ddcutil -d 2 setvcp 10 + 5
|
||||
|
||||
exec-once=sleep 2; amixer -c 0 set Front unmute
|
||||
exec-once=sleep 2; amixer -c 1 set Front unmute
|
||||
|
||||
# exec-once=hyprctl plugin load $HOME/.config/hypr/split-monitor-workspaces.so
|
||||
|
||||
plugin {
|
||||
split-monitor-workspaces {
|
||||
count = 10
|
||||
}
|
||||
}
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, split-workspace, 1
|
||||
bind = $mainMod, 2, split-workspace, 2
|
||||
bind = $mainMod, 3, split-workspace, 3
|
||||
bind = $mainMod, 4, split-workspace, 4
|
||||
bind = $mainMod, 5, split-workspace, 5
|
||||
bind = $mainMod, 6, split-workspace, 6
|
||||
bind = $mainMod, 7, split-workspace, 7
|
||||
bind = $mainMod, 8, split-workspace, 8
|
||||
bind = $mainMod, 9, split-workspace, 9
|
||||
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
bind = $mainMod SHIFT, 1, split-movetoworkspacesilent, 1
|
||||
bind = $mainMod SHIFT, 2, split-movetoworkspacesilent, 2
|
||||
bind = $mainMod SHIFT, 3, split-movetoworkspacesilent, 3
|
||||
bind = $mainMod SHIFT, 4, split-movetoworkspacesilent, 4
|
||||
bind = $mainMod SHIFT, 5, split-movetoworkspacesilent, 5
|
||||
bind = $mainMod SHIFT, 6, split-movetoworkspacesilent, 6
|
||||
bind = $mainMod SHIFT, 7, split-movetoworkspacesilent, 7
|
||||
bind = $mainMod SHIFT, 8, split-movetoworkspacesilent, 8
|
||||
bind = $mainMod SHIFT, 9, split-movetoworkspacesilent, 9
|
||||
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
4
.config/hypr/hyprpaper.conf
Normal file
4
.config/hypr/hyprpaper.conf
Normal file
@ -0,0 +1,4 @@
|
||||
preload = ~/Pictures/wallpapers/wallhaven-o5w96p_2560x1440.png
|
||||
|
||||
wallpaper = HDMI-A-1,~/Pictures/wallpapers/wallhaven-o5w96p_2560x1440.png
|
||||
wallpaper = DP-2,~/Pictures/wallpapers/wallhaven-o5w96p_2560x1440.png
|
||||
61
.config/hypr/mocha.conf
Normal file
61
.config/hypr/mocha.conf
Normal file
@ -0,0 +1,61 @@
|
||||
$rosewaterAlpha = f5e0dc
|
||||
$flamingoAlpha = f2cdcd
|
||||
$pinkAlpha = f5c2e7
|
||||
$mauveAlpha = cba6f7
|
||||
$redAlpha = f38ba8
|
||||
$maroonAlpha = eba0ac
|
||||
$peachAlpha = fab387
|
||||
$yellowAlpha = f9e2af
|
||||
$greenAlpha = a6e3a1
|
||||
$tealAlpha = 94e2d5
|
||||
$skyAlpha = 89dceb
|
||||
$sapphireAlpha = 74c7ec
|
||||
$blueAlpha = 89b4fa
|
||||
$lavenderAlpha = b4befe
|
||||
|
||||
$textAlpha = cdd6f4
|
||||
$subtext1Alpha = bac2de
|
||||
$subtext0Alpha = a6adc8
|
||||
|
||||
$overlay2Alpha = 9399b2
|
||||
$overlay1Alpha = 7f849c
|
||||
$overlay0Alpha = 6c7086
|
||||
|
||||
$surface2Alpha = 585b70
|
||||
$surface1Alpha = 45475a
|
||||
$surface0Alpha = 313244
|
||||
|
||||
$baseAlpha = 1e1e2e
|
||||
$mantleAlpha = 181825
|
||||
$crustAlpha = 11111b
|
||||
|
||||
$rosewater = 0xfff5e0dc
|
||||
$flamingo = 0xfff2cdcd
|
||||
$pink = 0xfff5c2e7
|
||||
$mauve = 0xffcba6f7
|
||||
$red = 0xfff38ba8
|
||||
$maroon = 0xffeba0ac
|
||||
$peach = 0xfffab387
|
||||
$yellow = 0xfff9e2af
|
||||
$green = 0xffa6e3a1
|
||||
$teal = 0xff94e2d5
|
||||
$sky = 0xff89dceb
|
||||
$sapphire = 0xff74c7ec
|
||||
$blue = 0xff89b4fa
|
||||
$lavender = 0xffb4befe
|
||||
|
||||
$text = 0xffcdd6f4
|
||||
$subtext1 = 0xffbac2de
|
||||
$subtext0 = 0xffa6adc8
|
||||
|
||||
$overlay2 = 0xff9399b2
|
||||
$overlay1 = 0xff7f849c
|
||||
$overlay0 = 0xff6c7086
|
||||
|
||||
$surface2 = 0xff585b70
|
||||
$surface1 = 0xff45475a
|
||||
$surface0 = 0xff313244
|
||||
|
||||
$base = 0xff1e1e2e
|
||||
$mantle = 0xff181825
|
||||
$crust = 0xff11111b
|
||||
Reference in New Issue
Block a user