first commit
This commit is contained in:
145
glasshouse-desktop/dotfiles/packages/hyprland/hyprland.conf
Normal file
145
glasshouse-desktop/dotfiles/packages/hyprland/hyprland.conf
Normal file
@@ -0,0 +1,145 @@
|
||||
# hyprland config
|
||||
|
||||
#test comment
|
||||
# monitors
|
||||
monitor=DP-1,1920x1080@144,1920x0,1
|
||||
monitor=HDMI-A-1,1920x1080@60,0x0,1
|
||||
|
||||
# workspaces
|
||||
workspace = 1,monitor:HDMI-A-1, default:true, persistent:true
|
||||
workspace = 2,monitor:HDMI-A-1,default:true,persistent:true
|
||||
workspace = 3,monitor:HDMI-A-1,persistent:true
|
||||
workspace = 4,monitor:DP-1,persistent:true
|
||||
workspace = 5,monitor:DP-1,persistent:true
|
||||
workspace = 6,monitor:DP-1,persistent:true
|
||||
workspace = special:console,on-created-empty:[float;size 45% 45%;move 1% 4%] kitty
|
||||
|
||||
# autoexec
|
||||
exec-once=waybar
|
||||
exec-once=pulseaudio
|
||||
exec-once=dunst
|
||||
exec-once=hyprpaper
|
||||
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once=[floating;size 504 330;move 25 60] kitty
|
||||
exec-once=[floating;size 504 660; move 25 400] kitty zsh -e 'nvim -c "source scripts/events.lua" -c "silent! r \!python scripts/schedule.py"'
|
||||
exec-once=/sbin/pypr
|
||||
# window rules
|
||||
windowrule = noshadow, ^(.*)$
|
||||
windowrule = opacity 1 0.9, ^(kitty)$
|
||||
|
||||
# environment variables
|
||||
$terminal = kitty
|
||||
$filemanager = kitty ranger
|
||||
$menu = rofi -show drun
|
||||
$screenshot = grimblast copy area
|
||||
$browser = firefox
|
||||
env = qt_qpa_platformtheme,qt6ct
|
||||
env = XDG_CURRENT_DESKTOP,hyprland
|
||||
|
||||
# settings
|
||||
input {
|
||||
kb_layout = us
|
||||
follow_mouse = 1
|
||||
sensitivity = 0
|
||||
accel_profile = flat
|
||||
force_no_accel = 1
|
||||
}
|
||||
general {
|
||||
gaps_in = 0
|
||||
gaps_out = 20
|
||||
border_size = 6
|
||||
col.active_border = rgb(4C5945)
|
||||
col.inactive_border = rgb(4C5945)
|
||||
layout = dwindle
|
||||
allow_tearing = false
|
||||
}
|
||||
decoration {
|
||||
dim_special = 0.2
|
||||
}
|
||||
animations {
|
||||
enabled = yes
|
||||
bezier = mybezier, 0.05, 0.9, 0.1, 1.05
|
||||
animation = windows, 1, 7, mybezier
|
||||
animation = border, 1, 10, default
|
||||
animation = borderangle, 1, 8, default
|
||||
animation = fade, 1, 7, default
|
||||
animation = workspaces, 1, 6, default
|
||||
}
|
||||
dwindle {
|
||||
pseudotile = yes
|
||||
preserve_split = yes
|
||||
}
|
||||
misc {
|
||||
force_default_wallpaper = 1
|
||||
}
|
||||
plugin {
|
||||
hyprbars {
|
||||
bar_color = rgb(4c5945)
|
||||
bar_height = 20
|
||||
bar_text_font = "Taxon Medium"
|
||||
bar_text_align = left
|
||||
bar_text_size = 11
|
||||
bar_part_of_window = true
|
||||
bar_precedence_over_border = true
|
||||
|
||||
hyprbars-button = rgb(4C5945), 22, , hyprctl dispatch killactive
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# bindings
|
||||
$mainmod = super
|
||||
bind = $mainmod, up, exec, pactl set-sink-volume @default_sink@ +10%
|
||||
bind = $mainmod, down, exec, pactl set-sink-volume @default_sink@ -10%
|
||||
bind = $mainmod, print, exec, grimblast copy area
|
||||
bind = $mainmod, a, exec, $browser
|
||||
bind = $mainmod, q, exec, $terminal --title Kitty
|
||||
bind = $mainmod, d, exec, /home/pagedmov/coding/scripts/switchmon.sh
|
||||
bind = $mainmod, c, killactive,
|
||||
bind = $mainmod shift, q, exit,
|
||||
bind = $mainmod, m, exec, $menu
|
||||
bind = $mainmod, e, exec, $filemanager
|
||||
bind = $mainmod, r, exec, neovide
|
||||
bind = $mainmod, p, pseudo, # dwindle
|
||||
bind = $mainmod, b, togglesplit, # dwindle
|
||||
bind = $mainmod, f, togglefloating
|
||||
bind = $mainmod, g, fullscreen
|
||||
bind = $mainmod, home, exec, /home/pagedmov/scripts/home.sh
|
||||
bind = $mainmod, h, movefocus, l
|
||||
bind = $mainmod, l, movefocus, r
|
||||
bind = $mainmod, k, movefocus, u
|
||||
bind = $mainmod, j, movefocus, d
|
||||
bind = $mainmod, 1, exec, hyprctl "dispatch workspace 1"
|
||||
bind = $mainmod, 2, exec, hyprctl "dispatch workspace 2"
|
||||
bind = $mainmod, 3, exec, hyprctl "dispatch workspace 3"
|
||||
bind = $mainmod, 4, exec, hyprctl "dispatch workspace 4"
|
||||
bind = $mainmod, 5, exec, hyprctl "dispatch workspace 5"
|
||||
bind = $mainmod, 6, exec, hyprctl "dispatch workspace 6"
|
||||
bind = $mainmod, 7, exec, hyprctl "dispatch workspace 7"
|
||||
bind = $mainmod, 8, exec, hyprctl "dispatch workspace 8"
|
||||
bind = $mainmod, 9, exec, hyprctl "dispatch workspace 9"
|
||||
bind = $mainmod, 0, exec, hyprctl "dispatch workspace 10"
|
||||
bind = $mainmod alt, g, togglegroup
|
||||
bind = $mainmod alt, h, changegroupactive, b
|
||||
bind = $mainmod alt, l, changegroupactive, f
|
||||
bind = $mainmod shift, h, movewindoworgroup, l
|
||||
bind = $mainmod shift, l, movewindoworgroup, r
|
||||
bind = $mainmod shift, k, movewindoworgroup, u
|
||||
bind = $mainmod shift, j, movewindoworgroup, d
|
||||
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, s, togglespecialworkspace, magic
|
||||
bind = $mainmod shift, s, movetoworkspace, special:magic
|
||||
bind = alt, grave, togglespecialworkspace, console
|
||||
bind = $mainmod, mouse_down, workspace, e+1
|
||||
bind = $mainmod, mouse_up, workspace, e-1
|
||||
bindm = $mainmod, mouse:272, movewindow
|
||||
bindm = $mainmod, mouse:273, resizewindow
|
||||
Reference in New Issue
Block a user