From 74cb450899d7062eda10c2c2da11b298d646c06f Mon Sep 17 00:00:00 2001 From: Adam <56338480+adastx@users.noreply.github.com> Date: Sat, 21 Aug 2021 19:53:07 +0200 Subject: Added rofi-pass keybind --- .config/i3/config | 9 ++-- .config/rofi/config.rasi | 104 +++++++++++++++++++++++++++++++++++++++++++++++ .config/rofi/rofi.rasi | 104 ----------------------------------------------- 3 files changed, 109 insertions(+), 108 deletions(-) create mode 100644 .config/rofi/config.rasi delete mode 100644 .config/rofi/rofi.rasi (limited to '.config') diff --git a/.config/i3/config b/.config/i3/config index 5cc9870..4ad4856 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -17,10 +17,11 @@ bindsym $mod+e exec --no-startup-id pcmanfm bindsym $mod+f fullscreen toggle # Rofi -bindsym $mod+d exec --no-startup-id rofi -show drun -show-icons -theme rofi -drun-display-format {name} -bindsym Mod1+Tab exec --no-startup-id rofi -show window -show-icons -theme rofi -drun-display-format {name} -bindsym Mod1+b exec --no-startup-id rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}' -show-icons -theme rofi -bindsym $mod+Shift+p exec --no-startup-id rofi -show p -theme rofi -modi "p:rofi-power-menu --choices=shutdown/reboot/suspend/hibernate/logout" +bindsym $mod+d exec --no-startup-id rofi -show drun -show-icons -drun-display-format {name} +bindsym Mod1+Tab exec --no-startup-id rofi -show window -show-icons -drun-display-format {name} +bindsym Mod1+b exec --no-startup-id rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}' -show-icons +bindsym $mod+Shift+p exec --no-startup-id rofi -show p -modi "p:rofi-power-menu --choices=shutdown/reboot/suspend/hibernate/logout" +bindsym $mod+p exec --no-startup-id rofi-pass # Media keys bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi new file mode 100644 index 0000000..fb2fdc1 --- /dev/null +++ b/.config/rofi/config.rasi @@ -0,0 +1,104 @@ +/* + * ROFI One Dark + * + * Based on OneDark.vim (https://github.com/joshdick/onedark.vim) + * + * Author: Benjamin Stauss + * User: me-benni + * + */ + + +* { + black: #000000; + red: #eb6e67; + green: #95ee8f; + yellow: #f8c456; + blue: #6eaafb; + mangenta: #d886f3; + cyan: #6cdcf7; + emphasis: #50536b; + text: #dfdfdf; + text-alt: #b2b2b2; + fg: #abb2bf; + bg: #282c34; + + spacing: 0; + background-color: transparent; + + font: "SFNS Display 18"; + text-color: @text; +} + +window { + transparency: "real"; + fullscreen: true; + background-color: #0A0E14DD; +} + +mainbox { + padding: 30% 30%; +} + +inputbar { + margin: 0px 0px 20px 0px; + children: [prompt, textbox-prompt-colon, entry, case-indicator]; +} + +prompt { + text-color: @blue; + //font: "SFNS Display Bold 18"; +} + +textbox-prompt-colon { + expand: false; + str: ":"; + text-color: @text-alt; +} + +entry { + margin: 0px 10px; +} + +listview { + spacing: 5px; + dynamic: true; + scrollbar: false; +} + +element { + padding: 5px; + text-color: @text-alt; + border-radius: 3px; +} + +element-text { + highlight: bold #95ee8f; +} + +element selected { + background-color: @emphasis; + text-color: @text; +} + +element urgent, element selected urgent { + text-color: @red; +} + +element active, element selected active { + text-color: @purple; +} + +message { + padding: 5px; + border-radius: 3px; + background-color: @emphasis; + border: 1px; + border-color: @cyan; +} + +button selected { + padding: 5px; + border-radius: 3px; + background-color: @emphasis; +} diff --git a/.config/rofi/rofi.rasi b/.config/rofi/rofi.rasi deleted file mode 100644 index fb2fdc1..0000000 --- a/.config/rofi/rofi.rasi +++ /dev/null @@ -1,104 +0,0 @@ -/* - * ROFI One Dark - * - * Based on OneDark.vim (https://github.com/joshdick/onedark.vim) - * - * Author: Benjamin Stauss - * User: me-benni - * - */ - - -* { - black: #000000; - red: #eb6e67; - green: #95ee8f; - yellow: #f8c456; - blue: #6eaafb; - mangenta: #d886f3; - cyan: #6cdcf7; - emphasis: #50536b; - text: #dfdfdf; - text-alt: #b2b2b2; - fg: #abb2bf; - bg: #282c34; - - spacing: 0; - background-color: transparent; - - font: "SFNS Display 18"; - text-color: @text; -} - -window { - transparency: "real"; - fullscreen: true; - background-color: #0A0E14DD; -} - -mainbox { - padding: 30% 30%; -} - -inputbar { - margin: 0px 0px 20px 0px; - children: [prompt, textbox-prompt-colon, entry, case-indicator]; -} - -prompt { - text-color: @blue; - //font: "SFNS Display Bold 18"; -} - -textbox-prompt-colon { - expand: false; - str: ":"; - text-color: @text-alt; -} - -entry { - margin: 0px 10px; -} - -listview { - spacing: 5px; - dynamic: true; - scrollbar: false; -} - -element { - padding: 5px; - text-color: @text-alt; - border-radius: 3px; -} - -element-text { - highlight: bold #95ee8f; -} - -element selected { - background-color: @emphasis; - text-color: @text; -} - -element urgent, element selected urgent { - text-color: @red; -} - -element active, element selected active { - text-color: @purple; -} - -message { - padding: 5px; - border-radius: 3px; - background-color: @emphasis; - border: 1px; - border-color: @cyan; -} - -button selected { - padding: 5px; - border-radius: 3px; - background-color: @emphasis; -} -- cgit v1.2.3-70-g09d2