Migrate hyprland config to lua
This commit is contained in:
parent
3271f3924e
commit
bdaeb19666
29 changed files with 485 additions and 437 deletions
2
.bin/.e
2
.bin/.e
|
|
@ -20,7 +20,7 @@ declare -A mapper=(
|
||||||
["git-credentials"]="$HOME/.config/git/credentials"
|
["git-credentials"]="$HOME/.config/git/credentials"
|
||||||
["home-manager"]="$HOME/.config/home-manager/home.nix"
|
["home-manager"]="$HOME/.config/home-manager/home.nix"
|
||||||
["host-mode"]="$HOME/.bin/host-mode"
|
["host-mode"]="$HOME/.bin/host-mode"
|
||||||
["hyprland"]="$HOME/.config/hypr/hyprland.conf"
|
["hyprland"]="$HOME/.config/hypr/hyprland.lua"
|
||||||
["nvim"]="$HOME/.config/astronvim/lua/user/"
|
["nvim"]="$HOME/.config/astronvim/lua/user/"
|
||||||
["polybar"]="$HOME/.config/polybar"
|
["polybar"]="$HOME/.config/polybar"
|
||||||
["projectsrc"]="$HOME/.config/projectsrc"
|
["projectsrc"]="$HOME/.config/projectsrc"
|
||||||
|
|
|
||||||
|
|
@ -1,92 +0,0 @@
|
||||||
$main_mod = SUPER
|
|
||||||
|
|
||||||
bind = $main_mod, return, exec, $TERMINAL
|
|
||||||
bind = $main_mod SHIFT, return, exec, [float] $TERMINAL
|
|
||||||
|
|
||||||
bind = $main_mod, Q, killactive,
|
|
||||||
bind = $main_mod SHIFT, Q, forcekillactive,
|
|
||||||
bind = $main_mod, Space, togglefloating,
|
|
||||||
bind = $main_mod, F, fullscreen,
|
|
||||||
|
|
||||||
bind = $main_mod, D, exec, j4-dmenu-desktop --dmenu="$DMENU"
|
|
||||||
bind = $main_mod, Pause, exec, menu-shutdown
|
|
||||||
bind = $main_mod SHIFT, T, exec, ts-control
|
|
||||||
bind = $main_mod, T, exec, ts-control quick
|
|
||||||
bind = $main_mod SHIFT, X, exec, $HOME/projects/utils/temp-service/temp-service
|
|
||||||
bind = $main_mod, X, exec, $HOME/projects/utils/temp-service/temp-service menu
|
|
||||||
bind = $main_mod, M, exec, host-mode
|
|
||||||
bind = $main_mod, V, exec, wl-copy $(cliphist decode $(cliphist list | $DMENU))
|
|
||||||
bind = $main_mod, O, exec, xdg-open $($DMENU < ~/documents/history.txt)
|
|
||||||
bind = $main_mod, N, exec, [float] $TERMINAL -e nvim
|
|
||||||
bind = $main_mod, C, exec, [float] $TERMINAL -e python
|
|
||||||
bind = , XF86Calculator, exec, [float] $TERMINAL -e python
|
|
||||||
|
|
||||||
# Screenshot / Color picker
|
|
||||||
bind = $main_mod SHIFT, S, exec, screenshot
|
|
||||||
bind = $main_mod SHIFT CTRL, S, exec, screenshot --no-upload
|
|
||||||
bind = $main_mod SHIFT ALT, S, exec, colorpicker
|
|
||||||
|
|
||||||
bind = $main_mod SHIFT, R, exec, autostart-manage run-wayland
|
|
||||||
|
|
||||||
# Binds for Media keys
|
|
||||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
|
||||||
bindl = , XF86AudioPause, exec, playerctl pause
|
|
||||||
bindl = , XF86AudioNext, exec, playerctl next
|
|
||||||
bindl = , XF86AudioPrev, exec, playerctl prev
|
|
||||||
|
|
||||||
### hjkl Keys
|
|
||||||
|
|
||||||
# Move focus with mainMod + hjkl keys
|
|
||||||
bind = $main_mod, h, movefocus, l
|
|
||||||
bind = $main_mod, j, movefocus, d
|
|
||||||
bind = $main_mod, k, movefocus, u
|
|
||||||
bind = $main_mod, l, movefocus, r
|
|
||||||
|
|
||||||
# Move window with mainMod + hjkl keys
|
|
||||||
bind = $main_mod SHIFT, h, movewindow, l
|
|
||||||
bind = $main_mod SHIFT, j, movewindow, d
|
|
||||||
bind = $main_mod SHIFT, k, movewindow, u
|
|
||||||
bind = $main_mod SHIFT, l, movewindow, r
|
|
||||||
|
|
||||||
# Preselect split window with mainMod + hjkl keys
|
|
||||||
bind = $main_mod CTRL, h, layoutmsg, preselect l
|
|
||||||
bind = $main_mod CTRL, j, layoutmsg, preselect d
|
|
||||||
bind = $main_mod CTRL, k, layoutmsg, preselect u
|
|
||||||
bind = $main_mod CTRL, l, layoutmsg, preselect r
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Switch workspaces with mainMod + [0-9]
|
|
||||||
bind = $main_mod, 1, workspace, $ws01
|
|
||||||
bind = $main_mod, 2, workspace, $ws02
|
|
||||||
bind = $main_mod, 3, workspace, $ws03
|
|
||||||
bind = $main_mod, 4, workspace, $ws04
|
|
||||||
bind = $main_mod, 5, workspace, $ws05
|
|
||||||
bind = $main_mod, 6, workspace, $ws06
|
|
||||||
bind = $main_mod, 7, workspace, $ws07
|
|
||||||
bind = $main_mod, 8, workspace, $ws08
|
|
||||||
bind = $main_mod, 9, workspace, $ws09
|
|
||||||
bind = $main_mod, 0, workspace, $ws10
|
|
||||||
|
|
||||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
|
||||||
bind = $main_mod SHIFT, 1, movetoworkspacesilent, $ws01
|
|
||||||
bind = $main_mod SHIFT, 2, movetoworkspacesilent, $ws02
|
|
||||||
bind = $main_mod SHIFT, 3, movetoworkspacesilent, $ws03
|
|
||||||
bind = $main_mod SHIFT, 4, movetoworkspacesilent, $ws04
|
|
||||||
bind = $main_mod SHIFT, 5, movetoworkspacesilent, $ws05
|
|
||||||
bind = $main_mod SHIFT, 6, movetoworkspacesilent, $ws06
|
|
||||||
bind = $main_mod SHIFT, 7, movetoworkspacesilent, $ws07
|
|
||||||
bind = $main_mod SHIFT, 8, movetoworkspacesilent, $ws08
|
|
||||||
bind = $main_mod SHIFT, 9, movetoworkspacesilent, $ws09
|
|
||||||
bind = $main_mod SHIFT, 0, movetoworkspacesilent, $ws10
|
|
||||||
|
|
||||||
bind = $main_mod, dead_circumflex, workspace, $ws_focus
|
|
||||||
bind = $main_mod SHIFT, dead_circumflex, movetoworkspacesilent, $ws_focus
|
|
||||||
|
|
||||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
|
||||||
bindm = $main_mod, mouse:272, movewindow
|
|
||||||
bindm = $main_mod, mouse:273, resizewindow
|
|
||||||
|
|
||||||
# Binds for XWayland
|
|
||||||
bind = , XF86AudioLowerVolume, pass, class:^(TeamSpeak 3)$
|
|
||||||
bind = , XF86AudioRaiseVolume, pass, class:^(TeamSpeak 3)$
|
|
||||||
111
.config/hypr/binds.lua
Normal file
111
.config/hypr/binds.lua
Normal file
|
|
@ -0,0 +1,111 @@
|
||||||
|
require("defaults")
|
||||||
|
|
||||||
|
hl.bind("SUPER + return", function()
|
||||||
|
hl.exec_cmd("$TERMINAL")
|
||||||
|
end)
|
||||||
|
hl.bind("SUPER + SHIFT + return", function()
|
||||||
|
hl.exec_cmd("[float] $TERMINAL")
|
||||||
|
end)
|
||||||
|
hl.bind("SUPER + Q", hl.dsp.window.close())
|
||||||
|
hl.bind("SUPER + SHIFT + Q", hl.dsp.window.kill())
|
||||||
|
hl.bind("SUPER + Space", hl.dsp.window.float())
|
||||||
|
hl.bind("SUPER + F", hl.dsp.window.fullscreen())
|
||||||
|
hl.bind("SUPER + D", function()
|
||||||
|
hl.exec_cmd('j4-dmenu-desktop --dmenu="$DMENU"')
|
||||||
|
end)
|
||||||
|
hl.bind("SUPER + Pause", function()
|
||||||
|
hl.exec_cmd("menu-shutdown")
|
||||||
|
end)
|
||||||
|
hl.bind("SUPER + SHIFT + T", function()
|
||||||
|
hl.exec_cmd("ts-control")
|
||||||
|
end)
|
||||||
|
hl.bind("SUPER + T", function()
|
||||||
|
hl.exec_cmd("ts-control quick")
|
||||||
|
end)
|
||||||
|
hl.bind("SUPER + SHIFT + X", function()
|
||||||
|
hl.exec_cmd("$HOME/projects/utils/temp-service/temp-service")
|
||||||
|
end)
|
||||||
|
hl.bind("SUPER + X", function()
|
||||||
|
hl.exec_cmd("$HOME/projects/utils/temp-service/temp-service menu")
|
||||||
|
end)
|
||||||
|
hl.bind("SUPER + M", function()
|
||||||
|
hl.exec_cmd("host-mode")
|
||||||
|
end)
|
||||||
|
hl.bind("SUPER + V", function()
|
||||||
|
hl.exec_cmd("wl-copy $(cliphist decode $(cliphist list | $DMENU))")
|
||||||
|
end)
|
||||||
|
hl.bind("SUPER + O", function()
|
||||||
|
hl.exec_cmd("xdg-open $($DMENU < ~/documents/history.txt)")
|
||||||
|
end)
|
||||||
|
hl.bind("SUPER + N", function()
|
||||||
|
hl.exec_cmd("[float] $TERMINAL -e nvim")
|
||||||
|
end)
|
||||||
|
hl.bind("SUPER + C", function()
|
||||||
|
hl.exec_cmd("[float] $TERMINAL -e python")
|
||||||
|
end)
|
||||||
|
hl.bind(" + XF86Calculator", function()
|
||||||
|
hl.exec_cmd("[float] $TERMINAL -e python")
|
||||||
|
end)
|
||||||
|
hl.bind("SUPER + SHIFT + S", function()
|
||||||
|
hl.exec_cmd("screenshot")
|
||||||
|
end)
|
||||||
|
hl.bind("SUPER + SHIFT + CTRL + S", function()
|
||||||
|
hl.exec_cmd("screenshot --no-upload")
|
||||||
|
end)
|
||||||
|
hl.bind("SUPER + SHIFT + ALT + S", function()
|
||||||
|
hl.exec_cmd("colorpicker")
|
||||||
|
end)
|
||||||
|
hl.bind("SUPER + SHIFT + R", function()
|
||||||
|
hl.exec_cmd("autostart-manage run-wayland")
|
||||||
|
end)
|
||||||
|
hl.bind(" + XF86AudioPlay", function()
|
||||||
|
hl.exec_cmd("playerctl play-pause")
|
||||||
|
end, { locked = true })
|
||||||
|
hl.bind(" + XF86AudioPause", function()
|
||||||
|
hl.exec_cmd("playerctl pause")
|
||||||
|
end, { locked = true })
|
||||||
|
hl.bind(" + XF86AudioNext", function()
|
||||||
|
hl.exec_cmd("playerctl next")
|
||||||
|
end, { locked = true })
|
||||||
|
hl.bind(" + XF86AudioPrev", function()
|
||||||
|
hl.exec_cmd("playerctl prev")
|
||||||
|
end, { locked = true })
|
||||||
|
hl.bind("SUPER + h", hl.dsp.focus({ direction = "l" }))
|
||||||
|
hl.bind("SUPER + j", hl.dsp.focus({ direction = "d" }))
|
||||||
|
hl.bind("SUPER + k", hl.dsp.focus({ direction = "u" }))
|
||||||
|
hl.bind("SUPER + l", hl.dsp.focus({ direction = "r" }))
|
||||||
|
hl.bind("SUPER + SHIFT + h", hl.dsp.window.move({ direction = "l" }))
|
||||||
|
hl.bind("SUPER + SHIFT + j", hl.dsp.window.move({ direction = "d" }))
|
||||||
|
hl.bind("SUPER + SHIFT + k", hl.dsp.window.move({ direction = "u" }))
|
||||||
|
hl.bind("SUPER + SHIFT + l", hl.dsp.window.move({ direction = "r" }))
|
||||||
|
-- hl.bind("SUPER + CTRL + h", hl.dsp.layoutmsg({ "preselect l" }))
|
||||||
|
-- hl.bind("SUPER + CTRL + j", hl.dsp.layoutmsg({ "preselect d" }))
|
||||||
|
-- hl.bind("SUPER + CTRL + k", hl.dsp.layoutmsg({ "preselect u" }))
|
||||||
|
-- hl.bind("SUPER + CTRL + l", hl.dsp.layoutmsg({ "preselect r" }))
|
||||||
|
hl.bind("SUPER + 1", hl.dsp.focus({ workspace = WS01 }))
|
||||||
|
hl.bind("SUPER + 2", hl.dsp.focus({ workspace = WS02 }))
|
||||||
|
hl.bind("SUPER + 3", hl.dsp.focus({ workspace = WS03 }))
|
||||||
|
hl.bind("SUPER + 4", hl.dsp.focus({ workspace = WS04 }))
|
||||||
|
hl.bind("SUPER + 5", hl.dsp.focus({ workspace = WS05 }))
|
||||||
|
hl.bind("SUPER + 6", hl.dsp.focus({ workspace = WS06 }))
|
||||||
|
hl.bind("SUPER + 7", hl.dsp.focus({ workspace = WS07 }))
|
||||||
|
hl.bind("SUPER + 8", hl.dsp.focus({ workspace = WS08 }))
|
||||||
|
hl.bind("SUPER + 9", hl.dsp.focus({ workspace = WS09 }))
|
||||||
|
hl.bind("SUPER + 0", hl.dsp.focus({ workspace = WS10 }))
|
||||||
|
hl.bind("SUPER + SHIFT + 1", hl.dsp.window.move({ workspace = WS01, follow = false }))
|
||||||
|
hl.bind("SUPER + SHIFT + 2", hl.dsp.window.move({ workspace = WS02, follow = false }))
|
||||||
|
hl.bind("SUPER + SHIFT + 3", hl.dsp.window.move({ workspace = WS03, follow = false }))
|
||||||
|
hl.bind("SUPER + SHIFT + 4", hl.dsp.window.move({ workspace = WS04, follow = false }))
|
||||||
|
hl.bind("SUPER + SHIFT + 5", hl.dsp.window.move({ workspace = WS05, follow = false }))
|
||||||
|
hl.bind("SUPER + SHIFT + 6", hl.dsp.window.move({ workspace = WS06, follow = false }))
|
||||||
|
hl.bind("SUPER + SHIFT + 7", hl.dsp.window.move({ workspace = WS07, follow = false }))
|
||||||
|
hl.bind("SUPER + SHIFT + 8", hl.dsp.window.move({ workspace = WS08, follow = false }))
|
||||||
|
hl.bind("SUPER + SHIFT + 9", hl.dsp.window.move({ workspace = WS09, follow = false }))
|
||||||
|
hl.bind("SUPER + SHIFT + 0", hl.dsp.window.move({ workspace = WS10, follow = false }))
|
||||||
|
hl.bind("SUPER + dead_circumflex", hl.dsp.focus({ workspace = WS_FOCUS }))
|
||||||
|
hl.bind("SUPER + SHIFT + dead_circumflex", hl.dsp.window.move({ workspace = WS_FOCUS, follow = false }))
|
||||||
|
hl.bind("SUPER + mouse:272", hl.dsp.window.drag())
|
||||||
|
hl.bind("SUPER + mouse:273", hl.dsp.window.resize())
|
||||||
|
|
||||||
|
hl.bind("XF86AudioLowerVolume", hl.dsp.pass({ window = "class:TeamSpeak 3" }))
|
||||||
|
hl.bind("XF86AudioRaiseVolume", hl.dsp.pass({ window = "class:TeamSpeak 3" }))
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
$ws01 = name:[01]
|
|
||||||
$ws02 = name:[02]
|
|
||||||
$ws03 = name:[03]
|
|
||||||
$ws04 = name:[04]
|
|
||||||
$ws05 = name:[05]
|
|
||||||
$ws06 = name:[06]
|
|
||||||
$ws07 = name:[07]
|
|
||||||
$ws08 = name:[08]
|
|
||||||
$ws09 = name:[09]
|
|
||||||
$ws10 = name:[10]
|
|
||||||
|
|
||||||
$ws_web = $ws01
|
|
||||||
$ws_focus = $ws07
|
|
||||||
$ws_media = $ws08
|
|
||||||
$ws_chat = $ws09
|
|
||||||
$ws_msg = $ws10
|
|
||||||
|
|
||||||
$ws_steam = $ws_media
|
|
||||||
16
.config/hypr/defaults.lua
Normal file
16
.config/hypr/defaults.lua
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
WS01 = "name:[01]"
|
||||||
|
WS02 = "name:[02]"
|
||||||
|
WS03 = "name:[03]"
|
||||||
|
WS04 = "name:[04]"
|
||||||
|
WS05 = "name:[05]"
|
||||||
|
WS06 = "name:[06]"
|
||||||
|
WS07 = "name:[07]"
|
||||||
|
WS08 = "name:[08]"
|
||||||
|
WS09 = "name:[09]"
|
||||||
|
WS10 = "name:[10]"
|
||||||
|
WS_WEB = "name:[01]"
|
||||||
|
WS_FOCUS = "name:[07]"
|
||||||
|
WS_MEDIA = "name:[08]"
|
||||||
|
WS_CHAT = "name:[09]"
|
||||||
|
WS_MSG = "name:[10]"
|
||||||
|
WS_STEAM = "name:[08]"
|
||||||
|
|
@ -1,39 +0,0 @@
|
||||||
# dracula/hyprland
|
|
||||||
general {
|
|
||||||
#col.active_border = rgb(44475a) rgb(bd93f9) 90deg
|
|
||||||
#col.inactive_border = rgba(44475aaa)
|
|
||||||
col.nogroup_border = rgba(282a36dd)
|
|
||||||
col.nogroup_border_active = rgb(bd93f9) rgb(44475a) 90deg
|
|
||||||
border_size = 2
|
|
||||||
|
|
||||||
# non-gradient alternative
|
|
||||||
col.active_border = rgb(bd93f9)
|
|
||||||
col.inactive_border = rgba(44475aaa)
|
|
||||||
#col.group_border = rgba(282a36dd)
|
|
||||||
#col.group_border_active = rgb(bd93f9)
|
|
||||||
|
|
||||||
# darker alternative
|
|
||||||
#col.active_border = rgb(44475a) # or rgb(6272a4)
|
|
||||||
#col.inactive_border = rgb(282a36)
|
|
||||||
#col.group_border = rgb(282a36)
|
|
||||||
#col.group_border_active = rgb(44475a) # or rgb(6272a4)
|
|
||||||
|
|
||||||
}
|
|
||||||
decoration:shadow {
|
|
||||||
color = rgba(1E202966)
|
|
||||||
|
|
||||||
# suggested shadow setting
|
|
||||||
#drop_shadow = yes
|
|
||||||
#shadow_range = 60
|
|
||||||
#shadow_offset = 1 2
|
|
||||||
#shadow_render_power = 3
|
|
||||||
#shadow_scale = 0.97
|
|
||||||
}
|
|
||||||
|
|
||||||
group {
|
|
||||||
groupbar {
|
|
||||||
col.active = rgb(bd93f9) rgb(44475a) 90deg
|
|
||||||
col.inactive = rgba(282a36dd)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#windowrulev2 = bordercolor rgb(ff5555),xwayland:1 # check if window is xwayland
|
|
||||||
24
.config/hypr/dracula.lua
Normal file
24
.config/hypr/dracula.lua
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
hl.config({
|
||||||
|
general = {
|
||||||
|
border_size = 2,
|
||||||
|
col = {
|
||||||
|
active_border = "rgba(bd93f9ff)",
|
||||||
|
inactive_border = "rgba(44475aaa)",
|
||||||
|
nogroup_border = "rgba(282a36dd)",
|
||||||
|
nogroup_border_active = "rgba(bd93f9ff)",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
group = {
|
||||||
|
groupbar = {
|
||||||
|
col = {
|
||||||
|
active = "rgba(bd93f9ff)",
|
||||||
|
inactive = "rgba(282a36dd)",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
decoration = {
|
||||||
|
shadow = {
|
||||||
|
color = "rgba(1E202966)",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
# Some default env vars.
|
|
||||||
env = XCURSOR_SIZE,24
|
|
||||||
env = XCURSOR_THEME,Dracula-cursors
|
|
||||||
|
|
||||||
env = HYPRCURSOR_THEME,hyprcursor_Dracula
|
|
||||||
env = HYPRCURSOR_SIZE,24
|
|
||||||
|
|
||||||
env = GDK_BACKEND,wayland,x11
|
|
||||||
env = QT_QPA_PLATFORM,wayland;xcb
|
|
||||||
env = SDL_VIDEODRIVER,wayland
|
|
||||||
env = CLUTTER_BACKEND,wayland
|
|
||||||
8
.config/hypr/env.lua
Normal file
8
.config/hypr/env.lua
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
hl.env("XCURSOR_SIZE", "24")
|
||||||
|
hl.env("XCURSOR_THEME", "Dracula-cursors")
|
||||||
|
hl.env("HYPRCURSOR_THEME", "hyprcursor_Dracula")
|
||||||
|
hl.env("HYPRCURSOR_SIZE", "24")
|
||||||
|
hl.env("GDK_BACKEND", "wayland,x11")
|
||||||
|
hl.env("QT_QPA_PLATFORM", "wayland;xcb")
|
||||||
|
hl.env("SDL_VIDEODRIVER", "wayland")
|
||||||
|
hl.env("CLUTTER_BACKEND", "wayland")
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
$mon1 = DP-1
|
|
||||||
$mon2 = HDMI-A-1
|
|
||||||
|
|
||||||
monitor = $mon1,2560x1440@180,auto-right,1.25
|
|
||||||
monitor = $mon2,2560x1440@60,0x0,1.25
|
|
||||||
monitor = $mon2, addreserved, 0, 0, 0, 1530
|
|
||||||
|
|
||||||
source = ~/.config/hypr/lib/7_3_ws_layout.conf
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
$mon1 = DP-1
|
|
||||||
$mon2 = HDMI-A-1
|
|
||||||
$mon = $mon1
|
|
||||||
|
|
||||||
monitor = $mon1,2560x1440@144,0x0,auto
|
|
||||||
monitor = $mon2,disable
|
|
||||||
|
|
||||||
source = ~/.config/hypr/lib/single_mon.conf
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
$mon1 = DP-1
|
|
||||||
$mon2 = HDMI-A-1
|
|
||||||
$mon = $mon2
|
|
||||||
|
|
||||||
monitor = $mon1,disable
|
|
||||||
monitor = $mon2,2560x1440@60,0x0,1.25
|
|
||||||
|
|
||||||
source = ~/.config/hypr/lib/single_mon.conf
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
$mon1 = DP-1
|
|
||||||
$mon2 = HDMI-A-1
|
|
||||||
|
|
||||||
monitor = $mon1,2560x1440@180,auto-right,1.25
|
|
||||||
monitor = $mon2,2560x1440@60,0x0,1.25
|
|
||||||
|
|
||||||
source = ~/.config/hypr/lib/7_3_ws_layout.conf
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
$mon1 = eDP-1
|
|
||||||
$mon2 = HDMI-A-2
|
|
||||||
|
|
||||||
monitor = $mon1,1600x900@60,0x0,auto
|
|
||||||
monitor = $mon2,preferred,1600x0,auto
|
|
||||||
|
|
||||||
source = ~/.config/hypr/lib/7_3_ws_layout.conf
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
$mon1 = eDP-1
|
|
||||||
$mon2 = HDMI-A-2
|
|
||||||
$mon = $mon1
|
|
||||||
|
|
||||||
monitor = $mon1,1600x900@60,0x0,auto
|
|
||||||
monitor = $mon2,disable
|
|
||||||
|
|
||||||
source = ~/.config/hypr/lib/single_mon.conf
|
|
||||||
|
|
@ -0,0 +1,23 @@
|
||||||
|
MON1 = "DP-1"
|
||||||
|
MON2 = "HDMI-A-1"
|
||||||
|
|
||||||
|
hl.monitor({
|
||||||
|
output = "DP-1",
|
||||||
|
mode = "2560x1440@180",
|
||||||
|
position = "auto-right",
|
||||||
|
scale = 1.25,
|
||||||
|
})
|
||||||
|
hl.monitor({
|
||||||
|
output = "HDMI-A-1",
|
||||||
|
mode = "2560x1440@60",
|
||||||
|
position = "0x0",
|
||||||
|
scale = 1.25,
|
||||||
|
reserved_area = {
|
||||||
|
top = 0,
|
||||||
|
bottom = 0,
|
||||||
|
left = 0,
|
||||||
|
right = 1530
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
require("lib.7_3_ws_layout")
|
||||||
16
.config/hypr/host.lua##hostname.portalo,class.monitor-single
Normal file
16
.config/hypr/host.lua##hostname.portalo,class.monitor-single
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
MON1 = "DP-1"
|
||||||
|
MON2 = "HDMI-A-1"
|
||||||
|
MON = MON1
|
||||||
|
|
||||||
|
hl.monitor({
|
||||||
|
output = MON1,
|
||||||
|
mode = "2560x1440@180",
|
||||||
|
position = "0x0",
|
||||||
|
scale = 1.25,
|
||||||
|
})
|
||||||
|
hl.monitor({
|
||||||
|
output = MON2,
|
||||||
|
disabled = true,
|
||||||
|
})
|
||||||
|
|
||||||
|
require("lib.single_mon")
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
MON1 = "DP-1"
|
||||||
|
MON2 = "HDMI-A-1"
|
||||||
|
MON = MON2
|
||||||
|
|
||||||
|
hl.monitor({
|
||||||
|
output = MON1,
|
||||||
|
disabled = true,
|
||||||
|
})
|
||||||
|
hl.monitor({
|
||||||
|
output = MON2,
|
||||||
|
mode = "2560x1440@60",
|
||||||
|
position = "0x0",
|
||||||
|
scale = 1.25,
|
||||||
|
})
|
||||||
|
|
||||||
|
require("lib.single_mon")
|
||||||
17
.config/hypr/host.lua##hostname.portalo,default
Normal file
17
.config/hypr/host.lua##hostname.portalo,default
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
MON1 = "DP-1"
|
||||||
|
MON2 = "HDMI-A-1"
|
||||||
|
|
||||||
|
hl.monitor({
|
||||||
|
output = "DP-1",
|
||||||
|
mode = "2560x1440@180",
|
||||||
|
position = "auto-right",
|
||||||
|
scale = 1.25,
|
||||||
|
})
|
||||||
|
hl.monitor({
|
||||||
|
output = "HDMI-A-1",
|
||||||
|
mode = "2560x1440@60",
|
||||||
|
position = "0x0",
|
||||||
|
scale = 1.25,
|
||||||
|
})
|
||||||
|
|
||||||
|
require("lib.7_3_ws_layout")
|
||||||
|
|
@ -1,14 +0,0 @@
|
||||||
source = ~/.config/hypr/dracula.conf
|
|
||||||
|
|
||||||
source = ~/.config/hypr/defaults.conf
|
|
||||||
|
|
||||||
source = ~/.config/hypr/host.conf
|
|
||||||
|
|
||||||
source = ~/.config/hypr/env.conf
|
|
||||||
source = ~/.config/hypr/vars.conf
|
|
||||||
source = ~/.config/hypr/binds.conf
|
|
||||||
source = ~/.config/hypr/rules.conf
|
|
||||||
|
|
||||||
exec-once = autostart-manage sync wayland,hyprland
|
|
||||||
exec-once = autostart-manage run-wayland
|
|
||||||
exec = xsetroot -cursor_name left_ptr
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue