add:wip mango
This commit is contained in:
154
mango/rofi/app-manager/app-manager.rasi
Normal file
154
mango/rofi/app-manager/app-manager.rasi
Normal file
@@ -0,0 +1,154 @@
|
||||
configuration {
|
||||
hover-select: true;
|
||||
me-select-entry: "MousePrimary";
|
||||
me-accept-entry: "!MousePrimary";
|
||||
font: "Geist 12";
|
||||
show-icons: true;
|
||||
// icon-theme: "catppuccin-mocha";
|
||||
icon-theme: "ACYLS";
|
||||
display-drun: " ";
|
||||
}
|
||||
|
||||
@theme "~/.config/rofi/theme.rasi"
|
||||
|
||||
// Main //
|
||||
window {
|
||||
height: 465px;
|
||||
width: 1010px;
|
||||
transparency: "real";
|
||||
fullscreen: false;
|
||||
enabled: true;
|
||||
spacing: 0em;
|
||||
padding: 0em;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
enabled: true;
|
||||
spacing: 0em;
|
||||
orientation: horizontal;
|
||||
children: [ "imageBoxOverlay" , "listbox", "rightTab" ];
|
||||
background-color: @base-200-opa;
|
||||
border-color: @primary-opa;
|
||||
border: 1px;
|
||||
border-radius: 1em;
|
||||
}
|
||||
|
||||
rightTab {
|
||||
background-color: transparent;
|
||||
background-image: linear-gradient(135deg,#B37ADE26,#d5aed6d9);
|
||||
expand: false;
|
||||
width: 3.5em;
|
||||
}
|
||||
|
||||
imageBoxOverlay {
|
||||
children: ["imageBox"];
|
||||
background-color: rgba(0,0,0,0.9);
|
||||
margin: 1.4em 0.8em 1.4em 1.4em;
|
||||
border-radius: 1em;
|
||||
padding: 0.6em;
|
||||
background-image: linear-gradient(135deg,#B37ADE,#f3e2a9,#DE7AB9,#7A7FDE);
|
||||
}
|
||||
imageBox {
|
||||
enabled: true;
|
||||
background-image: url("~/.config/rofi/images/neco/28.jpg", width);
|
||||
border-radius: 1em;
|
||||
}
|
||||
// Lists //
|
||||
listbox {
|
||||
spacing: 0em;
|
||||
padding: 1.4em 0.8em 1.4em 0em;
|
||||
children: [ "inputbar" , "listview" ];
|
||||
background-color: transparent;
|
||||
}
|
||||
// Inputs //
|
||||
inputbar {
|
||||
enabled: true;
|
||||
margin: 0.2em 0.8em 0.8em 0.8em;
|
||||
children: [ "prompt", "entry" ];
|
||||
background-color: transparent;
|
||||
border-radius: 0.5em;
|
||||
}
|
||||
prompt {
|
||||
font: "Geist 14";
|
||||
text-color: #E5C38F;
|
||||
background-color: transparent;
|
||||
padding: 0.8em 0.5em 0em 0.5em;
|
||||
}
|
||||
entry {
|
||||
font: "Geist 11";
|
||||
text-color: #f5e0dcff;
|
||||
background-color: #1E1B21;
|
||||
background-image: linear-gradient(135deg,#2E2A33,#1E1B21);
|
||||
border-radius: 0.5em;
|
||||
border-color: @secondary;
|
||||
placeholder: "Search...";
|
||||
placeholder-color: #BF9FD875;
|
||||
border: 1px;
|
||||
padding: 0.4em 0.2em 0.2em 0.4em;
|
||||
enabled: true;
|
||||
}
|
||||
listview {
|
||||
enabled: true;
|
||||
spacing: 0.6em;
|
||||
padding: 0em 1em;
|
||||
columns: 1;
|
||||
lines: 8;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
expand: true;
|
||||
fixed-height: false;
|
||||
fixed-columns: true;
|
||||
cursor: "default";
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
|
||||
// Elements //
|
||||
element {
|
||||
enabled: true;
|
||||
spacing: 1em;
|
||||
padding: 0.4em 0.5em 0.4em 1.5em;
|
||||
cursor: pointer;
|
||||
background-color: transparent;
|
||||
text-color: #E6D5E6;
|
||||
}
|
||||
element selected.normal {
|
||||
border-radius: 0.5em;
|
||||
background-image: linear-gradient(135deg,#d5aed666,#7866C44d,#7A7FDE66);
|
||||
text-color: @secondary;
|
||||
border-color: @primary-opa;
|
||||
border: 1px;
|
||||
}
|
||||
element-icon {
|
||||
size: 1.5em;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
element-text {
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.0;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
highlight: bold;
|
||||
}
|
||||
|
||||
// Error message //
|
||||
error-message {
|
||||
text-color: #cdd6f4ff;
|
||||
background-color: #11111be6;
|
||||
text-transform: capitalize;
|
||||
children: [ "textbox" ];
|
||||
}
|
||||
|
||||
textbox {
|
||||
text-color: inherit;
|
||||
background-color: inherit;
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.5;
|
||||
}
|
||||
19
mango/rofi/app-manager/rofi-app-manager.sh
Executable file
19
mango/rofi/app-manager/rofi-app-manager.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
THEME_FILE=~/.config/rofi/app-manager/app-manager.rasi
|
||||
|
||||
post_rofi() {
|
||||
local image_dir="$HOME/.config/rofi/images/neco"
|
||||
local current_image=$(grep "background-image: url" "$THEME_FILE" | cut -d'"' -f2)
|
||||
local new_image=$(find "$image_dir" -type f | sort -R | head -n 1 | sed "s|^$HOME|~|")
|
||||
while true; do
|
||||
if [[ "$new_image" != "$current_image" ]]; then
|
||||
sed -i 's|url("[^"]*"|url("'"$new_image"'"|' "$THEME_FILE"
|
||||
break
|
||||
fi
|
||||
new_image=$(find "$image_dir" -type f | sort -R | head -n 1 | sed "s|^$HOME|~|")
|
||||
done
|
||||
}
|
||||
|
||||
rofi -show drun -theme ~/.config/rofi/app-manager/app-manager.rasi
|
||||
post_rofi &
|
||||
129
mango/rofi/config-manager/config-manager.rasi
Normal file
129
mango/rofi/config-manager/config-manager.rasi
Normal file
@@ -0,0 +1,129 @@
|
||||
configuration {
|
||||
font: "Geist 12";
|
||||
hover-select: true;
|
||||
me-select-entry: "MousePrimary";
|
||||
me-accept-entry: "!MousePrimary";
|
||||
click-to-exit: true;
|
||||
}
|
||||
|
||||
@theme "~/.config/rofi/theme.rasi"
|
||||
|
||||
// Main //
|
||||
window {
|
||||
width: 20.3em;
|
||||
height: 13.5em;
|
||||
fullscreen: false;
|
||||
enabled: true;
|
||||
cursor: "default";
|
||||
spacing: 0em;
|
||||
opacity: 0;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
enabled: true;
|
||||
spacing: 0em;
|
||||
orientation: vertical;
|
||||
children: [ "message", "mainContent" ];
|
||||
border: 1px;
|
||||
border-color: @primary-opa;
|
||||
border-radius: 1em;
|
||||
background-color: transparent;
|
||||
}
|
||||
// decorative text at top
|
||||
message {
|
||||
enabled: true;
|
||||
background-color: @base-200;
|
||||
text-color: @primary;
|
||||
border: none;
|
||||
}
|
||||
textbox {
|
||||
padding: 12px 1em 12px 0px;
|
||||
font: "Octal Light 18";
|
||||
letter-spacing: 5px;
|
||||
horizontal-align: 0.0;
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
mainContent {
|
||||
orientation: horizontal;
|
||||
children: [ "listview", "imageBoxOverlay" ];
|
||||
background-color: @base-200-opa;
|
||||
padding: 1em 0 1em 0;
|
||||
}
|
||||
imageBoxOverlay {
|
||||
children: ["imageBox"];
|
||||
margin: 0em 1em 0em 0em;
|
||||
border-radius: 1em;
|
||||
padding: 0.4em;
|
||||
background-image: linear-gradient(135deg,#B37ADE,#F59FD5,#7A7FDE);
|
||||
}
|
||||
imageBox {
|
||||
enabled: true;
|
||||
background-image: url("~/.config/rofi/images/oc/oc-2.png", width);
|
||||
border-radius: 1em;
|
||||
}
|
||||
|
||||
// Lists //
|
||||
listview {
|
||||
enabled: true;
|
||||
spacing: 0.6em;
|
||||
padding: 0em 1em;
|
||||
columns: 1;
|
||||
lines: 3;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
expand: true;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
cursor: "default";
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
// Elements //
|
||||
element {
|
||||
enabled: true;
|
||||
spacing: 1em;
|
||||
padding: 0.4em 0.5em 0.4em 1.5em;
|
||||
cursor: pointer;
|
||||
background-color: transparent;
|
||||
text-color: #E6D5E6;
|
||||
}
|
||||
element selected.normal {
|
||||
border-radius: 0.5em;
|
||||
background-image: linear-gradient(135deg,#d5aed666,#7866C44d,#7A7FDE66);
|
||||
text-color: @secondary;
|
||||
border-color: @primary-opa;
|
||||
border: 1px;
|
||||
}
|
||||
element-icon {
|
||||
size: 1.5em;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
element-text {
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.0;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
highlight: bold;
|
||||
}
|
||||
|
||||
// Error message //
|
||||
error-message {
|
||||
text-color: #cdd6f4ff;
|
||||
background-color: #11111be6;
|
||||
text-transform: capitalize;
|
||||
children: [ "textbox" ];
|
||||
}
|
||||
|
||||
textbox {
|
||||
text-color: inherit;
|
||||
background-color: inherit;
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.5;
|
||||
}
|
||||
63
mango/rofi/config-manager/rofi-config-manager.sh
Executable file
63
mango/rofi/config-manager/rofi-config-manager.sh
Executable file
@@ -0,0 +1,63 @@
|
||||
#!/bin/bash
|
||||
# ln -s ~/.config/rofi/config-manager/rofi-config-manager.sh ~/.local/bin/rofi-config-manager.sh
|
||||
THEME_FILE=~/.config/rofi/config-manager/config-manager.rasi
|
||||
|
||||
NVIM=" Neovim"
|
||||
HYPRLAND=" Hyprland"
|
||||
WAYBAR=" Waybar"
|
||||
GHOSTTY=" Ghostty"
|
||||
ROFI_APP=" Rofi App"
|
||||
ROFI_SETT=" Rofi Sett"
|
||||
ROFI_CONF=" Rofi Conf"
|
||||
ROFI_POW=" Rofi Pow"
|
||||
HYPRLOCK=" Hyprlock"
|
||||
HYPRIDLE=" Hypridle"
|
||||
HYPRPAPER=" Hyprpaper"
|
||||
MAKO=" Mako"
|
||||
chosen=$(echo -e "$NVIM\n$HYPRLAND\n$WAYBAR\n$GHOSTTY\n$ROFI_APP\n$ROFI_SETT\n$ROFI_CONF\n$ROFI_POW\n$HYPRLOCK\n$HYPRIDLE\n$MAKO\n$HYPRPAPER" | rofi -mesg " Configs" -dmenu -p "Action:" -config ~/.config/rofi/config-manager/config-manager.rasi)
|
||||
|
||||
case $chosen in
|
||||
"$NVIM")
|
||||
ghostty -e nvim ~/.config/nvim/init.lua & disown
|
||||
ghostty -e nvim ~/.config/nvim/lua/settings.lua & disown
|
||||
;;
|
||||
"$HYPRLAND")
|
||||
ghostty -e nvim ~/.config/hypr/hyprland.conf & disown
|
||||
;;
|
||||
"$HYPRLOCK")
|
||||
ghostty -e nvim ~/.config/hypr/hyprlock.conf & disown
|
||||
;;
|
||||
"$HYPRIDLE")
|
||||
ghostty -e nvim ~/.config/hypr/hypridle.conf & disown
|
||||
;;
|
||||
"$WAYBAR")
|
||||
ghostty -e nvim ~/.config/waybar/config.jsonc & disown
|
||||
ghostty -e nvim ~/.config/waybar/style.css & disown
|
||||
;;
|
||||
"$GHOSTTY")
|
||||
ghostty -e nvim ~/.config/ghostty/config & disown
|
||||
ghostty -e nvim ~/.config/ghostty/themes/navarch & disown
|
||||
;;
|
||||
"$MAKO")
|
||||
ghostty -e nvim ~/.config/mako/config & disown
|
||||
;;
|
||||
"$ROFI_APP")
|
||||
ghostty -e nvim ~/.config/rofi/app-manager/app-manager.rasi & disown
|
||||
ghostty -e nvim ~/.config/rofi/app-manager/rofi-app-manager.sh & disown
|
||||
;;
|
||||
"$ROFI_SETT")
|
||||
ghostty -e nvim ~/.config/rofi/settings-manager/settings-manager.rasi & disown
|
||||
ghostty -e nvim ~/.config/rofi/settings-manager/rofi-settings-manager.sh & disown
|
||||
;;
|
||||
"$ROFI_CONF")
|
||||
ghostty -e nvim ~/.config/rofi/config-manager/config-manager.rasi & disown
|
||||
ghostty -e nvim ~/.config/rofi/config-manager/rofi-config-manager.sh & disown
|
||||
;;
|
||||
"$ROFI_POW")
|
||||
ghostty -e nvim ~/.config/rofi/power-manager/power-manager.rasi & disown
|
||||
ghostty -e nvim ~/.config/rofi/power-manager/rofi-power-manager.sh & disown
|
||||
;;
|
||||
"$HYPRPAPER")
|
||||
ghostty -e nvim ~/.config/hypr/hyprpaper.conf & disown
|
||||
;;
|
||||
esac
|
||||
152
mango/rofi/help-manager/help-manager.rasi
Normal file
152
mango/rofi/help-manager/help-manager.rasi
Normal file
@@ -0,0 +1,152 @@
|
||||
configuration {
|
||||
hover-select: true;
|
||||
font: "Geist 12";
|
||||
show-icons: true;
|
||||
icon-theme: "Papirus";
|
||||
display-drun: " ";
|
||||
}
|
||||
|
||||
@theme "~/.config/rofi/theme.rasi"
|
||||
|
||||
// Main //
|
||||
window {
|
||||
height: 498px;
|
||||
width: 1110px;
|
||||
transparency: "real";
|
||||
fullscreen: false;
|
||||
enabled: true;
|
||||
spacing: 0em;
|
||||
padding: 0em;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
enabled: true;
|
||||
spacing: 0em;
|
||||
orientation: horizontal;
|
||||
children: [ "imageBoxOverlay" , "listbox", "rightTab" ];
|
||||
background-color: @base-200-opa;
|
||||
border-color: @primary-opa;
|
||||
border: 1px;
|
||||
border-radius: 1em;
|
||||
}
|
||||
|
||||
rightTab {
|
||||
background-color: transparent;
|
||||
background-image: linear-gradient(135deg,#B37ADE26,#d5aed6d9);
|
||||
expand: false;
|
||||
width: 3.5em;
|
||||
}
|
||||
|
||||
imageBoxOverlay {
|
||||
children: ["imageBox"];
|
||||
background-color: rgba(0,0,0,0.9);
|
||||
margin: 1.4em 0.8em 1.4em 1.4em;
|
||||
border-radius: 1em;
|
||||
padding: 0.6em;
|
||||
background-image: linear-gradient(135deg,#B37ADE,#f3e2a9,#DE7AB9,#7A7FDE);
|
||||
}
|
||||
imageBox {
|
||||
enabled: true;
|
||||
background-image: url("~/.config/rofi/images/neco/14.jpg", width);
|
||||
border-radius: 1em;
|
||||
}
|
||||
// Lists //
|
||||
listbox {
|
||||
spacing: 0em;
|
||||
padding: 1.4em 0.8em 1.4em 0em;
|
||||
children: [ "inputbar" , "listview" ];
|
||||
background-color: transparent;
|
||||
}
|
||||
// Inputs //
|
||||
inputbar {
|
||||
enabled: true;
|
||||
margin: 0.2em 0.8em 0.8em 0.8em;
|
||||
children: [ "prompt", "entry" ];
|
||||
background-color: transparent;
|
||||
border-radius: 0.5em;
|
||||
}
|
||||
prompt {
|
||||
font: "Geist 14";
|
||||
text-color: #E5C38F;
|
||||
background-color: transparent;
|
||||
padding: 0.8em 0.5em 0em 0.5em;
|
||||
}
|
||||
entry {
|
||||
font: "Geist 11";
|
||||
text-color: #f5e0dcff;
|
||||
background-color: #1E1B21;
|
||||
background-image: linear-gradient(135deg,#2E2A33,#1E1B21);
|
||||
border-radius: 0.5em;
|
||||
border-color: @secondary;
|
||||
placeholder: "Search...";
|
||||
placeholder-color: #BF9FD875;
|
||||
border: 1px;
|
||||
padding: 0.4em 0.2em 0.2em 0.4em;
|
||||
enabled: true;
|
||||
}
|
||||
listview {
|
||||
enabled: true;
|
||||
spacing: 0.6em;
|
||||
padding: 0em 0em;
|
||||
columns: 1;
|
||||
lines: 8;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
expand: true;
|
||||
fixed-height: false;
|
||||
fixed-columns: true;
|
||||
cursor: "default";
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
|
||||
// Elements //
|
||||
element {
|
||||
enabled: true;
|
||||
spacing: 1em;
|
||||
padding: 0.4em 0.5em 0.4em 0.4em;
|
||||
cursor: pointer;
|
||||
background-color: transparent;
|
||||
text-color: #E6D5E6;
|
||||
}
|
||||
element selected.normal {
|
||||
border-radius: 0.5em;
|
||||
background-image: linear-gradient(135deg,#d5aed666,#7866C44d,#7A7FDE66);
|
||||
text-color: @secondary;
|
||||
border-color: @primary-opa;
|
||||
border: 1px;
|
||||
}
|
||||
element-icon {
|
||||
size: 0em;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
element-text {
|
||||
font: "Geist Mono 10";
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.0;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
highlight: bold;
|
||||
}
|
||||
|
||||
// Error message //
|
||||
error-message {
|
||||
text-color: #cdd6f4ff;
|
||||
background-color: #11111be6;
|
||||
text-transform: capitalize;
|
||||
children: [ "textbox" ];
|
||||
}
|
||||
|
||||
textbox {
|
||||
text-color: inherit;
|
||||
background-color: inherit;
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.5;
|
||||
}
|
||||
29
mango/rofi/help-manager/neovim-keybinds.txt
Normal file
29
mango/rofi/help-manager/neovim-keybinds.txt
Normal file
@@ -0,0 +1,29 @@
|
||||
Ldr + l → Refresh LSP
|
||||
Ctl + f → Scroll Up Cmp
|
||||
Ctl + b → Scroll Down Cmp
|
||||
]d → Next Diagnostic
|
||||
[d → Prev Diagnostic
|
||||
Ldr + s → Search Replace Current
|
||||
Ldr + S → Search Replace Global
|
||||
Ldr + F → Format Code
|
||||
Ldr + x → Clear Diagnostics
|
||||
Ldr + cc → Comment/Uncomment
|
||||
Ldr + xx → Toggle/Show Errors/Warnings
|
||||
Ctrl + f → Find Search File
|
||||
Ldr + fg → Find Live Grep Search
|
||||
Ldr + ca → Show Code Actions
|
||||
K → Peek Signature
|
||||
gd → Go To Definition
|
||||
gr → Find References
|
||||
Ctrl + l → Clear Highlights
|
||||
Alt + Arrows → Navigate/Switch Panels
|
||||
Alt + b → Navigate/Jump Back Buf
|
||||
Alt + n → Navigate/Jump Next Buf
|
||||
Alt + c → Clear Jumps/Buf
|
||||
Alt + q → Clear/Quit Current Jump/Buf
|
||||
Ctrl + Tab → Add File To Tab
|
||||
Ldr + E → Open Directory/netrw
|
||||
(netrw) Ldr + ER → Close netrw
|
||||
(netrw) Ldr + d → Duplicate file
|
||||
(netrw) Ldr + sw → Set Current Root Dir
|
||||
Ldr + e{,<,(,",' → Wrap Word With Wrapper
|
||||
42
mango/rofi/help-manager/rofi-help-manager.sh
Executable file
42
mango/rofi/help-manager/rofi-help-manager.sh
Executable file
@@ -0,0 +1,42 @@
|
||||
#!/bin/bash
|
||||
THEME_FILE=~/.config/rofi/help-manager/help-manager.rasi
|
||||
post_rofi() {
|
||||
local image_dir="$HOME/.config/rofi/images/neco"
|
||||
local current_image=$(grep "background-image: url" "$THEME_FILE" | cut -d'"' -f2)
|
||||
local new_image=$(find "$image_dir" -type f | sort -R | head -n 1 | sed "s|^$HOME|~|")
|
||||
while true; do
|
||||
if [[ "$new_image" != "$current_image" ]]; then
|
||||
sed -i 's|url("[^"]*"|url("'"$new_image"'"|' "$THEME_FILE"
|
||||
break
|
||||
fi
|
||||
new_image=$(find "$image_dir" -type f | sort -R | head -n 1 | sed "s|^$HOME|~|")
|
||||
done
|
||||
}
|
||||
|
||||
SYSTEM=" System"
|
||||
NVIM=" Neovim"
|
||||
BASH_HELP=" Bash"
|
||||
chosen=$(echo -e "$SYSTEM\n$NVIM\n$BASH_HELP" | rofi -mesg " Keybinds" -dmenu -p "Action:" -config ~/.config/rofi/config-manager/config-manager.rasi)
|
||||
|
||||
case $chosen in
|
||||
"$NVIM")
|
||||
cat ~/.config/rofi/help-manager/neovim-keybinds.txt | rofi -mesg " Neovim Binds" -dmenu -i -p "" -config $THEME_FILE \
|
||||
-font "Geist Mono 14" \
|
||||
-kb-accept-entry ""
|
||||
;;
|
||||
"$SYSTEM")
|
||||
cat ~/.config/rofi/help-manager/system-keybinds.txt | rofi -mesg " System Binds" -dmenu -i -p "" -config $THEME_FILE \
|
||||
-font "Geist Mono 14" \
|
||||
-kb-accept-entry ""
|
||||
;;
|
||||
"$BASH_HELP")
|
||||
if [ ! -d "/tmp/firefox-dev" ]; then
|
||||
echo "Creating firefox profile"
|
||||
mkdir -p /tmp/firefox-dev
|
||||
firefox -CreateProfile "dev-profile /tmp/firefox-dev"
|
||||
fi
|
||||
|
||||
firefox -P dev-profile -private-window https://devhints.io/bash &
|
||||
;;
|
||||
esac
|
||||
post_rofi &
|
||||
22
mango/rofi/help-manager/system-keybinds.txt
Normal file
22
mango/rofi/help-manager/system-keybinds.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
Super + ALT + p → Copy/Save Screenshot
|
||||
Super + ALT + v → Screen Region Video Capture
|
||||
Super + Return → Terminal
|
||||
Super + e → File Manager
|
||||
Super + Shft + q → Quit Window
|
||||
Super + Shft + c → Configs Launcher
|
||||
Super + Shft + x → Settings Launcher
|
||||
Super + Shft + p → Power/System Launcher
|
||||
Super + d → App/Program Launcher
|
||||
Super + t → Toggle Floating Window
|
||||
Super + Arrows → Navigate Windows
|
||||
Super + Shft + Arrows → Move Windows
|
||||
Super + LMB (Drag) → Move Window
|
||||
Super + RMB (Drag) → Resize Window
|
||||
Super + , (comma) → Toggle Tile Mode
|
||||
Super + . (period) → Toggle Scroller Mode
|
||||
Ctrl + (0-9) → Navigate To Workspace#
|
||||
Ctrl + Super + L/R Arr → Move L/R With Focused Window
|
||||
Alt + (0-9) → Move Window To Workspace#
|
||||
Alt + a → Toggle Maximize Window
|
||||
Alt + f → Toggle Fullscreen Window
|
||||
Alt + tab → Toggle Overview Mode
|
||||
116
mango/rofi/power-manager/power-manager.rasi
Normal file
116
mango/rofi/power-manager/power-manager.rasi
Normal file
@@ -0,0 +1,116 @@
|
||||
configuration {
|
||||
hover-select: true;
|
||||
me-select-entry: "MousePrimary";
|
||||
me-accept-entry: "!MousePrimary";
|
||||
click-to-exit: true;
|
||||
}
|
||||
|
||||
@theme "~/.config/rofi/theme.rasi"
|
||||
// Main //
|
||||
window {
|
||||
font: "Geist 12";
|
||||
width: 15em;
|
||||
height: 13.75em;
|
||||
transparency: "real";
|
||||
enabled: true;
|
||||
cursor: "default";
|
||||
spacing: 0em;
|
||||
background-color: transparent;
|
||||
border-radius: 1em;
|
||||
}
|
||||
mainbox {
|
||||
enabled: true;
|
||||
spacing: 0em;
|
||||
orientation: vertical;
|
||||
children: [ "message", "listview" ];
|
||||
background-color: @base-200-opa;
|
||||
border-radius: 1em;
|
||||
border-color: @primary-opa;
|
||||
border: 3px;
|
||||
}
|
||||
|
||||
// decorative text at top
|
||||
message {
|
||||
enabled: true;
|
||||
background-color: @base-200;
|
||||
text-color: @primary;
|
||||
border: none;
|
||||
}
|
||||
textbox {
|
||||
padding: 12px 1em 12px 0px;
|
||||
font: "Octal Light 20";
|
||||
horizontal-align: 0.0;
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
// Lists //
|
||||
listview {
|
||||
enabled: true;
|
||||
spacing: 0.6em;
|
||||
padding: 1em;
|
||||
columns: 1;
|
||||
lines: 3;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
expand: true;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
cursor: "default";
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
// Elements //
|
||||
element {
|
||||
enabled: true;
|
||||
spacing: 1em;
|
||||
padding: 0.4em 0.5em 0.4em 3.3em;
|
||||
cursor: pointer;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
element.normal.normal,
|
||||
element.alternate.normal {
|
||||
background-color: transparent;
|
||||
text-color: @neutral;
|
||||
}
|
||||
|
||||
element selected.normal {
|
||||
border-radius: 0.5em;
|
||||
// background-color: @primary-opa;
|
||||
background-image: linear-gradient(135deg,#d5aed666,#7866C44d,#7A7FDE66);
|
||||
text-color: @secondary;
|
||||
border-color: @primary-opa;
|
||||
border: 1px;
|
||||
}
|
||||
element-icon {
|
||||
size: 1.5em;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
element-text {
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.0;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
highlight: bold;
|
||||
}
|
||||
|
||||
// Error message //
|
||||
error-message {
|
||||
text-color: #cdd6f4ff;
|
||||
background-color: #11111be6;
|
||||
text-transform: capitalize;
|
||||
children: [ "textbox" ];
|
||||
}
|
||||
|
||||
textbox {
|
||||
text-color: inherit;
|
||||
background-color: inherit;
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.5;
|
||||
}
|
||||
23
mango/rofi/power-manager/rofi-power-manager.sh
Executable file
23
mango/rofi/power-manager/rofi-power-manager.sh
Executable file
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
# save as ~/.local/bin/rofi-power-manager.sh
|
||||
|
||||
LOCKSCREEN=" Lock Screen"
|
||||
SLEEP=" Sleep"
|
||||
REBOOT=" Reboot"
|
||||
SHUTDOWN=" Shutdown"
|
||||
chosen=$(echo -e "$SLEEP\n$REBOOT\n$SHUTDOWN\n$LOCKSCREEN" | rofi -mesg " $HOSTNAME" -dmenu -p "Action:" -config ~/.config/rofi/power-manager/power-manager.rasi)
|
||||
|
||||
case $chosen in
|
||||
"$SLEEP")
|
||||
systemctl suspend-then-hibernate
|
||||
;;
|
||||
"$LOCKSCREEN")
|
||||
run-lockscreen.sh
|
||||
;;
|
||||
"$REBOOT")
|
||||
systemctl reboot
|
||||
;;
|
||||
"$SHUTDOWN")
|
||||
systemctl poweroff
|
||||
;;
|
||||
esac
|
||||
35
mango/rofi/settings-manager/rofi-settings-manager.sh
Executable file
35
mango/rofi/settings-manager/rofi-settings-manager.sh
Executable file
@@ -0,0 +1,35 @@
|
||||
#!/bin/bash
|
||||
# run init setup.sh to symlink scripts
|
||||
THEME_FILE=~/.config/rofi/settings-manager/settings-manager.rasi
|
||||
|
||||
MONITOR=" Monitor"
|
||||
WALLPAPER=" Wallpaper"
|
||||
SOUND=" Sound"
|
||||
BLUETOOTH=" Bluetooth"
|
||||
NETWORK=" Network"
|
||||
NIGHTLIGHT=" Night Light"
|
||||
|
||||
chosen=$(echo -e "$MONITOR\n$SOUND\n$BLUETOOTH\n$NETWORK\n$NIGHTLIGHT" | rofi -mesg " Settings" -dmenu -p "Action:" -config ~/.config/rofi/settings-manager/settings-manager.rasi -monitor "$ROFI_MONITOR")
|
||||
|
||||
case $chosen in
|
||||
"$MONITOR")
|
||||
wdisplays
|
||||
;;
|
||||
"$WALLPAPER")
|
||||
waypaper
|
||||
;;
|
||||
"$SOUND")
|
||||
pavucontrol
|
||||
;;
|
||||
"$BLUETOOTH")
|
||||
blueman-manager
|
||||
;;
|
||||
"$NETWORK")
|
||||
ghostty -e nmtui
|
||||
;;
|
||||
"$NIGHTLIGHT")
|
||||
ghostty -e ~/.local/bin/run-wlsunset.sh
|
||||
;;
|
||||
esac
|
||||
|
||||
post_rofi &
|
||||
129
mango/rofi/settings-manager/settings-manager.rasi
Normal file
129
mango/rofi/settings-manager/settings-manager.rasi
Normal file
@@ -0,0 +1,129 @@
|
||||
configuration {
|
||||
font: "Geist 12";
|
||||
hover-select: true;
|
||||
me-select-entry: "MousePrimary";
|
||||
me-accept-entry: "!MousePrimary";
|
||||
click-to-exit: true;
|
||||
}
|
||||
|
||||
@theme "~/.config/rofi/theme.rasi"
|
||||
|
||||
// Main //
|
||||
window {
|
||||
width: 26em;
|
||||
height: 15.8em;
|
||||
fullscreen: false;
|
||||
enabled: true;
|
||||
cursor: "default";
|
||||
spacing: 0em;
|
||||
opacity: 0;
|
||||
background-color: transparent;
|
||||
extend: false;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
enabled: true;
|
||||
spacing: 0em;
|
||||
orientation: vertical;
|
||||
children: [ "message", "mainContent" ];
|
||||
border-color: @primary-opa;
|
||||
border: 1px;
|
||||
border-radius: 1em;
|
||||
background-color: transparent;
|
||||
}
|
||||
// decorative text at top
|
||||
message {
|
||||
enabled: true;
|
||||
background-color: @base-200;
|
||||
text-color: @primary;
|
||||
border: none;
|
||||
}
|
||||
textbox {
|
||||
padding: 12px 1em 12px 0px;
|
||||
font: "Octal Light 18";
|
||||
horizontal-align: 0.0;
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
mainContent {
|
||||
padding: 1em 0;
|
||||
orientation: horizontal;
|
||||
children: [ "listview", "imageBoxOverlay" ];
|
||||
background-color: @base-200-opa;
|
||||
}
|
||||
imageBoxOverlay {
|
||||
children: ["imageBox"];
|
||||
margin: 0em 1em 0em 0em;
|
||||
border-radius: 1em;
|
||||
padding: 0.4em;
|
||||
background-image: linear-gradient(135deg,#B575E6,#EBD488,#9084E8);
|
||||
}
|
||||
imageBox {
|
||||
enabled: true;
|
||||
background-image: url("~/.config/rofi/images/oc/oc-1.png", width);
|
||||
border-radius: 1em;
|
||||
}
|
||||
|
||||
// Lists //
|
||||
listview {
|
||||
enabled: true;
|
||||
spacing: 0.6em;
|
||||
padding: 0em 1em;
|
||||
columns: 1;
|
||||
lines: 3;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
expand: true;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
cursor: "default";
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
// Elements //
|
||||
element {
|
||||
enabled: true;
|
||||
spacing: 1em;
|
||||
padding: 0.4em 0em 0.4em 2.9em;
|
||||
cursor: pointer;
|
||||
background-color: transparent;
|
||||
text-color: #E6D5E6;
|
||||
}
|
||||
element selected.normal {
|
||||
border-radius: 0.5em;
|
||||
background-image: linear-gradient(135deg,#d5aed666,#7866C44d,#7A7FDE66);
|
||||
text-color: @secondary;
|
||||
border-color: @primary-opa;
|
||||
border: 1px;
|
||||
}
|
||||
element-icon {
|
||||
size: 1.5em;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
element-text {
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.0;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
highlight: bold;
|
||||
}
|
||||
|
||||
// Error message //
|
||||
error-message {
|
||||
text-color: #cdd6f4ff;
|
||||
background-color: #11111be6;
|
||||
text-transform: capitalize;
|
||||
children: [ "textbox" ];
|
||||
}
|
||||
|
||||
textbox {
|
||||
text-color: inherit;
|
||||
background-color: inherit;
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.5;
|
||||
}
|
||||
5
mango/rofi/setup.sh
Normal file
5
mango/rofi/setup.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
ln -s ~/.config/rofi/app-manager/rofi-app-manager.sh ~/.local/bin/rofi-app-manager.sh
|
||||
ln -s ~/.config/rofi/settings-manager/rofi-settings-manager.sh ~/.local/bin/rofi-settings-manager.sh
|
||||
ln -s ~/.config/rofi/power-manager/rofi-power-manager.sh ~/.local/bin/rofi-power-manager.sh
|
||||
ln -s ~/.config/rofi/help-manager/rofi-help-manager.sh ~/.local/bin/rofi-help-manager.sh
|
||||
16
mango/rofi/theme.rasi
Normal file
16
mango/rofi/theme.rasi
Normal file
@@ -0,0 +1,16 @@
|
||||
* {
|
||||
base-300: #000000;
|
||||
|
||||
base-100: #393342;
|
||||
base-200: #211C2E;
|
||||
base-200-opa: #3D3445a6;
|
||||
neutral: #BAB6A9;
|
||||
neutral-content:#5C543E;
|
||||
primary: #d5aed6;
|
||||
primary-opa: #d5aed699;
|
||||
secondary: #f3e2a9;
|
||||
accent: #7866C4;
|
||||
|
||||
success: #a3be8c;
|
||||
error: #C97F87;
|
||||
}
|
||||
Reference in New Issue
Block a user