Compare commits
No commits in common. "283e551b1d1510bc4a4a5ef71575f644e817b072" and "36a227e36867b535c2593f6ace10cfaa18356f3d" have entirely different histories.
283e551b1d
...
36a227e368
9 changed files with 30 additions and 86 deletions
|
@ -1,4 +0,0 @@
|
||||||
- name: Media
|
|
||||||
hosts: odhosts
|
|
||||||
roles:
|
|
||||||
- media
|
|
23
multimedia.yml
Normal file
23
multimedia.yml
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
- name: Multimedia
|
||||||
|
hosts: odhosts
|
||||||
|
tasks:
|
||||||
|
- name: Install video/audio players
|
||||||
|
become: true
|
||||||
|
ansible.builtin.apt:
|
||||||
|
pkg:
|
||||||
|
- mpv
|
||||||
|
- haruna
|
||||||
|
- vlc
|
||||||
|
- name: Install image viewers and editors
|
||||||
|
become: true
|
||||||
|
ansible.builtin.apt:
|
||||||
|
pkg:
|
||||||
|
- gwenview
|
||||||
|
- gimp
|
||||||
|
- inkscape
|
||||||
|
- name: Install image/video processing software
|
||||||
|
become: true
|
||||||
|
ansible.builtin.apt:
|
||||||
|
pkg:
|
||||||
|
- imagemagick
|
||||||
|
- ffmpeg
|
|
@ -17,6 +17,4 @@ set $term alacritty
|
||||||
# on the original workspace that the command was run on.
|
# on the original workspace that the command was run on.
|
||||||
set $menu wofi --show run --style ~/.config/wofi/style.css | xargs swaymsg exec --
|
set $menu wofi --show run --style ~/.config/wofi/style.css | xargs swaymsg exec --
|
||||||
|
|
||||||
exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
|
||||||
|
|
||||||
include ~/.config/sway/config.d/*
|
include ~/.config/sway/config.d/*
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
# Don't start in fullscreen mode by default.
|
|
||||||
fs=no
|
|
||||||
|
|
||||||
# Enable hardware decoding if available. Often, this does not work with all
|
|
||||||
# video outputs, but should work well with default settings on most systems.
|
|
||||||
# If performance or energy usage is an issue, forcing the vdpau or vaapi VOs
|
|
||||||
# may or may not help.
|
|
||||||
hwdec=auto
|
|
||||||
|
|
||||||
# Display Russian subtitles if available.
|
|
||||||
slang=ru
|
|
||||||
# Enable fuzzy searching.
|
|
||||||
sub-auto=fuzzy
|
|
||||||
|
|
||||||
# Play Japanese audio if available, fall back to English and Russian otherwise.
|
|
||||||
alang=en,jp,ru
|
|
|
@ -1,11 +0,0 @@
|
||||||
- name: Install VA-API and VDPAU
|
|
||||||
become: true
|
|
||||||
ansible.builtin.apt:
|
|
||||||
pkg:
|
|
||||||
- mesa-va-drivers
|
|
||||||
- vdpau-driver-all
|
|
||||||
- name: Install vulkan drivers
|
|
||||||
become: true
|
|
||||||
ansible.builtin.apt:
|
|
||||||
pkg:
|
|
||||||
- mesa-vulkan-drivers
|
|
|
@ -1,4 +0,0 @@
|
||||||
- name: Hardware acceleration
|
|
||||||
import_tasks: hw-accel.yml
|
|
||||||
- name: MPV
|
|
||||||
import_tasks: mpv.yml
|
|
|
@ -1,15 +0,0 @@
|
||||||
- name: Install mpv
|
|
||||||
become: true
|
|
||||||
ansible.builtin.apt:
|
|
||||||
pkg:
|
|
||||||
- mpv
|
|
||||||
- name: Create mpv config dir
|
|
||||||
ansible.builtin.file:
|
|
||||||
path: "{{ ansible_env.HOME }}/.config/mpv"
|
|
||||||
state: directory
|
|
||||||
mode: '1770'
|
|
||||||
- name: Copy mpv config file
|
|
||||||
ansible.builtin.copy:
|
|
||||||
src: files/mpv.conf
|
|
||||||
dest: "{{ ansible_env.HOME }}/.config/mpv/mpv.conf"
|
|
||||||
mode: '0660'
|
|
|
@ -22,30 +22,3 @@ if [ -d "$HOME/.local/bin" ] ; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export GPG_TTY=$(tty)
|
export GPG_TTY=$(tty)
|
||||||
export QT_QPA_PLATFORMTHEME="qt5ct"
|
|
||||||
|
|
||||||
# Flutter
|
|
||||||
export CHROME_EXECUTABLE="/usr/bin/chromium"
|
|
||||||
export FLUTTER_ROOT="$HOME/flutter/flutter"
|
|
||||||
if [ -d "$FLUTTER_ROOT/bin" ] ; then
|
|
||||||
PATH="$FLUTTER_ROOT/bin:$PATH"
|
|
||||||
fi
|
|
||||||
|
|
||||||
export EDITOR="nvim"
|
|
||||||
|
|
||||||
# Go
|
|
||||||
export GOPATH="$HOME/go"
|
|
||||||
if [ -d "$GOPATH/bin" ] ; then
|
|
||||||
PATH="$GOPATH/bin:$PATH"
|
|
||||||
fi
|
|
||||||
if [ -d "/usr/lib/go-1.22/bin" ] ; then
|
|
||||||
PATH="/usr/lib/go-1.22/bin:$PATH"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rustup
|
|
||||||
if [ -d "$HOME/.cargo" ] ; then
|
|
||||||
. "$HOME/.cargo/env"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Firefox
|
|
||||||
export MOZ_ENABLE_WAYLAND=1
|
|
||||||
|
|
|
@ -20,6 +20,6 @@
|
||||||
mode: '0660'
|
mode: '0660'
|
||||||
- name: Copy bash logout
|
- name: Copy bash logout
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: files/bash_logout.sh
|
src: files/profile.sh
|
||||||
dest: "{{ ansible_env.HOME }}/.bash_logout"
|
dest: "{{ ansible_env.HOME }}/.bash_logout"
|
||||||
mode: '0660'
|
mode: '0660'
|
||||||
|
|
Loading…
Reference in a new issue