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 \
|
ansible-playbook $base/workstation.yaml \
|
||||||
-v \
|
-v \
|
||||||
-u "mbess" \
|
-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" \
|
--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 "@$workdir/vars.yaml" \
|
||||||
--extra-vars "ansible_sudo_pass=pidell43"
|
--extra-vars "ansible_sudo_pass=pidell43"
|
||||||
|
|
|
@ -1,12 +1,11 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Cliphist to keep history of clipboard (wayland only)
|
Description=Cliphist, a history keeper of wayland clipboard daemon
|
||||||
BindsTo=sway-session.target
|
PartOf=graphical-session.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart={{ dots }}/.dots/scripts/wayland/cliphist_daemon.sh
|
ExecStart=wl-paste --watch cliphist store
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=sway-session.target
|
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]
|
[Service]
|
||||||
Type=simple
|
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
|
Restart=always
|
||||||
StandardOutput=journal
|
StandardOutput=journal
|
||||||
RestartSec=20
|
RestartSec=20
|
||||||
|
|
|
@ -13,6 +13,8 @@
|
||||||
timer: true
|
timer: true
|
||||||
- name: "cliphist"
|
- name: "cliphist"
|
||||||
enabled: true
|
enabled: true
|
||||||
|
- name: "gammastep"
|
||||||
|
enabled: true
|
||||||
config_files:
|
config_files:
|
||||||
- dir: fish
|
- dir: fish
|
||||||
name: config.fish
|
name: config.fish
|
||||||
|
@ -231,6 +233,11 @@
|
||||||
path: "{{ home }}/.mnt"
|
path: "{{ home }}/.mnt"
|
||||||
state: directory
|
state: directory
|
||||||
recurse: true
|
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
|
- name: Setup mount point folder
|
||||||
file:
|
file:
|
||||||
path: "{{ home }}/.mnt/etb"
|
path: "{{ home }}/.mnt/etb"
|
||||||
|
@ -243,7 +250,17 @@
|
||||||
recurse: true
|
recurse: true
|
||||||
- name: Setup quick notes folder
|
- name: Setup quick notes folder
|
||||||
file:
|
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
|
state: directory
|
||||||
recurse: true
|
recurse: true
|
||||||
- name: Setup temporary secrets folder (cookies jar)
|
- name: Setup temporary secrets folder (cookies jar)
|
||||||
|
|
Loading…
Reference in a new issue