moved config files from home/river/* to home/*

This commit is contained in:
2026-07-05 23:31:26 -05:00
parent 3c5133f721
commit 4f9269315b
140 changed files with 1 additions and 4 deletions
+9
View File
@@ -0,0 +1,9 @@
local config = require("variables")
hl.on("hyprland.start", function ()
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)
+21
View File
@@ -0,0 +1,21 @@
hl.config({
decoration = {
rounding = 0,
rounding_power = 0,
-- Change transparency of focused and unfocused windows
active_opacity = 0.9,
inactive_opacity = 0.8,
shadow = {
enabled = false,
},
blur = {
enabled = true,
size = 3,
passes = 1,
vibrancy = 0.1696,
},
},
})
+29
View File
@@ -0,0 +1,29 @@
local theme = require("themes")
hl.config({
general = {
gaps_in = 2,
gaps_out = 10,
border_size = 2,
col = {
active_border = theme.primary,
inactive_border = theme.secondary,
},
resize_on_border = false,
allow_tearing = false,
layout = "dwindle",
},
animations = {
enabled = true,
},
dwindle = {
preserve_split = true,
}
})
+8
View File
@@ -0,0 +1,8 @@
require("autostart")
require("keybinds")
require("monitor")
require("decoration")
require("general")
--require("smart-gaps")
require("inputs")
+23
View File
@@ -0,0 +1,23 @@
hl.config({
input = {
kb_layout = "us",
kb_variant = "",
kb_model = "",
kb_options = "",
kb_rules = "",
follow_mouse = 1,
sensitivity = 0,
touchpad = {
natural_scroll = true,
},
},
})
hl.gesture({
fingers = 3,
direction = "horizontal",
action = "workspace"
})
+69
View File
@@ -0,0 +1,69 @@
local config = require("variables")
local mainMod = "SUPER"
-- Application Binds
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" }))
hl.bind(mainMod .. " + right", hl.dsp.focus({ direction = "right" }))
hl.bind(mainMod .. " + up", hl.dsp.focus({ direction = "up" }))
hl.bind(mainMod .. " + down", hl.dsp.focus({ direction = "down" }))
hl.bind(mainMod .. " + SHIFT + LEFT", hl.dsp.window.move({ direction = "left" }))
hl.bind(mainMod .. " + SHIFT + RIGHT", hl.dsp.window.move({ direction = "right" }))
hl.bind(mainMod .. " + SHIFT + UP", hl.dsp.window.move({ direction = "up" }))
hl.bind(mainMod .. " + SHIFT + DOWN", hl.dsp.window.move({ direction = "down" }))
-- Workspace Binds
for i = 1, 10 do
local key = i % 10
hl.bind(mainMod .. " + " .. key, hl.dsp.focus({ workspace = i }))
hl.bind(mainMod .. " + SHIFT + " .. key, hl.dsp.window.move({ workspace = i }))
end
-- Resize Windows
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 }
)
hl.bind(
"XF86AudioMute",
hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"),
{ locked = true, repeating = true }
)
hl.bind(
"XF86AudioMicMute",
hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"),
{ locked = true, repeating = true }
)
hl.bind("XF86MonBrightnessUp", hl.dsp.exec_cmd("brightnessctl -e4 -n2 set 5%+"), { locked = true, repeating = true })
hl.bind("XF86MonBrightnessDown", hl.dsp.exec_cmd("brightnessctl -e4 -n2 set 5%-"), { locked = true, repeating = true })
+6
View File
@@ -0,0 +1,6 @@
hl.monitor({
output = "DP-2",
mode = "2560x1440@165",
position = "0x0",
scale = 1,
})
+14
View File
@@ -0,0 +1,14 @@
hl.workspace_rule({ workspace = "w[tv1]", gaps_out = 0, gaps_in = 0 })
hl.workspace_rule({ workspace = "f[1]", gaps_out = 0, gaps_in = 0 })
hl.window_rule({
name = "no-gaps-wtv1",
match = { float = false, workspace = "w[tv1]" },
border_size = 0,
rounding = 0,
})
hl.window_rule({
name = "no-gaps-f1",
match = { float = false, workspace = "f[1]" },
border_size = 0,
rounding = 0,
})
+17
View File
@@ -0,0 +1,17 @@
local normal = {
primary = "rgba(33ccffee)",
secondary = "rgba(595959aa)",
};
local gray_blue = {
primary = "rgba(D9F7FAaa)",
secondary = "rgba(D8DDDEaa)",
}
local purple = {
primary = "rgba(9fa1ffff)",
secondary = "rgba(b5baffff)"
}
-- Change the option:
return purple
+19
View File
@@ -0,0 +1,19 @@
local function wallpaper_util(wallpaper_path)
local ext = wallpaper_path:lower():match("^.+%.([a-z0-9]+)$")
if ext == "mp4" or ext == "mkv" or ext == "webm" or ext == "mov" then
return string.format('mpvpaper ALL "%s" --mpv-options="loop-file=inf no-audio"', wallpaper_path)
end
return string.format('awww-daemon & awww img "%s"', wallpaper_path)
end
return {
terminal = "ghostty",
file_manager = "dolphin",
screen_shot_cmd = "hyprshot -m region -o ~/Pictures/Screenshots",
menu = "rofi -show drun",
wallpaper_cmd = wallpaper_util("/home/river/Pictures/Wallpapers/bg.png"),
browser = "brave",
bar_cmd = "waybar",
}