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"
|
||||
|
||||
configuration {
|
||||
show-icons: true;
|
||||
icon-theme: "Dracula";
|
||||
dpi: 144;
|
||||
}
|
||||
// @import "catppuccin-latte"
|
||||
// @import "catppuccin-frappe"
|
||||
// @import "catppuccin-macchiato"
|
||||
// @import "catppuccin-mocha"
|
||||
|
||||
* {
|
||||
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;
|
||||
lightfg: @text;
|
||||
separatorcolor: @foreground;
|
||||
@@ -35,6 +58,11 @@ configuration {
|
||||
alternate-active-foreground: @blue;
|
||||
|
||||
}
|
||||
configuration {
|
||||
show-icons: true;
|
||||
icon-theme: "Dracula";
|
||||
dpi: 144;
|
||||
}
|
||||
element {
|
||||
padding: 1px ;
|
||||
cursor: pointer;
|
||||
@@ -90,12 +118,6 @@ element-icon {
|
||||
text-color: inherit;
|
||||
}
|
||||
window {
|
||||
border: 4;
|
||||
padding: 12px;
|
||||
border-radius: 12px;
|
||||
anchor: center;
|
||||
location: center;
|
||||
|
||||
padding: 5;
|
||||
background-color: @background;
|
||||
border: 1;
|
||||
@@ -180,4 +202,3 @@ textbox-prompt-colon {
|
||||
str: ":";
|
||||
text-color: inherit;
|
||||
}
|
||||
|
||||
|
||||
@@ -30,6 +30,7 @@ configuration {
|
||||
show-icons: true;
|
||||
icon-theme: "Dracula";
|
||||
dpi: 144;
|
||||
modes: "window,run,ssh,drun,filebrowser";
|
||||
}
|
||||
|
||||
#window {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
*
|
||||
* Author : Aditya Shakya (adi1090x)
|
||||
* Github : @adi1090x
|
||||
*
|
||||
*
|
||||
* Rofi Theme File
|
||||
* Rofi Version: 1.7.3
|
||||
**/
|
||||
@@ -49,7 +49,7 @@ mainbox {
|
||||
border-radius: 0px 0px 0px 0px;
|
||||
border-color: @selected;
|
||||
background-color: transparent;
|
||||
children: [ "inputbar", "listview" ];
|
||||
children: [ "inputbar", "listview-split" ];
|
||||
}
|
||||
|
||||
/*****----- Inputbar -----*****/
|
||||
@@ -99,7 +99,7 @@ listview {
|
||||
reverse: false;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
|
||||
|
||||
spacing: 0px;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
@@ -110,6 +110,18 @@ listview {
|
||||
text-color: @foreground;
|
||||
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 {
|
||||
handle-width: 5px ;
|
||||
handle-color: @selected;
|
||||
@@ -173,3 +185,10 @@ textbox {
|
||||
horizontal-align: 0.0;
|
||||
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"
|
||||
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 '/')"
|
||||
hyprctl hyprpaper wallpaper "DP-1, $PTH"
|
||||
notify-send -a "rofi-wallpaper" "Wallpaper set to" -i "$PTH" "$PTH"
|
||||
|
||||
Reference in New Issue
Block a user