Configuring
This commit is contained in:
@@ -28,7 +28,7 @@ function GetEntries()
|
|||||||
|
|
||||||
-- Directories to search
|
-- Directories to search
|
||||||
local dirs = {
|
local dirs = {
|
||||||
home .. "/Tower/Library/Pictures/Wallpapers/3840x2160",
|
home .. "/Tower/Library/Pictures/Wallpapers/7680x2160",
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Track added files to avoid duplicates
|
-- Track added files to avoid duplicates
|
||||||
@@ -36,8 +36,9 @@ function GetEntries()
|
|||||||
|
|
||||||
for _, wallpaper_dir in ipairs(dirs) do
|
for _, wallpaper_dir in ipairs(dirs) do
|
||||||
local handle = io.popen(
|
local handle = io.popen(
|
||||||
"find " .. ShellEscape(wallpaper_dir)
|
"find "
|
||||||
.. " -maxdepth 1 -type f \\( -name '*.jpg' -o -name '*.jpeg' -o -name '*.png' -o -name '*.gif' -o -name '*.bmp' -o -name '*.webp' \\) 2>/dev/null | sort"
|
.. ShellEscape(wallpaper_dir)
|
||||||
|
.. " -maxdepth 1 -type f \\( -name '*.jpg' -o -name '*.jpeg' -o -name '*.png' -o -name '*.gif' -o -name '*.bmp' -o -name '*.webp' \\) 2>/dev/null | sort"
|
||||||
)
|
)
|
||||||
if handle then
|
if handle then
|
||||||
for background in handle:lines() do
|
for background in handle:lines() do
|
||||||
|
|||||||
@@ -36,23 +36,20 @@ bindld = SUPER, XF86AudioMute, Switch audio output, exec, station-cmd-audio-swit
|
|||||||
bindd = SUPER, C, Universal copy, sendshortcut, CTRL, Insert,
|
bindd = SUPER, C, Universal copy, sendshortcut, CTRL, Insert,
|
||||||
bindd = SUPER, V, Universal paste, sendshortcut, SHIFT, Insert,
|
bindd = SUPER, V, Universal paste, sendshortcut, SHIFT, Insert,
|
||||||
bindd = SUPER, X, Universal cut, sendshortcut, CTRL, X,
|
bindd = SUPER, X, Universal cut, sendshortcut, CTRL, X,
|
||||||
|
bindd = SUPER, A, Universal cut, sendshortcut, CTRL, A,
|
||||||
bindd = SUPER CTRL, V, Clipboard manager, exec, station-launch-walker -m clipboard
|
bindd = SUPER CTRL, V, Clipboard manager, exec, station-launch-walker -m clipboard
|
||||||
|
|
||||||
# Close windows
|
# Close windows
|
||||||
bindd = SUPER, Q, Close window, killactive,
|
bindd = SUPER, Q, Close window, killactive,
|
||||||
bindd = CTRL ALT, DELETE, Close all windows, exec, station-hyprland-window-close-all
|
|
||||||
|
|
||||||
# ==========================
|
# ==========================
|
||||||
# Tiling
|
# Tiling
|
||||||
# ==========================
|
# ==========================
|
||||||
bindd = SUPER CTRL, J, Toggle window split, togglesplit, # dwindle
|
|
||||||
bindd = SUPER, P, Pseudo window, pseudo, # dwindle
|
bindd = SUPER, P, Pseudo window, pseudo, # dwindle
|
||||||
bindd = SUPER, T, Toggle window floating/tiling, togglefloating,
|
|
||||||
bindd = SUPER, F, Full screen, fullscreen, 0
|
bindd = SUPER, F, Full screen, fullscreen, 0
|
||||||
bindd = SUPER CTRL, F, Tiled full screen, fullscreenstate, 0 2
|
bindd = SUPER CTRL, F, Full width, fullscreen, 1
|
||||||
bindd = SUPER ALT, F, Full width, fullscreen, 1
|
bindd = SUPER, T, Pop window out (float & pin), exec, station-hyprland-window-pop
|
||||||
bindd = SUPER, O, Pop window out (float & pin), exec, station-hyprland-window-pop
|
bindd = SUPER CTRL, L, Toggle workspace layout, exec, station-hyprland-workspace-layout-toggle
|
||||||
# bindd = SUPER CTRL, L, Toggle workspace layout, exec, station-hyprland-workspace-layout-toggle
|
|
||||||
|
|
||||||
# Move focus with SUPER + arrow keys
|
# Move focus with SUPER + arrow keys
|
||||||
bindd = SUPER, H, Move window focus left, movefocus, l
|
bindd = SUPER, H, Move window focus left, movefocus, l
|
||||||
@@ -116,8 +113,6 @@ bindd = SUPER ALT, code:14, Switch to group window 5, changegroupactive, 5
|
|||||||
# ==========================
|
# ==========================
|
||||||
# Utilities
|
# Utilities
|
||||||
# ==========================
|
# ==========================
|
||||||
bindd = SUPER, Slash, Cycle monitor scaling, exec, station-hyprland-monitor-scaling-cycle
|
|
||||||
|
|
||||||
# Menus
|
# Menus
|
||||||
bindd = SUPER, SPACE, Launch apps, exec, station-launch-walker
|
bindd = SUPER, SPACE, Launch apps, exec, station-launch-walker
|
||||||
bindd = SUPER CTRL, E, Emoji picker, exec, station-launch-walker -m symbols
|
bindd = SUPER CTRL, E, Emoji picker, exec, station-launch-walker -m symbols
|
||||||
@@ -175,7 +170,7 @@ bindd = SUPER CTRL, Z, Zoom in, exec, hyprctl keyword cursor:zoom_factor $(hyprc
|
|||||||
bindd = SUPER CTRL ALT, Z, Reset zoom, exec, hyprctl keyword cursor:zoom_factor 1
|
bindd = SUPER CTRL ALT, Z, Reset zoom, exec, hyprctl keyword cursor:zoom_factor 1
|
||||||
|
|
||||||
# Lock system
|
# Lock system
|
||||||
bindd = SUPER CTRL, L, Lock system, exec, station-lock-screen
|
# bindd = SUPER CTRL, L, Lock system, exec, station-lock-screen
|
||||||
|
|
||||||
# ==========================
|
# ==========================
|
||||||
# Applications
|
# Applications
|
||||||
|
|||||||
@@ -8,6 +8,18 @@ profile {
|
|||||||
# and use the following:
|
# and use the following:
|
||||||
profile {
|
profile {
|
||||||
time = 20:00
|
time = 20:00
|
||||||
temperature = 1000
|
temperature = 4000
|
||||||
gamma = 0.3
|
gamma = 0.8
|
||||||
|
}
|
||||||
|
|
||||||
|
profile {
|
||||||
|
time = 21:00
|
||||||
|
temperature = 3000
|
||||||
|
gamma = 0.5
|
||||||
|
}
|
||||||
|
|
||||||
|
profile {
|
||||||
|
time = 22:00
|
||||||
|
temperature = 1000
|
||||||
|
gamma = 0.4
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
indent_type="Spaces"
|
||||||
|
indent_width=4
|
||||||
@@ -7,6 +7,8 @@ CURRENT_LAYOUT=$(hyprctl activeworkspace -j | jq -r '.tiledLayout')
|
|||||||
|
|
||||||
case "$CURRENT_LAYOUT" in
|
case "$CURRENT_LAYOUT" in
|
||||||
dwindle) NEW_LAYOUT=scrolling ;;
|
dwindle) NEW_LAYOUT=scrolling ;;
|
||||||
|
scrolling) NEW_LAYOUT=monocle ;;
|
||||||
|
monocle) NEW_LAYOUT=master ;;
|
||||||
*) NEW_LAYOUT=dwindle ;;
|
*) NEW_LAYOUT=dwindle ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|||||||
@@ -263,6 +263,8 @@ go_to_menu() {
|
|||||||
*setup*) show_setup_menu ;;
|
*setup*) show_setup_menu ;;
|
||||||
*update*) show_update_menu ;;
|
*update*) show_update_menu ;;
|
||||||
*system*) show_system_menu ;;
|
*system*) show_system_menu ;;
|
||||||
|
*capture*) show_capture_menu ;;
|
||||||
|
*toggle*) show_toggle_menu ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user