wow it actually is sorta workable now
This commit is contained in:
parent
15c4cae652
commit
8a58079706
15 changed files with 688 additions and 140 deletions
107
config/hypr/binds.conf
Normal file
107
config/hypr/binds.conf
Normal file
|
@ -0,0 +1,107 @@
|
|||
# Binding Config File for Hyprland
|
||||
|
||||
# Main Bindings
|
||||
#
|
||||
# Foot, you done goofed
|
||||
#bind=ALT,RETURN,exec,foot
|
||||
bind=ALT,RETURN,exec,kitty
|
||||
|
||||
bind=ALT,Q,killactive,
|
||||
bind=SUPER,M,exec,pkill Hyprland
|
||||
bind=ALT,E,exec,dolphin
|
||||
bind=ALT,V,togglefloating,
|
||||
bindr=ALTSHIFT,RETURN,exec,pkill wofi || wofi -S drun --allow-images
|
||||
bind=ALTSHIFT,F,fullscreen
|
||||
bind=,Print,exec,grim -g "$(slurp)" -t jpeg - | wl-copy
|
||||
bind=SHIFT,Print,exec,grim -g "$(slurp)" -t jpeg Downloads/screenshot.jpeg
|
||||
|
||||
# trigger when the switch is toggled
|
||||
bindl=,switch:Lid Switch,exec,swaylock --effect-greyscale
|
||||
|
||||
|
||||
|
||||
# Games
|
||||
bind=ALTSHIFT,T,exec,gamescope -w 1280 -h 960 -F fsr -f -r 60 wine "/home/flyingstitchman/Documents/Games/Touhou 15 - Legacy of Lunatic Kingdom/th15.exe"
|
||||
bind=ALTSHIFT,O,exec,osu-lazer
|
||||
bind=ALTSHIFT,C,exec,"/home/flyingstitchman/Documents/Games/Celeste/Celeste"
|
||||
bind=ALTSHIFT,S,exec,"/home/flyingstitchman/Documents/Games/Stardew Valley/StardewValley"
|
||||
bind=ALTSHIFT,R,exec,"/home/flyingstitchman/Documents/Games/factorio/bin/x64/factorio"
|
||||
|
||||
|
||||
# Window Moving
|
||||
bindm=SUPER,mouse:272,movewindow
|
||||
bindm=SUPER,mouse:273,resizewindow
|
||||
|
||||
# Quick Bindings
|
||||
bindle=,XF86MonBrightnessDown,exec,brightnessctl -d intel_backlight set 1%-
|
||||
bindle=,XF86MonBrightnessUp,exec,brightnessctl -d intel_backlight set +1%
|
||||
|
||||
bindle=,XF86AudioRaiseVolume,exec,${XDG_CONFIG_HOME:-~/.config}/dunst/scripts/volumeNotify.sh 1%+
|
||||
bindle=,XF86AudioLowerVolume,exec,${XDG_CONFIG_HOME:-~/.config}/dunst/scripts/volumeNotify.sh 1%-
|
||||
|
||||
bindl=,XF86AudioMute,exec,${XDG_CONFIG_HOME:-~/.config}/dunst/scripts/muteToggle.sh
|
||||
|
||||
bindl=,XF86AudioPlay,exec,playerctl play-pause
|
||||
bindl=,XF86AudioPrev,exec,playerctl previous
|
||||
bindl=,XF86AudioNext,exec,playerctl next
|
||||
|
||||
# Movement Bindings
|
||||
bind=ALT,H,movefocus,l
|
||||
bind=ALT,L,movefocus,r
|
||||
bind=ALT,K,movefocus,u
|
||||
bind=ALT,J,movefocus,d
|
||||
|
||||
# Swap window
|
||||
bind=ALTSHIFT,J,swapwindow, d
|
||||
bind=ALTSHIFT,k,swapwindow, u
|
||||
bind=ALTSHIFT,h,swapwindow, l
|
||||
bind=ALTSHIFT,l,swapwindow, r
|
||||
|
||||
# Switch Workspace Bindings
|
||||
bind=ALT,1,workspace,1
|
||||
bind=ALT,2,workspace,2
|
||||
bind=ALT,3,workspace,3
|
||||
bind=ALT,4,workspace,4
|
||||
bind=ALT,5,workspace,5
|
||||
bind=ALT,6,workspace,6
|
||||
bind=ALT,7,workspace,7
|
||||
bind=ALT,8,workspace,8
|
||||
bind=ALT,9,workspace,9
|
||||
bind=ALT,0,workspace,10
|
||||
|
||||
# Move to Workspace Bindings
|
||||
bind=ALTSHIFT,1,movetoworkspace,1
|
||||
bind=ALTSHIFT,2,movetoworkspace,2
|
||||
bind=ALTSHIFT,3,movetoworkspace,3
|
||||
bind=ALTSHIFT,4,movetoworkspace,4
|
||||
bind=ALTSHIFT,5,movetoworkspace,5
|
||||
bind=ALTSHIFT,6,movetoworkspace,6
|
||||
bind=ALTSHIFT,7,movetoworkspace,7
|
||||
bind=ALTSHIFT,8,movetoworkspace,8
|
||||
bind=ALTSHIFT,9,movetoworkspace,9
|
||||
bind=ALTSHIFT,10,movetoworkspace,0
|
||||
|
||||
# Submap for resizing windows
|
||||
bind=ALT,R,submap,resize # will switch to a submap called resize
|
||||
|
||||
submap=resize # will start a submap called "resize"
|
||||
|
||||
binde=,L,resizeactive,10 0
|
||||
binde=,H,resizeactive,-10 0
|
||||
binde=,K,resizeactive,0 -10
|
||||
binde=,J,resizeactive,0 10
|
||||
|
||||
binde=SHIFT,L,resizeactive,50 0
|
||||
binde=SHIFT,H,resizeactive,-50 0
|
||||
binde=SHIFT,K,resizeactive,0 -50
|
||||
binde=SHIFT,J,resizeactive,0 50
|
||||
|
||||
bind=ALT,R,submap,reset # use reset to go back to the global submap
|
||||
|
||||
submap=reset # will reset the submap, meaning end the current one and return to the global one.
|
||||
|
||||
# Submap to disable all keybinds (for blender)
|
||||
bind=ALT,U,submap,clean
|
||||
submap=clean
|
||||
bind=ALT,U,submap,reset
|
||||
submap=reset
|
13
config/hypr/exec-start.conf
Normal file
13
config/hypr/exec-start.conf
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Executable Startup File for Hyprland
|
||||
#exec-once=uclampset -M 10 waybar
|
||||
exec-once=eww open bar
|
||||
exec-once=swayidle
|
||||
exec-once=hyprpaper
|
||||
exec-once=systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once=dbus-daemon --session --address=unix:path=$XDG_RUNTIME_DIR/bus
|
||||
exec-once=dunst
|
||||
exec-once=${XDG_CONFIG_HOME:-~/.config}/dunst/scripts/low-battery.sh
|
||||
exec-once=fcitx5
|
||||
#exec-once=~/.config/hypr/portal.sh
|
||||
exec-once=systemctl --user import-environment DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once=wl-paste -p --watch wl-copy -pc
|
114
config/hypr/hyprland.conf
Executable file
114
config/hypr/hyprland.conf
Executable file
|
@ -0,0 +1,114 @@
|
|||
# This is an example Hyprland config file.
|
||||
# Syntax is the same as in Hypr, but settings might differ.
|
||||
#
|
||||
# Refer to the wiki for more information.
|
||||
# Edited by FlyingStitchman 28 Aug 2022
|
||||
|
||||
# Config Home Variable
|
||||
$ConfigHome=~/.config/hypr
|
||||
|
||||
|
||||
# Config for Monitors and Workspaces as they don't Carry Between Computers
|
||||
source=$ConfigHome/monitors.conf
|
||||
|
||||
# Startup Config
|
||||
source=$ConfigHome/exec-start.conf
|
||||
|
||||
# Config for Bindings
|
||||
source=$ConfigHome/binds.conf
|
||||
|
||||
# Windowrules
|
||||
source=$ConfigHome/windowrules.conf
|
||||
|
||||
input {
|
||||
follow_mouse=1
|
||||
|
||||
sensitivity=.4
|
||||
accel_profile=adaptive
|
||||
|
||||
touchpad {
|
||||
natural_scroll=false
|
||||
disable_while_typing=false
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
general {
|
||||
gaps_in=5
|
||||
gaps_out=15
|
||||
border_size=3
|
||||
col.active_border=0xff7733cc
|
||||
col.inactive_border=0xff333333
|
||||
|
||||
layout=dwindle
|
||||
}
|
||||
|
||||
decoration {
|
||||
blur {
|
||||
# Blur Options
|
||||
enabled=true
|
||||
size=4
|
||||
passes=3
|
||||
ignore_opacity=false
|
||||
new_optimizations=true
|
||||
}
|
||||
|
||||
# Shadow
|
||||
drop_shadow=0
|
||||
shadow_range=15
|
||||
shadow_render_power=2
|
||||
shadow_ignore_window=1
|
||||
col.shadow=0xdb331153
|
||||
col.shadow_inactive=0x99333333
|
||||
shadow_offset=3 2
|
||||
|
||||
# Other
|
||||
rounding=15
|
||||
inactive_opacity=.8
|
||||
fullscreen_opacity=1 multiplier
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
dwindle {
|
||||
pseudotile=true # enable pseudotiling on dwindle
|
||||
preserve_split=true
|
||||
}
|
||||
|
||||
master {
|
||||
new_is_master=true
|
||||
}
|
||||
|
||||
misc {
|
||||
layers_hog_keyboard_focus=true
|
||||
vfr=1
|
||||
vrr=on
|
||||
disable_hyprland_logo=true
|
||||
disable_splash_rendering=true
|
||||
}
|
||||
|
||||
xwayland {
|
||||
force_zero_scaling=true
|
||||
}
|
||||
|
||||
debug {
|
||||
damage_tracking=-2
|
||||
damage_blink=false
|
||||
disable_scale_checks=true
|
||||
}
|
||||
|
||||
gestures {
|
||||
workspace_swipe = true
|
||||
workspace_swipe_distance = 350
|
||||
}
|
10
config/hypr/hyprpaper.conf
Normal file
10
config/hypr/hyprpaper.conf
Normal file
|
@ -0,0 +1,10 @@
|
|||
|
||||
preload = ~/.config/hypr/wallpapers/wallpaper2.png
|
||||
|
||||
|
||||
wallpaper = eDP-1,~/.config/hypr/wallpapers/wallpaper2.png
|
||||
wallpaper = DP-1,~/.config/hypr/wallpapers/wallpaper2.png
|
||||
wallpaper = DP-2,~/.config/hypr/wallpapers/wallpaper2.png
|
||||
wallpaper = DP-3,~/.config/hypr/wallpapers/wallpaper2.png
|
||||
wallpaper = DP-4,~/.config/hypr/wallpapers/wallpaper2.png
|
||||
ipc = off
|
19
config/hypr/monitors.conf
Normal file
19
config/hypr/monitors.conf
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Configure Monitor Setup for Hyprland
|
||||
|
||||
# Assign Monitors
|
||||
#monitor=DP-2,3440x1440@100,0x0,1
|
||||
#monitor=HDMI-A-1,1920x1080@60,3440x160,1
|
||||
#monitor=DP-3,disable
|
||||
|
||||
# Set Default Workspaces
|
||||
#workspace=HDMI-A-1,7
|
||||
#workspace=DP-2,1
|
||||
|
||||
|
||||
monitor=eDP-1,2256x1504@60,0x0,1.5
|
||||
#monitor=DP-2,1024x786,2256x0,1
|
||||
workspace=eDP-1,1
|
||||
#monitor=DP-1,preferred,auto,1
|
||||
#monitor=DP-2,preferred,auto,1
|
||||
#monitor=DP-3,preferred,auto,1
|
||||
#monitor=DP-4,preferred,auto,1
|
8
config/hypr/portal.sh
Executable file
8
config/hypr/portal.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
sleep 1
|
||||
killall xdg-desktop-portal-hyprland
|
||||
killall xdg-desktop-portal-wlr
|
||||
killall xdg-desktop-portal
|
||||
/usr/lib/xdg-desktop-portal-hyprland &
|
||||
sleep 2
|
||||
/usr/lib/xdg-desktop-portal &
|
22
config/hypr/windowrules.conf
Normal file
22
config/hypr/windowrules.conf
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Window Rule Config File
|
||||
|
||||
# WLogout Configuration
|
||||
# Might move to separate file cause screen resolutions whack
|
||||
|
||||
windowrule=nofocus,ibus,^(Ibus-ui-gtk3)$
|
||||
|
||||
windowrule=move 720 222,wlogout
|
||||
windowrule=size 2000 1000,wlogout
|
||||
windowrule=tile,xyz
|
||||
windowrule=float,wlogout
|
||||
windowrule=pseudo,abc
|
||||
windowrule=monitor 0,wlogout
|
||||
|
||||
# Don't blur performance intensive applications
|
||||
windowrule=noblur,osu!
|
||||
windowrule=noblur,^(firefox)$
|
||||
windowrule=noblur,^(librewolf)$
|
||||
windowrule=noblur,Blender
|
||||
windowrule=noblur,Steam
|
||||
windowrule=noblur,nheko
|
||||
#windowrulev2=noblur,fullscreen:1
|
Loading…
Add table
Add a link
Reference in a new issue