mirror of
https://github.com/Derisis13/dotfiles.git
synced 2026-06-18 03:05:56 +02:00
Compare commits
2 Commits
31c2f6a869
...
desktop
| Author | SHA1 | Date | |
|---|---|---|---|
| 7125760454 | |||
|
|
90aa0c5868 |
@@ -8,7 +8,7 @@
|
|||||||
# exec-once = waybar & hyprpaper & firefox
|
# exec-once = waybar & hyprpaper & firefox
|
||||||
|
|
||||||
|
|
||||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP DISPLAY
|
||||||
#exec-once = uwsm app hyprpaper
|
#exec-once = uwsm app hyprpaper
|
||||||
#exec-once = uwsm app waybar
|
#exec-once = uwsm app waybar
|
||||||
#exec-once = uwsm app swaync
|
#exec-once = uwsm app swaync
|
||||||
|
|||||||
@@ -27,8 +27,13 @@ source=./macchiato.conf
|
|||||||
|
|
||||||
# Window rules
|
# Window rules
|
||||||
|
|
||||||
windowrulev2 = center, class:^(Rofi)$
|
windowrule {
|
||||||
windowrulev2 = stayfocused, class:^(Rofi)$
|
name = windowrule-1
|
||||||
|
center = on
|
||||||
|
stay_focused = on
|
||||||
|
match:class = ^(Rofi)$
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||||
input {
|
input {
|
||||||
@@ -98,7 +103,7 @@ animations {
|
|||||||
|
|
||||||
dwindle {
|
dwindle {
|
||||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||||
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
#pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||||
preserve_split = yes # you probably want this
|
preserve_split = yes # you probably want this
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -109,9 +114,9 @@ master {
|
|||||||
|
|
||||||
gestures {
|
gestures {
|
||||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||||
workspace_swipe = on
|
# workspace_swipe = on
|
||||||
workspace_swipe_fingers = 3
|
# workspace_swipe_fingers = 3
|
||||||
workspace_swipe_invert = false
|
# workspace_swipe_invert = false
|
||||||
}
|
}
|
||||||
|
|
||||||
xwayland {
|
xwayland {
|
||||||
@@ -126,18 +131,6 @@ misc {
|
|||||||
#force_hypr_chan = true # there is suddenly an anime girl on the background :D
|
#force_hypr_chan = true # there is suddenly an anime girl on the background :D
|
||||||
}
|
}
|
||||||
|
|
||||||
# Example per-device config
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
|
|
||||||
# device:epic-mouse-v1 {
|
|
||||||
# sensitivity = -0.5
|
|
||||||
# }
|
|
||||||
|
|
||||||
# Example windowrule v1
|
|
||||||
# windowrule = float, ^(kitty)$
|
|
||||||
# Example windowrule v2
|
|
||||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
|
||||||
|
|
||||||
|
|
||||||
source=./keybinds.conf
|
source=./keybinds.conf
|
||||||
debug:disable_logs = false
|
debug:disable_logs = false
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
preload = /home/ha5pls/.local/share/backgrounds/eKxlw8.jpg
|
wallpaper {
|
||||||
|
monitor =
|
||||||
wallpaper = ,/home/ha5pls/.local/share/backgrounds/eKxlw8.jpg
|
path = /home/ha5pls/.local/share/backgrounds/eKxlw8.jpg
|
||||||
|
}
|
||||||
|
|
||||||
splash = false
|
splash = false
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ bind = $mainMod SHIFT, Y, workspaceopt, allfloat
|
|||||||
bind = $mainMod, P, pseudo, # dwindle
|
bind = $mainMod, P, pseudo, # dwindle
|
||||||
bind = $mainMod SHIFT, P, pin
|
bind = $mainMod SHIFT, P, pin
|
||||||
bind = $mainMod SHIFT, P, workspaceopt, allpseudo
|
bind = $mainMod SHIFT, P, workspaceopt, allpseudo
|
||||||
bind = $mainMod, O, togglesplit, # dwindle
|
#bind = $mainMod, O, togglesplit, # dwindle
|
||||||
bind = $mainMod, E, fullscreen, 1
|
bind = $mainMod, E, fullscreen, 1
|
||||||
bind = $mainMod SHIFT, E, fullscreen, 0
|
bind = $mainMod SHIFT, E, fullscreen, 0
|
||||||
# bind = $mainMod CTRL, E, fakefullscreen
|
# bind = $mainMod CTRL, E, fakefullscreen
|
||||||
|
|||||||
@@ -6,10 +6,29 @@ local autocmd = vim.api.nvim_create_autocmd
|
|||||||
-- command = "tabdo wincmd =",
|
-- command = "tabdo wincmd =",
|
||||||
-- })
|
-- })
|
||||||
|
|
||||||
-- Auto unfold all when entering a buffer
|
autocmd({ "FileType" }, {
|
||||||
-- autocmd("BufWinEnter", { pattern = "*", command = "silent! :%foldopen!" })
|
callback = function()
|
||||||
|
|
||||||
-- Hyrplang filetype
|
-- check if treesitter has parser
|
||||||
|
if require("nvim-treesitter.parsers").has_parser() then
|
||||||
|
|
||||||
|
-- use treesitter folding
|
||||||
|
vim.opt.foldmethod = "expr"
|
||||||
|
vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
|
||||||
|
else
|
||||||
|
|
||||||
|
-- use alternative foldmethod
|
||||||
|
vim.opt.foldmethod = "syntax"
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
|
-- disable folding on startup
|
||||||
|
vim.opt.foldenable = false
|
||||||
|
-- disable folding on loading
|
||||||
|
vim.opt.foldlevel = 20
|
||||||
|
|
||||||
|
-- Hyrplang filetype
|
||||||
vim.filetype.add({
|
vim.filetype.add({
|
||||||
pattern = { [".*/hypr/.*%.conf"] = "hyprlang" },
|
pattern = { [".*/hypr/.*%.conf"] = "hyprlang" },
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -5,5 +5,4 @@ input {
|
|||||||
misc {
|
misc {
|
||||||
disable_hyprland_logo = true
|
disable_hyprland_logo = true
|
||||||
disable_splash_rendering = true
|
disable_splash_rendering = true
|
||||||
disable_hyprland_qtutils_check = true
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user