init commit
This commit is contained in:
41
hypr/foot/colors.ini
Normal file
41
hypr/foot/colors.ini
Normal file
@@ -0,0 +1,41 @@
|
||||
[colors]
|
||||
alpha=1.0
|
||||
foreground=f1fcf9
|
||||
background=24273a
|
||||
|
||||
## Normal/regular colors (color palette 0-7)
|
||||
regular0=20262c # black
|
||||
regular1=ed8796 # red
|
||||
regular2=a6da95 # green
|
||||
regular3=eed49f # yellow
|
||||
regular4=8aadf4 # blue
|
||||
regular5=c6a0f6 # magenta
|
||||
regular6=91d7e3 # cyan
|
||||
regular7=f1fcf9 # white
|
||||
|
||||
## Bright colors (color palette 8-15)
|
||||
bright0=465463 # bright black
|
||||
bright1=d04e9d # bright red
|
||||
bright2=4bc66d # bright green
|
||||
bright3=db695b # bright yellow
|
||||
bright4=3dbac2 # bright blue
|
||||
bright5=825ece # bright magenta
|
||||
bright6=62cdcd # bright cyan
|
||||
bright7=e0e5e5 # bright white
|
||||
|
||||
## dimmed colors (see foot.ini(5) man page)
|
||||
# dim0=<not set>
|
||||
# ...
|
||||
# dim7=<not-set>
|
||||
|
||||
## The remaining 256-color palette
|
||||
# 16 = <256-color palette #16>
|
||||
# ...
|
||||
# 255 = <256-color palette #255>
|
||||
|
||||
## Misc colors
|
||||
# selection-foreground=<inverse foreground/background>
|
||||
# selection-background=<inverse foreground/background>
|
||||
# jump-labels=<regular0> <regular3>
|
||||
# urls=<regular3>
|
||||
# scrollback-indicator=<regular0> <bright4>
|
15
hypr/foot/fonts.ini
Normal file
15
hypr/foot/fonts.ini
Normal file
@@ -0,0 +1,15 @@
|
||||
## Copyright (C) 2020-2023 Aditya Shakya <adi1090x@gmail.com>
|
||||
##
|
||||
## --------------------------------------------------
|
||||
|
||||
# font=JetBrainsMono Nerd Font:size=8
|
||||
#font-bold=JetBrainsMono Nerd Font:size=8
|
||||
#font-italic=JetBrainsMono Nerd Font:size=8
|
||||
#font-bold-italic=JetBrainsMono Nerd Font:size=8
|
||||
#line-height=10
|
||||
#letter-spacing=0
|
||||
#horizontal-letter-offset=0
|
||||
#vertical-letter-offset=0
|
||||
#underline-offset=0
|
||||
#box-drawings-uses-font-glyphs=no
|
||||
dpi-aware=yes
|
33
hypr/foot/foot.ini
Normal file
33
hypr/foot/foot.ini
Normal file
@@ -0,0 +1,33 @@
|
||||
include=~/.config/hypr/foot/colors.ini
|
||||
include=~/.config/hypr/foot/fonts.ini
|
||||
|
||||
shell=/bin/fish
|
||||
|
||||
initial-window-size-chars=82x24
|
||||
initial-window-mode=windowed
|
||||
pad=15x15
|
||||
resize-delay-ms=100
|
||||
|
||||
[bell]
|
||||
#urgent=no
|
||||
#notify=no
|
||||
#command=
|
||||
#command-focused=no
|
||||
[scrollback]
|
||||
lines=1000
|
||||
multiplier=3.0
|
||||
|
||||
|
||||
[url]
|
||||
launch=xdg-open ${url}
|
||||
|
||||
[cursor]
|
||||
style=block
|
||||
# color=111111 dcdccc
|
||||
blink=yes
|
||||
|
||||
[mouse]
|
||||
hide-when-typing=yes
|
||||
alternate-scroll-mode=yes
|
||||
|
||||
|
202
hypr/rofi/launcher.rasi
Normal file
202
hypr/rofi/launcher.rasi
Normal file
@@ -0,0 +1,202 @@
|
||||
/**
|
||||
* Copyright (C) 2020-2023 Aditya Shakya <adi1090x@gmail.com>
|
||||
**/
|
||||
|
||||
/*****----- Configuration -----*****/
|
||||
configuration {
|
||||
modi: "drun,run,filebrowser";
|
||||
show-icons: true;
|
||||
display-drun: "";
|
||||
display-run: "";
|
||||
display-filebrowser: "";
|
||||
drun-display-format: "{name}";
|
||||
}
|
||||
|
||||
/*****----- Global Properties -----*****/
|
||||
@import "shared/colors.rasi"
|
||||
@import "shared/fonts.rasi"
|
||||
|
||||
/*****----- Main Window -----*****/
|
||||
window {
|
||||
/* properties for window widget */
|
||||
transparency: "real";
|
||||
location: center;
|
||||
anchor: center;
|
||||
fullscreen: false;
|
||||
width: 800px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
|
||||
/* properties for all widgets */
|
||||
enabled: true;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 2px solid;
|
||||
border-radius: 15px;
|
||||
border-color: @border;
|
||||
cursor: "default";
|
||||
background-color: @background;
|
||||
}
|
||||
|
||||
/*****----- Main Box -----*****/
|
||||
mainbox {
|
||||
enabled: true;
|
||||
spacing: 10px;
|
||||
margin: 0px;
|
||||
padding: 30px;
|
||||
background-color: transparent;
|
||||
children: [ "inputbar", "message", "listview", "mode-switcher" ];
|
||||
}
|
||||
|
||||
/*****----- Inputbar -----*****/
|
||||
inputbar {
|
||||
enabled: true;
|
||||
spacing: 10px;
|
||||
margin: 0px;
|
||||
padding: 10px;
|
||||
border-radius: 0px;
|
||||
background-color: @background-alt;
|
||||
text-color: @foreground;
|
||||
children: [ "textbox-prompt-colon", "entry" ];
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
}
|
||||
textbox-prompt-colon {
|
||||
enabled: true;
|
||||
padding: 0px;
|
||||
expand: false;
|
||||
str: " ";
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
}
|
||||
entry {
|
||||
enabled: true;
|
||||
padding: 0px;
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
cursor: text;
|
||||
placeholder: "Search...";
|
||||
placeholder-color: inherit;
|
||||
}
|
||||
|
||||
/*****----- Listview -----*****/
|
||||
listview {
|
||||
enabled: true;
|
||||
columns: 2;
|
||||
lines: 7;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
|
||||
spacing: 5px;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
cursor: "default";
|
||||
}
|
||||
scrollbar {
|
||||
handle-width: 5px ;
|
||||
handle-color: @selected;
|
||||
border-radius: 10px;
|
||||
background-color: @background-alt;
|
||||
}
|
||||
|
||||
/*****----- Elements -----*****/
|
||||
element {
|
||||
enabled: true;
|
||||
spacing: 10px;
|
||||
margin: 0px;
|
||||
padding: 6px;
|
||||
border-radius: 0px;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
cursor: pointer;
|
||||
}
|
||||
element normal.normal,
|
||||
element alternate.normal {
|
||||
background-color: var(background);
|
||||
text-color: var(foreground);
|
||||
}
|
||||
element normal.urgent,
|
||||
element alternate.urgent,
|
||||
element selected.active {
|
||||
background-color: var(urgent);
|
||||
text-color: var(background);
|
||||
}
|
||||
element normal.active,
|
||||
element alternate.active,
|
||||
element selected.urgent {
|
||||
background-color: var(active);
|
||||
text-color: var(background);
|
||||
}
|
||||
element selected.normal {
|
||||
background-color: var(selected);
|
||||
text-color: var(background);
|
||||
}
|
||||
element-icon {
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
size: 24px;
|
||||
cursor: inherit;
|
||||
}
|
||||
element-text {
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
highlight: inherit;
|
||||
cursor: inherit;
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.0;
|
||||
}
|
||||
|
||||
/*****----- Mode Switcher -----*****/
|
||||
mode-switcher{
|
||||
enabled: true;
|
||||
spacing: 10px;
|
||||
margin: 0px;
|
||||
padding: 0px 250px;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
button {
|
||||
padding: 10px;
|
||||
border-radius: 0px;
|
||||
background-color: @background-alt;
|
||||
text-color: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
button selected {
|
||||
background-color: var(urgent);
|
||||
text-color: var(background);
|
||||
}
|
||||
|
||||
/*****----- Message -----*****/
|
||||
message {
|
||||
enabled: true;
|
||||
margin: 0px;
|
||||
padding: 10px;
|
||||
border-radius: 0px;
|
||||
background-color: @background-alt;
|
||||
text-color: @foreground;
|
||||
}
|
||||
textbox {
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.0;
|
||||
highlight: none;
|
||||
placeholder-color: @foreground;
|
||||
blink: true;
|
||||
markup: true;
|
||||
}
|
||||
error-message {
|
||||
padding: 30px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
13
hypr/rofi/shared/colors.rasi
Normal file
13
hypr/rofi/shared/colors.rasi
Normal file
@@ -0,0 +1,13 @@
|
||||
/* Copyright (C) 2020-2023 Aditya Shakya <adi1090x@gmail.com> */
|
||||
|
||||
/* Colors */
|
||||
|
||||
* {
|
||||
background: #24273a;
|
||||
background-alt: #1e2030;
|
||||
border: #c6a0f6;
|
||||
foreground: #cad3f5;
|
||||
selected: #c6a0f6;
|
||||
active: #c6a0f6;
|
||||
urgent: #ed8796;
|
||||
}
|
9
hypr/rofi/shared/fonts.rasi
Normal file
9
hypr/rofi/shared/fonts.rasi
Normal file
@@ -0,0 +1,9 @@
|
||||
/* Copyright (C) 2020-2023 Aditya Shakya <adi1090x@gmail.com> */
|
||||
|
||||
/* Text Font */
|
||||
|
||||
/*
|
||||
{
|
||||
font: "Iosevka Nerd Font 10";
|
||||
}
|
||||
*/
|
7
hypr/scripts/rofi_launcher
Executable file
7
hypr/scripts/rofi_launcher
Executable file
@@ -0,0 +1,7 @@
|
||||
DIR="$HOME/.config/hypr"
|
||||
RASI="$DIR/rofi/launcher.rasi"
|
||||
|
||||
# Run
|
||||
rofi \
|
||||
-show drun \
|
||||
-theme ${RASI}
|
12
hypr/scripts/terminal
Executable file
12
hypr/scripts/terminal
Executable file
@@ -0,0 +1,12 @@
|
||||
CONFIG="$HOME/.config/hypr/foot/foot.ini"
|
||||
|
||||
if [ "$1" == "-f" ]; then
|
||||
foot --app-id='foot-float' --config="$CONFIG"
|
||||
elif [ "$1" == "-F" ]; then
|
||||
foot --fullscreen --app-id='foot-full' --font="Iosevka Nerd Font:size=14" --override=pad=35x35 --config="$CONFIG"
|
||||
elif [ "$1" == "-s" ]; then
|
||||
foot --app-id='foot-float' --config="$CONFIG" \
|
||||
--window-size-pixels=$(slurp -b 20262CCC -c B4A1DBff -s B4A1DB0D -w 2 -f "%wx%h")
|
||||
else
|
||||
foot --config="$CONFIG" $@
|
||||
fi
|
Reference in New Issue
Block a user