Compare commits
2 Commits
fix/zsh-au
...
40321834e1
| Author | SHA1 | Date | |
|---|---|---|---|
| 40321834e1 | |||
| 1db39683e9 |
13
.config/Code/User/extensions.txt
Normal file
13
.config/Code/User/extensions.txt
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
github.copilot-chat
|
||||||
|
ms-azuretools.vscode-containers
|
||||||
|
ms-python.debugpy
|
||||||
|
ms-python.python
|
||||||
|
ms-python.vscode-pylance
|
||||||
|
ms-python.vscode-python-envs
|
||||||
|
ms-vscode-remote.remote-containers
|
||||||
|
ms-vscode.cmake-tools
|
||||||
|
ms-vscode.cpp-devtools
|
||||||
|
ms-vscode.cpptools
|
||||||
|
ms-vscode.cpptools-extension-pack
|
||||||
|
ms-vscode.cpptools-themes
|
||||||
|
tomoki1207.pdf
|
||||||
7
.config/Code/User/settings.json
Normal file
7
.config/Code/User/settings.json
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"explorer.confirmDragAndDrop": false,
|
||||||
|
"python.defaultInterpreterPath": "/sbin/python3.14",
|
||||||
|
"git.autofetch": true,
|
||||||
|
"explorer.confirmDelete": false,
|
||||||
|
"git.confirmSync": false
|
||||||
|
}
|
||||||
16
.config/discord/settings.json
Normal file
16
.config/discord/settings.json
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"offloadAdmControls": true,
|
||||||
|
"BACKGROUND_COLOR": "#000000",
|
||||||
|
"enableHardwareAcceleration": true,
|
||||||
|
"chromiumSwitches": {},
|
||||||
|
"asyncVideoInputDeviceInit": false,
|
||||||
|
"IS_MAXIMIZED": false,
|
||||||
|
"IS_MINIMIZED": false,
|
||||||
|
"WINDOW_BOUNDS": {
|
||||||
|
"x": 1927,
|
||||||
|
"y": 57,
|
||||||
|
"width": 1906,
|
||||||
|
"height": 1016
|
||||||
|
},
|
||||||
|
"SKIP_HOST_UPDATE": true
|
||||||
|
}
|
||||||
6
.config/hypr/applications.conf
Normal file
6
.config/hypr/applications.conf
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# Floating
|
||||||
|
windowrule = float 1, match:title Play Timer
|
||||||
|
|
||||||
|
# Opacity
|
||||||
|
windowrule = opacity 0.9 0.75, match:class $terminal
|
||||||
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
-- Opacity
|
|
||||||
hl.window_rule({
|
|
||||||
name = "opacity_0_75_0_6",
|
|
||||||
match = {
|
|
||||||
class = ".*" .. terminal .. ".*"
|
|
||||||
},
|
|
||||||
opacity = "0.75 0.6",
|
|
||||||
})
|
|
||||||
|
|
||||||
-- Workspaces
|
|
||||||
hl.window_rule({
|
|
||||||
workspace = "1",
|
|
||||||
match = {
|
|
||||||
class = ".*[Mm]inecraft.*"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
hl.window_rule({
|
|
||||||
workspace = "1",
|
|
||||||
match = {
|
|
||||||
class = ".*[Ss]team*."
|
|
||||||
}
|
|
||||||
})
|
|
||||||
67
.config/hypr/decoration.conf
Normal file
67
.config/hypr/decoration.conf
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
general {
|
||||||
|
# Gaps & borders – light and uncluttered
|
||||||
|
gaps_in = 4
|
||||||
|
gaps_out = 6
|
||||||
|
gaps_workspaces = 32
|
||||||
|
|
||||||
|
border_size = 1
|
||||||
|
col.active_border = rgba(0DB7D4FF)
|
||||||
|
col.inactive_border = rgba(31313633)
|
||||||
|
|
||||||
|
no_focus_fallback = true
|
||||||
|
allow_tearing = true
|
||||||
|
|
||||||
|
snap {
|
||||||
|
enabled = true
|
||||||
|
window_gap = 4
|
||||||
|
monitor_gap = 6
|
||||||
|
respect_gaps = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
dwindle {
|
||||||
|
preserve_split = true
|
||||||
|
smart_split = false
|
||||||
|
smart_resizing = false
|
||||||
|
}
|
||||||
|
|
||||||
|
decoration {
|
||||||
|
rounding = 10
|
||||||
|
|
||||||
|
shadow {
|
||||||
|
enabled = yes
|
||||||
|
range = 16
|
||||||
|
render_power = 2
|
||||||
|
color = rgba(00000040)
|
||||||
|
}
|
||||||
|
|
||||||
|
blur {
|
||||||
|
enabled = yes
|
||||||
|
size = 5
|
||||||
|
passes = 2
|
||||||
|
vibrancy = 0.14
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
animations {
|
||||||
|
enabled = yes
|
||||||
|
|
||||||
|
bezier = overshoot, 0.22, 0.61, 0.36, 1.15
|
||||||
|
bezier = breeze, 0.22, 0.61, 0.36, 1.0
|
||||||
|
|
||||||
|
# Windows: quick, soft, intentional
|
||||||
|
animation = windows, 1, 5, breeze, slidefade
|
||||||
|
animation = windowsOut, 1, 4, breeze, slidefade
|
||||||
|
|
||||||
|
# Workspaces: airy glide, finishes fast
|
||||||
|
animation = workspaces, 1, 10, overshoot, slidefade
|
||||||
|
|
||||||
|
# Subtle polish
|
||||||
|
animation = fade, 1, 4, breeze
|
||||||
|
animation = windowsMove, 1, 3, breeze
|
||||||
|
animation = border, 1, 3, breeze
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,53 +0,0 @@
|
|||||||
hl.config({
|
|
||||||
general = {
|
|
||||||
-- Gaps & borders – light and uncluttered
|
|
||||||
gaps_in = 4,
|
|
||||||
gaps_out = 6,
|
|
||||||
gaps_workspaces = 32,
|
|
||||||
border_size = 1,
|
|
||||||
no_focus_fallback = true,
|
|
||||||
allow_tearing = true,
|
|
||||||
snap = {
|
|
||||||
enabled = true,
|
|
||||||
window_gap = 4,
|
|
||||||
monitor_gap = 6,
|
|
||||||
respect_gaps = true,
|
|
||||||
},
|
|
||||||
col = {
|
|
||||||
active_border = "rgba(0DB7D4FF)",
|
|
||||||
inactive_border = "rgba(31313633)",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
hl.config({
|
|
||||||
dwindle = {
|
|
||||||
preserve_split = true,
|
|
||||||
smart_split = false,
|
|
||||||
smart_resizing = false,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
hl.config({
|
|
||||||
decoration = {
|
|
||||||
rounding = 10,
|
|
||||||
shadow = {
|
|
||||||
enabled = true,
|
|
||||||
range = 16,
|
|
||||||
render_power = 2,
|
|
||||||
color = "rgba(00000040)",
|
|
||||||
},
|
|
||||||
blur = {
|
|
||||||
enabled = true,
|
|
||||||
size = 5,
|
|
||||||
passes = 2,
|
|
||||||
vibrancy = 0.14,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
hl.config({
|
|
||||||
animations = {
|
|
||||||
enabled = true,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
5
.config/hypr/hypridle.conf
Normal file
5
.config/hypr/hypridle.conf
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
general {
|
||||||
|
lock_cmd = pidof hyprlock || hyprlock
|
||||||
|
before_sleep_cmd = loginctl lock-session
|
||||||
|
}
|
||||||
|
|
||||||
42
.config/hypr/hyprland.conf
Normal file
42
.config/hypr/hyprland.conf
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
source = ~/.config/hypr/monitors.conf
|
||||||
|
|
||||||
|
# Set programs that you use
|
||||||
|
$terminal = kitty
|
||||||
|
$fileManager = thunar
|
||||||
|
$menu = wofi --show drun
|
||||||
|
$browser = brave
|
||||||
|
|
||||||
|
exec-once = /usr/lib/xdg-desktop-portal-hyprland &
|
||||||
|
exec-once = /usr/lib/xdg-desktop-portal &
|
||||||
|
exec-once = hyprpaper
|
||||||
|
exec-once = hypridle
|
||||||
|
exec = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" # for GTK4 apps
|
||||||
|
exec = gsettings set org.gnome.desktop.interface gtk-theme "adw-gtk3-dark" # for GTK3 apps
|
||||||
|
|
||||||
|
misc {
|
||||||
|
force_default_wallpaper = 0
|
||||||
|
disable_hyprland_logo = true
|
||||||
|
initial_workspace_tracking = 1
|
||||||
|
}
|
||||||
|
|
||||||
|
#############################
|
||||||
|
### ENVIRONMENT VARIABLES ###
|
||||||
|
#############################
|
||||||
|
|
||||||
|
env = XCURSOR_SIZE,24
|
||||||
|
env = HYPRCURSOR_SIZE,24
|
||||||
|
env = LIBVA_DRIVER_NAME,nvidia
|
||||||
|
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
||||||
|
env = NVD_BACKEND,direct
|
||||||
|
env = QT_QPA_PLATFORMTHEME,qt6ct # for Qt apps# Theme
|
||||||
|
|
||||||
|
exec-once = nextcloud
|
||||||
|
exec-once = waybar
|
||||||
|
exec-once = hyprctl setcursor breeze 24
|
||||||
|
|
||||||
|
source = ~/.config/hypr/input.conf
|
||||||
|
source = ~/.config/hypr/keybinds.conf
|
||||||
|
source = ~/.config/hypr/applications.conf
|
||||||
|
source = ~/.config/hypr/decoration.conf
|
||||||
|
source = ~/.config/hypr/workspaces.conf
|
||||||
|
source = ~/.config/hypr/hyprpaper.conf
|
||||||
@@ -1,46 +0,0 @@
|
|||||||
local monitors = require("monitors")
|
|
||||||
|
|
||||||
-- Set programs that you use
|
|
||||||
terminal = "kitty"
|
|
||||||
fileManager = "thunar"
|
|
||||||
menu = "wofi --show drun"
|
|
||||||
browser = "brave"
|
|
||||||
|
|
||||||
hl.config({
|
|
||||||
misc = {
|
|
||||||
force_default_wallpaper = 0,
|
|
||||||
disable_hyprland_logo = true,
|
|
||||||
initial_workspace_tracking = 1,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
-- Envs
|
|
||||||
hl.env("XCURSOR_SIZE", 24)
|
|
||||||
hl.env("HYPRCURSOR_SIZE", 24)
|
|
||||||
hl.env("LIBVA_DRIVER_NAME", "nvidia")
|
|
||||||
hl.env("__GLX_VENDOR_LIBRARY_NAME", "nvidia")
|
|
||||||
hl.env("NVD_BACKEND", "direct")
|
|
||||||
hl.env("QT_QPA_PLATFORMTHEME", "qt6ct")
|
|
||||||
|
|
||||||
local keybinds = require("keybinds")
|
|
||||||
local input = require("input")
|
|
||||||
local applications = require("applications")
|
|
||||||
local decorations = require("decoration")
|
|
||||||
local workspaces = require("workspaces")
|
|
||||||
|
|
||||||
-- Autostart
|
|
||||||
hl.on("hyprland.start", function()
|
|
||||||
hl.exec_cmd("/usr/lib/xdg-desktop-portal-hyprland &")
|
|
||||||
hl.exec_cmd("/usr/lib/xdg-desktop-portal &")
|
|
||||||
hl.exec_cmd("hyprpaper")
|
|
||||||
hl.exec_cmd("hypridle")
|
|
||||||
hl.exec_cmd("nextcloud")
|
|
||||||
hl.exec_cmd("waybar")
|
|
||||||
hl.exec_cmd("hyprctl setcursor breeze 24")
|
|
||||||
end)
|
|
||||||
|
|
||||||
-- Exec (run every reload)
|
|
||||||
hl.on("config.reloaded", function()
|
|
||||||
hl.exec_cmd("gsettings set org.gnome.desktop.interface color-scheme prefer-dark")
|
|
||||||
hl.exec_cmd("gsettings set org.gnome.desktop.interface gtk-theme adw-gtk3-dark")
|
|
||||||
end)
|
|
||||||
3
.config/hypr/hyprpaper.conf
Normal file
3
.config/hypr/hyprpaper.conf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
splash = false
|
||||||
|
preload = ~/.wallpapers/liminal.png
|
||||||
|
wallpaper = ,~/.wallpapers/liminal.png
|
||||||
31
.config/hypr/input.conf
Normal file
31
.config/hypr/input.conf
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
input {
|
||||||
|
kb_layout = ie
|
||||||
|
kb_variant =
|
||||||
|
kb_model =
|
||||||
|
kb_options =
|
||||||
|
kb_rules =
|
||||||
|
|
||||||
|
follow_mouse = 1
|
||||||
|
accel_profile = flat
|
||||||
|
|
||||||
|
sensitivity = 0.75
|
||||||
|
|
||||||
|
touchpad {
|
||||||
|
natural_scroll = true
|
||||||
|
scroll_factor = 0.45
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
device {
|
||||||
|
name = logitech-pro-x-1
|
||||||
|
sensitivity = 0
|
||||||
|
}
|
||||||
|
|
||||||
|
gestures {
|
||||||
|
workspace_swipe_cancel_ratio = 0
|
||||||
|
workspace_swipe_min_speed_to_force = 10
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
gesture = 3, horizontal, scale: 0.1, workspace
|
||||||
|
gesture = 3, down, fullscreen
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
hl.config({
|
|
||||||
input = {
|
|
||||||
kb_layout = "ie",
|
|
||||||
follow_mouse = 1,
|
|
||||||
accel_profile = "flat",
|
|
||||||
sensitivity = 0,
|
|
||||||
touchpad = {
|
|
||||||
natural_scroll = true,
|
|
||||||
scroll_factor = 0.45,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
hl.config({
|
|
||||||
gestures = {
|
|
||||||
workspace_swipe_cancel_ratio = 0,
|
|
||||||
workspace_swipe_min_speed_to_force = 10,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
73
.config/hypr/keybinds.conf
Normal file
73
.config/hypr/keybinds.conf
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
$mainMod = SUPER # Sets "Windows" key as main modifier
|
||||||
|
|
||||||
|
bind = $mainMod, RETURN, exec, $terminal
|
||||||
|
|
||||||
|
# Move focus with mainMod + arrow keys
|
||||||
|
bind = $mainMod, left, movefocus, l
|
||||||
|
bind = $mainMod, right, movefocus, r
|
||||||
|
bind = $mainMod, up, movefocus, u
|
||||||
|
bind = $mainMod, down, movefocus, d
|
||||||
|
|
||||||
|
# Switch workspaces with mainMod + [0-9]
|
||||||
|
bind = $mainMod, 1, workspace, 1
|
||||||
|
bind = $mainMod, 2, workspace, 2
|
||||||
|
bind = $mainMod, 3, workspace, 3
|
||||||
|
bind = $mainMod, 4, workspace, 4
|
||||||
|
bind = $mainMod, 5, workspace, 5
|
||||||
|
bind = $mainMod, 6, workspace, 6
|
||||||
|
bind = $mainMod, 7, workspace, 7
|
||||||
|
bind = $mainMod, 8, workspace, 8
|
||||||
|
bind = $mainMod, 9, workspace, 9
|
||||||
|
bind = $mainMod, 0, workspace, 10
|
||||||
|
|
||||||
|
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||||
|
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||||
|
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||||
|
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||||
|
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||||
|
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||||
|
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||||
|
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||||
|
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||||
|
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||||
|
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||||
|
|
||||||
|
# Scroll through existing workspaces with mainMod + scroll
|
||||||
|
bind = $mainMod, mouse_down, workspace, e+1
|
||||||
|
bind = $mainMod, mouse_up, workspace, e-1
|
||||||
|
|
||||||
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||||
|
bindm = $mainMod, mouse:272, movewindow
|
||||||
|
bindm = $mainMod, mouse:273, resizewindow
|
||||||
|
|
||||||
|
# Change wallpaper
|
||||||
|
bind = $mainMod, W, exec, ~/.config/wofi/scripts/wallpaper.sh
|
||||||
|
|
||||||
|
bindel = $mainMod, L, exec, brightnessctl -e4 -n2 set 5%+
|
||||||
|
bindel = $mainMod, K, exec, brightnessctl -e4 -n2 set 5%-
|
||||||
|
|
||||||
|
# Volume
|
||||||
|
bindl = , F4, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||||
|
bindl = , F5, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
|
||||||
|
bindl = , F6, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||||
|
bindl = , F7, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||||||
|
|
||||||
|
# Playback (requires playerctl)
|
||||||
|
bindl = , F2, exec, playerctl previous
|
||||||
|
bindl = , F1, exec, playerctl play-pause
|
||||||
|
bindl = , F3, exec, playerctl next
|
||||||
|
|
||||||
|
bindl = , switch:on:Lid Switch, exec, hyprctl dispatch dpms off
|
||||||
|
bindl = , switch:off:Lid Switch, exec, hyprctl dispatch dpms on
|
||||||
|
|
||||||
|
bind = SUPER CTRL, left, swapwindow, l
|
||||||
|
bind = SUPER CTRL, right, swapwindow, r
|
||||||
|
bind = SUPER SHIFT, F, fullscreen
|
||||||
|
bind = SUPER CTRL, F, fullscreen, 1
|
||||||
|
bind = SUPER, Q, killactive
|
||||||
|
bind = ALT, TAB, cyclenext
|
||||||
|
|
||||||
|
bind = SUPER, F, exec, $fileManager
|
||||||
|
bind = SUPER, D, exec, $menu
|
||||||
|
bind = SUPER, B, exec, $browser
|
||||||
|
bind = SUPER SHIFT, S, exec, grim -g "$(slurp)" - | wl-copy
|
||||||
@@ -1,78 +0,0 @@
|
|||||||
---@module 'hl'
|
|
||||||
|
|
||||||
local mainMod = "SUPER"
|
|
||||||
|
|
||||||
-- Sets "Windows" key as main modifier
|
|
||||||
hl.bind(mainMod .. " + " .. "RETURN", hl.dsp.exec_cmd(terminal))
|
|
||||||
|
|
||||||
-- Move focus with mainMod + arrow keys
|
|
||||||
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" }))
|
|
||||||
|
|
||||||
-- Switch workspaces with mainMod + [0-9]
|
|
||||||
hl.bind(mainMod .. " + " .. 1, hl.dsp.focus({ workspace = 1 }))
|
|
||||||
hl.bind(mainMod .. " + " .. 2, hl.dsp.focus({ workspace = 2 }))
|
|
||||||
hl.bind(mainMod .. " + " .. 3, hl.dsp.focus({ workspace = 3 }))
|
|
||||||
hl.bind(mainMod .. " + " .. 4, hl.dsp.focus({ workspace = 4 }))
|
|
||||||
hl.bind(mainMod .. " + " .. 5, hl.dsp.focus({ workspace = 5 }))
|
|
||||||
hl.bind(mainMod .. " + " .. 6, hl.dsp.focus({ workspace = 6 }))
|
|
||||||
hl.bind(mainMod .. " + " .. 7, hl.dsp.focus({ workspace = 7 }))
|
|
||||||
hl.bind(mainMod .. " + " .. 8, hl.dsp.focus({ workspace = 8 }))
|
|
||||||
hl.bind(mainMod .. " + " .. 9, hl.dsp.focus({ workspace = 9 }))
|
|
||||||
hl.bind(mainMod .. " + " .. 0, hl.dsp.focus({ workspace = 10 }))
|
|
||||||
|
|
||||||
-- Move active window to a workspace with mainMod + SHIFT + [0-9]
|
|
||||||
hl.bind(mainMod .. " + " .. "SHIFT" .. " + " .. 1, hl.dsp.window.move({ workspace = 1 }))
|
|
||||||
hl.bind(mainMod .. " + " .. "SHIFT" .. " + " .. 2, hl.dsp.window.move({ workspace = 2 }))
|
|
||||||
hl.bind(mainMod .. " + " .. "SHIFT" .. " + " .. 3, hl.dsp.window.move({ workspace = 3 }))
|
|
||||||
hl.bind(mainMod .. " + " .. "SHIFT" .. " + " .. 4, hl.dsp.window.move({ workspace = 4 }))
|
|
||||||
hl.bind(mainMod .. " + " .. "SHIFT" .. " + " .. 5, hl.dsp.window.move({ workspace = 5 }))
|
|
||||||
hl.bind(mainMod .. " + " .. "SHIFT" .. " + " .. 6, hl.dsp.window.move({ workspace = 6 }))
|
|
||||||
hl.bind(mainMod .. " + " .. "SHIFT" .. " + " .. 7, hl.dsp.window.move({ workspace = 7 }))
|
|
||||||
hl.bind(mainMod .. " + " .. "SHIFT" .. " + " .. 8, hl.dsp.window.move({ workspace = 8 }))
|
|
||||||
hl.bind(mainMod .. " + " .. "SHIFT" .. " + " .. 9, hl.dsp.window.move({ workspace = 9 }))
|
|
||||||
hl.bind(mainMod .. " + " .. "SHIFT" .. " + " .. 0, hl.dsp.window.move({ workspace = 10 }))
|
|
||||||
|
|
||||||
-- Scroll through existing workspaces with mainMod + scroll
|
|
||||||
hl.bind(mainMod .. " + " .. "mouse_down", hl.dsp.focus({ workspace = "e+1" }))
|
|
||||||
hl.bind(mainMod .. " + " .. "mouse_up", hl.dsp.focus({ workspace = "e-1" }))
|
|
||||||
|
|
||||||
-- Move/resize windows with mainMod + LMB/RMB and dragging
|
|
||||||
hl.bind(mainMod .. " + " .. "mouse:272", hl.dsp.window.drag(), { mouse = true })
|
|
||||||
hl.bind(mainMod .. " + " .. "mouse:273", hl.dsp.window.resize(), { mouse = true })
|
|
||||||
|
|
||||||
-- Change wallpaper
|
|
||||||
hl.bind(mainMod .. " + " .. "W", hl.dsp.exec_cmd("~/.config/wofi/scripts/wallpaper.sh"))
|
|
||||||
hl.bind(mainMod .. " + " .. "L", hl.dsp.exec_cmd("brightnessctl -e4 -n2 set 5%+"), { locked = true })
|
|
||||||
hl.bind(mainMod .. " + " .. "K", hl.dsp.exec_cmd("brightnessctl -e4 -n2 set 5%-"), { locked = true })
|
|
||||||
|
|
||||||
-- Volume
|
|
||||||
hl.bind("F7", hl.dsp.exec_cmd("wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"), { locked = true })
|
|
||||||
hl.bind("F8", hl.dsp.exec_cmd("wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+"), { locked = true })
|
|
||||||
hl.bind("F9", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"), { locked = true })
|
|
||||||
hl.bind("F10", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"), { locked = true })
|
|
||||||
|
|
||||||
-- Playback (requires playerctl)
|
|
||||||
hl.bind("F4", hl.dsp.exec_cmd("playerctl previous"), { locked = true })
|
|
||||||
hl.bind("F5", hl.dsp.exec_cmd("playerctl play-pause"), { locked = true })
|
|
||||||
hl.bind("F6", hl.dsp.exec_cmd("playerctl next"), { locked = true })
|
|
||||||
|
|
||||||
hl.bind("switch:on:Lid Switch", hl.dsp.exec_cmd("hyprctl dispatch dpms off"), { locked = true })
|
|
||||||
hl.bind("switch:off:Lid Switch", hl.dsp.exec_cmd("hyprctl dispatch dpms on"), { locked = true })
|
|
||||||
|
|
||||||
-- My binds
|
|
||||||
hl.bind("SUPER + CTRL" .. " + " .. "left", hl.dsp.window.swap({ direction = "left" }))
|
|
||||||
hl.bind("SUPER + CTRL" .. " + " .. "right", hl.dsp.window.swap({ direction = "right" }))
|
|
||||||
hl.bind("SUPER + SHIFT" .. " + " .. "F", hl.dsp.window.fullscreen())
|
|
||||||
hl.bind("SUPER + CTRL" .. " + " .. "F", hl.dsp.window.fullscreen({mode = "maximized"}))
|
|
||||||
hl.bind("SUPER" .. " + " .. "Q", hl.dsp.window.close())
|
|
||||||
hl.bind("ALT" .. " + " .. "TAB", hl.dsp.window.cycle_next())
|
|
||||||
hl.bind("SUPER" .. " + " .. "F", hl.dsp.exec_cmd(fileManager))
|
|
||||||
hl.bind("SUPER" .. " + " .. "D", hl.dsp.exec_cmd(menu))
|
|
||||||
hl.bind("SUPER" .. " + " .. "B", hl.dsp.exec_cmd(browser))
|
|
||||||
hl.bind(
|
|
||||||
"SUPER + SHIFT + S",
|
|
||||||
hl.dsp.exec_cmd('grim -g "$(slurp -d)" - | wl-copy')
|
|
||||||
)
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
hl.monitor({
|
|
||||||
output = "DP-3",
|
|
||||||
mode = "1920x1080@270",
|
|
||||||
position = "0x0",
|
|
||||||
scale = 1,
|
|
||||||
})
|
|
||||||
|
|
||||||
hl.monitor({
|
|
||||||
output = "DP-1",
|
|
||||||
mode = "1920x1080@144",
|
|
||||||
position = "-1920x0",
|
|
||||||
scale = 1,
|
|
||||||
})
|
|
||||||
14
.config/hypr/workspaces.conf
Normal file
14
.config/hypr/workspaces.conf
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# Workspaces 1–5 on DP-3
|
||||||
|
workspace = 1, monitor:DP-3, default:true
|
||||||
|
workspace = 2, monitor:DP-3
|
||||||
|
workspace = 3, monitor:DP-3
|
||||||
|
workspace = 4, monitor:DP-3
|
||||||
|
workspace = 5, monitor:DP-3
|
||||||
|
|
||||||
|
# Workspaces 6–10 on DP-1
|
||||||
|
workspace = 6, monitor:DP-1, default:true
|
||||||
|
workspace = 7, monitor:DP-1
|
||||||
|
workspace = 8, monitor:DP-1
|
||||||
|
workspace = 9, monitor:DP-1
|
||||||
|
workspace = 10, monitor:DP-1
|
||||||
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
-- Workspaces 1–5 on DP-3
|
|
||||||
hl.workspace_rule({
|
|
||||||
workspace = 1,
|
|
||||||
monitor = "DP-3",
|
|
||||||
})
|
|
||||||
|
|
||||||
hl.workspace_rule({
|
|
||||||
workspace = 2,
|
|
||||||
monitor = "DP-3",
|
|
||||||
})
|
|
||||||
|
|
||||||
hl.workspace_rule({
|
|
||||||
workspace = 3,
|
|
||||||
monitor = "DP-3",
|
|
||||||
})
|
|
||||||
|
|
||||||
hl.workspace_rule({
|
|
||||||
workspace = 4,
|
|
||||||
monitor = "DP-3",
|
|
||||||
})
|
|
||||||
|
|
||||||
hl.workspace_rule({
|
|
||||||
workspace = 5,
|
|
||||||
monitor = "DP-3",
|
|
||||||
})
|
|
||||||
|
|
||||||
-- Workspaces 6–10 on DP-1
|
|
||||||
hl.workspace_rule({
|
|
||||||
workspace = 6,
|
|
||||||
monitor = "DP-1",
|
|
||||||
})
|
|
||||||
|
|
||||||
hl.workspace_rule({
|
|
||||||
workspace = 7,
|
|
||||||
monitor = "DP-1",
|
|
||||||
})
|
|
||||||
|
|
||||||
hl.workspace_rule({
|
|
||||||
workspace = 8,
|
|
||||||
monitor = "DP-1",
|
|
||||||
})
|
|
||||||
|
|
||||||
hl.workspace_rule({
|
|
||||||
workspace = 9,
|
|
||||||
monitor = "DP-1",
|
|
||||||
})
|
|
||||||
|
|
||||||
hl.workspace_rule({
|
|
||||||
workspace = 10,
|
|
||||||
monitor = "DP-1",
|
|
||||||
})
|
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
"label" : "logout",
|
"label" : "logout",
|
||||||
"action" : "hyprctl dispatch 'hl.dsp.exit()'",
|
"action" : "hyprctl dispatch exit",
|
||||||
"text" : "Logout",
|
"text" : "Logout",
|
||||||
"keybind" : "e"
|
"keybind" : "e"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,5 +6,3 @@
|
|||||||
smudge = git-lfs smudge -- %f
|
smudge = git-lfs smudge -- %f
|
||||||
process = git-lfs filter-process
|
process = git-lfs filter-process
|
||||||
required = true
|
required = true
|
||||||
[core]
|
|
||||||
autocrlf = input
|
|
||||||
|
|||||||
32
.zshrc
32
.zshrc
@@ -1,26 +1,24 @@
|
|||||||
# INSTANT PROMPT
|
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
||||||
|
# Initialization code that may require console input (password prompts, [y/n]
|
||||||
|
# confirmations, etc.) must go above this block; everything else may go below.
|
||||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# PATH
|
# Environment for apps
|
||||||
export PATH="$HOME/.local/bin:$HOME/.opencode/bin:$PATH"
|
export QT_QPA_PLATFORMTHEME=qt5ct # for Qt5
|
||||||
|
export QT_QPA_PLATFORMTHEME=qt6ct # for Qt6
|
||||||
|
|
||||||
# ENVIRONMENT
|
|
||||||
export EDITOR=nvim
|
|
||||||
export VISUAL=nvim
|
|
||||||
export QT_QPA_PLATFORMTHEME=qt6ct # Qt6 apps
|
|
||||||
|
|
||||||
# ALIASES
|
|
||||||
alias dotfiles="git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME"
|
alias dotfiles="git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME"
|
||||||
|
|
||||||
# COMPLETION (before plugins that hook into it)
|
|
||||||
autoload -Uz compinit && compinit
|
|
||||||
|
|
||||||
# PLUGINS
|
|
||||||
source ~/powerlevel10k/powerlevel10k.zsh-theme
|
source ~/powerlevel10k/powerlevel10k.zsh-theme
|
||||||
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
|
||||||
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh # keep LAST
|
|
||||||
|
|
||||||
# THEME CONFIG (after theme is loaded)
|
|
||||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||||
|
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
|
|
||||||
|
# Path updates
|
||||||
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
export PATH="$HOME/.opencode/bin:$PATH"
|
||||||
|
|
||||||
|
# Env Variables
|
||||||
|
export EDITOR=nvim
|
||||||
|
export VISUAL=nvim
|
||||||
|
|||||||
Reference in New Issue
Block a user