feat: add wofi configuration

This commit is contained in:
Ivan R. 2024-04-15 17:57:17 +05:00
parent 43aefc7ec4
commit 4c41b70e9e
Signed by: lumin
GPG key ID: E0937DC7CD6D3817
4 changed files with 69 additions and 1 deletions

View file

@ -15,6 +15,6 @@ set $term alacritty
# Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.
set $menu wofi --show run | xargs swaymsg exec --
set $menu wofi --show run --style ~/.config/wofi/style.css | xargs swaymsg exec --
include ~/.config/sway/config.d/*

View file

@ -0,0 +1,50 @@
@define-color bg #282828;
@define-color fg #EBDBB2;
window {
border: none;
border-radius: 0px;
font-family: JetBrains Mono;
font-size: 16px;
}
#input {
border: none;
border-radius: 0px;
padding: 8px 10px;
margin: 0px;
color: #8EC07C;
background-color: #554444;
}
#inner-box {
margin: 0px;
color: @fg;
background-color: @bg;
}
#outer-box {
margin: 0px;
background-color: @bg;
border-radius: 0px;
}
#selected {
background-color: #608787;
}
#entry {
padding: 0px;
margin: 0px;
background-color: @bg;
}
#scroll {
margin: 5px;
background-color: @bg;
}
#text {
margin: 0px;
padding: 2px 2px 2px 10px;
}

View file

@ -2,3 +2,5 @@
import_tasks: sway.yml
- name: Waybar
import_tasks: waybar.yml
- name: Wofi
import_tasks: wofi.yml

View file

@ -0,0 +1,16 @@
- name: Install wofi
become: true
ansible.builtin.apt:
pkg:
- wofi
- fonts-jetbrains-mono
- name: Create wofi config dir
ansible.builtin.file:
path: "{{ ansible_env.HOME }}/.config/wofi"
state: directory
mode: '1770'
- name: Copy wofi config
ansible.builtin.copy:
src: files/wofi.css
dest: "{{ ansible_env.HOME }}/.config/wofi/style.css"
mode: '0660'