diff --git a/roles/freebsd/tasks/packages-cli.yml b/roles/freebsd/tasks/packages-cli.yml index 1da2f6e..fc542bf 100644 --- a/roles/freebsd/tasks/packages-cli.yml +++ b/roles/freebsd/tasks/packages-cli.yml @@ -27,6 +27,7 @@ packages: - git - gnupg + - mc - nmap - sqlite3 - tmux diff --git a/roles/freebsd/tasks/packages-gui.yml b/roles/freebsd/tasks/packages-gui.yml index 804d330..1687e33 100644 --- a/roles/freebsd/tasks/packages-gui.yml +++ b/roles/freebsd/tasks/packages-gui.yml @@ -29,6 +29,7 @@ - dejavu - firefox - git-gui + - icewm - keepassxc - tigervnc-viewer - xlockmore diff --git a/roles/home-gui/files/xsession-freebsd b/roles/home-gui/files/xsession-freebsd new file mode 100644 index 0000000..82102d0 --- /dev/null +++ b/roles/home-gui/files/xsession-freebsd @@ -0,0 +1,7 @@ +#!/bin/sh +. $HOME/.profile +xrdb -load $HOME/.Xresources +xsetroot -solid '#101010' +backlight 10 +xkbcomp -w0 -I"${XDG_CONFIG_HOME:-$HOME/.config}/xkb" -R"${XDG_CONFIG_HOME:-$HOME/.config}/xkb" keymap/acp $DISPLAY +exec /usr/local/bin/icewm-session diff --git a/roles/home-gui/tasks/dotfiles.yml b/roles/home-gui/tasks/dotfiles.yml index 4c1d857..32a07a5 100644 --- a/roles/home-gui/tasks/dotfiles.yml +++ b/roles/home-gui/tasks/dotfiles.yml @@ -30,6 +30,11 @@ src: xsession-netbsd dest: "{{ ansible_env.HOME }}/.xsession" when: ansible_system == "NetBSD" +- name: Create FreeBSD $HOME/.xsession + ansible.builtin.copy: + src: xsession-freebsd + dest: "{{ ansible_env.HOME }}/.xsession" + when: ansible_system == "FreeBSD" - name: Create NetBSD $HOME/.xinitrc ansible.builtin.file: src: ".xsession"