forked from foxora/nix
init
This commit is contained in:
commit
850d3c539b
66 changed files with 6115 additions and 0 deletions
43
homes/modules/wm/hyprland/hypr/keybinds/virtual.conf
Normal file
43
homes/modules/wm/hyprland/hypr/keybinds/virtual.conf
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
# a submap for emulating keys/buttons/functions on the keyboard or mouse
|
||||
|
||||
bind = $mod+shift+alt, a, submap, virtual
|
||||
submap = virtual
|
||||
|
||||
# exit submap
|
||||
bind = , escape, submap, reset
|
||||
|
||||
# emulates mouse buttons
|
||||
bind = , z, exec, wlrctl pointer click left
|
||||
bind = , x, exec, wlrctl pointer click right
|
||||
bind = , s, exec, wlrctl pointer click middle
|
||||
bind = , i, exec, wlrctl pointer click forward
|
||||
bind = , o, exec, wlrctl pointer click back
|
||||
|
||||
# emulates the arrow keys using hjkl
|
||||
#binde = , h, exec, wtype -k Left
|
||||
#binde = , j, exec, wtype -k Down
|
||||
#binde = , k, exec, wtype -k Up
|
||||
#binde = , l, exec, wtype -k Right
|
||||
|
||||
# moves the mouse pointer
|
||||
binde = , h, exec, wlrctl pointer move -30 0
|
||||
binde = , j, exec, wlrctl pointer move 0 30
|
||||
binde = , k, exec, wlrctl pointer move 0 -30
|
||||
binde = , l, exec, wlrctl pointer move 30 0
|
||||
|
||||
# moves the mouse pointer in little steps
|
||||
binde = alt, h, exec, wlrctl pointer move -15 0
|
||||
binde = alt, j, exec, wlrctl pointer move 0 15
|
||||
binde = alt, k, exec, wlrctl pointer move 0 -15
|
||||
binde = alt, l, exec, wlrctl pointer move 15 0
|
||||
|
||||
# emulates scrolling with mouse
|
||||
binde = , e, exec, wlrctl pointer scroll 0 -15 # scroll up
|
||||
binde = , y, exec, wlrctl pointer scroll 0 15 # scroll down
|
||||
binde = alt, e, exec, wlrctl pointer scroll -15 0 # scroll left
|
||||
binde = alt, y, exec, wlrctl pointer scroll 0 15 # scroll right
|
||||
|
||||
# catches all other keys and keeps us in the submap
|
||||
bind = , catchall, submap, virtual
|
||||
|
||||
submap = reset
|
||||
19
homes/modules/wm/hyprland/hypr/theme.conf
Normal file
19
homes/modules/wm/hyprland/hypr/theme.conf
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
general {
|
||||
# border colors that works in most situations
|
||||
col.inactive_border = rgb($colorbg) rgb($color09) 45deg
|
||||
col.active_border = rgb($colorfg) rgb($color11) 45deg
|
||||
|
||||
# transparent inactive border colors
|
||||
# col.inactive_border = rgba($color01,0.0) rgba($color03,0.0) 45deg
|
||||
|
||||
# experimental border colors that may not look good all the time
|
||||
# col.inactive_border = rgba($color01,0.6) rgba($color03,0.6) 45deg
|
||||
# col.active_border = rgb($color09) rgb($color11) 45deg
|
||||
}
|
||||
|
||||
decoration {
|
||||
shadow {
|
||||
enabled = false
|
||||
range = 2
|
||||
}
|
||||
}
|
||||
61
homes/modules/wm/hyprland/hypr/windowrules.conf
Normal file
61
homes/modules/wm/hyprland/hypr/windowrules.conf
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
# window rules
|
||||
|
||||
# ---------------------------------------------------------------------------- #
|
||||
# task manager
|
||||
windowrule {
|
||||
name = task-manager
|
||||
match:class = ^(kitty)$
|
||||
match:title = ^(btop)$
|
||||
float = true
|
||||
center = true
|
||||
size = (monitor_w*0.65) (monitor_h*0.65)
|
||||
}
|
||||
|
||||
# ---------------------------------------------------------------------------- #
|
||||
# terminal filechooser
|
||||
windowrule {
|
||||
name = terminal-filechooser
|
||||
match:class = ^(kitty)$
|
||||
match:title = ^(filechooser)$
|
||||
float = true
|
||||
center = true
|
||||
size = (monitor_w*0.85) (monitor_h*0.85)
|
||||
}
|
||||
|
||||
# ---------------------------------------------------------------------------- #
|
||||
# yazi explorer
|
||||
#windowrule {
|
||||
#name = yazi
|
||||
#match:class = ^(kitty)$
|
||||
#match:title = ^(yazi)$
|
||||
#float = true
|
||||
#center = true
|
||||
#size = (monitor_w*0.85) (monitor_h*0.85)
|
||||
#}
|
||||
|
||||
# ---------------------------------------------------------------------------- #
|
||||
# kitty - blur
|
||||
windowrule {
|
||||
name = kitty-blur
|
||||
match:class = ^(kitty)$
|
||||
match:fullscreen = false
|
||||
opacity = 0.95
|
||||
}
|
||||
|
||||
# ---------------------------------------------------------------------------- #
|
||||
# imhex - blur
|
||||
windowrule {
|
||||
name = imhex-blur
|
||||
match:class = ^(imhex)$
|
||||
match:fullscreen = false
|
||||
opacity = 0.97
|
||||
}
|
||||
|
||||
# ---------------------------------------------------------------------------- #
|
||||
# discord - blur
|
||||
windowrule {
|
||||
name = discord-blur
|
||||
match:initial_title = ^(Discord|Discord Popout)$
|
||||
match:fullscreen = false
|
||||
opacity = 0.97
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue