More Hyprland shit

This commit is contained in:
Logan G 2023-04-08 02:50:47 -06:00
parent 8ed61acc3c
commit 66329d9bfa
Signed by untrusted user: logan
GPG key ID: E328528C921E7A7A
3 changed files with 63 additions and 12 deletions

View file

@ -26,22 +26,27 @@ input {
}
sensitivity=0 # -1.0 - 1.0, 0 means no modification.
repeat_rate=50
repeat_delay=500
}
general {
gaps_in=5
gaps_out=20
gaps_out=10
border_size=2
col.active_border=0x66ee1111
col.inactive_border=0x66333333
layout=dwindle
apply_sens_to_raw=0 # whether to apply the sensitivity to raw input (e.g. used by games where you aim using your mouse)
damage_tracking=full # leave it on full unless you hate your GPU and want to make it suffer
#damage_tracking=full # leave it on full unless you hate your GPU and want to make it suffer
}
decoration {
rounding=10
rounding=2
blur=1
blur_size=3 # minimum 1
blur_passes=1 # minimum 1
@ -50,20 +55,27 @@ decoration {
animations {
enabled=1
animation=windows,1,7,default
animation=border,1,10,default
animation=fade,1,10,default
animation=workspaces,1,6,default
animation=windows,1,1,default
animation=border,1,1,default
animation=fade,1,1,default
animation=workspaces,1,1,default
}
dwindle {
pseudotile=0 # enable pseudotiling on dwindle
preserve_split=1
force_split=2
}
gestures {
workspace_swipe=no
}
misc {
enable_swallow=false
#swallow_regex='^(foot.*)$'
}
# example window rules
# for windows named/classed as abc and xyz
#windowrule=move 69 420,abc
@ -83,14 +95,35 @@ bind=SUPER,Return,exec,footclient
bind=SUPERSHIFT,Q,killactive,
bind=SUPERSHIFT,E,exit,
bind=SUPERSHIFT,Space,togglefloating,
bind=SUPERSHIFT,c,exec,pkill waybar && waybar -c ~/.config/waybar/hyprland
bind=CTRLALT,l,exec,swaylock -e -F -f -i ~/Pictures/orion-nebula-5120x2880-hubble-space-telescope-nasa-hd-5k-1933.jpg
bind=SUPER,D,exec,wofi --show drun --allow-images -G -i --define=drun-print_command=true | sed -e 's/%[A-Za-z0-9]*/ /g' | xargs hyprctl dispatch exec
bind=,Print,exec,grim -g "$(slurp)" - | swappy -f -
bind=SUPER,P,pseudo,
bind=SUPER,f,fullscreen,0
bind=SUPERSHIFT,f,fullscreen,1
bind=SUPERALT,f,fakefullscreen,1
# Volume controls
bindle=,XF86AudioRaiseVolume, exec, wpctl set-volume -l 2.0 @DEFAULT_AUDIO_SINK@ 5%+
bindle=,XF86AudioLowerVolume, exec, wpctl set-volume -l 2.0 @DEFAULT_AUDIO_SINK@ 5%-
# Brightness
bind=,XF86MonBrightnessUp,exec,light -A 10
bind=,XF86MonBrightnessDown,exec,light -U 10
# Media controls
bindle=,XF86AudioPlay, exec, ~/.config/i3/toggleplay.sh
bindle=,XF86AudioNext, exec, playerctl next
bindle=,XF86AudioPrev, exec, playerctl previous
# Focus
bind=SUPER,left,movefocus,l
bind=SUPER,right,movefocus,r
bind=SUPER,up,movefocus,u
bind=SUPER,down,movefocus,d
# Switch workspaces
bind=SUPER,1,workspace,1
bind=SUPER,2,workspace,2
bind=SUPER,3,workspace,3
@ -102,6 +135,10 @@ bind=SUPER,8,workspace,8
bind=SUPER,9,workspace,9
bind=SUPER,0,workspace,10
bind=SUPER,mouse_down,workspace,e+1
bind=SUPER,mouse_up,workspace,e-1
# Move window to workspace
bind=SUPERSHIFT,1,movetoworkspace,1
bind=SUPERSHIFT,2,movetoworkspace,2
bind=SUPERSHIFT,3,movetoworkspace,3
@ -111,15 +148,23 @@ bind=SUPERSHIFT,6,movetoworkspace,6
bind=SUPERSHIFT,7,movetoworkspace,7
bind=SUPERSHIFT,8,movetoworkspace,8
bind=SUPERSHIFT,9,movetoworkspace,9
bind=SUPERSHIFT,10,movetoworkspace,10
bind=SUPERSHIFT,0,movetoworkspace,10
# Move window in workspace
bind=SUPERSHIFT,Left,movewindow,l
bind=SUPERSHIFT,Right,movewindow,r
bind=SUPERSHIFT,Up,movewindow,u
bind=SUPERSHIFT,Down,movewindow,d
bind=SUPER,mouse_down,workspace,e+1
bind=SUPER,mouse_up,workspace,e-1
# ----------------------- STARTUP -------------------- #
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once=systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once=
exec-once=foot -s
exec-once=mako
exec-once=waybar -c ~/.config/waybar/hyprland
exec-once = wl-paste --type text --watch cliphist store #Stores only text data
exec-once = wl-paste --type image --watch cliphist store #Stores only image data
source=~/.config/hypr/conf.d/custom.conf

View file

@ -19,7 +19,8 @@
},
"wlr/workspaces": {
"format": "{name}"
"format": "{name}",
"sort-by-number": true
},
"clock": {

View file

@ -37,6 +37,11 @@ window#waybar.solo {
border-bottom: 3px solid rgba(217, 216, 216, 0);
}
#workspaces button.active {
border-top: 3px solid rgba(217, 216, 216, 1);
border-bottom: 3px solid rgba(217, 216, 216, 0);
}
#workspaces button.urgent {
color: rgba(238, 46, 36, 1);
}
@ -61,7 +66,7 @@ window#waybar.solo {
@keyframes blink {
to {
color: #000000;
color: #555555;
}
}