feat: add gammastep systemd service and bind cliphist and the later to swaysession
This commit is contained in:
parent
5ccf9f2247
commit
a75a2cc1bc
6 changed files with 33 additions and 8 deletions
|
@ -1 +0,0 @@
|
|||
{"native": ["util-linux", "man-pages", "less", "git", "tmux", "screen", "openssh", "base-devel", "mosh", "python-pipx", "protobuf", "libosmium", "expat", "cups", "acpi", "smartmontools", "lshw", "dmidecode", "usbutils", "brightnessctl", "lm_sensors", "sshfs", "unbound", "bluez", "bluez-utils", "bat", "plantuml", "fzf", "ripgrep", "fd", "moreutils", "rlwrap", "pv", "at", "ansible", "ansible-lint", "strace", "jo", "jq", "fx", "yq", "xsv", "tesseract", "tesseract-data-fra", "tesseract-data-eng", "hunspell", "hunspell-en_us", "hunspell-fr", "s-nail", "figlet", "cowsay", "fortune-mod", "unzip", "unoconv", "pandoc", "libqalculate", "tig", "jwt-cli", "curl", "wget", "miniserve", "mitmproxy", "trurl", "bind", "nmap", "wireguard-tools", "tcpdump", "socat", "rsync", "rclone", "whois", "traceroute", "nload", "lsof", "w3m", "lf", "siege", "htop", "scrcpy", "kdeconnect", "python-faker", "ffmpeg", "imagemagick", "mpv", "yt-dlp", "zbar", "zint", "qrencode", "gopass", "qemu-base", "docker", "sqlite", "vim", "helix", "gcc", "make", "cmake", "libxkbcommon", "raylib", "gopls", "rust-analyzer", "redis", "python-pip", "python-poetry", "ruff", "lua", "hugo", "fish", "zoxide", "dash", "pavucontrol", "pulsemixer", "wev", "wtype", "wl-clipboard", "wofi", "sway", "swaylock", "swayidle", "swayimg", "i3status-rust", "dunst", "grim", "slurp", "cliphist", "nautilus", "cheese", "firefox-developer-edition", "torbrowser-launcher", "alacritty", "thunderbird", "signal-desktop", "zathura", "zathura-pdf-poppler", "zathura-djvu", "xournalpp", "nsxiv", "gthumb", "krita", "inkscape", "tenacity", "songrec", "cheese", "celluloid", "vlc", "obs-studio", "openscad", "blender", "libreoffice-still", "qgis", "dbeaver", "remmina", "ttf-roboto", "ttf-opensans", "ttf-liberation", "ttf-font-awesome", "ttf-fira-code", "ttf-firacode-nerd"], "aur": ["xkb-qwerty-fr", "bluetuith", "boxes", "gitwatch-git", "litecli", "fish-fzf", "shellcheck-bin", "hyprpicker", "brave-bin", "mepo", "screen-message", "ttf-sourcesanspro", "ttf-bona-nova"]}
|
|
@ -18,7 +18,7 @@ ln -s $workdir $base/vm_files
|
|||
ansible-playbook $base/workstation.yaml \
|
||||
-v \
|
||||
-u "mbess" \
|
||||
-i "inventory.yml" \
|
||||
-i "inventory.yaml" \
|
||||
--ssh-extra-args "-o ControlMaster=auto -o ControlPersist=60s -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 22 -i ./master_sshkey" \
|
||||
--extra-vars "@$workdir/vars.yaml" \
|
||||
--extra-vars "ansible_sudo_pass=pidell43"
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
[Unit]
|
||||
Description=Cliphist to keep history of clipboard (wayland only)
|
||||
BindsTo=sway-session.target
|
||||
Description=Cliphist, a history keeper of wayland clipboard daemon
|
||||
PartOf=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart={{ dots }}/.dots/scripts/wayland/cliphist_daemon.sh
|
||||
ExecStart=wl-paste --watch cliphist store
|
||||
|
||||
[Install]
|
||||
WantedBy=sway-session.target
|
||||
|
||||
|
||||
|
|
10
ansible/templates/systemd/user/gammastep.service
Normal file
10
ansible/templates/systemd/user/gammastep.service
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Gammastep, a color temperature auto shifter daemon
|
||||
PartOf=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=gammastep -l 49.1:1.33 -t 5000K:2500K
|
||||
|
||||
[Install]
|
||||
WantedBy=sway-session.target
|
|
@ -5,7 +5,7 @@ StartLimitBurst=8
|
|||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/sshfs -f {{ user }}@srv06.rem:/warmd/mbess {{ home }}/.mnt/warmd -o reconnect,ServerAliveInterval=30,ServerAliveCountMax=5
|
||||
ExecStart=/usr/bin/sshfs -f {{ user }}@srv06.rem:/warmd/mbess {{ home }}/.mnt/srv06/warmd/mbess -o reconnect,ServerAliveInterval=30,ServerAliveCountMax=5
|
||||
Restart=always
|
||||
StandardOutput=journal
|
||||
RestartSec=20
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
timer: true
|
||||
- name: "cliphist"
|
||||
enabled: true
|
||||
- name: "gammastep"
|
||||
enabled: true
|
||||
config_files:
|
||||
- dir: fish
|
||||
name: config.fish
|
||||
|
@ -231,6 +233,11 @@
|
|||
path: "{{ home }}/.mnt"
|
||||
state: directory
|
||||
recurse: true
|
||||
- name: Setup mount point folder for srv06
|
||||
file:
|
||||
path: "{{ home }}/.mnt/srv06/warmd/mbess"
|
||||
state: directory
|
||||
recurse: true
|
||||
- name: Setup mount point folder
|
||||
file:
|
||||
path: "{{ home }}/.mnt/etb"
|
||||
|
@ -243,7 +250,17 @@
|
|||
recurse: true
|
||||
- name: Setup quick notes folder
|
||||
file:
|
||||
path: "{{ home }}/.hidden/quick_notes/"
|
||||
path: "{{ home }}/quick/notes"
|
||||
state: directory
|
||||
recurse: true
|
||||
- name: Setup quick docs folder
|
||||
file:
|
||||
path: "{{ home }}/quick/docs"
|
||||
state: directory
|
||||
recurse: true
|
||||
- name: Setup quick screenshot folder
|
||||
file:
|
||||
path: "{{ home }}/quick/screenshots"
|
||||
state: directory
|
||||
recurse: true
|
||||
- name: Setup temporary secrets folder (cookies jar)
|
||||
|
|
Loading…
Reference in a new issue