From e106fc0cc2c604101ceb8c0385334c4a31575dd9 Mon Sep 17 00:00:00 2001 From: LMBishop <13875753+LMBishop@users.noreply.github.com> Date: Sun, 16 Jul 2023 23:30:14 +0100 Subject: Replace rofi with wofi --- info.yml | 26 +++++++++++++++++++++----- sway/config | 2 +- wofi/config | 9 +++++++++ wofi/style.css | 45 +++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 76 insertions(+), 6 deletions(-) create mode 100644 wofi/config create mode 100644 wofi/style.css diff --git a/info.yml b/info.yml index 6d6db08..503cf6d 100644 --- a/info.yml +++ b/info.yml @@ -149,17 +149,33 @@ sections: to: ~/.config/mako/config # Copy rofi configurations - configure-rofi: - directory: "rofi" + #configure-rofi: + # directory: "rofi" + # tags: ["config"] + # preconditions: + # os: "linux" + # steps: + # - ==: run + # command: "mkdir -p ~/.config/rofi" + # - ==: link + # from: config.rasi + # to: ~/.config/rofi/config.rasi + + # Copy wofi configurations + configure-wofi: + directory: "wofi" tags: ["config"] preconditions: os: "linux" steps: - ==: run - command: "mkdir -p ~/.config/rofi" + command: "mkdir -p ~/.config/wofi" + - ==: link + from: config + to: ~/.config/wofi/config - ==: link - from: config.rasi - to: ~/.config/rofi/config.rasi + from: style.css + to: ~/.config/wofi/style.css # Copy sway configurations configure-sway: diff --git a/sway/config b/sway/config index 020ac4c..eb80318 100644 --- a/sway/config +++ b/sway/config @@ -8,7 +8,7 @@ set $down j set $up k set $right l set $term alacritty -set $menu rofi -font "Iosevka Nerd Font 12" -show combi | xargs swaymsg exec +set $menu wofi | xargs swaymsg exec # Colours set $cl_high #434e59 diff --git a/wofi/config b/wofi/config new file mode 100644 index 0000000..395ab21 --- /dev/null +++ b/wofi/config @@ -0,0 +1,9 @@ +show=drun +allow_images=true +insensitive=true +dynamic_lines=true +no_actions=true +location=2 + +drun-display_generic=true +drun-print_command=true diff --git a/wofi/style.css b/wofi/style.css new file mode 100644 index 0000000..5e10303 --- /dev/null +++ b/wofi/style.css @@ -0,0 +1,45 @@ +* { + outline-style: none; + outline: none; +} + +window { + margin: 5px; + font-family: Iosevka Nerd Font; + background-color: transparent; +} + +#outer-box { + border: 3px solid #434e59; + background-color: transparent; +} + +#input { + border: none; + background-color: #434e59; + opacity: 1; + border-radius: 0; +} + +#scroll { + opacity: 0.95; + background-color: #27292b; +} + +#entry { + padding: 5px; + border-left: 3px solid transparent; + border-right: 3px solid transparent; +} + +#entry:selected { + background-color: rgba(96, 111, 128, 0.2); + font-weight: 700; + font-style: italic; + border-left: 3px solid #434e59; + border-right: 3px solid #434e59; +} + +#img { + margin-right: 5px; +} -- cgit v1.2.3-70-g09d2