From 8481bc99e6a7d4a1f75bba2b2381d2f5728276ae Mon Sep 17 00:00:00 2001 From: Gabriel Date: Fri, 9 Sep 2022 12:55:45 +0200 Subject: [PATCH] modified rofi stuff --- common.nix | 2 +- modules/desktop.nix | 4 +- other/rofi-themes/applauncher.rasi | 78 ++++++++++++++++++++++++++++++ 3 files changed, 81 insertions(+), 3 deletions(-) create mode 100644 other/rofi-themes/applauncher.rasi diff --git a/common.nix b/common.nix index 9bccf2c..c5a406c 100644 --- a/common.nix +++ b/common.nix @@ -106,7 +106,7 @@ with builtins; jetbrains.webstorm jetbrains.datagrip jetbrains.idea-ultimate jetbrains.pycharm-professional nix-prefetch-scripts audacity rustup easyeffects virt-manager evince direnv nix-direnv python3Full - fzf openrgb krita gimp inkscape blender virglrenderer ddccontrol-db + fzf openrgb krita gmic-qt-krita gimp-with-plugins inkscape-with-extensions blender virglrenderer ddccontrol-db glab firebird-emu discord obs-studio kdenlive diff --git a/modules/desktop.nix b/modules/desktop.nix index 78545b7..9873ba0 100644 --- a/modules/desktop.nix +++ b/modules/desktop.nix @@ -108,9 +108,9 @@ in with lib; { "${mod}+a" = "exec flameshot screen -c -p $HOME/Pictures/screenshots"; "${mod}+t" = "exec ocr-screenshot.sh"; # rofi fuckery - "${mod}+d" = "exec --no-startup-id rofi -show drun"; + "${mod}+d" = "exec --no-startup-id rofi -show drun -theme ${../other/rofi-themes/applauncher.rasi}"; "${mod}+space" = "exec --no-startup-id -show window"; - "${mod}+i" = "exec --no-startup-id rofimoji -f alchemical_symbols emojis braille_patterns box_drawing chess_symbols emoticons geometric_shapes gothic greek_extended math mathematical_alphanumeric_symbols mathematical_operators miscellaneous_symbols miscellaneous_mathematical_symbols-a miscellaneous_mathematical_symbols-b miscellaneous_symbols_and_arrows miscellaneous_symbols_and_pictographs miscellaneous_technical modi modifier_tone_letters musical_symbols nerd_font number_forms shorthand_format_controls specials variation_selectors vertical_forms -a copy"; + "${mod}+i" = "exec --no-startup-id rofimoji -f alchemical_symbols anatolian_hieroglyphs emojis braille_patterns box_drawing chess_symbols emoticons geometric_shapes gothic greek_extended math mathematical_alphanumeric_symbols mathematical_operators miscellaneous_symbols miscellaneous_mathematical_symbols-a miscellaneous_mathematical_symbols-b miscellaneous_symbols_and_arrows miscellaneous_symbols_and_pictographs miscellaneous_technical modi modifier_tone_letters musical_symbols nerd_font number_forms shorthand_format_controls specials variation_selectors vertical_forms -a copy"; "${mod}+Shift+e" = "exec --no-startup-id desktop-ctl.sh"; "${mod}+m" = "exec --no-startup-id menu-qalc"; diff --git a/other/rofi-themes/applauncher.rasi b/other/rofi-themes/applauncher.rasi new file mode 100644 index 0000000..633ee2e --- /dev/null +++ b/other/rofi-themes/applauncher.rasi @@ -0,0 +1,78 @@ +* { + background-color: #282828; + text-color: #ebdbb2; +} + + +window { + width: 1024px; + background-color: #1d2021; + border-radius: 12px; +} + +mainbox { + spacing: 0px; + children: [inputbar,listview]; +} + +element { + background: #1d2021; + children: [ element-icon, element-text ]; +} +element,element-text,element-icon, button { + cursor: pointer; +} + +inputbar { + margin: 0px 0px 0.5em 0em; + spacing: 0.4em; + background-color: #1d2021; + children: [entry,overlay]; +} + +listview, inputbar, message { + columns: 5; + lines: 3; +} + +listview { + padding: 20px; +} + + +element { + border: 0; + padding: 10px; + font: "Mono 8"; + orientation: vertical; + border-radius: 10px; +} + +element-icon { + padding: 1.5em 1.5em 0.5em; + size: 4.5em; +} + +element selected { + background-color: #1d2021; +} + +element-text { + padding: 0 0 7px 0; +} + +element-text selected, element-icon selected { + background-color: #1d2021; +} + +element-text, element-icon { + font-size: 2em; + font: "Montserrat"; + horizontal-align: 0.5; +} + +entry { + padding: 15px; + background-color: #1d2021; +} +