mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
Compare commits
6 Commits
hefty-hype
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| d192a25faa | |||
| 0bfade5c36 | |||
| d619ddcd82 | |||
| 3cb611c04e | |||
| f5b2b7548d | |||
| e0f2a34949 |
@@ -16,8 +16,8 @@ listener {
|
||||
|
||||
listener {
|
||||
timeout = 600 # 10mins
|
||||
on-timeout = hyprctl dispatch 'hl.dsp.dpms(false)'
|
||||
on-resume = hyprctl dispatch 'hl.dsp.dpms(true)'
|
||||
on-timeout = hyprctl dispatch 'hl.dsp.dpms({ action = "disable" })'
|
||||
on-resume = hyprctl dispatch 'hl.dsp.dpms({ action = "enable" })'
|
||||
}
|
||||
|
||||
listener {
|
||||
|
||||
@@ -202,12 +202,12 @@ for i = 1, 10 do
|
||||
end, { description = "Window: Send to workspace " .. i })
|
||||
end
|
||||
--# We also use raw keycodes because some keyboard layouts register number keys as different chars. The codes can be verified with `wev`
|
||||
for i = 1, 10 do
|
||||
local numberkey = { 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 }
|
||||
hl.bind("SUPER + ALT + code:" .. numberkey[i], function()
|
||||
hl.dispatch(hl.dsp.window.move({ workspace = workspace_in_group(i), follow = false }))
|
||||
end)
|
||||
end
|
||||
-- for i = 1, 10 do
|
||||
-- local numberkey = { 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 }
|
||||
-- hl.bind("SUPER + ALT + code:" .. numberkey[i], function()
|
||||
-- hl.dispatch(hl.dsp.window.move({ workspace = workspace_in_group(i), follow = false }))
|
||||
-- end)
|
||||
-- end
|
||||
--# keypad numbers
|
||||
for i = 1, 10 do
|
||||
local numpadkey = { 87, 88, 89, 83, 84, 85, 79, 80, 81, 90 }
|
||||
|
||||
@@ -2,11 +2,12 @@ groups=(illogical-impulse)
|
||||
pkgname=illogical-impulse-microtex-git
|
||||
_pkgname=MicroTeX
|
||||
pkgver=r494.0e3707f
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc='MicroTeX for illogical-impulse dotfiles.'
|
||||
#pkgdesc="A dynamic, cross-platform, and embeddable LaTeX rendering library"
|
||||
arch=("x86_64")
|
||||
url="https://github.com/NanoMichael/${_pkgname}"
|
||||
#url="https://github.com/NanoMichael/${_pkgname}"
|
||||
url="https://github.com/end-4/${_pkgname}"
|
||||
license=('MIT')
|
||||
depends=(
|
||||
tinyxml2
|
||||
|
||||
@@ -54,7 +54,7 @@ v remove_deprecated_dependencies
|
||||
|
||||
# Issue #363
|
||||
case $SKIP_SYSUPDATE in
|
||||
true) sleep 0;;
|
||||
true) true;;
|
||||
*) v sudo pacman -Syu;;
|
||||
esac
|
||||
|
||||
@@ -105,7 +105,7 @@ done
|
||||
## Optional dependencies
|
||||
if pacman -Qs ^plasma-browser-integration$ ;then SKIP_PLASMAINTG=true;fi
|
||||
case $SKIP_PLASMAINTG in
|
||||
true) sleep 0;;
|
||||
true) true;;
|
||||
*)
|
||||
if $ask;then
|
||||
echo -e "${STY_YELLOW}[$0]: NOTE: The size of \"plasma-browser-integration\" is ~600 KiB, but if you don't yet have KDE on your system it'll pull an extra ~600MiB of packages.${STY_RST}"
|
||||
|
||||
@@ -50,7 +50,7 @@ fi
|
||||
|
||||
# Update System
|
||||
case $SKIP_SYSUPDATE in
|
||||
true) sleep 0 ;;
|
||||
true) true ;;
|
||||
*) v sudo dnf upgrade --refresh -y ;;
|
||||
esac
|
||||
|
||||
|
||||
@@ -123,6 +123,6 @@ fi
|
||||
# http://stackoverflow.com/questions/45125516
|
||||
export MACHINE_ARCH=$(uname -m)
|
||||
case "${MACHINE_ARCH}" in
|
||||
"x86_64") sleep 0;;
|
||||
"x86_64") true;;
|
||||
*) print_os_group_id_functions+=(print_os_group_id_architecture);;
|
||||
esac
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
# shellcheck shell=bash
|
||||
|
||||
function try { "$@" || sleep 0; }
|
||||
function try { "$@" || true; }
|
||||
function v(){
|
||||
echo -e "####################################################"
|
||||
echo -e "${STY_BLUE}[$0]: Next command:${STY_RST}"
|
||||
|
||||
@@ -31,7 +31,7 @@ printf "\n"
|
||||
pause
|
||||
|
||||
case $ask in
|
||||
false) sleep 0 ;;
|
||||
false) true ;;
|
||||
*)
|
||||
printf "${STY_BLUE}"
|
||||
printf "${STY_BOLD}Do you want to confirm every time before a command executes?${STY_RST}\n"
|
||||
|
||||
@@ -96,7 +96,7 @@ elif [[ "$OS_GROUP_ID" =~ ^(arch|gentoo|fedora)$ ]]; then
|
||||
printf "${STY_RED}Still proceed?${STY_RST}\n"
|
||||
read -p "[y/N]: " p
|
||||
case "$p" in
|
||||
[yY])sleep 0;;
|
||||
[yY])true;;
|
||||
*)echo "Aborting...";exit 1;;
|
||||
esac
|
||||
fi
|
||||
|
||||
@@ -154,7 +154,7 @@ get_next_backup_number() {
|
||||
|
||||
# Run user preference wizard
|
||||
case "$ask" in
|
||||
false) sleep 0 ;;
|
||||
false) true ;;
|
||||
*) wizard_update_preferences ;;
|
||||
esac
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#####################################################################################
|
||||
# MISC (For dots/.config/* but not quickshell, not fish, not Hyprland, not fontconfig)
|
||||
case "${SKIP_MISCCONF}" in
|
||||
true) sleep 0;;
|
||||
true) true;;
|
||||
*)
|
||||
for i in $(find dots/.config/ -mindepth 1 -maxdepth 1 ! -name 'quickshell' ! -name 'fish' ! -name 'hypr' ! -name 'fontconfig' -exec basename {} \;); do
|
||||
# i="dots/.config/$i"
|
||||
@@ -20,7 +20,7 @@ case "${SKIP_MISCCONF}" in
|
||||
esac
|
||||
|
||||
case "${SKIP_QUICKSHELL}" in
|
||||
true) sleep 0;;
|
||||
true) true;;
|
||||
*)
|
||||
# Should overwriting the whole directory not only ~/.config/quickshell/ii/ cuz https://github.com/end-4/dots-hyprland/issues/2294#issuecomment-3448671064
|
||||
install_dir__sync dots/.config/quickshell "$XDG_CONFIG_HOME"/quickshell
|
||||
@@ -28,14 +28,14 @@ case "${SKIP_QUICKSHELL}" in
|
||||
esac
|
||||
|
||||
case "${SKIP_FISH}" in
|
||||
true) sleep 0;;
|
||||
true) true;;
|
||||
*)
|
||||
install_dir__sync_exclude dots/.config/fish "$XDG_CONFIG_HOME"/fish "conf.d"
|
||||
;;
|
||||
esac
|
||||
|
||||
case "${SKIP_FONTCONFIG}" in
|
||||
true) sleep 0;;
|
||||
true) true;;
|
||||
*)
|
||||
case "$FONTSET_DIR_NAME" in
|
||||
"") install_dir__sync dots/.config/fontconfig "$XDG_CONFIG_HOME"/fontconfig ;;
|
||||
@@ -45,7 +45,7 @@ esac
|
||||
|
||||
# For Hyprland
|
||||
case "${SKIP_HYPRLAND}" in
|
||||
true) sleep 0;;
|
||||
true) true;;
|
||||
*)
|
||||
install_dir__sync dots/.config/hypr/hyprland "$XDG_CONFIG_HOME"/hypr/hyprland
|
||||
if [ -f "${XDG_CONFIG_HOME}/hypr/hyprland.conf" ]; then
|
||||
@@ -57,7 +57,7 @@ case "${SKIP_HYPRLAND}" in
|
||||
done
|
||||
for i in hyprland.lua ; do
|
||||
case "${SKIP_HYPRLAND_ENTRY}" in
|
||||
true) sleep 0;;
|
||||
true) true;;
|
||||
*) install_file "dots/.config/hypr/$i" "${XDG_CONFIG_HOME}/hypr/$i" ;;
|
||||
esac
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user