changes to modules + adoption of PC
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
local config = require("variables.lua")
|
||||
|
||||
hl.on("hyprland.start", function ()
|
||||
hl.exec_cmd(config.terminal)
|
||||
hl.exec_cmd("wayvnc 0.0.0.0 5900")
|
||||
hl.exec_cmd("nm-applet")
|
||||
hl.exec_cmd(config.terminal)
|
||||
hl.exec_cmd(config.wallpaper_cmd)
|
||||
hl.exec_cmd(config.bar_cmd)
|
||||
end)
|
||||
@@ -5,7 +5,7 @@ hl.config({
|
||||
gaps_in = 2,
|
||||
gaps_out = 10,
|
||||
|
||||
border_size = 1,
|
||||
border_size = 2,
|
||||
|
||||
col = {
|
||||
active_border = theme.primary,
|
||||
|
||||
@@ -8,12 +8,16 @@ local mainMod = "SUPER"
|
||||
hl.bind(mainMod .. " + Return", hl.dsp.exec_cmd(config.terminal))
|
||||
hl.bind(mainMod .. " + E", hl.dsp.exec_cmd(config.file_manager))
|
||||
hl.bind("ALT + SPACE", hl.dsp.exec_cmd(config.menu))
|
||||
hl.bind(mainMod .. " + B", hl.dsp.exec_cmd(config.browser))
|
||||
|
||||
|
||||
hl.bind(mainMod .. " + Q", hl.dsp.window.close())
|
||||
hl.bind(mainMod .. " + Escape", hl.dsp.exec_cmd("command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch 'hl.dsp.exit()'"))
|
||||
hl.bind(mainMod .. " + V", hl.dsp.window.float({ action = "toggle" }))
|
||||
hl.bind(mainMod .. " + J", hl.dsp.layout("togglesplit"))
|
||||
hl.bind(mainMod .. " + F", hl.dsp.window.fullscreen({ mode = "fullscreen", action = "toggle" }))
|
||||
hl.bind(mainMod .. " + I", hl.dsp.exec_cmd('ghostty -e bash -c "ollama"'))
|
||||
hl.bind(mainMod .. " + N", hl.dsp.exec_cmd('ghostty -e bash -c "nmtui"'))
|
||||
|
||||
-- Window Binds
|
||||
hl.bind(mainMod .. " + left", hl.dsp.focus({ direction = "left" }))
|
||||
@@ -36,6 +40,9 @@ end
|
||||
hl.bind(mainMod .. " + mouse:272", hl.dsp.window.drag(), { mouse = true })
|
||||
hl.bind(mainMod .. " + mouse:273", hl.dsp.window.resize(), { mouse = true })
|
||||
|
||||
-- Screenshot
|
||||
hl.bind(mainMod .. " + SHIFT + S", hl.dsp.exec_cmd(config.screen_shot_cmd))
|
||||
|
||||
-- Laptop Multimedia Keys
|
||||
hl.bind("XF86AudioRaiseVolume", hl.dsp.exec_cmd("wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+"), { locked = true, repeating = true })
|
||||
hl.bind("XF86AudioLowerVolume", hl.dsp.exec_cmd("wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"), { locked = true, repeating = true })
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
hl.monitor({
|
||||
output = "eDP-1",
|
||||
mode = "1920x1080@60",
|
||||
output = "DP-2",
|
||||
mode = "2560x1440@165",
|
||||
position = "0x0",
|
||||
scale = 1,
|
||||
})
|
||||
@@ -19,7 +19,8 @@ return {
|
||||
file_manager = "dolphin",
|
||||
screen_shot_cmd = "hyprshot -m region -o ~/Pictures/Screenshots",
|
||||
menu = "rofi -show drun",
|
||||
wallpaper_cmd = wallpaper_util("/home/river/Videos/Wallpapers/Wallpaper.mp4"),
|
||||
wallpaper_cmd = wallpaper_util("/home/river/Pictures/Wallpapers/bg.png"),
|
||||
--wallpaper_cmd = wallpaper_util("/home/river/Videos/Wallpapers/bg.mp4"),
|
||||
browser = "brave",
|
||||
bar_cmd = "qs"
|
||||
bar_cmd = "waybar"
|
||||
}
|
||||
Reference in New Issue
Block a user