mirror of
https://github.com/ksyasuda/rice.git
synced 2024-10-28 09:04:10 -07:00
updates
This commit is contained in:
parent
2d67f005ff
commit
066782fa9a
@ -231,7 +231,7 @@
|
||||
# corners.
|
||||
# The radius will be automatically lowered if it exceeds half of the
|
||||
# notification height to avoid clipping text and/or icons.
|
||||
corner_radius = 0
|
||||
corner_radius = 8
|
||||
|
||||
# Ignore the dbus closeNotification message.
|
||||
# Useful to enforce the timeout set by dunst configuration. Without this
|
||||
|
@ -111,9 +111,6 @@ window {
|
||||
border: 0;
|
||||
background-color: var(background);
|
||||
border-radius: 12px;
|
||||
/* fullscreen: true; */
|
||||
/* width: 85%; */
|
||||
/* height: 75%; */
|
||||
width: 90%;
|
||||
height: 85%;
|
||||
anchor: center;
|
||||
@ -164,8 +161,7 @@ entry {
|
||||
}
|
||||
|
||||
inputbar {
|
||||
padding: 7px;
|
||||
margin: 7px;
|
||||
margin: 11px 0px 5px 0px;
|
||||
spacing: 0;
|
||||
text-color: var(normal-foreground);
|
||||
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
|
||||
|
194
rofi/doomone_tabswitcher.rasi
Normal file
194
rofi/doomone_tabswitcher.rasi
Normal file
@ -0,0 +1,194 @@
|
||||
configuration {
|
||||
font: "Open Sans 10";
|
||||
show-icons: true;
|
||||
icon-theme: "Fluent-Dark";
|
||||
display-drun: "Apps";
|
||||
drun-display-format: "{name}";
|
||||
dpi: 144;
|
||||
}
|
||||
|
||||
|
||||
* {
|
||||
/* background: #24282f; */
|
||||
background: rgba(36, 40, 47);
|
||||
foreground: #bbc2cf;
|
||||
black: #464b55;
|
||||
red: #ff6c6b;
|
||||
green: #98be65;
|
||||
yellow: #ecbe7b;
|
||||
blue: #51afef;
|
||||
magenta: #c678dd;
|
||||
cyan: #46d9ff;
|
||||
white: #bbc2cf;
|
||||
selected: #82aaff;
|
||||
|
||||
spacing: 2;
|
||||
background-color: var(background);
|
||||
|
||||
normal-background: var(background);
|
||||
normal-foreground: var(foreground);
|
||||
alternate-normal-background: var(background);
|
||||
alternate-normal-foreground: var(foreground);
|
||||
selected-normal-background: var(foreground);
|
||||
selected-normal-foreground: var(background);
|
||||
|
||||
active-background: var(background);
|
||||
active-foreground: var(blue);
|
||||
alternate-active-background: var(background);
|
||||
alternate-active-foreground: var(blue);
|
||||
selected-active-background: var(blue);
|
||||
selected-active-foreground: var(magenta);
|
||||
|
||||
urgent-background: var(background);
|
||||
urgent-foreground: var(red);
|
||||
alternate-urgent-background: var(background);
|
||||
alternate-urgent-foreground: var(red);
|
||||
selected-urgent-background: var(background);
|
||||
selected-urgent-foreground: var(background);
|
||||
}
|
||||
box {
|
||||
orientation: vertical;
|
||||
}
|
||||
element {
|
||||
padding: 4px 0px 4px 7px;
|
||||
spacing: 5px;
|
||||
border: 0;
|
||||
border-radius: 6px;
|
||||
}
|
||||
element normal.normal {
|
||||
background-color: var(normal-background);
|
||||
text-color: var(normal-foreground);
|
||||
background-color: transparent;
|
||||
}
|
||||
element normal.urgent {
|
||||
background-color: var(urgent-background);
|
||||
text-color: var(urgent-foreground);
|
||||
}
|
||||
element normal.active {
|
||||
background-color: var(active-background);
|
||||
text-color: var(active-foreground);
|
||||
}
|
||||
element selected.normal {
|
||||
text-color: var(black);
|
||||
background-color: rgba(81, 175, 239, 0.69);
|
||||
}
|
||||
element selected.urgent {
|
||||
background-color: var(selected-urgent-background);
|
||||
text-color: var(selected-urgent-foreground);
|
||||
}
|
||||
element selected.active {
|
||||
background-color: var(cyan);
|
||||
text-color: var(black);
|
||||
}
|
||||
element alternate.normal {
|
||||
background-color: var(alternate-normal-background);
|
||||
text-color: var(alternate-normal-foreground);
|
||||
background-color: transparent;
|
||||
}
|
||||
element alternate.urgent {
|
||||
background-color: var(alternate-urgent-background);
|
||||
text-color: var(alternate-urgent-foreground);
|
||||
}
|
||||
element alternate.active {
|
||||
background-color: var(alternate-active-background);
|
||||
text-color: var(alternate-active-foreground);
|
||||
}
|
||||
element-text {
|
||||
background-color: rgba(0, 0, 0, 0%);
|
||||
text-color: inherit;
|
||||
highlight: inherit;
|
||||
cursor: inherit;
|
||||
margin: 2%;
|
||||
width: 18.5%;
|
||||
}
|
||||
element-icon {
|
||||
background-color: rgba(0, 0, 0, 0%);
|
||||
size: 2.75em;
|
||||
text-color: inherit;
|
||||
cursor: inherit;
|
||||
}
|
||||
window {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background-color: var(background);
|
||||
border-radius: 12px;
|
||||
width: 90%;
|
||||
height: 15%;
|
||||
anchor: center;
|
||||
location: center;
|
||||
}
|
||||
mainbox {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
message {
|
||||
margin: 0px 0px 7px 15px;
|
||||
border: 0;
|
||||
}
|
||||
textbox {
|
||||
border: 0;
|
||||
text-color: var(foreground);
|
||||
margin: 0;
|
||||
width: 5px;
|
||||
}
|
||||
listview {
|
||||
border: 0;
|
||||
columns: 5;
|
||||
lines: 5;
|
||||
layout: horizontal;
|
||||
margin: 0 0 0 1%;
|
||||
}
|
||||
scrollbar {
|
||||
padding: 0;
|
||||
handle-width: 14px;
|
||||
border: 0;
|
||||
handle-color: var(selected);
|
||||
}
|
||||
button {
|
||||
spacing: 0;
|
||||
text-color: var(normal-foreground);
|
||||
cursor: pointer;
|
||||
}
|
||||
button selected {
|
||||
background-color: var(selected-normal-background);
|
||||
text-color: var(selected-normal-foreground);
|
||||
}
|
||||
|
||||
inputbar {
|
||||
padding: 7px;
|
||||
margin: 7px;
|
||||
spacing: 0;
|
||||
text-color: var(normal-foreground);
|
||||
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
|
||||
background-color: transparent;
|
||||
orientation: horizontal;
|
||||
}
|
||||
|
||||
case-indicator {
|
||||
spacing: 0;
|
||||
text-color: var(yellow);
|
||||
margin: 0 0 0 0.5%;
|
||||
}
|
||||
|
||||
entry {
|
||||
padding: 4px 8px;
|
||||
spacing: 0;
|
||||
text-color: var(blue);
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
spacing: 0;
|
||||
text-color: var(magenta);
|
||||
padding: 4px 0px;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: ":";
|
||||
margin: 0px 0.3em 0em 0em ;
|
||||
text-color: var(magenta);
|
||||
padding: 4px 0px;
|
||||
background-color: transparent;
|
||||
}
|
42
rofi/scripts/rofi-picom.sh
Executable file
42
rofi/scripts/rofi-picom.sh
Executable file
@ -0,0 +1,42 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
BASE_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/picom"
|
||||
HIGH_TRANSPARENCY=picom-hightransparency.conf
|
||||
NO_TRANSPARENCY=picom-notransparency.conf
|
||||
|
||||
ARGS=(
|
||||
"1. High Transparency"
|
||||
"2. No Transparency"
|
||||
"3. No Picom"
|
||||
"4. Quit"
|
||||
)
|
||||
|
||||
CHOICE=$(printf "%s\n" "${ARGS[@]}" | rofi -config ~/.config/rofi/config.rasi -dmenu -l 5 -i -p "Picom Options")
|
||||
SELECTION=$(awk '{print $1}' <<< "$CHOICE")
|
||||
conf=""
|
||||
case "$SELECTION" in
|
||||
1.)
|
||||
conf="$BASE_DIR/$HIGH_TRANSPARENCY"
|
||||
;;
|
||||
2.)
|
||||
conf="$BASE_DIR/$NO_TRANSPARENCY"
|
||||
;;
|
||||
3.)
|
||||
killall -q picom
|
||||
exit $?
|
||||
;;
|
||||
4.)
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
[ -z "$conf" ] && conf="$BASE_DIR/picom.conf"
|
||||
|
||||
if pgrep 'picom' > /dev/null; then
|
||||
killall -q picom && sleep 0.1 # allow time to kill old process
|
||||
fi
|
||||
|
||||
picom --config="$conf" > /dev/null 2>&1 &
|
@ -17,21 +17,20 @@ alt + Return
|
||||
alt + d
|
||||
rofi -modi drun -show drun
|
||||
|
||||
# show open window
|
||||
alt + ctrl + d
|
||||
rofi -modi drun -show window -line-padding 4 \
|
||||
-columns 2 -padding 50 -hide-scrollbar -terminal alacritty \
|
||||
-show-icons -drun-icon-theme "Arc-X-D" \
|
||||
-font "Droid Sans Regular 10" -dpi 200
|
||||
|
||||
# show ssh sesssions
|
||||
alt + shift + d
|
||||
alt + shift + s
|
||||
rofi -modi drun -show ssh -line-padding 4 \
|
||||
-columns 2 -padding 50 -hide-scrollbar -terminal alacritty \
|
||||
-show-icons -drun-icon-theme "Arc-X-D" \
|
||||
-font "Droid Sans Regular 10" -dpi 200
|
||||
|
||||
# power-menu
|
||||
alt + shift + w
|
||||
rofi -sort -sorting-method fzf -show window -config "$HOME/.config/rofi/doomone_tabswitcher.rasi"
|
||||
alt + Tab
|
||||
rofi -sort -sorting-method fzf -show window -config "$HOME/.config/rofi/doomone_tabswitcher.rasi"
|
||||
|
||||
|
||||
# power-menu
|
||||
alt + shift + e
|
||||
~/.config/rofi/powermenu.sh
|
||||
|
||||
@ -96,8 +95,8 @@ alt + bracket{left,right}
|
||||
bspc desktop -f {prev,next}.local
|
||||
|
||||
# focus the last node/desktop
|
||||
alt + {grave,Tab}
|
||||
bspc {node,desktop} -f last
|
||||
# alt + {grave,Tab}
|
||||
# bspc {node,desktop} -f last
|
||||
|
||||
# focus the older or newer node in the focus history
|
||||
super + {o,i}
|
||||
@ -164,7 +163,7 @@ XF86AudioMute
|
||||
|
||||
# XF86AudioMute @DEFAULT_SINK@ toggle; ~/SudacodeRice/scripts/dunst_volume/dunst_volume.py mute
|
||||
|
||||
|
||||
|
||||
# amixer -q set Master toggle
|
||||
# Simple amixer command seems to have problems unmuting device
|
||||
|
||||
@ -184,11 +183,11 @@ alt+Print
|
||||
~/.config/bspwm/scripts/screenshot.sh
|
||||
|
||||
# Shortcuts
|
||||
super + w
|
||||
super + w
|
||||
firefox
|
||||
|
||||
super + t
|
||||
thunar
|
||||
super + t
|
||||
thunar
|
||||
|
||||
super + F1
|
||||
~/.config/bspwm/scripts/keybindings_rofi.sh
|
||||
@ -204,8 +203,8 @@ alt + b
|
||||
|
||||
# Rofi
|
||||
control + shift + s
|
||||
~/Work/rofi/rofi-ssh.sh "$HOME/SudacodeRice/rofi/flat-orange-4k.rasi"
|
||||
~/Work/rofi/rofi-ssh.sh "$HOME/SudacodeRice/rofi/flat-orange.rasi"
|
||||
alt + shift + p
|
||||
~/Work/rofi/rofi-picom.sh
|
||||
control + shift + r
|
||||
~/Work/rofi/rofi-rdp.sh "$HOME/SudacodeRice/rofi/flat-orange-4k.rasi"
|
||||
~/Work/rofi/rofi-rdp.sh "$HOME/SudacodeRice/rofi/flat-orange.rasi"
|
||||
|
Loading…
Reference in New Issue
Block a user