238 lines
8.8 KiB
Plaintext
238 lines
8.8 KiB
Plaintext
|
|
#Split-Monitor-Workspaces Setup
|
||
|
|
plugin {
|
||
|
|
split-monitor-workspaces {
|
||
|
|
count = 10
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
monitor=DP-1,1920x1080@75,0x0,1 #75hz refresh rate on DP-1 - "hyprctl monitors"
|
||
|
|
#monitor=DP-1,1920x1080@120,0x0,1 #120hz refresh rate on DP-1 - "hyprctl monitors"
|
||
|
|
#monitor=DP-1,highres,0x0,1,vrr,1 #Variable refresh rate
|
||
|
|
|
||
|
|
monitor=HDMI-A-1, 1920x1080@60, 1920x0, 1 #60hz on HDMI-A-1
|
||
|
|
#monitor=,preferred,auto,1
|
||
|
|
|
||
|
|
general {
|
||
|
|
gaps_in = 6
|
||
|
|
gaps_out = 8
|
||
|
|
border_size = 2
|
||
|
|
col.active_border = rgba(398bc6ff) rgba(576ddbff) rgba(2a9292ff) rgba(955ae7ff) 45deg
|
||
|
|
col.inactive_border = rgba(19171ccc) rgba(26232acc) 45deg
|
||
|
|
layout = dwindle
|
||
|
|
resize_on_border = true
|
||
|
|
}
|
||
|
|
|
||
|
|
input {
|
||
|
|
kb_layout = us
|
||
|
|
kb_options = grp:alt_shift_toggle
|
||
|
|
#kb_options=caps:super
|
||
|
|
follow_mouse = 1
|
||
|
|
touchpad {
|
||
|
|
natural_scroll = false
|
||
|
|
}
|
||
|
|
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||
|
|
accel_profile = flat
|
||
|
|
}
|
||
|
|
env = KITTY_ENABLE_WAYLAND, 1
|
||
|
|
env = XDG_CURRENT_DESKTOP, Hyprland
|
||
|
|
env = XDG_SESSION_TYPE, wayland
|
||
|
|
env = XDG_SESSION_DESKTOP, Hyprland
|
||
|
|
env = GDK_BACKEND, wayland
|
||
|
|
env = CLUTTER_BACKEND, wayland
|
||
|
|
env = SDL_VIDEODRIVER, wayland,x11,windows
|
||
|
|
env = QT_QPA_PLATFORM, wayland, xcb
|
||
|
|
env = QT_WAYLAND_DISABLE_WINDOWDECORATION, 1
|
||
|
|
env = QT_AUTO_SCREEN_SCALE_FACTOR, 1
|
||
|
|
env = MOZ_ENABLE_WAYLAND, 1
|
||
|
|
env = GTK_THEME, Adwaita-dark
|
||
|
|
env = HYPRCURSOR_THEME, extracted_ComixCursors-Green
|
||
|
|
env = HYPRCURSOR_SIZE, 32
|
||
|
|
env = XCURSOR_THEME, ComixCursors-Green
|
||
|
|
env = XCURSOR_SIZE=32
|
||
|
|
|
||
|
|
|
||
|
|
gestures {
|
||
|
|
workspace_swipe = true
|
||
|
|
workspace_swipe_fingers = 3
|
||
|
|
}
|
||
|
|
misc {
|
||
|
|
mouse_move_enables_dpms = true
|
||
|
|
key_press_enables_dpms = false
|
||
|
|
}
|
||
|
|
animations {
|
||
|
|
enabled = yes
|
||
|
|
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
|
||
|
|
}
|
||
|
|
decoration {
|
||
|
|
rounding = 10
|
||
|
|
drop_shadow = false
|
||
|
|
blur {
|
||
|
|
enabled = true
|
||
|
|
size = 5
|
||
|
|
passes = 3
|
||
|
|
new_optimizations = on
|
||
|
|
ignore_opacity = on
|
||
|
|
}
|
||
|
|
}
|
||
|
|
plugin {
|
||
|
|
hyprwinwrap {
|
||
|
|
# class is an EXACT match and NOT a regex!
|
||
|
|
class = kitty-bg
|
||
|
|
}
|
||
|
|
|
||
|
|
hyprtrails {
|
||
|
|
color = rgba(a06e3bff)
|
||
|
|
}
|
||
|
|
}
|
||
|
|
exec-once = swww init
|
||
|
|
exec-once = waybar
|
||
|
|
# exec-once = /home/ganome/.local/bin/eww-boot
|
||
|
|
exec-once = swaync
|
||
|
|
exec-once = xrdb /home/ganome/.Xresources
|
||
|
|
exec-once = urxvtd --quiet --opendisplay --fork
|
||
|
|
exec-once = wallsetter
|
||
|
|
exec-once = nm-applet --indicator
|
||
|
|
# exec-once = swayidle -w timeout 720 'swaylock -f' timeout 800 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep 'swaylock -f -c 000000'
|
||
|
|
exec-once = /usr/lib64/libexec/polkit-kde-authentication-agent-1
|
||
|
|
exec-once = xwaylandvideobridge
|
||
|
|
exec-once = /home/ganome/.local/bin/reset-hyprpm
|
||
|
|
exec-once = hyprctl dispatch focusmonitor DP-1
|
||
|
|
exec-once = dbus-update-activation-environment --systemd --all
|
||
|
|
exec-once = systemctl --user import-environment QT_QPA_PLATFORMTHEME WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||
|
|
|
||
|
|
#REMOTE DESKTOP
|
||
|
|
exec-once = wayvnc -g -o DP-1 0.0.0.0
|
||
|
|
|
||
|
|
# Bluetooth
|
||
|
|
exec-once = blueman-applet
|
||
|
|
|
||
|
|
#Clipboard history with Super+V
|
||
|
|
exec-once = wl-paste --type text --watch cliphist store
|
||
|
|
exec-once = wl-paste --type image --watch cliphist store
|
||
|
|
|
||
|
|
dwindle {
|
||
|
|
pseudotile = true
|
||
|
|
preserve_split = true
|
||
|
|
}
|
||
|
|
master {
|
||
|
|
new_status = slave
|
||
|
|
}
|
||
|
|
bind = SUPER,Return,exec,kitty
|
||
|
|
bind = SUPERSHIFT,Return,exec,urxvt
|
||
|
|
#bind = SUPERSHIFT,Return,exec,urxvt -bg 0 -fg 2 -cr blue -vb -sb -sr -st -bc -sl 5000 -fn "xft:Bitstream Vera Sans Mono:size=14, xft:Hack Nerd Font Mono:size=12, xft:Font Awesome 6 Free:style=Solid"
|
||
|
|
#bind = SUPERSHIFT,Return,exec,urxvt -bg 0 -fg 2 -cr blue -vb -sb -sr -st -bc -sl 5000 -fn "xft:Font Awesome:size=12"
|
||
|
|
#bind = SUPERSHIFT,Return,exec,urxvt -bg 0 -fg 2 -cr blue -vb -sb -sr -st -bc -sl 5000
|
||
|
|
bind = SUPER,P,exec,rofi -show drun --with-images
|
||
|
|
bind = SUPERSHIFT,W,exec,web-search
|
||
|
|
bind = SUPER,W,exec,vivaldi
|
||
|
|
|
||
|
|
bind = SUPER,E,exec,emopicker9000
|
||
|
|
bind = SUPER,D,exec,discord
|
||
|
|
bind = SUPERSHIFT,D,exec,vesktop-bin
|
||
|
|
bind = SUPER,M,exec,spotify
|
||
|
|
bind = SUPERCTRL,N,exec, "/usr/bin/swaync-client -op",
|
||
|
|
bind = SUPERSHIFT,Q,killactive,
|
||
|
|
# bind = SUPER,P,pseudo,
|
||
|
|
bind = SUPERSHIFT,I,togglesplit,
|
||
|
|
bind = SUPER,F,fullscreen,
|
||
|
|
bind = SUPERSHIFT,SPACE,togglefloating,
|
||
|
|
bind = SUPERSHIFT,E,exit,
|
||
|
|
|
||
|
|
#Waybar
|
||
|
|
bind = SUPER, B, exec, pkill -10 waybar
|
||
|
|
bind = SUPERSHIFT, B, exec, $HOME/.local/bin/reset-waybar
|
||
|
|
|
||
|
|
#Notification
|
||
|
|
bind = SUPERSHIFT,T, exec, swaync-client -op
|
||
|
|
|
||
|
|
#Screen Shots
|
||
|
|
bind = SUPER,PRINT, exec,grimshot --notify save area ~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%M).png
|
||
|
|
|
||
|
|
# Special Workspaces - like scrathpad, but named
|
||
|
|
bind = SUPERSHIFT,MINUS,movetoworkspace,special
|
||
|
|
bind = SUPER,MINUS,togglespecialworkspace, special
|
||
|
|
|
||
|
|
# Background Selection
|
||
|
|
bind = SUPERSHIFT,N,exec,newbg
|
||
|
|
|
||
|
|
#Navigation
|
||
|
|
bind = SUPER,1,split-workspace,1
|
||
|
|
bind = SUPER,2,split-workspace,2
|
||
|
|
bind = SUPER,3,split-workspace,3
|
||
|
|
bind = SUPER,4,split-workspace,4
|
||
|
|
bind = SUPER,5,split-workspace,5
|
||
|
|
bind = SUPER,6,split-workspace,6
|
||
|
|
bind = SUPER,7,split-workspace,7
|
||
|
|
bind = SUPER,8,split-workspace,8
|
||
|
|
bind = SUPER,9,split-workspace,9
|
||
|
|
bind = SUPER,0,split-workspace,10
|
||
|
|
bind = SUPERSHIFT,1,split-movetoworkspace,1
|
||
|
|
bind = SUPERSHIFT,2,split-movetoworkspace,2
|
||
|
|
bind = SUPERSHIFT,3,split-movetoworkspace,3
|
||
|
|
bind = SUPERSHIFT,4,split-movetoworkspace,4
|
||
|
|
bind = SUPERSHIFT,5,split-movetoworkspace,5
|
||
|
|
bind = SUPERSHIFT,6,split-movetoworkspace,6
|
||
|
|
bind = SUPERSHIFT,7,split-movetoworkspace,7
|
||
|
|
bind = SUPERSHIFT,8,split-movetoworkspace,8
|
||
|
|
bind = SUPERSHIFT,9,split-movetoworkspace,9
|
||
|
|
bind = SUPERSHIFT,0,split-movetoworkspace,10
|
||
|
|
bind = SUPERSHIFT, right, split-changemonitor, next #Move active workspace to other monitor
|
||
|
|
bind = SUPERSHIFT, left, split-changemonitor, prev
|
||
|
|
bind = SUPER, right, focusmonitor, +1 #Switch monitor focus
|
||
|
|
bind = SUPER, left, focusmonitor, -1 #Switch monitor focus
|
||
|
|
bind = SUPER,mouse_down,workspace, e+1
|
||
|
|
bind = SUPER,mouse_up,workspace, e-1
|
||
|
|
bindm = SUPER,mouse:272,movewindow
|
||
|
|
bindm = SUPER,mouse:273,resizewindow
|
||
|
|
bind = ALT,Tab,cyclenext
|
||
|
|
bind = ALT,Tab,bringactivetotop
|
||
|
|
|
||
|
|
#Volume Control
|
||
|
|
bind = ,XF86AudioRaiseVolume,exec,wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||
|
|
bind = ,XF86AudioLowerVolume,exec,wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||
|
|
binde = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||
|
|
bind = ,XF86AudioPlay, exec, playerctl play-pause
|
||
|
|
bind = ,XF86AudioPause, exec, playerctl play-pause
|
||
|
|
bind = ,XF86AudioNext, exec, playerctl next
|
||
|
|
bind = ,XF86AudioPrev, exec, playerctl previous
|
||
|
|
|
||
|
|
#Clipboard Shortcuts
|
||
|
|
bind = SUPER, V, exec, cliphist list | wofi --dmenu | cliphist decode | wl-copy
|
||
|
|
|
||
|
|
#Monitor Brightness
|
||
|
|
bind = ,XF86MonBrightnessDown,exec,brightnessctl set 5%-
|
||
|
|
bind = ,XF86MonBrightnessUp,exec,brightnessctl set +5%
|
||
|
|
|
||
|
|
#Keyboard Brightness
|
||
|
|
bind = ,XF86KbdBrightnessUp, exec, brightnessctl -d *::kbd_backlight set +20%
|
||
|
|
bind = ,XF86KbdBrightnessDown, exec, brightnessctl -d *::kbd_backlight set 20%-
|
||
|
|
|
||
|
|
#WINDOW RULES
|
||
|
|
windowrulev2 = opacity 0.0 override,class:^(xwaylandvideobridge)$
|
||
|
|
windowrulev2 = noanim,class:^(xwaylandvideobridge)$
|
||
|
|
windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
|
||
|
|
windowrulev2 = maxsize 1 1,class:^(xwaylandvideobridge)$
|
||
|
|
windowrulev2 = noblur,class:^(xwaylandvideobridge)$
|
||
|
|
|
||
|
|
#ROFI RULES
|
||
|
|
windowrulev2 = float,class:^(Rofi)$
|
||
|
|
|
||
|
|
#POLKIT RULES
|
||
|
|
windowrulev2 = float,class:^(org.kde.polkit-kde-authentication-agent-1)$
|
||
|
|
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP QT_QPA_PLATFORMTHEME
|
||
|
|
|
||
|
|
#SHARE PICKER RULES
|
||
|
|
windowrulev2 = size 400 250,float,class:^(hyprland-share-picker)$
|