stuff
This commit is contained in:
1 parent
7267fb6a93
commit
a02a8c7788
3 files changed
+14
-175
No files matched your search
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"workspace": {
|
||||
"library": [
|
||||
"/usr/share/hypr/stubs"
|
||||
]
|
||||
}
|
||||
}
|
||||
-163
@@ -1,163 +0,0 @@
|
||||
monitor=,preferred,auto,1
|
||||
workspace=DP-1,1
|
||||
|
||||
$mod = SUPER
|
||||
|
||||
input {
|
||||
kb_layout = us
|
||||
kb_variant = colemak_dh
|
||||
kb_options = caps:escape
|
||||
|
||||
repeat_rate = 50
|
||||
repeat_delay = 300
|
||||
|
||||
follow_mouse=1
|
||||
float_switch_override_focus = true
|
||||
|
||||
sensitivity=0.5 # -1.0 - 1.0, 0 means no modification.
|
||||
accel_profile=flat
|
||||
|
||||
touchpad {
|
||||
disable_while_typing = false
|
||||
}
|
||||
}
|
||||
|
||||
general {
|
||||
gaps_in=9
|
||||
gaps_out=15
|
||||
border_size=2
|
||||
col.active_border=0xffaaaaee 0xffeeaaee 45deg
|
||||
col.inactive_border=0xff333333
|
||||
}
|
||||
|
||||
group {
|
||||
col.border_active=0xffaaaaee 0xffeeaaee 45deg
|
||||
col.border_inactive=0xff333333
|
||||
groupbar {
|
||||
enabled=false
|
||||
}
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 10
|
||||
blur {
|
||||
enabled = true
|
||||
size = 3
|
||||
new_optimizations = on
|
||||
}
|
||||
}
|
||||
|
||||
dwindle {
|
||||
force_split = 2
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = true
|
||||
|
||||
bezier = decel, 0.05, 0.1, 0.1, 1
|
||||
|
||||
animation = windows, 1, 2, decel, popin 80%
|
||||
animation = windowsOut, 1, 2, decel, popin 80%
|
||||
animation = border, 1, 2, decel
|
||||
animation = borderangle, 1, 2, decel
|
||||
animation = fade, 1, 2, decel
|
||||
animation = workspaces, 1, 2, decel, slidefade 5%
|
||||
}
|
||||
|
||||
ecosystem:no_update_news = true
|
||||
|
||||
exec-once = wayland-init
|
||||
exec-once = wallpaper
|
||||
exec-once = eww open bar-eDP
|
||||
exec-once = [workspace keepass silent] keepassxc
|
||||
|
||||
# windowrule=float,title:Firefox — Sharing Indicator
|
||||
# windowrule=move 1850 40,title:Firefox — Sharing Indicator
|
||||
windowrule = match:class term-popup, float true
|
||||
|
||||
|
||||
|
||||
$term = ghostty
|
||||
bind=$mod,return,exec,$term
|
||||
bind=$mod,backslash,exec,alacritty
|
||||
bind=$mod,v,killactive,
|
||||
bind=$mod,0,exit,
|
||||
bind=$mod,d,exec,wofi --show drun -IG
|
||||
bind=,PRINT,exec,screenshot
|
||||
bind=SHIFT,PRINT,exec,grim - | swappy -f -
|
||||
bind=$mod,l,exec,popup pulsemixer
|
||||
bind=$mod,u,exec,popup qalc
|
||||
bind=$mod,k,exec,popup note
|
||||
bind=$mod,j,exec,ocr
|
||||
|
||||
bind=$mod,N,movefocus,l
|
||||
bind=$mod,E,movefocus,d
|
||||
bind=$mod,I,movefocus,u
|
||||
bind=$mod,O,movefocus,r
|
||||
|
||||
bind=$mod SHIFT,N,movewindow,l
|
||||
bind=$mod SHIFT,E,movewindow,d
|
||||
bind=$mod SHIFT,I,movewindow,u
|
||||
bind=$mod SHIFT,O,movewindow,r
|
||||
|
||||
bind=,page_up,exec,
|
||||
bind=,page_down,exec,
|
||||
|
||||
bind=$mod SHIFT,space,togglefloating,
|
||||
bind=$mod,space,exec,togglefloatfocus
|
||||
|
||||
bind=$mod,a,workspace,1
|
||||
bind=$mod,r,workspace,2
|
||||
bind=$mod,s,workspace,3
|
||||
bind=$mod,t,workspace,4
|
||||
bind=$mod,q,workspace,5
|
||||
bind=$mod,w,workspace,6
|
||||
bind=$mod,f,workspace,7
|
||||
bind=$mod,p,workspace,8
|
||||
bind=$mod,z,workspace,9
|
||||
bind=$mod,x,workspace,10
|
||||
bind=$mod,c,workspace,11
|
||||
|
||||
bind=$mod SHIFT,a,movetoworkspacesilent,1
|
||||
bind=$mod SHIFT,r,movetoworkspacesilent,2
|
||||
bind=$mod SHIFT,s,movetoworkspacesilent,3
|
||||
bind=$mod SHIFT,t,movetoworkspacesilent,4
|
||||
bind=$mod SHIFT,q,movetoworkspacesilent,5
|
||||
bind=$mod SHIFT,w,movetoworkspacesilent,6
|
||||
bind=$mod SHIFT,f,movetoworkspacesilent,7
|
||||
bind=$mod SHIFT,p,movetoworkspacesilent,8
|
||||
bind=$mod SHIFT,z,movetoworkspacesilent,9
|
||||
bind=$mod SHIFT,x,movetoworkspacesilent,10
|
||||
bind=$mod SHIFT,c,movetoworkspacesilent,11
|
||||
|
||||
bind=$mod SHIFT,l,togglespecialworkspace,keepass
|
||||
windowrule {
|
||||
name = keepass main
|
||||
match:initial_title = .* \[Locked\] - KeePassXC
|
||||
# match:class = org.keepassxc.KeePassXC
|
||||
# match:title = negative:KeePassXC - .* Access Request|Unlock Database - KeePassXC
|
||||
workspace = special:keepass
|
||||
}
|
||||
windowrule {
|
||||
name = keepass other
|
||||
match:class = org.keepassxc.KeePassXC
|
||||
match:initial_title = negative:.* \[Locked\] - KeePassXC
|
||||
float = true
|
||||
}
|
||||
|
||||
bind=$mod,semicolon,fullscreen,
|
||||
|
||||
bind=$mod,mouse_down,workspace,e+1
|
||||
bind=$mod,mouse_up,workspace,e-1
|
||||
|
||||
bindm=$mod,mouse:272,movewindow
|
||||
bindm=$mod,mouse:273,resizewindow
|
||||
|
||||
bind=$mod,g,togglegroup
|
||||
bind=$mod,h,changegroupactive
|
||||
|
||||
bind = $mod SHIFT,backspace,submap,clean
|
||||
submap = clean
|
||||
|
||||
bind = $mod SHIFT,backspace,submap,reset
|
||||
submap = reset
|
||||
+7
-12
@@ -3,12 +3,12 @@ local mod = "SUPER"
|
||||
-- keybinds
|
||||
|
||||
local commands = {
|
||||
{ "return", "ghostty" },
|
||||
{ "d", "wofi --show drun -IG" },
|
||||
{ "l", "popup pulsemixer" },
|
||||
{ "u", "popup qalc" },
|
||||
{ "k", "popup note" },
|
||||
{ "j", "ocr" },
|
||||
{ "return", "ghostty" },
|
||||
{ "d", "wofi --show drun -iIG" },
|
||||
{ "l", "popup pulsemixer" },
|
||||
{ "u", "popup qalc" },
|
||||
{ "k", "popup note" },
|
||||
{ "j", "ocr" },
|
||||
}
|
||||
|
||||
hl.bind(mod .. " + v", hl.dsp.window.close())
|
||||
@@ -19,6 +19,7 @@ hl.bind(mod .. " + semicolon", hl.dsp.window.fullscreen())
|
||||
hl.bind(mod .. " + SHIFT + l", hl.dsp.workspace.toggle_special("keepass"))
|
||||
hl.bind("print", hl.dsp.exec_cmd("screenshot"))
|
||||
hl.bind("SHIFT + print", hl.dsp.exec_cmd("grim - | swappy -f -"))
|
||||
hl.bind(mod .. " + space", hl.dsp.window.float())
|
||||
|
||||
local mov_keys = {
|
||||
{ "n", "left" },
|
||||
@@ -167,9 +168,3 @@ hl.on("hyprland.start", function()
|
||||
hl.exec_cmd("eww open bar-eDP")
|
||||
hl.exec_cmd("keepassxc")
|
||||
end)
|
||||
|
||||
-- get lua ls to stop complaining
|
||||
function _()
|
||||
---@diagnostic disable-next-line: lowercase-global
|
||||
hl = {}
|
||||
end
|
||||
Reference in new issue
Block a user