From 97926b143cfaf76e4ff0c3b47d38db33657cebd1 Mon Sep 17 00:00:00 2001 From: Henrik Bakken Date: Fri, 10 Jun 2022 17:30:24 +0200 Subject: [PATCH] rofi --- hjalmar-droneship/i3/config | 5 ++++- hjalmar-mothership/i3/config | 5 ++++- rofi/config.rasi | 23 +++++++++++------------ 3 files changed, 19 insertions(+), 14 deletions(-) diff --git a/hjalmar-droneship/i3/config b/hjalmar-droneship/i3/config index 10766db..b93462e 100644 --- a/hjalmar-droneship/i3/config +++ b/hjalmar-droneship/i3/config @@ -88,8 +88,11 @@ bindsym Pause exec pactl set-sink-volume @DEFAULT_SINK@ +10% bindsym Print exec pactl set-sink-volume @DEFAULT_SINK@ -10% bindsym Scroll_Lock exec pactl set-sink-mute @DEFAULT_SINK@ toggle +set $rofiopts -show-icons -matching fuzzy -lines 10 -eh 2 -width 30 +bindsym $mod+d exec rofi -show drun $rofiopts +bindsym $mod+Shift+d exec rofi -show run $rofiopts + bindsym $mod+Return exec i3-sensible-terminal -bindsym $mod+d exec --no-startup-id rofi -show drun -lines 10 -eh 2 -width 30 bindsym $mod+Shift+s --release exec --no-startup-id flameshot gui bindsym $mod+Shift+x --release exec --no-startup-id xkill diff --git a/hjalmar-mothership/i3/config b/hjalmar-mothership/i3/config index db6d104..9ba0511 100644 --- a/hjalmar-mothership/i3/config +++ b/hjalmar-mothership/i3/config @@ -86,8 +86,11 @@ bindsym Pause exec pactl set-sink-volume @DEFAULT_SINK@ +10% bindsym Print exec pactl set-sink-volume @DEFAULT_SINK@ -10% bindsym Scroll_Lock exec pactl set-sink-mute @DEFAULT_SINK@ toggle +set $rofiopts -show-icons -matching fuzzy -lines 10 -eh 2 -width 30 +bindsym $mod+d exec rofi -show drun $rofiopts +bindsym $mod+Shift+d exec rofi -show run $rofiopts + bindsym $mod+Return exec i3-sensible-terminal -bindsym $mod+d exec --no-startup-id rofi -show combi -combi-modi "run#drun" -lines 10 -eh 2 -width 30 bindsym $mod+Shift+s --release exec --no-startup-id flameshot gui bindsym $mod+Shift+x --release exec --no-startup-id xkill diff --git a/rofi/config.rasi b/rofi/config.rasi index 0b54d32..ccfd169 100644 --- a/rofi/config.rasi +++ b/rofi/config.rasi @@ -2,9 +2,17 @@ configuration { font: "hack 12"; show-icons: true; terminal: "st"; -kb-mode-complete: "Control+l,Tab"; -kb-row-tab: "Shift+Tab"; -/* modi: "window,run,ssh";*/ +kb-mode-complete: "Control+l"; +modi: "drun,run"; +kb-row-select: "Control+space"; +timeout { + action: "kb-cancel"; + delay: 0; +} +filebrowser { + directories-first: true; + sorting-method: "name"; +} /* fixed-num-lines: true;*/ /* ssh-client: "ssh";*/ /* ssh-command: "{terminal} -e {ssh-client} {host} [-p {port}]";*/ @@ -91,7 +99,6 @@ kb-row-tab: "Shift+Tab"; /* kb-page-next: "Page_Down";*/ /* kb-row-first: "Home,KP_Home";*/ /* kb-row-last: "End,KP_End";*/ -/* kb-row-select: "Control+space";*/ /* kb-screenshot: "Alt+S";*/ /* kb-ellipsize: "Alt+period";*/ /* kb-toggle-case-sensitivity: "grave,dead_grave";*/ @@ -133,12 +140,4 @@ kb-row-tab: "Shift+Tab"; /* me-select-entry: "MousePrimary";*/ /* me-accept-entry: "MouseDPrimary";*/ /* me-accept-custom: "Control+MouseDPrimary";*/ - timeout { - action: "kb-cancel"; - delay: 0; - } - filebrowser { - directories-first: true; - sorting-method: "name"; - } }