init
This commit is contained in:
commit
6d87ac8ba1
139 changed files with 7604 additions and 0 deletions
15
rofi/.config/rofi/config
Normal file
15
rofi/.config/rofi/config
Normal file
|
@ -0,0 +1,15 @@
|
|||
rofi.hide-scrollbar: true
|
||||
rofi.modi: combi
|
||||
rofi.terminal: alacritty
|
||||
rofi.kb-cancel: Escape,Alt+F1,Alt+F2
|
||||
rofi.lines: 5
|
||||
rofi.soft: true
|
||||
rofi.sorting-method: fzf
|
||||
rofi.combi-modi: drun,run
|
||||
rofi.combi-hide-mode-prefix: true
|
||||
rofi.display-combi: Search
|
||||
rofi.bw: 2
|
||||
rofi.padding: 0
|
||||
rofi.fixed-num-lines: false
|
||||
rofi.theme: toto.rasi
|
||||
rofi.yoffset: -130
|
60
rofi/.config/rofi/config.rasi
Normal file
60
rofi/.config/rofi/config.rasi
Normal file
|
@ -0,0 +1,60 @@
|
|||
/*
|
||||
configuration {
|
||||
modi: "combi";
|
||||
lines: 5;
|
||||
bw: 2;
|
||||
padding: 0;
|
||||
yoffset: 0;
|
||||
fixed-num-lines: false;
|
||||
terminal: "alacritty";
|
||||
sorting-method: "fzf";
|
||||
combi-modi: "drun,run";
|
||||
hide-scrollbar: true;
|
||||
combi-hide-mode-prefix: true;
|
||||
display-combi: "Search";
|
||||
kb-cancel: "Escape,Alt+F1,Alt+F2";
|
||||
}
|
||||
|
||||
@theme "/usr/share/rofi/themes/fancy.rasi"
|
||||
@theme "/home/forbi/.config/rofi/toto.rasi"
|
||||
*/
|
||||
|
||||
configuration {
|
||||
modi: "drun,run,ssh,filebrowser,powermenu:~/.config/rofi/powermenu.lua";
|
||||
|
||||
me-accept-entry: "MousePrimary";
|
||||
me-select-entry: "";
|
||||
show-icons: true;
|
||||
icon-theme: "ePapirus";
|
||||
application-fallback-icon: "run-build";
|
||||
|
||||
drun-display-format: " {name} ";
|
||||
run-shell-command: "foot {cmd}";
|
||||
ssh-command: "foot --term=xterm ssh {host}";
|
||||
sidebar-mode: true;
|
||||
matching: "fuzzy";
|
||||
scroll-method: 0;
|
||||
disable-history: false;
|
||||
|
||||
display-drun: " Apps";
|
||||
display-run: " Run";
|
||||
display-ssh: " SSH";
|
||||
display-filebrowser: " Files";
|
||||
display-powermenu: " Power";
|
||||
|
||||
combi-modi: "drun,run";
|
||||
sort: true;
|
||||
sorting-method: "fzf";
|
||||
|
||||
timeout {
|
||||
action: "kb-cancel";
|
||||
delay: 30;
|
||||
}
|
||||
|
||||
filebrowser {
|
||||
directories-first: true;
|
||||
sorting-method: "name";
|
||||
}
|
||||
}
|
||||
|
||||
@theme "theme.rasi"
|
11
rofi/.config/rofi/kill.sh
Executable file
11
rofi/.config/rofi/kill.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
|
||||
#!/bin/bash
|
||||
|
||||
if [ "$@" ]
|
||||
then
|
||||
pid=$(printf "%d" $(echo -e "$@" | cut -d ":" -f 1))
|
||||
echo "$pid"
|
||||
kill "$pid"
|
||||
else
|
||||
ps -U $UID --no-headers -o "%p %c"
|
||||
fi
|
22
rofi/.config/rofi/power.sh
Executable file
22
rofi/.config/rofi/power.sh
Executable file
|
@ -0,0 +1,22 @@
|
|||
|
||||
#!/bin/bash
|
||||
|
||||
OPTIONS="\tLogout\n⏻\tShutdown\n\tReboot"
|
||||
|
||||
option=`echo -e $OPTIONS | awk '{print $1}' | tr -d '\r\n\t'`
|
||||
if [ "$@" ]
|
||||
then
|
||||
case $@ in
|
||||
*Logout)
|
||||
i3-msg exit
|
||||
;;
|
||||
*Shutdown)
|
||||
shutdown now
|
||||
;;
|
||||
*Reboot)
|
||||
reboot
|
||||
;;
|
||||
esac
|
||||
else
|
||||
echo -e $OPTIONS
|
||||
fi
|
41
rofi/.config/rofi/powermenu.lua
Executable file
41
rofi/.config/rofi/powermenu.lua
Executable file
|
@ -0,0 +1,41 @@
|
|||
#!/usr/bin/env luajit
|
||||
|
||||
-- Use a list because table keys are randomly sorted
|
||||
-- It's also easier to add options or edit them this way
|
||||
local options = {
|
||||
{
|
||||
name = "Sleep",
|
||||
icon = "system-suspend",
|
||||
command = "systemctl suspend",
|
||||
},
|
||||
{
|
||||
name = "Shut down",
|
||||
icon = "system-shutdown",
|
||||
command = "systemctl poweroff",
|
||||
},
|
||||
{
|
||||
name = "Restart",
|
||||
icon = "system-reboot",
|
||||
command = "systemctl reboot",
|
||||
},
|
||||
{
|
||||
name = "Lock",
|
||||
icon = "system-lock-screen",
|
||||
command = "swaylock",
|
||||
},
|
||||
{
|
||||
name = "Log out",
|
||||
icon = "system-log-out",
|
||||
command = "swaymsg exit",
|
||||
},
|
||||
}
|
||||
|
||||
for i, opt in ipairs(options) do
|
||||
if arg[1] then
|
||||
if opt.name == arg[1] then
|
||||
os.execute(opt.command)
|
||||
end
|
||||
else
|
||||
print(opt.name .. "\0icon\x1f" .. opt.icon)
|
||||
end
|
||||
end
|
135
rofi/.config/rofi/theme.rasi
Normal file
135
rofi/.config/rofi/theme.rasi
Normal file
|
@ -0,0 +1,135 @@
|
|||
@import "default"
|
||||
|
||||
* {
|
||||
bg: #191724;
|
||||
cur: #1f1d2e;
|
||||
fgd: #e0def4;
|
||||
cmt: #6e6a86;
|
||||
cya: #9ccfd8;
|
||||
grn: #31748f;
|
||||
ora: #ebbcba;
|
||||
pur: #c4a7e7;
|
||||
red: #eb6f92;
|
||||
yel: #f6c177;
|
||||
|
||||
font: "RobotoMono Nerd Font 14";
|
||||
|
||||
foreground: @fgd;
|
||||
background: @bg;
|
||||
active-background: @grn;
|
||||
urgent-background: @red;
|
||||
|
||||
selected-background: @active-background;
|
||||
selected-urgent-background: @urgent-background;
|
||||
selected-active-background: @active-background;
|
||||
separatorcolor: @active-background;
|
||||
bordercolor: @ora;
|
||||
}
|
||||
|
||||
#window {
|
||||
background-color: @background;
|
||||
border: 3;
|
||||
border-radius: 6;
|
||||
border-color: @bordercolor;
|
||||
padding: 5;
|
||||
}
|
||||
#mainbox {
|
||||
border: 0;
|
||||
padding: 5;
|
||||
}
|
||||
#message {
|
||||
border: 1px dash 0px 0px ;
|
||||
border-color: @separatorcolor;
|
||||
padding: 1px ;
|
||||
}
|
||||
#textbox {
|
||||
text-color: @foreground;
|
||||
}
|
||||
#listview {
|
||||
fixed-height: 0;
|
||||
border: 2px dash 0px 0px ;
|
||||
border-color: @bordercolor;
|
||||
spacing: 2px ;
|
||||
scrollbar: false;
|
||||
padding: 2px 0px 0px ;
|
||||
}
|
||||
#element {
|
||||
border: 0;
|
||||
padding: 1px ;
|
||||
}
|
||||
#element.normal.normal {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.normal.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @urgent-foreground;
|
||||
}
|
||||
#element.normal.active {
|
||||
background-color: @active-background;
|
||||
text-color: @background;
|
||||
}
|
||||
#element.selected.normal {
|
||||
background-color: @selected-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.selected.urgent {
|
||||
background-color: @selected-urgent-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.selected.active {
|
||||
background-color: @selected-active-background;
|
||||
text-color: @background;
|
||||
}
|
||||
#element.alternate.normal {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.alternate.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#element.alternate.active {
|
||||
background-color: @active-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#scrollbar {
|
||||
width: 2px ;
|
||||
border: 0;
|
||||
handle-width: 8px ;
|
||||
padding: 0;
|
||||
}
|
||||
#sidebar {
|
||||
border: 2px dash 0px 0px ;
|
||||
border-color: @separatorcolor;
|
||||
}
|
||||
#button.selected {
|
||||
background-color: @selected-background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#inputbar {
|
||||
spacing: 0;
|
||||
text-color: @foreground;
|
||||
padding: 1px ;
|
||||
}
|
||||
#case-indicator {
|
||||
spacing: 0;
|
||||
text-color: @foreground;
|
||||
}
|
||||
#entry {
|
||||
spacing: 0;
|
||||
text-color: @cya;
|
||||
}
|
||||
#prompt {
|
||||
spacing: 0;
|
||||
text-color: @grn;
|
||||
}
|
||||
#inputbar {
|
||||
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
|
||||
}
|
||||
#textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: ":";
|
||||
margin: 0px 0.3em 0em 0em;
|
||||
text-color: @grn;
|
||||
}
|
94
rofi/.config/rofi/toto.rasi
Normal file
94
rofi/.config/rofi/toto.rasi
Normal file
|
@ -0,0 +1,94 @@
|
|||
configuration {
|
||||
display-drun: "run";
|
||||
display-combi: "combi";
|
||||
show-icons: true;
|
||||
font: "Monaco for Powerline 12";
|
||||
}
|
||||
* {
|
||||
purple: #000000;
|
||||
black: #000000;
|
||||
red: #eb6e67;
|
||||
green: #95ee8f;
|
||||
yellow: #f8c456;
|
||||
blue: #35BF5C;
|
||||
mangenta: #d886f3;
|
||||
cyan: #6cdcf7;
|
||||
emphasis: #206255;
|
||||
text: #dfdfdf;
|
||||
text-alt: #b2b2b2;
|
||||
fg: #abb2bf;
|
||||
bg: #282c34;
|
||||
spacing: 0;
|
||||
background-color: transparent;
|
||||
font: "Knack Nerd Font 14";
|
||||
text-color: @text;
|
||||
}
|
||||
window {
|
||||
transparency: "real";
|
||||
background-color: #282c34dd;
|
||||
}
|
||||
mainbox {
|
||||
padding: 25px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
inputbar {
|
||||
margin: 0px 0px 20px 0px;
|
||||
children: [prompt, textbox-prompt-colon, entry, case-indicator];
|
||||
}
|
||||
prompt {
|
||||
text-color: @green;
|
||||
}
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: ":";
|
||||
text-color: @text-alt;
|
||||
}
|
||||
entry {
|
||||
margin: 0px 10px;
|
||||
text-color: @text-alt;
|
||||
}
|
||||
listview {
|
||||
spacing: 5px;
|
||||
dynamic: true;
|
||||
scrollbar: false;
|
||||
}
|
||||
element.normal.normal {
|
||||
text-color: @text-alt;
|
||||
background-color: @bg;
|
||||
}
|
||||
element.alternate.normal {
|
||||
text-color: @text-alt;
|
||||
background-color: @bg;
|
||||
}
|
||||
element.selected.normal {
|
||||
text-color: @text-alt;
|
||||
background-color: @emphasis;
|
||||
}
|
||||
element {
|
||||
padding: 5px;
|
||||
text-color: @text-alt;
|
||||
highlight: bold #95ee8f; /* green */
|
||||
border-radius: 3px;
|
||||
}
|
||||
element selected {
|
||||
background-color: @emphasis;
|
||||
text-color: @text;
|
||||
}
|
||||
element urgent, element selected urgent {
|
||||
text-color: @red;
|
||||
}
|
||||
element active, element selected active {
|
||||
text-color: @purple;
|
||||
}
|
||||
message {
|
||||
padding: 5px;
|
||||
border-radius: 3px;
|
||||
background-color: @emphasis;
|
||||
border: 1px;
|
||||
border-color: @cyan;
|
||||
}
|
||||
button selected {
|
||||
padding: 5px;
|
||||
border-radius: 3px;
|
||||
background-color: @emphasis;
|
||||
}
|
151
rofi/.config/rofi/vapor.rasi
Normal file
151
rofi/.config/rofi/vapor.rasi
Normal file
|
@ -0,0 +1,151 @@
|
|||
/*******************************************************************************
|
||||
* ROFI Color theme
|
||||
* User: Sergio Morales
|
||||
* Copyright: Sergio Morales
|
||||
*******************************************************************************/
|
||||
|
||||
* {
|
||||
foreground: rgba ( 88, 105, 123, 100 % );
|
||||
normal-foreground: @foreground;
|
||||
alternate-normal-background: @normal-background;
|
||||
red: rgba ( 220, 50, 47, 100 % );
|
||||
selected-urgent-foreground: rgba ( 220, 50, 47, 100 % );
|
||||
blue: rgba ( 38, 139, 210, 100 % );
|
||||
urgent-foreground: rgba ( 220, 50, 47, 100 % );
|
||||
alternate-urgent-background: rgba ( 245, 245, 245, 100 % );
|
||||
active-foreground: rgba ( 194, 202, 208, 100 % );
|
||||
lightbg: rgba ( 238, 232, 213, 100 % );
|
||||
alternate-active-background: rgba ( 245, 245, 245, 100 % );
|
||||
background: rgba ( 9, 6, 17, 100 % );
|
||||
bordercolor: rgba ( 195, 193, 61, 100 % );
|
||||
alternate-normal-foreground: @foreground;
|
||||
normal-background: rgba ( 255, 255, 255, 0 % );
|
||||
lightfg: rgba ( 88, 104, 117, 100 % );
|
||||
selected-normal-background: rgba ( 150, 45, 76, 80 % );
|
||||
selected-normal-foreground: rgba ( 180, 144, 82, 100 % );
|
||||
selected-active-foreground: rgba ( 180, 144, 82, 100 % );
|
||||
border-color: rgba ( 150, 45, 76, 100 % );
|
||||
spacing: 2;
|
||||
separatorcolor: none;
|
||||
urgent-background: rgba ( 255, 255, 255, 100 % );
|
||||
selected-urgent-background: rgba ( 82, 148, 226, 100 % );
|
||||
alternate-urgent-foreground: @urgent-foreground;
|
||||
background-color: rgba ( 0, 0, 0, 0 % );
|
||||
alternate-active-foreground: @active-foreground;
|
||||
active-background: rgba ( 255, 255, 255, 100 % );
|
||||
selected-active-background: rgba ( 82, 148, 226, 100 % );
|
||||
|
||||
font: "Inconsolata Regular 13";
|
||||
}
|
||||
#window {
|
||||
background-color: @background;
|
||||
border: 2;
|
||||
padding: 20;
|
||||
width: 30%;
|
||||
}
|
||||
#mainbox {
|
||||
border: 0;
|
||||
padding: 10;
|
||||
}
|
||||
#message {
|
||||
border: 0px 0px 0px ;
|
||||
border-color: @separatorcolor;
|
||||
padding: 1px ;
|
||||
}
|
||||
#textbox {
|
||||
text-color: @foreground;
|
||||
}
|
||||
#listview {
|
||||
fixed-height: 0;
|
||||
border: 0px 0px 0px ;
|
||||
border-color: @separatorcolor;
|
||||
spacing: 2px ;
|
||||
scrollbar: true;
|
||||
padding: 2px 0px 0px ;
|
||||
}
|
||||
#element {
|
||||
border: 0;
|
||||
padding: 15px 15px ;
|
||||
}
|
||||
#element.normal.normal {
|
||||
background-color: @normal-background;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
#element.normal.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @urgent-foreground;
|
||||
}
|
||||
#element.normal.active {
|
||||
background-color: @active-background;
|
||||
text-color: @active-foreground;
|
||||
}
|
||||
#element.selected.normal {
|
||||
background-color: @selected-normal-background;
|
||||
text-color: @selected-normal-foreground;
|
||||
}
|
||||
#element.selected.urgent {
|
||||
background-color: @selected-urgent-background;
|
||||
text-color: @selected-urgent-foreground;
|
||||
}
|
||||
#element.selected.active {
|
||||
background-color: @selected-active-background;
|
||||
text-color: @selected-active-foreground;
|
||||
}
|
||||
#element.alternate.normal {
|
||||
background-color: @alternate-normal-background;
|
||||
text-color: @alternate-normal-foreground;
|
||||
}
|
||||
#element.alternate.urgent {
|
||||
background-color: @alternate-urgent-background;
|
||||
text-color: @alternate-urgent-foreground;
|
||||
}
|
||||
#element.alternate.active {
|
||||
background-color: @alternate-active-background;
|
||||
text-color: @alternate-active-foreground;
|
||||
}
|
||||
#scrollbar {
|
||||
width: 0 ;
|
||||
border: 0;
|
||||
handle-width: 0px ;
|
||||
padding: 0;
|
||||
}
|
||||
#sidebar {
|
||||
border: 0px 0px 0px ;
|
||||
border-color: @separatorcolor;
|
||||
}
|
||||
#button.selected {
|
||||
background-color: @selected-normal-background;
|
||||
text-color: @selected-normal-foreground;
|
||||
}
|
||||
#inputbar {
|
||||
spacing: 0;
|
||||
text-color: @normal-foreground;
|
||||
padding: 10px 20px 20px;
|
||||
margin: 0px 0px 15px;
|
||||
border: 0px 0px 2px;
|
||||
border-color: @selected-normal-background;
|
||||
}
|
||||
#case-indicator {
|
||||
spacing: 0;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
#entry {
|
||||
spacing: 0;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
#prompt {
|
||||
spacing: 0;
|
||||
text-color: @normal-foreground;
|
||||
font: "Inconsolata Bold 15";
|
||||
margin: -2px 0 0 0;
|
||||
}
|
||||
#inputbar {
|
||||
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
|
||||
}
|
||||
#textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " > ";
|
||||
margin: 0 0.3em 0em 0em ;
|
||||
text-color: @normal-foreground;
|
||||
font: "Inconsolata Bold 13";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue