new wallpaper & other stuff
This commit is contained in:
+26
-10
@@ -14,7 +14,6 @@ hl.monitor({
|
||||
|
||||
-- Programs
|
||||
local terminal = "kitty"
|
||||
local fileManager = "dolphin"
|
||||
local menu = "fuzzel"
|
||||
|
||||
-- Environment variables
|
||||
@@ -29,7 +28,8 @@ hl.config({
|
||||
gaps_out = 0,
|
||||
border_size = 2,
|
||||
col = {
|
||||
active_border = "rgb(859900)",
|
||||
-- active_border = "rgb(859900)",
|
||||
active_border = { colors = {"rgba(33ccffee)", "rgba(00ff99ee)"}, angle = 45 },
|
||||
inactive_border = "rgb(839496)",
|
||||
},
|
||||
resize_on_border = false,
|
||||
@@ -53,10 +53,6 @@ hl.config({
|
||||
enabled = false,
|
||||
}
|
||||
},
|
||||
-- Animations
|
||||
animations = {
|
||||
enabled = false,
|
||||
},
|
||||
-- Input
|
||||
input = {
|
||||
kb_layout = "gb",
|
||||
@@ -65,17 +61,34 @@ hl.config({
|
||||
kb_options = "caps:escape,grp:alt_shift_toggle",
|
||||
kb_rules = "",
|
||||
follow_mouse = 1,
|
||||
scroll_method = "on_button_down",
|
||||
sensitivity = 0,
|
||||
repeat_rate = 40,
|
||||
repeat_delay = 300,
|
||||
touchpad = {
|
||||
natural_scroll = false,
|
||||
}
|
||||
}
|
||||
},
|
||||
-- Animations
|
||||
animations = {
|
||||
enabled = false,
|
||||
-- workspace_wraparound = true,
|
||||
},
|
||||
})
|
||||
-- hl.animation({ leaf = STRING, enabled = BOOLEAN, speed = FLOAT, curve = STRING[, style = STRING] })
|
||||
hl.device({
|
||||
name = "tpps/2-ibm-trackpoint",
|
||||
scroll_method = "on_button_down",
|
||||
sensitivity = -0.5,
|
||||
})
|
||||
hl.device({
|
||||
name = "synps/2-synaptics-touchpad",
|
||||
scroll_method = "edge",
|
||||
})
|
||||
|
||||
-- Key binds
|
||||
local mod = "SUPER"
|
||||
hl.bind(mod .. " + Q", hl.dsp.exec_cmd(terminal))
|
||||
hl.bind(mod .. " + SHIFT + Q", hl.dsp.exec_cmd("bash $HOME/code/scripts/new_terminal.sh"))
|
||||
hl.bind(mod .. " + C", hl.dsp.window.close())
|
||||
hl.bind(mod .. " + M", hl.dsp.window.fullscreen("maximised", "toggle"))
|
||||
hl.bind(mod .. " + E", hl.dsp.exit())
|
||||
@@ -87,13 +100,14 @@ hl.bind(mod .. " + N", hl.dsp.layout("cyclenext"))
|
||||
hl.bind(mod .. " + P", hl.dsp.layout("cycleprev"))
|
||||
hl.bind(mod .. " + G", hl.dsp.layout("focusmaster"))
|
||||
hl.bind(mod .. " + F", hl.dsp.window.move({ monitor = "+1"}))
|
||||
hl.bind(mod .. " + B", hl.dsp.exec_cmd("dunstify $(upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep -E 'percentage' | sed 's/[ ]*percentage:[ ]*//') --urgency low"))
|
||||
|
||||
-- Discord PTT
|
||||
hl.bind(mod .. " + V", hl.dsp.send_shortcut({window = "class:^vesktop", mods="", key="F12"}))
|
||||
|
||||
-- Resizing
|
||||
hl.bind(mod .. " + L", hl.dsp.layout("mfact +0.01"))
|
||||
hl.bind(mod .. " + H", hl.dsp.layout("mfact -0.01"))
|
||||
hl.bind(mod .. " + L", hl.dsp.layout("mfact +0.01"), { repeating = true })
|
||||
hl.bind(mod .. " + H", hl.dsp.layout("mfact -0.01"), { repeating = true })
|
||||
|
||||
-- Moving
|
||||
hl.bind(mod .. " + J", hl.dsp.focus({monitor = "-1"}))
|
||||
@@ -124,4 +138,6 @@ hl.bind("XF86AudioPrev", hl.dsp.exec_cmd("playerctl previous"), { locked = true
|
||||
-- Autostart
|
||||
hl.on("hyprland.start", function()
|
||||
hl.exec_cmd("hyprpaper")
|
||||
hl.exec_cmd("dunst")
|
||||
hl.exec_cmd("bash $HOME/code/scripts/dunst-battery.sh")
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user