fix: fixed rofi config

This commit is contained in:
2026-01-21 12:36:16 +03:00
parent 8479577068
commit 03128d0bcf
5 changed files with 43 additions and 72 deletions

View File

@@ -1,13 +1,4 @@
/**
*
* Author : Aditya Shakya (adi1090x)
* Github : @adi1090x
*
* Rofi Theme File
* Rofi Version: 1.7.3
**/
/*****----- Configuration -----*****/
// Configuration
configuration {
modi: "drun,run,filebrowser,window";
show-icons: true;
@@ -17,9 +8,13 @@ configuration {
display-window: " ";
drun-display-format: "{name}";
window-format: "{w} · {c} · {t}";
// binds
// kb-row-up: "Up,Control+k,Shift+Tab,Shift+ISO_Left_Tab";
// kb-row-down: "Down,Control+j";
}
/*****----- Global Properties -----*****/
// Global Properties
@import "./colors.rasi"
@import "./fonts.rasi"
@@ -49,9 +44,9 @@ configuration {
alternate-active-foreground: var(background);
}
/*****----- Main Window -----*****/
// Main Window
window {
/* properties for window widget */
// properties for window widget
transparency: "real";
location: center;
anchor: center;
@@ -60,7 +55,7 @@ window {
x-offset: 0px;
y-offset: 0px;
/* properties for all widgets */
// properties for all widgets
enabled: true;
margin: 0px;
padding: 0px;
@@ -68,11 +63,11 @@ window {
border-radius: 10px;
border-color: @border-color;
cursor: "default";
/* Backgroud Colors */
// Backgroud Colors
background-color: @background-color;
}
/*****----- Main Box -----*****/
// Main Box
mainbox {
enabled: true;
spacing: 10px;
@@ -86,7 +81,7 @@ mainbox {
children: [ "inputbar", "message", "listview" ];
}
/*****----- Inputbar -----*****/
// Inputbar
inputbar {
enabled: true;
spacing: 10px;
@@ -147,7 +142,7 @@ case-indicator {
text-color: inherit;
}
/*****----- Listview -----*****/
// Listview
listview {
enabled: true;
columns: 1;
@@ -159,7 +154,7 @@ listview {
reverse: false;
fixed-height: true;
fixed-columns: true;
spacing: 5px;
margin: 0px;
padding: 0px;
@@ -177,7 +172,7 @@ scrollbar {
background-color: @alternate-background;
}
/*****----- Elements -----*****/
// Elements
element {
enabled: true;
spacing: 10px;
@@ -241,7 +236,7 @@ element-text {
horizontal-align: 0.0;
}
/*****----- Mode Switcher -----*****/
// Mode Switcher
mode-switcher{
enabled: true;
spacing: 10px;
@@ -267,7 +262,7 @@ button selected {
text-color: var(selected-normal-foreground);
}
/*****----- Message -----*****/
// Message
message {
enabled: true;
margin: 0px;
@@ -300,4 +295,3 @@ error-message {
background-color: @background-color;
text-color: @foreground-color;
}

View File

@@ -1,10 +1,3 @@
/**
*
* Author : Levi Lacoss (fishyfishfish55)
* Github : @fishyfishfish55
**/
* {
background: #0E12196A;
sel-foreground: #111218;

View File

@@ -1,13 +1,4 @@
/**
*
* Author : Aditya Shakya (adi1090x)
* Github : @adi1090x
*
* Rofi Theme File
* Rofi Version: 1.7.3
**/
/*****----- Configuration -----*****/
// Configuration
configuration {
modi: "drun,run,filebrowser,window";
show-icons: false;
@@ -18,17 +9,19 @@ configuration {
drun-display-format: "{name}";
window-format: "{w} · {c} · {t}";
kb-row-up: "Up,Control+k,Shift+Tab,Shift+ISO_Left_Tab";
kb-row-down: "Down,Control+j";
kb-accept-entry: "Control+m,Return,KP_Enter";
terminal: "mate-terminal";
kb-remove-to-eol: "Control+Shift+e";
// kb-mode-next: "Shift+Right,Control+Tab,Control+l";
kb-mode-previous: "Shift+Left,Control+Shift+Tab,Control+h";
kb-remove-char-back: "BackSpace";
// binds
kb-row-up: "Up,Control+k,Shift+Tab,Shift+ISO_Left_Tab";
kb-row-down: "Down,Control+j";
kb-accept-entry: "Control+m,Return,KP_Enter";
terminal: "mate-terminal";
kb-remove-to-eol: "Control+Shift+e";
kb-mode-complete: "Control+Shift+t";
kb-mode-next: "Shift+Right,Control+Tab,Control+l";
kb-mode-previous: "Shift+Left,Control+Shift+Tab,Control+h";
kb-remove-char-back: "BackSpace";
}
/*****----- Global Properties -----*****/
// Global Properties
@import "./colors.rasi"
@import "./fonts.rasi"
@@ -58,9 +51,9 @@ configuration {
alternate-active-foreground: var(background);
}
/*****----- Main Window -----*****/
// Main Window
window {
/* properties for window widget */
// properties for window widget
transparency: "real";
location: center;
anchor: center;
@@ -69,7 +62,7 @@ window {
x-offset: 0px;
y-offset: 0px;
/* properties for all widgets */
// properties for all widgets
enabled: true;
margin: 0px;
padding: 0px;
@@ -77,11 +70,11 @@ window {
border-radius: 10px;
border-color: @border-color;
cursor: "default";
/* Backgroud Colors */
// Backgroud Colors
background-color: @background-color;
}
/*****----- Main Box -----*****/
// Main Box
mainbox {
enabled: true;
spacing: 10px;
@@ -95,7 +88,7 @@ mainbox {
children: [ "inputbar", "message", "listview" ];
}
/*****----- Inputbar -----*****/
// Inputbar
inputbar {
enabled: true;
spacing: 10px;
@@ -156,7 +149,7 @@ case-indicator {
text-color: inherit;
}
/*****----- Listview -----*****/
// Listview
listview {
enabled: true;
columns: 1;
@@ -168,7 +161,7 @@ listview {
reverse: false;
fixed-height: true;
fixed-columns: true;
spacing: 5px;
margin: 0px;
padding: 0px;
@@ -186,7 +179,7 @@ scrollbar {
background-color: @alternate-background;
}
/*****----- Elements -----*****/
// Elements
element {
enabled: true;
spacing: 10px;
@@ -250,7 +243,7 @@ element-text {
horizontal-align: 0.0;
}
/*****----- Mode Switcher -----*****/
// Mode Switcher
mode-switcher{
enabled: true;
spacing: 10px;
@@ -276,7 +269,7 @@ button selected {
text-color: var(selected-normal-foreground);
}
/*****----- Message -----*****/
// Message
message {
enabled: true;
margin: 0px;
@@ -309,4 +302,3 @@ error-message {
background-color: @background-color;
text-color: @foreground-color;
}

View File

@@ -1,12 +1,3 @@
/**
*
* Author : Aditya Shakya (adi1090x)
* Github : @adi1090x
*
* Fonts
*
**/
* {
font: "JetBrains Mono Nerd Font 13";
}

View File

@@ -1,8 +1,9 @@
rofi.kb-row-up: Up,Control+k,Shift+Tab,Shift+ISO_Left_Tab
rofi.kb-row-down: Down,Control+j
# rofi.kb-row-up: Up,Control+k,Shift+Tab,Shift+ISO_Left_Tab
# rofi.kb-row-down: Down,Control+j
rofi.kb-accept-entry: Control+m,Return,KP_Enter
rofi.terminal: mate-terminal
rofi.kb-remove-to-eol: Control+Shift+e
rofi.kb-mode-complete: Control+Shift+t
rofi.kb-mode-next: Shift+Right,Control+Tab,Control+l
rofi.kb-mode-previous: Shift+Left,Control+Shift+Tab,Control+h
rofi.kb-remove-char-back: BackSpace