clipboard history + no aur

This commit is contained in:
2026-06-20 08:38:19 -05:00
parent c882436498
commit 5e9e9f8599
4 changed files with 19 additions and 9 deletions
+3 -3
View File
@@ -28,6 +28,6 @@ let flatpak_xdg = [
$env.XDG_DATA_DIRS = ($base_xdg | append $flatpak_xdg | str join ":") $env.XDG_DATA_DIRS = ($base_xdg | append $flatpak_xdg | str join ":")
$env.PYENV_ROOT = ($env.HOME | path join ".pyenv") $env.PATH = ( $env.PATH | split row (char env_sep) | prepend "/opt/bin")
$env.PATH = ($env.PATH | split row (char env_sep) | prepend $'($env.PYENV_ROOT)/bin' | prepend $'($env.PYENV_ROOT)/shims')
alias sway = dbus-run-session sway alias sway = dbus-run-session sway
+1 -1
View File
@@ -130,7 +130,7 @@ def take_screenshot(output_path):
try: try:
time.sleep(0.2) time.sleep(0.2)
freeze = subprocess.Popen(["wayfreeze"]) freeze = subprocess.Popen(["/opt/bin/wayfreeze"])
time.sleep(0.1) time.sleep(0.1)
try: try:
+4 -1
View File
@@ -30,7 +30,7 @@ def apply_ui_and_environment(sway):
sway.cmd("exec_always gsettings set org.gnome.desktop.interface cursor-size '24'") sway.cmd("exec_always gsettings set org.gnome.desktop.interface cursor-size '24'")
sway.cmd("exec_always gsettings set org.gnome.desktop.interface font-name 'Noto Sans Mono 10'") sway.cmd("exec_always gsettings set org.gnome.desktop.interface font-name 'Noto Sans Mono 10'")
sway.cmd("exec_always gsettings set org.gnome.desktop.interface.desktop-app-info-default-handler 'librewolf.desktop'") sway.cmd("exec_always gsettings set org.gnome.desktop.interface.desktop-app-info-default-handler 'librewolf.desktop'")
run_sh("wl-paste --watch cliphist store")
run_sh("/usr/lib/xdg-desktop-portal -r") run_sh("/usr/lib/xdg-desktop-portal -r")
sway.cmd("setenv GTK_USE_PORTAL 0") sway.cmd("setenv GTK_USE_PORTAL 0")
sway.cmd("setenv XDG_CURRENT_DESKTOP sway") sway.cmd("setenv XDG_CURRENT_DESKTOP sway")
@@ -115,6 +115,9 @@ def bind_keys(sway):
@assign_key(f"{mod}+r") @assign_key(f"{mod}+r")
def open_menu(): return "exec wofi --show drun --width 400 --height 500 --layer overlay --location 1" def open_menu(): return "exec wofi --show drun --width 400 --height 500 --layer overlay --location 1"
@assign_key(f"{mod}+o")
def open_menu(): return "exec cliphist list | wofi -S dmenu --width 400 --height 500 --layer overlay --location 3 | cliphist decode | wl-copy"
@assign_key("Ctrl+Shift+Alt+Mod4+L") @assign_key("Ctrl+Shift+Alt+Mod4+L")
def open_linkedin(): return "exec flatpak run io.github.ungoogled_software.ungoogled_chromium https://www.linkedin.com" def open_linkedin(): return "exec flatpak run io.github.ungoogled_software.ungoogled_chromium https://www.linkedin.com"
+11 -4
View File
@@ -1,14 +1,13 @@
default: default:
just --list just --list
init-arch: install-aur install-arch stow init-arch: install-arch stow build-wayfreeze
install-arch: install-arch:
@echo "installing pkgs" @echo "installing pkgs"
sudo pacman -S --needed --noconfirm - < packages-arch sudo pacman -S --needed --noconfirm - < packages-arch
@echo "Done. Moving onto aur..."
yay -S --noconfirm wayfreeze
# optional now. Stinkers in the aur scare me!
install-aur: install-aur:
sudo pacman -S --noconfirm debugedit fakeroot go make gcc sudo pacman -S --noconfirm debugedit fakeroot go make gcc
git clone https://aur.archlinux.org/yay.git /tmp/yay git clone https://aur.archlinux.org/yay.git /tmp/yay
@@ -36,4 +35,12 @@ setup-displays:
mv mute ~/.config/ mv mute ~/.config/
restow: restow:
stow -R -t ~/.config config stow -R -t ~/.config config
# builds
build-wayfreeze:
rm -rf /tmp/wayfreeze
git clone https://github.com/Jappie3/wayfreeze.git /tmp/wayfreeze
cd /tmp/wayfreeze && cargo build --release
sudo mv /tmp/wayfreeze/target/release/wayfreeze /opt/bin/wayfreeze