diff options
| author | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2023-07-16 23:30:14 +0100 |
|---|---|---|
| committer | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2023-07-16 23:30:28 +0100 |
| commit | e106fc0cc2c604101ceb8c0385334c4a31575dd9 (patch) | |
| tree | a2a630309dfdb0b47880e339c87c75a41de6343a | |
| parent | 727770628ebc8a23ce9674317edc99ecaf997040 (diff) | |
Replace rofi with wofi
| -rw-r--r-- | info.yml | 26 | ||||
| -rw-r--r-- | sway/config | 2 | ||||
| -rw-r--r-- | wofi/config | 9 | ||||
| -rw-r--r-- | wofi/style.css | 45 |
4 files changed, 76 insertions, 6 deletions
@@ -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; +} |
