mirror of
https://github.com/ksyasuda/dotfiles.git
synced 2026-02-04 06:36:35 -08:00
update
This commit is contained in:
@@ -1,12 +1,35 @@
|
|||||||
@import "catppuccin-macchiato.rasi"
|
// @import "catppuccin-latte"
|
||||||
|
// @import "catppuccin-frappe"
|
||||||
configuration {
|
// @import "catppuccin-macchiato"
|
||||||
show-icons: true;
|
// @import "catppuccin-mocha"
|
||||||
icon-theme: "Dracula";
|
|
||||||
dpi: 144;
|
|
||||||
}
|
|
||||||
|
|
||||||
* {
|
* {
|
||||||
|
rosewater: #f4dbd6;
|
||||||
|
flamingo: #f0c6c6;
|
||||||
|
pink: #f5bde6;
|
||||||
|
mauve: #c6a0f6;
|
||||||
|
red: #ed8796;
|
||||||
|
maroon: #ee99a0;
|
||||||
|
peach: #f5a97f;
|
||||||
|
yellow: #eed49f;
|
||||||
|
green: #a6da95;
|
||||||
|
teal: #8bd5ca;
|
||||||
|
sky: #91d7e3;
|
||||||
|
sapphire: #7dc4e4;
|
||||||
|
blue: #8aadf4;
|
||||||
|
lavender: #b7bdf8;
|
||||||
|
text: #cad3f5;
|
||||||
|
subtext1: #b8c0e0;
|
||||||
|
subtext0: #a5adcb;
|
||||||
|
overlay2: #939ab7;
|
||||||
|
overlay1: #8087a2;
|
||||||
|
overlay0: #6e738d;
|
||||||
|
surface2: #5b6078;
|
||||||
|
surface1: #494d64;
|
||||||
|
surface0: #363a4f;
|
||||||
|
base: #24273a;
|
||||||
|
mantle: #1e2030;
|
||||||
|
crust: #181926;
|
||||||
selected-active-foreground: @background;
|
selected-active-foreground: @background;
|
||||||
lightfg: @text;
|
lightfg: @text;
|
||||||
separatorcolor: @foreground;
|
separatorcolor: @foreground;
|
||||||
@@ -35,6 +58,11 @@ configuration {
|
|||||||
alternate-active-foreground: @blue;
|
alternate-active-foreground: @blue;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
configuration {
|
||||||
|
show-icons: true;
|
||||||
|
icon-theme: "Dracula";
|
||||||
|
dpi: 144;
|
||||||
|
}
|
||||||
element {
|
element {
|
||||||
padding: 1px ;
|
padding: 1px ;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@@ -90,12 +118,6 @@ element-icon {
|
|||||||
text-color: inherit;
|
text-color: inherit;
|
||||||
}
|
}
|
||||||
window {
|
window {
|
||||||
border: 4;
|
|
||||||
padding: 12px;
|
|
||||||
border-radius: 12px;
|
|
||||||
anchor: center;
|
|
||||||
location: center;
|
|
||||||
|
|
||||||
padding: 5;
|
padding: 5;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
border: 1;
|
border: 1;
|
||||||
@@ -180,4 +202,3 @@ textbox-prompt-colon {
|
|||||||
str: ":";
|
str: ":";
|
||||||
text-color: inherit;
|
text-color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ configuration {
|
|||||||
show-icons: true;
|
show-icons: true;
|
||||||
icon-theme: "Dracula";
|
icon-theme: "Dracula";
|
||||||
dpi: 144;
|
dpi: 144;
|
||||||
|
modes: "window,run,ssh,drun,filebrowser";
|
||||||
}
|
}
|
||||||
|
|
||||||
#window {
|
#window {
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ mainbox {
|
|||||||
border-radius: 0px 0px 0px 0px;
|
border-radius: 0px 0px 0px 0px;
|
||||||
border-color: @selected;
|
border-color: @selected;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
children: [ "inputbar", "listview" ];
|
children: [ "inputbar", "listview-split" ];
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
/*****----- Inputbar -----*****/
|
||||||
@@ -110,6 +110,18 @@ listview {
|
|||||||
text-color: @foreground;
|
text-color: @foreground;
|
||||||
cursor: "default";
|
cursor: "default";
|
||||||
}
|
}
|
||||||
|
listview-split {
|
||||||
|
orientation: horizontal;
|
||||||
|
children: [listview, icon-current-entry];
|
||||||
|
spacing: 1em;
|
||||||
|
background-color: @background;
|
||||||
|
}
|
||||||
|
icon-current-entry {
|
||||||
|
expand: true;
|
||||||
|
size: 40%;
|
||||||
|
background-color: transparent;
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
scrollbar {
|
scrollbar {
|
||||||
handle-width: 5px ;
|
handle-width: 5px ;
|
||||||
handle-color: @selected;
|
handle-color: @selected;
|
||||||
@@ -173,3 +185,10 @@ textbox {
|
|||||||
horizontal-align: 0.0;
|
horizontal-align: 0.0;
|
||||||
highlight: none;
|
highlight: none;
|
||||||
}
|
}
|
||||||
|
scrollbar {
|
||||||
|
width: 4px;
|
||||||
|
handle-color: @surface2;
|
||||||
|
handle-width: 4px;
|
||||||
|
background-color: @surface0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ set -Eeuo pipefail
|
|||||||
|
|
||||||
THEME="$HOME/.config/rofi/launchers/type-3/style-4.rasi"
|
THEME="$HOME/.config/rofi/launchers/type-3/style-4.rasi"
|
||||||
DIR="$HOME/Pictures/wallpapers/favorites"
|
DIR="$HOME/Pictures/wallpapers/favorites"
|
||||||
SELECTED_WALL=$(cd "$DIR" && for a in *.jpg *.png; do echo -en "$a\0icon\x1f$a\n"; done | rofi -dmenu -i -no-custom -theme "$THEME" -p "Select a wallpaper" -theme-str 'configuration {icon-size: 128; dpi: 96;} window {width: 45%; height: 45%;}')
|
SELECTED_WALL=$(cd "$DIR" && for a in *.jpg *.png; do echo -en "$a\0icon\x1f$a\n"; done | rofi -dmenu -i -no-custom -theme "$THEME" -p "Select a wallpaper" -theme-str 'configuration {icon-size: 256; dpi: 96;} window {width: 75%; height: 69%;} listview {rows: 5; lines: 7;}')
|
||||||
PTH="$(printf "%s" "$DIR/$SELECTED_WALL" | tr -s '/')"
|
PTH="$(printf "%s" "$DIR/$SELECTED_WALL" | tr -s '/')"
|
||||||
hyprctl hyprpaper wallpaper "DP-1, $PTH"
|
hyprctl hyprpaper wallpaper "DP-1, $PTH"
|
||||||
notify-send -a "rofi-wallpaper" "Wallpaper set to" -i "$PTH" "$PTH"
|
notify-send -a "rofi-wallpaper" "Wallpaper set to" -i "$PTH" "$PTH"
|
||||||
|
|||||||
Reference in New Issue
Block a user