feat: add rofi-based power menu and power mode menu scripts with custom styles;
feat: enhance screen recorder with merge functionality and duration tracking; refactor: update swaync configuration with new power menu buttons and toggle actions; fix: remove desktop cache option since it screwed up my app history; refactor: update swaync styling with new button variables and border styles;
This commit is contained in:
100
rofi/styles/style-powermenu.rasi
Normal file
100
rofi/styles/style-powermenu.rasi
Normal file
@@ -0,0 +1,100 @@
|
||||
* {
|
||||
background: #1c1c1cc0;
|
||||
background-alt: #303030ff;
|
||||
button-shape-top: #505050ff;
|
||||
button-shape-bottom: #303030ff;
|
||||
background-button: #2e2d31ff;
|
||||
background-input: #1c1c1cc0;
|
||||
border: #48535Ccf;
|
||||
foreground: #FFe8EE;
|
||||
selected: #9E2238dd;
|
||||
selected-shine: #CE5268dd;
|
||||
active: #9E2238;
|
||||
urgent: #D14781;
|
||||
background-color: @background;
|
||||
border-color: White;
|
||||
text-color: @foreground;
|
||||
font: "JetBrains Mono Nerd Font 32";
|
||||
}
|
||||
window {
|
||||
anchor: center;
|
||||
location: center;
|
||||
width: 1000px;
|
||||
height: 250px;
|
||||
padding: 6px;
|
||||
children: [ mainbox ];
|
||||
border: 1px;
|
||||
border-radius: 15px;
|
||||
border-color: @border;
|
||||
background-color: @background;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
orientation: vertical;
|
||||
spacing: 10px;
|
||||
children: [ listview ];
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
listview {
|
||||
enabled: true;
|
||||
columns: 1;
|
||||
lines: 3;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
scrollbar: false;
|
||||
layout: horizontal;
|
||||
reverse: false;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
height: 100px;
|
||||
spacing: 10px;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
cursor: "default";
|
||||
font: "JetBrains Mono Nerd Font 10";
|
||||
}
|
||||
|
||||
/*****----- Elements -----*****/
|
||||
element {
|
||||
enabled: true;
|
||||
spacing: 15px;
|
||||
width: calc(100% / 3 - 12);
|
||||
padding: 8px;
|
||||
border-radius: 10px;
|
||||
text-color: @foreground;
|
||||
cursor: pointer;
|
||||
background-color: @background-button;
|
||||
border-color: @button-shape-top;
|
||||
border: 1px 0 0 0;
|
||||
}
|
||||
|
||||
element selected.normal {
|
||||
background-color: @active;
|
||||
text-color: @foreground;
|
||||
border-color: @selected-shine;
|
||||
border: 1px 0 0 0;
|
||||
}
|
||||
|
||||
element-text {
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.5;
|
||||
padding: 80;
|
||||
}
|
||||
|
||||
prompt {
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
entry {
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @selected;
|
||||
}
|
||||
|
||||
element-text, element-icon {
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
101
rofi/styles/style-powermodemenu.rasi
Normal file
101
rofi/styles/style-powermodemenu.rasi
Normal file
@@ -0,0 +1,101 @@
|
||||
* {
|
||||
background: #1c1c1cc0;
|
||||
background-alt: #303030ff;
|
||||
button-shape-top: #505050ff;
|
||||
button-shape-bottom: #303030ff;
|
||||
background-button: #2e2d31ff;
|
||||
background-input: #1c1c1cc0;
|
||||
border: #48535Ccf;
|
||||
foreground: #FFe8EE;
|
||||
selected: #9E2238dd;
|
||||
selected-shine: #CE5268dd;
|
||||
active: #9E2238;
|
||||
urgent: #D14781;
|
||||
background-color: @background;
|
||||
border-color: White;
|
||||
text-color: @foreground;
|
||||
font: "JetBrains Mono Nerd Font 32";
|
||||
}
|
||||
|
||||
window {
|
||||
anchor: center;
|
||||
location: center;
|
||||
width: 1000px;
|
||||
height: 250px;
|
||||
padding: 6px;
|
||||
children: [ mainbox ];
|
||||
border: 1px;
|
||||
border-radius: 15px;
|
||||
border-color: @border;
|
||||
background-color: @background;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
orientation: vertical;
|
||||
spacing: 10px;
|
||||
children: [ listview ];
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
listview {
|
||||
enabled: true;
|
||||
columns: 1;
|
||||
lines: 3;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
scrollbar: false;
|
||||
layout: horizontal;
|
||||
reverse: false;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
height: 100px;
|
||||
spacing: 10px;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
cursor: "default";
|
||||
font: "JetBrains Mono Nerd Font 10";
|
||||
}
|
||||
|
||||
/*****----- Elements -----*****/
|
||||
element {
|
||||
enabled: true;
|
||||
spacing: 15px;
|
||||
width: calc(100% / 3 - 12);
|
||||
padding: 8px;
|
||||
border-radius: 10px;
|
||||
text-color: @foreground;
|
||||
cursor: pointer;
|
||||
background-color: @background-button;
|
||||
border-color: @button-shape-top;
|
||||
border: 1px 0 0 0;
|
||||
}
|
||||
|
||||
element selected.normal {
|
||||
background-color: @active;
|
||||
text-color: @foreground;
|
||||
border-color: @selected-shine;
|
||||
border: 1px 0 0 0;
|
||||
}
|
||||
|
||||
element-text {
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.5;
|
||||
padding: 80;
|
||||
}
|
||||
|
||||
prompt {
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
entry {
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @selected;
|
||||
}
|
||||
|
||||
element-text, element-icon {
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
@@ -48,13 +48,14 @@ imagebox {
|
||||
border-radius: 100px;
|
||||
margin: 5px;
|
||||
background-color: @active;
|
||||
|
||||
border-color: @selected-shine;
|
||||
border: 1px 0 0 0;
|
||||
}
|
||||
|
||||
contentbox {
|
||||
orientation: horizontal;
|
||||
expand: true;
|
||||
children: [prompt, entry];
|
||||
children: [prompt];
|
||||
}
|
||||
|
||||
mode-switcher{
|
||||
@@ -67,7 +68,7 @@ mode-switcher{
|
||||
listview {
|
||||
enabled: true;
|
||||
columns: 1;
|
||||
lines: 4;
|
||||
lines: 3;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
scrollbar: false;
|
||||
@@ -87,7 +88,7 @@ listview {
|
||||
element {
|
||||
enabled: true;
|
||||
spacing: 15px;
|
||||
width: 22.5%;
|
||||
width: 31%;
|
||||
padding: 8px;
|
||||
border-radius: 10px;
|
||||
text-color: @foreground;
|
||||
|
||||
Reference in New Issue
Block a user