「Rofi」の版間の差分
ナビゲーションに移動
検索に移動
(アプリケーション一覧/その他#アプリケーションランチャーへの転送ページ) |
(翻訳) |
||
| 1行目: | 1行目: | ||
| + | {{DISPLAYTITLE:rofi}} |
||
| − | #redirect[[アプリケーション一覧/その他#アプリケーションランチャー]] |
||
| + | [[Category:アプリケーションランチャー]] |
||
| + | [[en:Rofi]] |
||
| + | {{Related articles start}} |
||
| + | {{Related|アプリケーション一覧/その他#アプリケーションランチャー}} |
||
| + | {{Related articles end}} |
||
| + | |||
| + | [https://github.com/DaveDavenport/rofi Rofi] は [https://github.com/seanpringle/simpleswitcher simpleswitcher] のクローンとして [https://github.com/seanpringle Sean Pringle] によって開発が始まり [https://github.com/DaveDavenport Dave Davenport] によって拡張されたウィンドウスイッチャ・実行ダイアログ・SSH ランチャです。[[dmenu]] を置き換えることができます。 |
||
| + | |||
| + | == インストール == |
||
| + | |||
| + | [[公式リポジトリ]]から {{Pkg|rofi}} を[[インストール]]してください。 |
||
| + | |||
| + | == 設定 == |
||
| + | |||
| + | ===カスタムテーマ=== |
||
| + | |||
| + | ====公式テーマジェネレータ==== |
||
| + | |||
| + | [https://davedavenport.github.io/rofi/p11-Generator.html 公式テーマジェネレータ] からテーマを生成できます。 |
||
| + | |||
| + | ====ユーザーテーマ==== |
||
| + | |||
| + | 公式の [https://github.com/DaveDavenport/rofi-themes rofi-themes] リポジトリにカスタムテーマが収集されています。 |
||
| + | |||
| + | ====ロード==== |
||
| + | {{Pkg|xorg-xrdb}} のインストールが必要です。好きな [https://davedavenport.github.io/rofi/p05-Themes.html Rofi Theme] を選択してコードを {{ic|~/.Xresources}} にコピーしてください。{{ic|xrdb -load ~/.Xresources}} を実行するかコンピュータを再起動することで {{ic|.Xresources}} ファイルがリロードされます。 |
||
| + | |||
| + | ===Rofi を dmenu の代替として使う=== |
||
| + | |||
| + | Rofi を [[dmenu]] の代わりとして使いたい場合、以下のコマンドを使用します: |
||
| + | |||
| + | rofi -show run -modi run -location 1 -width 100 \ |
||
| + | -lines 2 -line-margin 0 -line-padding 1 \ |
||
| + | -separator-style none -font "mono 10" -columns 9 -bw 0 \ |
||
| + | -disable-history \ |
||
| + | -hide-scrollbar \ |
||
| + | -color-window "#222222, #222222, #b1b4b3" \ |
||
| + | -color-normal "#222222, #b1b4b3, #222222, #005577, #b1b4b3" \ |
||
| + | -color-active "#222222, #b1b4b3, #222222, #007763, #b1b4b3" \ |
||
| + | -color-urgent "#222222, #b1b4b3, #222222, #77003d, #b1b4b3" \ |
||
| + | -kb-row-select "Tab" -kb-row-tab "" |
||
| + | |||
| + | {{Tip|上記のコマンドに {{ic|-dump-xresources}} フラグを追加して、出力されたテキストをファイルに保存して [https://davedavenport.github.io/rofi/p11-Generator.html 公式テーマジェネレータ] にアップロードすることでさらなるカスタマイズができます。}} |
||
| + | {{Note|コマンドラインオプションの {{ic|-show run}} と {{ic|-modi run}} によって Rofi は [[dmenu]] によって提供されている {{ic|dmenu_run}} と同じように動作しますが、Rofi の機能は制限されます。モードについて詳しくは {{ic|man rofi}} や [https://github.com/DaveDavenport/rofi 公式のプロジェクトの説明] を見てください。}} |
||
2017年8月23日 (水) 21:52時点における版
Rofi は simpleswitcher のクローンとして Sean Pringle によって開発が始まり Dave Davenport によって拡張されたウィンドウスイッチャ・実行ダイアログ・SSH ランチャです。dmenu を置き換えることができます。
インストール
設定
カスタムテーマ
公式テーマジェネレータ
公式テーマジェネレータ からテーマを生成できます。
ユーザーテーマ
公式の rofi-themes リポジトリにカスタムテーマが収集されています。
ロード
xorg-xrdb のインストールが必要です。好きな Rofi Theme を選択してコードを ~/.Xresources にコピーしてください。xrdb -load ~/.Xresources を実行するかコンピュータを再起動することで .Xresources ファイルがリロードされます。
Rofi を dmenu の代わりとして使いたい場合、以下のコマンドを使用します:
rofi -show run -modi run -location 1 -width 100 \ -lines 2 -line-margin 0 -line-padding 1 \ -separator-style none -font "mono 10" -columns 9 -bw 0 \ -disable-history \ -hide-scrollbar \ -color-window "#222222, #222222, #b1b4b3" \ -color-normal "#222222, #b1b4b3, #222222, #005577, #b1b4b3" \ -color-active "#222222, #b1b4b3, #222222, #007763, #b1b4b3" \ -color-urgent "#222222, #b1b4b3, #222222, #77003d, #b1b4b3" \ -kb-row-select "Tab" -kb-row-tab ""