Compare commits
64 Commits
ccc7ad50c5
...
canary
| Author | SHA1 | Date | |
|---|---|---|---|
| a61455a7cc | |||
| f9f27dbe33 | |||
| c8782a4f6a | |||
| b04d42c0ae | |||
| 093289ba9c | |||
| 7e4714d382 | |||
| 294c06ee84 | |||
| 58e955527e | |||
| 38c96b1e4a | |||
| 42a7c0e726 | |||
| 36f7b6d24c | |||
| 8798d86c7f | |||
| e0d16a1f87 | |||
| f0c02135ff | |||
| 4fbe56d827 | |||
| c0df750156 | |||
| 7ebd2e26b7 | |||
| aa1c99bc9d | |||
| d5ce501a65 | |||
| 0d645c80f4 | |||
| e9ca756b59 | |||
| ad32cb996b | |||
| 037bfe1c96 | |||
| 656ef952b9 | |||
| 3f2d962dad | |||
| ab55d3ff3c | |||
| 2c8637d547 | |||
| d0a50f5b05 | |||
| d17a5d9421 | |||
| 7de93a72ee | |||
| a4100d24ba | |||
| 28e8914c8e | |||
| c2b5cce8ef | |||
| e4519ef5b3 | |||
| b0d548024d | |||
| d472603dbf | |||
| eb8ae6f118 | |||
| 9ade674964 | |||
| 376d017d40 | |||
| 61f923da47 | |||
| 9fe47c4807 | |||
| c9d3b514fe | |||
| b923a8a071 | |||
| d5767a1caf | |||
| 4b56e3c494 | |||
| 304cb8ef5f | |||
| a6ce7128d3 | |||
| 6c21d8c1c3 | |||
| 01b7c4e280 | |||
| a6c2687a8f | |||
| 26f9ad46d3 | |||
| e52f913172 | |||
| e6633854c4 | |||
| 3222addaea | |||
| e814d8a32f | |||
| 6285d1012e | |||
| cdfbbae7c1 | |||
| eb96c1f2f5 | |||
| d6e04ec829 | |||
| 36c6ade6f4 | |||
| 2cdf65c6a5 | |||
| 2c205edc7c | |||
| 252d6a2840 | |||
| 619e288564 |
BIN
.bg/bg_4.png
Normal file
|
After Width: | Height: | Size: 4.0 MiB |
BIN
.bg/bg_5.png
Normal file
|
After Width: | Height: | Size: 139 KiB |
5
.zshrc
@@ -75,7 +75,6 @@
|
||||
alias du="ncdu"
|
||||
alias cat="bat"
|
||||
alias ls="lsd"
|
||||
alias vi="~/.local/bin/lvim"
|
||||
|
||||
eval "$(starship init zsh)"
|
||||
|
||||
@@ -95,3 +94,7 @@ source ~/.zsh/zsh-fzf-tab/fzf-tab.plugin.zsh
|
||||
|
||||
SAVEHIST=1000
|
||||
HISTFILE=~/.zsh_history
|
||||
|
||||
# Created by `pipx` on 2024-10-24 13:49:13
|
||||
export PATH="$PATH:/home/doryan/.local/bin"
|
||||
export EDITOR=nvim
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
pgrep -x sxhkd > /dev/null || sxhkd &
|
||||
export PRIMARY_DISPLAY="$(xrandr | awk '/ primary/{print $1}')"
|
||||
|
||||
bspc monitor DVI-I-1 -d I II III IV V
|
||||
bspc monitor HDMI-1 -d VI VII VIII IX X
|
||||
xhost +si:localuser:$USER &
|
||||
xmodmap ~/.Xmodmap
|
||||
|
||||
bspc monitor -d 1 2 3 4 5
|
||||
|
||||
bspc config border_width 3
|
||||
bspc config window_gap 5
|
||||
@@ -20,18 +22,18 @@ bspc config pointer_action3 resize_corner
|
||||
bspc rule -a scratch sticky=on state=floating focus=on
|
||||
|
||||
bspc config split_ratio 0.52
|
||||
bspc config borderless_monocle true
|
||||
bspc config gapless_monocle true
|
||||
|
||||
bspc config active_border_color "#E0A3B6"
|
||||
bspc config normal_border_color "#8393A1"
|
||||
bspc config focused_border_color "#93D4C5"
|
||||
|
||||
sxhkd &
|
||||
picom &
|
||||
feh --bg-fill ~/.bg/bg_3.jpg ~/.bg/bg_3.jpg &
|
||||
dunst &
|
||||
xsetroot -cursor_name left_ptr &
|
||||
pgrep -x polybar > /dev/null || polybar &
|
||||
pgrep -x pipewire > /dev/null || pipewire &
|
||||
pgrep -x pipewire-pulse > /dev/null || pipewire-pulse &
|
||||
pgrep -x sxhkd > /dev/null || sxhkd &
|
||||
pgrep -x xidlehook > /dev/null || xidlehook --detect-sleep --not-when-fullscreen --not-when-audio --timer 300 'betterlockscreen -l' '' --timer 1200 'sudo zzz' '' &
|
||||
pgrep -x xmousepasteblock > /dev/null || xmousepasteblock &
|
||||
pgrep -x syndaemon > /dev/null || syndaemon -d -i 0.5 &
|
||||
|
||||
xsetroot -cursor_name left_ptr
|
||||
picom &
|
||||
feh --bg-fill ~/.bg/bg_5.png &
|
||||
dunst &
|
||||
42
polybar/config.ini → Laptop/polybar/config.ini
Normal file → Executable file
@@ -25,7 +25,7 @@ secondary = #E0A3B6
|
||||
alert = #E7A063
|
||||
disabled = #9DA991
|
||||
|
||||
[bar/example]
|
||||
[bar/doryanbar]
|
||||
width = 100%
|
||||
height = 22pt
|
||||
|
||||
@@ -41,13 +41,11 @@ padding-right = 1
|
||||
|
||||
module-margin = 1
|
||||
|
||||
separator-foreground = ${colors.disabled}
|
||||
|
||||
font-0 = "FiraCode Nerd Font Propo:size=10;2"
|
||||
|
||||
modules-left = xworkspaces
|
||||
modules-center = xwindow
|
||||
modules-right = memory cpu pulseaudio xkeyboard wlan eth date calendar battery powermenu
|
||||
modules-right = systray pulseaudio xkeyboard eth date calendar powermenu
|
||||
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
@@ -55,7 +53,7 @@ cursor-scroll = ns-resize
|
||||
enable-ipc = true
|
||||
|
||||
; wm-restack = generic
|
||||
; wm-restack = bspwm
|
||||
wm-restack = bspwm
|
||||
; wm-restack = i3
|
||||
|
||||
; override-redirect = true
|
||||
@@ -68,6 +66,7 @@ enable-ipc = true
|
||||
; be quite random.
|
||||
; For more information, see the documentation page for this module:
|
||||
; https://polybar.readthedocs.io/en/stable/user/modules/tray.html
|
||||
|
||||
[module/systray]
|
||||
type = internal/tray
|
||||
|
||||
@@ -156,7 +155,6 @@ label = %percentage:2%%
|
||||
type = internal/network
|
||||
interval = 5
|
||||
|
||||
|
||||
format-disconnected = <label-disconnected>
|
||||
label-disconnected = disconnected
|
||||
|
||||
@@ -183,7 +181,7 @@ interface-type = wired
|
||||
|
||||
format-connected = <label-connected>
|
||||
|
||||
format-connected-prefix = " "
|
||||
format-connected-prefix = " "
|
||||
format-connected-prefix-foreground = ${colors.primary}
|
||||
|
||||
label-connected = %local_ip%
|
||||
@@ -302,30 +300,30 @@ label-full = Fully charged
|
||||
label-low = BATTERY LOW
|
||||
|
||||
; Only applies if <ramp-capacity> is used
|
||||
ramp-capacity-0 =
|
||||
ramp-capacity-1 =
|
||||
ramp-capacity-2 =
|
||||
ramp-capacity-3 =
|
||||
ramp-capacity-4 =
|
||||
ramp-capacity-0 =
|
||||
ramp-capacity-1 =
|
||||
ramp-capacity-2 =
|
||||
ramp-capacity-3 =
|
||||
ramp-capacity-4 =
|
||||
|
||||
; Only applies if <bar-capacity> is used
|
||||
bar-capacity-width = 10
|
||||
|
||||
; Only applies if <animation-charging> is used
|
||||
animation-charging-0 =
|
||||
animation-charging-1 =
|
||||
animation-charging-2 =
|
||||
animation-charging-3 =
|
||||
animation-charging-4 =
|
||||
animation-charging-0 =
|
||||
animation-charging-1 =
|
||||
animation-charging-2 =
|
||||
animation-charging-3 =
|
||||
animation-charging-4 =
|
||||
; Framerate in milliseconds
|
||||
animation-charging-framerate = 750
|
||||
|
||||
; Only applies if <animation-discharging> is used
|
||||
animation-discharging-0 =
|
||||
animation-discharging-1 =
|
||||
animation-discharging-2 =
|
||||
animation-discharging-3 =
|
||||
animation-discharging-4 =
|
||||
animation-discharging-0 =
|
||||
animation-discharging-1 =
|
||||
animation-discharging-2 =
|
||||
animation-discharging-3 =
|
||||
animation-discharging-4 =
|
||||
; Framerate in milliseconds
|
||||
animation-discharging-framerate = 500
|
||||
|
||||
145
Laptop/sxhkd/sxhkdrc
Executable file
@@ -0,0 +1,145 @@
|
||||
#
|
||||
# wm independent hotkeys
|
||||
#
|
||||
|
||||
# make screenshot
|
||||
|
||||
Print
|
||||
flameshot gui
|
||||
|
||||
# terminal emulator
|
||||
super + Return
|
||||
tabbed -r 2 st -w ''
|
||||
|
||||
# program launcher
|
||||
super + d
|
||||
~/.config/rofi/launcher/launch.sh
|
||||
|
||||
# make sxhkd reload its configuration files:
|
||||
super + Escape
|
||||
pkill -USR1 -x sxhkd
|
||||
|
||||
#
|
||||
# bspwm hotkeys
|
||||
#
|
||||
|
||||
# quit/restart bspwm
|
||||
super + alt + {q,r}
|
||||
bspc {quit & pkill pipewire & pkill pipewire-pulse,wm -r}
|
||||
|
||||
alt + shift + l
|
||||
betterlockscreen -l dim
|
||||
|
||||
# close and kill
|
||||
super + {q, shift + q}
|
||||
bspc node -{c,k}
|
||||
|
||||
# alternate between the tiled and monocle layout
|
||||
super + m
|
||||
bspc desktop -l next
|
||||
|
||||
# send the newest marked node to the newest preselected node
|
||||
super + y
|
||||
bspc node newest.marked.local -n newest.!automatic.local
|
||||
|
||||
# swap the current node and the biggest window
|
||||
super + g
|
||||
bspc node -s biggest.window
|
||||
|
||||
#
|
||||
# state/flags
|
||||
#
|
||||
|
||||
# set the window state
|
||||
super + {t,shift + t,s,f}
|
||||
bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
|
||||
|
||||
# set the node flags
|
||||
super + ctrl + {m,x,y,z}
|
||||
bspc node -g {marked,locked,sticky,private}
|
||||
|
||||
#
|
||||
# focus/swap
|
||||
#
|
||||
|
||||
# focus the node in the given direction
|
||||
super + {_,shift + }{h,j,k,l}
|
||||
bspc node -{f,s} {west,south,north,east}
|
||||
|
||||
# focus the node for the given path jump
|
||||
super + {p,b,comma,period}
|
||||
bspc node -f @{parent,brother,first,second}
|
||||
|
||||
# focus the next/previous win dow in the current desktop
|
||||
super + {_,shift + }c
|
||||
bspc node -f {next,prev}.local.!hidden.window
|
||||
|
||||
# focus the next/previous desktop in the current monitor
|
||||
super + bracket{left,right}
|
||||
bspc desktop -f {prev,next}.local
|
||||
|
||||
# focus the last node/desktop
|
||||
super + {grave,Tab}
|
||||
bspc {node,desktop} -f last
|
||||
|
||||
# focus the older or newer node in the focus history
|
||||
super + {o,i}
|
||||
bspc wm -h off; \
|
||||
bspc node {older,newer} -f; \
|
||||
bspc wm -h on
|
||||
|
||||
# focus or send to the given desktop
|
||||
super + {_,shift + }{1-9,0}
|
||||
bspc {desktop -f,node -d} '^{1-9,10}'
|
||||
|
||||
#
|
||||
# preselect
|
||||
#
|
||||
|
||||
# preselect the direction
|
||||
super + ctrl + {h,j,k,l}
|
||||
bspc node -p {west,south,north,east}
|
||||
|
||||
# preselect the ratio
|
||||
super + ctrl + {1-9}
|
||||
bspc node -o 0.{1-9}
|
||||
|
||||
# cancel the preselection for the focused node
|
||||
super + ctrl + space
|
||||
bspc node -p cancel
|
||||
|
||||
# cancel the preselection for the focused desktop
|
||||
super + ctrl + shift + space
|
||||
bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel
|
||||
|
||||
#
|
||||
# move/resize
|
||||
#
|
||||
|
||||
{XF86AudioLowerVolume, XF86AudioRaiseVolume}
|
||||
pactl set-sink-volume @DEFAULT_SINK@ {-,+}5%
|
||||
|
||||
XF86AudioMute
|
||||
pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
|
||||
super + ctrl + XF86TouchpadToggle
|
||||
touchpad_toggle.sh
|
||||
|
||||
# expand a window by moving one of its side outward
|
||||
super + alt + {h,j,k,l}
|
||||
bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
|
||||
|
||||
# contract a window by moving one of its side inward
|
||||
super + alt + shift + {h,j,k,l}
|
||||
bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
|
||||
|
||||
# move a floating window
|
||||
super + {Left,Down,Up,Right}
|
||||
bspc node -v {-20 0,0 20,0 -20,20 0}
|
||||
|
||||
#
|
||||
# rofi applets
|
||||
#
|
||||
|
||||
super + P
|
||||
~/.config/rofi/power/launch.sh
|
||||
38
PC/bspwm/bspwmrc
Executable file
@@ -0,0 +1,38 @@
|
||||
#!/bin/sh
|
||||
|
||||
pgrep -x pipewire > /dev/null || pipewire &
|
||||
|
||||
export PRIMARY_DISPLAY="$(xrandr | awk '/ primary/{print $1}')"
|
||||
|
||||
xhost +si:localuser:$USER &
|
||||
xmodmap ~/.Xmodmap &
|
||||
|
||||
bspc monitor HDMI-0 -d I II III
|
||||
bspc monitor DP-0 -d IV V VI
|
||||
bspc config border_width 3
|
||||
bspc config window_gap 3
|
||||
|
||||
bspc config pointer_modifier super
|
||||
bspc config focus_follows_pointer true
|
||||
bspc config pointer_follows_focus false
|
||||
bspc config pointer_motion_interval 5
|
||||
bspc config pointer_modifier mod4
|
||||
bspc config pointer_action1 move
|
||||
bspc config pointer_action2 resize_side
|
||||
bspc config pointer_action3 resize_corner
|
||||
|
||||
bspc rule -a scratch sticky=on state=floating focus=on
|
||||
|
||||
bspc config active_border_color "#E0A3B6"
|
||||
bspc config normal_border_color "#8393A1"
|
||||
bspc config focused_border_color "#93D4C5"
|
||||
|
||||
pgrep -x sxhkd > /dev/null || sxhkd &
|
||||
pgrep -x xidlehook > /dev/null || xidlehook --detect-sleep --not-when-fullscreen --not-when-audio --timer 300 'betterlockscreen -l' '' --timer 1200 'sudo zzz' '' &
|
||||
pgrep xmousepaste > /dev/null || xmousepasteblock &
|
||||
pgrep -x polybar > /dev/null || exec ~/.config/polybar/launch.sh &
|
||||
|
||||
xsetroot -cursor_name left_ptr
|
||||
picom &
|
||||
feh --bg-fill ~/.bg/bg_5_1.png &
|
||||
dunst &
|
||||
32
PC/polybar/calendar
Executable file
@@ -0,0 +1,32 @@
|
||||
#!/bin/bash
|
||||
|
||||
send_notification() {
|
||||
TODAY=$(date '+%-d')
|
||||
HEAD=$(cal "$1" | head -n1)
|
||||
BODY=$(cal "$1" | tail -n7 | sed -z "s|$TODAY|<u><b>$TODAY</b></u>|1")
|
||||
FOOT="\n<i> ~ calendar</i> "
|
||||
dunstify -h string:x-canonical-private-synchronous:calendar \
|
||||
"$HEAD" "$BODY$FOOT" -u NORMAL
|
||||
}
|
||||
|
||||
handle_action() {
|
||||
echo "$DIFF" > "$TMP"
|
||||
if [ "$DIFF" -ge 0 ]; then
|
||||
send_notification "+$DIFF months"
|
||||
else
|
||||
send_notification "$((-DIFF)) months ago"
|
||||
fi
|
||||
}
|
||||
|
||||
TMP=${XDG_RUNTIME_DIR:-/tmp}/"$UID"_calendar_notification_month
|
||||
touch "$TMP"
|
||||
|
||||
DIFF=$(<"$TMP")
|
||||
|
||||
case $1 in
|
||||
"curr") DIFF=0;;
|
||||
"next") DIFF=$((DIFF+1));;
|
||||
"prev") DIFF=$((DIFF-1));;
|
||||
esac
|
||||
|
||||
handle_action
|
||||
265
PC/polybar/config.ini
Normal file
@@ -0,0 +1,265 @@
|
||||
;==========================================================
|
||||
;
|
||||
;
|
||||
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
|
||||
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
|
||||
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
|
||||
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
|
||||
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
|
||||
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
|
||||
;
|
||||
;
|
||||
; To learn more about how to configure Polybar
|
||||
; go to https://github.com/polybar/polybar
|
||||
;
|
||||
; The README contains a lot of information
|
||||
;
|
||||
;==========================================================
|
||||
|
||||
[colors]
|
||||
background = #333333
|
||||
background-alt = #2E2E2E
|
||||
foreground = #8C8C8C
|
||||
primary = #93D4C5
|
||||
secondary = #E0A3B6
|
||||
alert = #E7A063
|
||||
disabled = #9DA991
|
||||
|
||||
|
||||
[bar/prime]
|
||||
monitor = HDMI-0
|
||||
|
||||
width = 100%
|
||||
height = 22pt
|
||||
|
||||
; dpi = 96
|
||||
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
|
||||
line-size = 2pt
|
||||
|
||||
padding-left = 0
|
||||
padding-right = 1
|
||||
|
||||
module-margin = 1
|
||||
|
||||
font-0 = "FiraCode Nerd Font Propo:size=10;2"
|
||||
|
||||
modules-left = xworkspaces
|
||||
modules-center = xwindow
|
||||
modules-right = systray pulseaudio xkeyboard eth date calendar powermenu
|
||||
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
|
||||
enable-ipc = true
|
||||
|
||||
; wm-restack = generic
|
||||
wm-restack = bspwm
|
||||
; wm-restack = i3
|
||||
|
||||
; override-redirect = true
|
||||
|
||||
; This module is not active by default (to enable it, add it to one of the
|
||||
; modules-* list above).
|
||||
; Please note that only a single tray can exist at any time. If you launch
|
||||
; multiple bars with this module, only a single one will show it, the others
|
||||
; will produce a warning. Which bar gets the module is timing dependent and can
|
||||
; be quite random.
|
||||
; For more information, see the documentation page for this module:
|
||||
; https://polybar.readthedocs.io/en/stable/user/modules/tray.html
|
||||
|
||||
[bar/second]
|
||||
monitor=DP-0
|
||||
|
||||
width = 100%
|
||||
height = 22pt
|
||||
|
||||
; dpi = 96
|
||||
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
|
||||
line-size = 2pt
|
||||
|
||||
padding-left = 0
|
||||
padding-right = 1
|
||||
|
||||
module-margin = 1
|
||||
|
||||
font-0 = "FiraCode Nerd Font Propo:size=10;2"
|
||||
|
||||
modules-left = cpu memory
|
||||
modules-center = xwindow
|
||||
modules-right = pulseaudio xkeyboard date calendar powermenu
|
||||
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
|
||||
enable-ipc = true
|
||||
|
||||
; wm-restack = generic
|
||||
wm-restack = bspwm
|
||||
|
||||
[module/cpu]
|
||||
type = internal/cpu
|
||||
|
||||
; Seconds to sleep between updates
|
||||
; Default: 1
|
||||
interval = 0.5
|
||||
|
||||
; Default: 80
|
||||
; New in version 3.6.0
|
||||
warn-percentage = 95
|
||||
|
||||
format = <label> <ramp-coreload>
|
||||
|
||||
label = " %percentage%% "
|
||||
label-foreground = ${colors.primary}
|
||||
|
||||
ramp-coreload-spacing = 1
|
||||
ramp-coreload-0 = ▁
|
||||
ramp-coreload-1 = ▂
|
||||
ramp-coreload-2 = ▃
|
||||
ramp-coreload-3 = ▄
|
||||
ramp-coreload-4 = ▅
|
||||
ramp-coreload-5 = ▆
|
||||
ramp-coreload-6 = ▇
|
||||
ramp-coreload-7 = █
|
||||
|
||||
[module/memory]
|
||||
type = internal/memory
|
||||
|
||||
interval = 3
|
||||
|
||||
format = <label>
|
||||
label = %gb_used%
|
||||
label-foreground = ${colors.primary}
|
||||
|
||||
[module/systray]
|
||||
type = internal/tray
|
||||
|
||||
format-margin = 8pt
|
||||
tray-spacing = 16pt
|
||||
|
||||
[module/xworkspaces]
|
||||
type = internal/xworkspaces
|
||||
|
||||
label-active = %name%
|
||||
label-active-background = ${colors.background-alt}
|
||||
label-active-underline= ${colors.primary}
|
||||
label-active-padding = 1
|
||||
|
||||
label-occupied = %name%
|
||||
label-occupied-padding = 1
|
||||
|
||||
label-urgent = %name%
|
||||
label-urgent-background = ${colors.alert}
|
||||
label-urgent-padding = 1
|
||||
|
||||
label-empty = %name%
|
||||
label-empty-foreground = ${colors.disabled}
|
||||
label-empty-padding = 1
|
||||
|
||||
[module/xwindow]
|
||||
type = internal/xwindow
|
||||
label = %title:0:60:...%
|
||||
|
||||
[module/pulseaudio]
|
||||
type = internal/pulseaudio
|
||||
|
||||
ramp-volume-foreground = ${colors.primary}
|
||||
|
||||
format-volume = <ramp-volume> <label-volume>
|
||||
|
||||
label-volume = %percentage%%
|
||||
|
||||
label-muted = muted
|
||||
|
||||
click-right = ~/.config/rofi/volume/launch.sh
|
||||
|
||||
; Only applies if <ramp-volume> is used
|
||||
ramp-volume-0 =
|
||||
ramp-volume-1 =
|
||||
ramp-volume-2 =
|
||||
|
||||
[module/xkeyboard]
|
||||
type = internal/xkeyboard
|
||||
blacklist-0 = num lock
|
||||
|
||||
label-layout = %layout%
|
||||
label-layout-foreground = ${colors.primary}
|
||||
|
||||
label-indicator-padding = 2
|
||||
label-indicator-margin = 1
|
||||
label-indicator-foreground = ${colors.background}
|
||||
label-indicator-background = ${colors.secondary}
|
||||
|
||||
[network-base]
|
||||
type = internal/network
|
||||
interval = 5
|
||||
|
||||
format-disconnected = <label-disconnected>
|
||||
label-disconnected = disconnected
|
||||
|
||||
[module/wlan]
|
||||
inherit = network-base
|
||||
interface-type = wireless
|
||||
|
||||
ramp-signal-foreground = ${colors.primary}
|
||||
|
||||
format-connected = <ramp-signal> <label-connected>
|
||||
|
||||
label-connected = %essid% %local_ip%
|
||||
|
||||
ramp-signal-0 =
|
||||
ramp-signal-1 =
|
||||
ramp-signal-2 =
|
||||
ramp-signal-3 =
|
||||
ramp-signal-4 =
|
||||
ramp-signal-5 =
|
||||
|
||||
[module/eth]
|
||||
inherit = network-base
|
||||
interface-type = wired
|
||||
|
||||
format-connected = <label-connected>
|
||||
|
||||
format-connected-prefix = " "
|
||||
format-connected-prefix-foreground = ${colors.primary}
|
||||
|
||||
label-connected = %local_ip%
|
||||
label-connected-foreground = ${colors.foreground}
|
||||
|
||||
[module/date]
|
||||
type = internal/date
|
||||
interval = 1
|
||||
|
||||
date = %H:%M
|
||||
|
||||
label = %date%
|
||||
label-foreground = ${colors.primary}
|
||||
|
||||
[module/calendar]
|
||||
type = custom/script
|
||||
label = %output:0:15:...%
|
||||
format-prefix = " "
|
||||
format-prefix-foreground = ${colors.primary}
|
||||
format = <label>
|
||||
exec = date "+%d %b %Y"
|
||||
click-left = ~/.config/polybar/calendar curr
|
||||
scroll-up = ~/.config/polybar/calendar next
|
||||
scroll-down = ~/.config/polybar/calendar prev
|
||||
|
||||
[settings]
|
||||
screenchange-reload = true
|
||||
pseudo-transparency = true
|
||||
|
||||
[module/powermenu]
|
||||
type = custom/text
|
||||
|
||||
content = " "
|
||||
content-foreground = ${colors.primary}
|
||||
|
||||
click-left = ~/.config/rofi/power/launch.sh
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/zsh
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Terminate already running bar instances
|
||||
# If all your bars have ipc enabled, you can use
|
||||
@@ -7,7 +7,9 @@ polybar-msg cmd quit
|
||||
# killall -q polybar
|
||||
|
||||
# Launch bar1 and bar2
|
||||
echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log
|
||||
polybar example | tee -a /tmp/polybar1.log & disown
|
||||
echo "---" | tee -a /tmp/polybar1.log
|
||||
# echo "---" | tee -a /tmp/polybar2.log
|
||||
polybar prime 2>&1 | tee -a /tmp/polybar1.log & disown
|
||||
polybar second 2>&1 | tee -a /tmp/polybar2.log & disown
|
||||
|
||||
echo "Bars launched..."
|
||||
@@ -10,7 +10,8 @@ Print
|
||||
# terminal emulator
|
||||
super + Return
|
||||
tabbed -r 2 st -w ''
|
||||
# program launcher
|
||||
|
||||
# program launcher
|
||||
super + d
|
||||
~/.config/rofi/launcher/launch.sh
|
||||
|
||||
@@ -24,10 +25,10 @@ super + Escape
|
||||
|
||||
# quit/restart bspwm
|
||||
super + alt + {q,r}
|
||||
bspc {quit,wm -r}
|
||||
bspc {quit & pkill pipewire & pkill pipewire-pulse,wm -r}
|
||||
|
||||
alt + shift + l
|
||||
betterlockscreen -l dim
|
||||
betterlockscreen -l dim --show-layout
|
||||
|
||||
# close and kill
|
||||
super + {q, shift + q}
|
||||
@@ -44,6 +45,7 @@ super + y
|
||||
# swap the current node and the biggest window
|
||||
super + g
|
||||
bspc node -s biggest.window
|
||||
|
||||
#
|
||||
# state/flags
|
||||
#
|
||||
@@ -125,3 +127,10 @@ super + alt + shift + {h,j,k,l}
|
||||
# move a floating window
|
||||
super + {Left,Down,Up,Right}
|
||||
bspc node -v {-20 0,0 20,0 -20,20 0}
|
||||
|
||||
#
|
||||
# rofi applets
|
||||
#
|
||||
|
||||
super + P
|
||||
~/.config/rofi/power/launch.sh
|
||||
17
betterlockscreen/betterlockscreenrc
Executable file
@@ -0,0 +1,17 @@
|
||||
# ~/.config/betterlockscreenrc
|
||||
|
||||
# default options
|
||||
display_on=0
|
||||
span_image=false
|
||||
fx_list=(blur)
|
||||
dim_level=40
|
||||
blur_level=1
|
||||
wallpaper_cmd="feh --bg-fill"
|
||||
quiet=false
|
||||
|
||||
# i3lockcolor_bin="i3lock-color" # Manually set command for i3lock-color
|
||||
suspend_command="sudo zzz"
|
||||
|
||||
# i3lock-color - custom arguments
|
||||
# lockargs=() # overwriting default "(-n)"
|
||||
# lockargs+=(--ignore-empty-password) # appending new argument
|
||||
5
bspwm_session/bspwm.conf
Normal file
@@ -0,0 +1,5 @@
|
||||
[Desktop Entry]
|
||||
Name=bspwm
|
||||
Comment=Binary space partitioning window manager
|
||||
Exec=/usr/share/xsessions/bspwm.sh
|
||||
Type=Application
|
||||
5
bspwm_session/bspwm.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
2&>1
|
||||
exec pipewire &
|
||||
exec bspwm
|
||||
@@ -1,4 +1,4 @@
|
||||
#? Config file for btop v. 1.3.2
|
||||
#? Config file for btop v. 1.4.0
|
||||
|
||||
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
|
||||
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
|
||||
@@ -50,20 +50,20 @@ graph_symbol_net = "default"
|
||||
graph_symbol_proc = "default"
|
||||
|
||||
#* Manually set which boxes to show. Available values are "cpu mem net proc" and "gpu0" through "gpu5", separate values with whitespace.
|
||||
shown_boxes = "cpu mem net proc"
|
||||
shown_boxes = "cpu net proc mem"
|
||||
|
||||
#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs.
|
||||
update_ms = 500
|
||||
|
||||
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct",
|
||||
#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly.
|
||||
proc_sorting = "command"
|
||||
proc_sorting = "name"
|
||||
|
||||
#* Reverse sorting order, True or False.
|
||||
proc_reversed = False
|
||||
proc_reversed = True
|
||||
|
||||
#* Show processes as a tree.
|
||||
proc_tree = False
|
||||
proc_tree = True
|
||||
|
||||
#* Use the cpu graph colors in the process list.
|
||||
proc_colors = True
|
||||
@@ -72,7 +72,7 @@ proc_colors = True
|
||||
proc_gradient = True
|
||||
|
||||
#* If process cpu usage should be of the core it's running on or usage of the total available cpu power.
|
||||
proc_per_core = True
|
||||
proc_per_core = False
|
||||
|
||||
#* Show process memory as bytes instead of percent.
|
||||
proc_mem_bytes = True
|
||||
@@ -187,7 +187,7 @@ disk_free_priv = False
|
||||
show_io_stat = True
|
||||
|
||||
#* Toggles io mode for disks, showing big graphs for disk read/write speeds.
|
||||
io_mode = True
|
||||
io_mode = False
|
||||
|
||||
#* Set to True to show combined read/write io graphs in io mode.
|
||||
io_graph_combined = False
|
||||
|
||||
277
cava/config
@@ -1,277 +0,0 @@
|
||||
## Configuration file for CAVA.
|
||||
# Remove the ; to change parameters.
|
||||
|
||||
|
||||
[general]
|
||||
|
||||
# Smoothing mode. Can be 'normal', 'scientific' or 'waves'. DEPRECATED as of 0.6.0
|
||||
mode = waves
|
||||
|
||||
# Accepts only non-negative values.
|
||||
framerate = 60
|
||||
|
||||
# 'autosens' will attempt to decrease sensitivity if the bars peak. 1 = on, 0 = off
|
||||
# new as of 0.6.0 autosens of low values (dynamic range)
|
||||
# 'overshoot' allows bars to overshoot (in % of terminal height) without initiating autosens. DEPRECATED as of 0.6.0
|
||||
; autosens = 1
|
||||
; overshoot = 20
|
||||
|
||||
# Manual sensitivity in %. If autosens is enabled, this will only be the initial value.
|
||||
# 200 means double height. Accepts only non-negative values.
|
||||
; sensitivity = 100
|
||||
|
||||
# The number of bars (0-512). 0 sets it to auto (fill up console).
|
||||
# Bars' width and space between bars in number of characters.
|
||||
; bars = 0
|
||||
; bar_width = 2
|
||||
; bar_spacing = 1
|
||||
# bar_height is only used for output in "noritake" format
|
||||
; bar_height = 32
|
||||
|
||||
# For SDL width and space between bars is in pixels, defaults are:
|
||||
; bar_width = 20
|
||||
; bar_spacing = 5
|
||||
|
||||
# sdl_glsl have these default values, they are only used to calulate max number of bars.
|
||||
; bar_width = 1
|
||||
; bar_spacing = 0
|
||||
|
||||
|
||||
# Lower and higher cutoff frequencies for lowest and highest bars
|
||||
# the bandwidth of the visualizer.
|
||||
# Note: there is a minimum total bandwidth of 43Mhz x number of bars.
|
||||
# Cava will automatically increase the higher cutoff if a too low band is specified.
|
||||
; lower_cutoff_freq = 50
|
||||
; higher_cutoff_freq = 10000
|
||||
|
||||
|
||||
# Seconds with no input before cava goes to sleep mode. Cava will not perform FFT or drawing and
|
||||
# only check for input once per second. Cava will wake up once input is detected. 0 = disable.
|
||||
; sleep_timer = 0
|
||||
|
||||
|
||||
[input]
|
||||
|
||||
# Audio capturing method. Possible methods are: 'fifo', 'portaudio', 'pipewire', 'alsa', 'pulse', 'sndio', 'oss', 'jack' or 'shmem'
|
||||
# Defaults to 'oss', 'pipewire', 'sndio', 'jack', 'pulse', 'alsa', 'portaudio' or 'fifo', in that order, dependent on what support cava was built with.
|
||||
# On Mac it defaults to 'portaudio' or 'fifo'
|
||||
# On windows this is automatic and no input settings are needed.
|
||||
#
|
||||
# All input methods uses the same config variable 'source'
|
||||
# to define where it should get the audio.
|
||||
#
|
||||
# For pulseaudio and pipewire 'source' will be the source. Default: 'auto', which uses the monitor source of the default sink
|
||||
# (all pulseaudio sinks(outputs) have 'monitor' sources(inputs) associated with them).
|
||||
#
|
||||
# For pipewire 'source' will be the object name or object.serial of the device to capture from.
|
||||
# Both input and output devices are supported.
|
||||
#
|
||||
# For alsa 'source' will be the capture device.
|
||||
# For fifo 'source' will be the path to fifo-file.
|
||||
# For shmem 'source' will be /squeezelite-AA:BB:CC:DD:EE:FF where 'AA:BB:CC:DD:EE:FF' will be squeezelite's MAC address
|
||||
#
|
||||
# For sndio 'source' will be a raw recording audio descriptor or a monitoring sub-device, e.g. 'rsnd/2' or 'snd/1'. Default: 'default'.
|
||||
# README.md contains further information on how to setup CAVA for sndio.
|
||||
#
|
||||
# For oss 'source' will be the path to a audio device, e.g. '/dev/dsp2'. Default: '/dev/dsp', i.e. the default audio device.
|
||||
# README.md contains further information on how to setup CAVA for OSS on FreeBSD.
|
||||
#
|
||||
# For jack 'source' will be the name of the JACK server to connect to, e.g. 'foobar'. Default: 'default'.
|
||||
# README.md contains further information on how to setup CAVA for JACK.
|
||||
#
|
||||
; method = pulse
|
||||
; source = auto
|
||||
|
||||
; method = pipewire
|
||||
; source = auto
|
||||
|
||||
; method = alsa
|
||||
; source = hw:Loopback,1
|
||||
|
||||
; method = fifo
|
||||
; source = /tmp/mpd.fifo
|
||||
|
||||
; method = shmem
|
||||
; source = /squeezelite-AA:BB:CC:DD:EE:FF
|
||||
|
||||
; method = portaudio
|
||||
; source = auto
|
||||
|
||||
; method = sndio
|
||||
; source = default
|
||||
|
||||
; method = oss
|
||||
; source = /dev/dsp
|
||||
|
||||
; method = jack
|
||||
; source = default
|
||||
|
||||
# The options 'sample_rate', 'sample_bits', 'channels' and 'autoconnect' can be configured for some input methods:
|
||||
# sample_rate: fifo, pipewire, sndio, oss
|
||||
# sample_bits: fifo, pipewire, sndio, oss
|
||||
# channels: sndio, oss, jack
|
||||
# autoconnect: jack
|
||||
# Other methods ignore these settings.
|
||||
#
|
||||
# For 'sndio' and 'oss' they are only preferred values, i.e. if the values are not supported
|
||||
# by the chosen audio device, the device will use other supported values instead.
|
||||
# Example: 48000, 32 and 2, but the device only supports 44100, 16 and 1, then it
|
||||
# will use 44100, 16 and 1.
|
||||
#
|
||||
; sample_rate = 44100
|
||||
; sample_bits = 16
|
||||
; channels = 2
|
||||
; autoconnect = 2
|
||||
|
||||
|
||||
[output]
|
||||
|
||||
# Output method. Can be 'ncurses', 'noncurses', 'raw', 'noritake', 'sdl'
|
||||
# or 'sdl_glsl'.
|
||||
# 'noncurses' (default) uses a buffer and cursor movements to only print
|
||||
# changes from frame to frame in the terminal. Uses less resources and is less
|
||||
# prone to tearing (vsync issues) than 'ncurses'.
|
||||
#
|
||||
# 'raw' is an 8 or 16 bit (configurable via the 'bit_format' option) data
|
||||
# stream of the bar heights that can be used to send to other applications.
|
||||
# 'raw' defaults to 200 bars, which can be adjusted in the 'bars' option above.
|
||||
#
|
||||
# 'noritake' outputs a bitmap in the format expected by a Noritake VFD display
|
||||
# in graphic mode. It only support the 3000 series graphical VFDs for now.
|
||||
#
|
||||
# 'sdl' uses the Simple DirectMedia Layer to render in a graphical context.
|
||||
# 'sdl_glsl' uses SDL to create an OpenGL context. Write your own shaders or
|
||||
# use one of the predefined ones.
|
||||
; method = noncurses
|
||||
|
||||
# Orientation of the visualization. Can be 'bottom', 'top', 'left' or 'right'.
|
||||
# Default is 'bottom'. Other orientations are only supported on sdl and ncruses
|
||||
# output. Note: many fonts have weird glyphs for 'top' and 'right' characters,
|
||||
# which can make ncurses not look right.
|
||||
; orientation = bottom
|
||||
|
||||
# Visual channels. Can be 'stereo' or 'mono'.
|
||||
# 'stereo' mirrors both channels with low frequencies in center.
|
||||
# 'mono' outputs left to right lowest to highest frequencies.
|
||||
# 'mono_option' set mono to either take input from 'left', 'right' or 'average'.
|
||||
# set 'reverse' to 1 to display frequencies the other way around.
|
||||
; channels = stereo
|
||||
; mono_option = average
|
||||
; reverse = 0
|
||||
|
||||
# Raw output target. A fifo will be created if target does not exist.
|
||||
; raw_target = /dev/stdout
|
||||
|
||||
# Raw data format. Can be 'binary' or 'ascii'.
|
||||
; data_format = binary
|
||||
|
||||
# Binary bit format, can be '8bit' (0-255) or '16bit' (0-65530).
|
||||
; bit_format = 16bit
|
||||
|
||||
# Ascii max value. In 'ascii' mode range will run from 0 to value specified here
|
||||
; ascii_max_range = 1000
|
||||
|
||||
# Ascii delimiters. In ascii format each bar and frame is separated by a delimiters.
|
||||
# Use decimal value in ascii table (i.e. 59 = ';' and 10 = '\n' (line feed)).
|
||||
; bar_delimiter = 59
|
||||
; frame_delimiter = 10
|
||||
|
||||
# sdl window size and position. -1,-1 is centered.
|
||||
; sdl_width = 1000
|
||||
; sdl_height = 500
|
||||
; sdl_x = -1
|
||||
; sdl_y= -1
|
||||
; sdl_full_screen = 0
|
||||
|
||||
# set label on bars on the x-axis. Can be 'frequency' or 'none'. Default: 'none'
|
||||
# 'frequency' displays the lower cut off frequency of the bar above.
|
||||
# Only supported on ncurses and noncurses output.
|
||||
; xaxis = none
|
||||
|
||||
# enable alacritty synchronized updates. 1 = on, 0 = off
|
||||
# removes flickering in alacritty terminal emulator.
|
||||
# defaults to off since the behaviour in other terminal emulators is unknown
|
||||
; alacritty_sync = 0
|
||||
|
||||
# Shaders for sdl_glsl, located in $HOME/.config/cava/shaders
|
||||
; vertex_shader = pass_through.vert
|
||||
; fragment_shader = bar_spectrum.frag
|
||||
|
||||
; for glsl output mode, keep rendering even if no audio
|
||||
; continuous_rendering = 0
|
||||
|
||||
# disable console blank (screen saver) in tty
|
||||
# (Not supported on FreeBSD)
|
||||
; disable_blanking = 0
|
||||
|
||||
# show a flat bar at the bottom of the screen when idle, 1 = on, 0 = off
|
||||
; show_idle_bar_heads = 1
|
||||
|
||||
# show waveform instead of frequency spectrum, 1 = on, 0 = off
|
||||
; waveform = 0
|
||||
|
||||
[color]
|
||||
|
||||
# Colors can be one of seven predefined: black, blue, cyan, green, magenta, red, white, yellow.
|
||||
# Or defined by hex code '#xxxxxx' (hex code must be within ''). User defined colors requires
|
||||
# a terminal that can change color definitions such as Gnome-terminal or rxvt.
|
||||
# default is to keep current terminal color
|
||||
; background = default
|
||||
; foreground = default
|
||||
|
||||
# SDL and sdl_glsl only support hex code colors, these are the default:
|
||||
; background = '#111111'
|
||||
; foreground = '#33ffff'
|
||||
|
||||
|
||||
# Gradient mode, only hex defined colors are supported,
|
||||
# background must also be defined in hex or remain commented out. 1 = on, 0 = off.
|
||||
# You can define as many as 8 different colors. They range from bottom to top of screen
|
||||
gradient = 1
|
||||
|
||||
gradient_color_1 = '#478061'
|
||||
gradient_color_2 = '#598C6E'
|
||||
gradient_color_3 = '#6C987C'
|
||||
gradient_color_4 = '#7EA489'
|
||||
gradient_color_5 = '#8DAD94'
|
||||
gradient_color_6 = '#9CB79F'
|
||||
gradient_color_7 = '#ABC2AB'
|
||||
gradient_color_8 = '#ABC2AB'
|
||||
|
||||
[smoothing]
|
||||
|
||||
# Percentage value for integral smoothing. Takes values from 0 - 100.
|
||||
# Higher values means smoother, but less precise. 0 to disable.
|
||||
# DEPRECATED as of 0.8.0, use noise_reduction instead
|
||||
; integral = 77
|
||||
|
||||
# Disables or enables the so-called "Monstercat smoothing" with or without "waves". Set to 0 to disable.
|
||||
; monstercat = 0
|
||||
; waves = 0
|
||||
|
||||
# Set gravity percentage for "drop off". Higher values means bars will drop faster.
|
||||
# Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off".
|
||||
# DEPRECATED as of 0.8.0, use noise_reduction instead
|
||||
; gravity = 100
|
||||
|
||||
|
||||
# In bar height, bars that would have been lower that this will not be drawn.
|
||||
# DEPRECATED as of 0.8.0
|
||||
; ignore = 0
|
||||
|
||||
# Noise reduction, int 0 - 100. default 77
|
||||
# the raw visualization is very noisy, this factor adjusts the integral and gravity filters to keep the signal smooth
|
||||
# 100 will be very slow and smooth, 0 will be fast but noisy.
|
||||
; noise_reduction = 77
|
||||
|
||||
|
||||
[eq]
|
||||
|
||||
# This one is tricky. You can have as much keys as you want.
|
||||
# Remember to uncomment more than one key! More keys = more precision.
|
||||
# Look at readme.md on github for further explanations and examples.
|
||||
; 1 = 1 # bass
|
||||
; 2 = 1
|
||||
; 3 = 1 # midtone
|
||||
; 4 = 1
|
||||
; 5 = 1 # treble
|
||||
@@ -1,79 +0,0 @@
|
||||
#version 330
|
||||
|
||||
in vec2 fragCoord;
|
||||
out vec4 fragColor;
|
||||
|
||||
// bar values. defaults to left channels first (low to high), then right (high to low).
|
||||
uniform float bars[512];
|
||||
|
||||
uniform int bars_count; // number of bars (left + right) (configurable)
|
||||
uniform int bar_width; // bar width (configurable), not used here
|
||||
uniform int bar_spacing; // space bewteen bars (configurable)
|
||||
|
||||
uniform vec3 u_resolution; // window resolution
|
||||
|
||||
//colors, configurable in cava config file (r,g,b) (0.0 - 1.0)
|
||||
uniform vec3 bg_color; // background color
|
||||
uniform vec3 fg_color; // foreground color
|
||||
|
||||
uniform int gradient_count;
|
||||
uniform vec3 gradient_colors[8]; // gradient colors
|
||||
|
||||
vec3 normalize_C(float y,vec3 col_1, vec3 col_2, float y_min, float y_max)
|
||||
{
|
||||
//create color based on fraction of this color and next color
|
||||
float yr = (y - y_min) / (y_max - y_min);
|
||||
return col_1 * (1.0 - yr) + col_2 * yr;
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
// find which bar to use based on where we are on the x axis
|
||||
float x = u_resolution.x * fragCoord.x;
|
||||
int bar = int(bars_count * fragCoord.x);
|
||||
|
||||
//calculate a bar size
|
||||
float bar_size = u_resolution.x / bars_count;
|
||||
|
||||
//the y coordinate and bar values are the same
|
||||
float y = bars[bar];
|
||||
|
||||
// make sure there is a thin line at bottom
|
||||
if (y * u_resolution.y < 1.0)
|
||||
{
|
||||
y = 1.0 / u_resolution.y;
|
||||
}
|
||||
|
||||
//draw the bar up to current height
|
||||
if (y > fragCoord.y)
|
||||
{
|
||||
//make some space between bars basen on settings
|
||||
if (x > (bar + 1) * (bar_size) - bar_spacing)
|
||||
{
|
||||
fragColor = vec4(bg_color,1.0);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (gradient_count == 0)
|
||||
{
|
||||
fragColor = vec4(fg_color,1.0);
|
||||
}
|
||||
else
|
||||
{
|
||||
//find which color in the configured gradient we are at
|
||||
int color = int((gradient_count - 1) * fragCoord.y);
|
||||
|
||||
//find where on y this and next color is supposed to be
|
||||
float y_min = color / (gradient_count - 1.0);
|
||||
float y_max = (color + 1.0) / (gradient_count - 1.0);
|
||||
|
||||
//make color
|
||||
fragColor = vec4(normalize_C(fragCoord.y, gradient_colors[color], gradient_colors[color + 1], y_min, y_max), 1.0);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
fragColor = vec4(bg_color,1.0);
|
||||
}
|
||||
}
|
||||
@@ -1,34 +0,0 @@
|
||||
#version 330
|
||||
|
||||
in vec2 fragCoord;
|
||||
out vec4 fragColor;
|
||||
|
||||
// bar values. defaults to left channels first (low to high), then right (high to low).
|
||||
uniform float bars[512];
|
||||
|
||||
uniform int bars_count; // number of bars (left + right) (configurable)
|
||||
|
||||
uniform vec3 u_resolution; // window resolution, not used here
|
||||
|
||||
//colors, configurable in cava config file
|
||||
uniform vec3 bg_color; // background color(r,g,b) (0.0 - 1.0), not used here
|
||||
uniform vec3 fg_color; // foreground color, not used here
|
||||
|
||||
void main()
|
||||
{
|
||||
// find which bar to use based on where we are on the x axis
|
||||
int bar = int(bars_count * fragCoord.x);
|
||||
|
||||
float bar_y = 1.0 - abs((fragCoord.y - 0.5)) * 2.0;
|
||||
float y = (bars[bar]) * bar_y;
|
||||
|
||||
float bar_x = (fragCoord.x - float(bar) / float(bars_count)) * bars_count;
|
||||
float bar_r = 1.0 - abs((bar_x - 0.5)) * 2;
|
||||
|
||||
bar_r = bar_r * bar_r * 2;
|
||||
|
||||
// set color
|
||||
fragColor.r = fg_color.x * y * bar_r;
|
||||
fragColor.g = fg_color.y * y * bar_r;
|
||||
fragColor.b = fg_color.z * y * bar_r;
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
#version 330
|
||||
|
||||
|
||||
// Input vertex data, different for all executions of this shader.
|
||||
layout(location = 0) in vec3 vertexPosition_modelspace;
|
||||
|
||||
// Output data ; will be interpolated for each fragment.
|
||||
out vec2 fragCoord;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = vec4(vertexPosition_modelspace,1);
|
||||
fragCoord = (vertexPosition_modelspace.xy+vec2(1,1))/2.0;
|
||||
}
|
||||
28
gtk-3.0/assets/close-active.svg
Normal file
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg viewBox="0 0 50 50"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" baseProfile="tiny">
|
||||
<title>Qt SVG Document</title>
|
||||
<desc>Generated with Qt</desc>
|
||||
<defs>
|
||||
</defs>
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel" >
|
||||
|
||||
<g fill="#6d2229" fill-opacity="1" stroke="none" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<circle cx="9" cy="9" r="9"/>
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#e3e5e7" stroke-opacity="1" stroke-width="1.01" stroke-linecap="round" stroke-linejoin="miter" stroke-miterlimit="2" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<polyline fill="none" vector-effect="none" points="5,5 13,13 " />
|
||||
<polyline fill="none" vector-effect="none" points="13,5 5,13 " />
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1,0,0,1,0,0)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
28
gtk-3.0/assets/close-backdrop-active.svg
Normal file
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg viewBox="0 0 50 50"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" baseProfile="tiny">
|
||||
<title>Qt SVG Document</title>
|
||||
<desc>Generated with Qt</desc>
|
||||
<defs>
|
||||
</defs>
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel" >
|
||||
|
||||
<g fill="#6d2229" fill-opacity="1" stroke="none" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<circle cx="9" cy="9" r="9"/>
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#eff0f1" stroke-opacity="1" stroke-width="1.01" stroke-linecap="round" stroke-linejoin="miter" stroke-miterlimit="2" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<polyline fill="none" vector-effect="none" points="5,5 13,13 " />
|
||||
<polyline fill="none" vector-effect="none" points="13,5 5,13 " />
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1,0,0,1,0,0)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
28
gtk-3.0/assets/close-backdrop-hover.svg
Normal file
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg viewBox="0 0 50 50"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" baseProfile="tiny">
|
||||
<title>Qt SVG Document</title>
|
||||
<desc>Generated with Qt</desc>
|
||||
<defs>
|
||||
</defs>
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel" >
|
||||
|
||||
<g fill="#da4453" fill-opacity="1" stroke="none" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<circle cx="9" cy="9" r="9"/>
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#eff0f1" stroke-opacity="1" stroke-width="1.01" stroke-linecap="round" stroke-linejoin="miter" stroke-miterlimit="2" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<polyline fill="none" vector-effect="none" points="5,5 13,13 " />
|
||||
<polyline fill="none" vector-effect="none" points="13,5 5,13 " />
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1,0,0,1,0,0)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
22
gtk-3.0/assets/close-backdrop-normal.svg
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg viewBox="0 0 50 50"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" baseProfile="tiny">
|
||||
<title>Qt SVG Document</title>
|
||||
<desc>Generated with Qt</desc>
|
||||
<defs>
|
||||
</defs>
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel" >
|
||||
|
||||
<g fill="none" stroke="#707d8a" stroke-opacity="1" stroke-width="1.01" stroke-linecap="round" stroke-linejoin="miter" stroke-miterlimit="2" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<polyline fill="none" vector-effect="none" points="5,5 13,13 " />
|
||||
<polyline fill="none" vector-effect="none" points="13,5 5,13 " />
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1,0,0,1,0,0)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
28
gtk-3.0/assets/close-hover.svg
Normal file
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg viewBox="0 0 50 50"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" baseProfile="tiny">
|
||||
<title>Qt SVG Document</title>
|
||||
<desc>Generated with Qt</desc>
|
||||
<defs>
|
||||
</defs>
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel" >
|
||||
|
||||
<g fill="#ff98a2" fill-opacity="1" stroke="none" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<circle cx="9" cy="9" r="9"/>
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#e3e5e7" stroke-opacity="1" stroke-width="1.01" stroke-linecap="round" stroke-linejoin="miter" stroke-miterlimit="2" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<polyline fill="none" vector-effect="none" points="5,5 13,13 " />
|
||||
<polyline fill="none" vector-effect="none" points="13,5 5,13 " />
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1,0,0,1,0,0)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
22
gtk-3.0/assets/close-normal.svg
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg viewBox="0 0 50 50"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" baseProfile="tiny">
|
||||
<title>Qt SVG Document</title>
|
||||
<desc>Generated with Qt</desc>
|
||||
<defs>
|
||||
</defs>
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel" >
|
||||
|
||||
<g fill="none" stroke="#232629" stroke-opacity="1" stroke-width="1.01" stroke-linecap="round" stroke-linejoin="miter" stroke-miterlimit="2" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<polyline fill="none" vector-effect="none" points="5,5 13,13 " />
|
||||
<polyline fill="none" vector-effect="none" points="13,5 5,13 " />
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1,0,0,1,0,0)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
27
gtk-3.0/assets/maximize-active.svg
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg viewBox="0 0 50 50"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" baseProfile="tiny">
|
||||
<title>Qt SVG Document</title>
|
||||
<desc>Generated with Qt</desc>
|
||||
<defs>
|
||||
</defs>
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel" >
|
||||
|
||||
<g fill="#a9acae" fill-opacity="1" stroke="none" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<circle cx="9" cy="9" r="9"/>
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#e3e5e7" stroke-opacity="1" stroke-width="1.01" stroke-linecap="round" stroke-linejoin="miter" stroke-miterlimit="2" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<polyline fill="none" vector-effect="none" points="4,11 9,6 14,11 " />
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1,0,0,1,0,0)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
27
gtk-3.0/assets/maximize-backdrop-active.svg
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg viewBox="0 0 50 50"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" baseProfile="tiny">
|
||||
<title>Qt SVG Document</title>
|
||||
<desc>Generated with Qt</desc>
|
||||
<defs>
|
||||
</defs>
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel" >
|
||||
|
||||
<g fill="#c9ced2" fill-opacity="1" stroke="none" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<circle cx="9" cy="9" r="9"/>
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#eff0f1" stroke-opacity="1" stroke-width="1.01" stroke-linecap="round" stroke-linejoin="miter" stroke-miterlimit="2" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<polyline fill="none" vector-effect="none" points="4,11 9,6 14,11 " />
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1,0,0,1,0,0)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
27
gtk-3.0/assets/maximize-backdrop-hover.svg
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg viewBox="0 0 50 50"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" baseProfile="tiny">
|
||||
<title>Qt SVG Document</title>
|
||||
<desc>Generated with Qt</desc>
|
||||
<defs>
|
||||
</defs>
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel" >
|
||||
|
||||
<g fill="#707d8a" fill-opacity="1" stroke="none" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<circle cx="9" cy="9" r="9"/>
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#eff0f1" stroke-opacity="1" stroke-width="1.01" stroke-linecap="round" stroke-linejoin="miter" stroke-miterlimit="2" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<polyline fill="none" vector-effect="none" points="4,11 9,6 14,11 " />
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1,0,0,1,0,0)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
21
gtk-3.0/assets/maximize-backdrop-normal.svg
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg viewBox="0 0 50 50"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" baseProfile="tiny">
|
||||
<title>Qt SVG Document</title>
|
||||
<desc>Generated with Qt</desc>
|
||||
<defs>
|
||||
</defs>
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel" >
|
||||
|
||||
<g fill="none" stroke="#707d8a" stroke-opacity="1" stroke-width="1.01" stroke-linecap="round" stroke-linejoin="miter" stroke-miterlimit="2" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<polyline fill="none" vector-effect="none" points="4,11 9,6 14,11 " />
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1,0,0,1,0,0)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 970 B |
27
gtk-3.0/assets/maximize-hover.svg
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg viewBox="0 0 50 50"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" baseProfile="tiny">
|
||||
<title>Qt SVG Document</title>
|
||||
<desc>Generated with Qt</desc>
|
||||
<defs>
|
||||
</defs>
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel" >
|
||||
|
||||
<g fill="#232629" fill-opacity="1" stroke="none" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<circle cx="9" cy="9" r="9"/>
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#e3e5e7" stroke-opacity="1" stroke-width="1.01" stroke-linecap="round" stroke-linejoin="miter" stroke-miterlimit="2" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<polyline fill="none" vector-effect="none" points="4,11 9,6 14,11 " />
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1,0,0,1,0,0)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
21
gtk-3.0/assets/maximize-normal.svg
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg viewBox="0 0 50 50"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" baseProfile="tiny">
|
||||
<title>Qt SVG Document</title>
|
||||
<desc>Generated with Qt</desc>
|
||||
<defs>
|
||||
</defs>
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel" >
|
||||
|
||||
<g fill="none" stroke="#232629" stroke-opacity="1" stroke-width="1.01" stroke-linecap="round" stroke-linejoin="miter" stroke-miterlimit="2" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<polyline fill="none" vector-effect="none" points="4,11 9,6 14,11 " />
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1,0,0,1,0,0)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 970 B |
27
gtk-3.0/assets/maximized-active.svg
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg viewBox="0 0 50 50"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" baseProfile="tiny">
|
||||
<title>Qt SVG Document</title>
|
||||
<desc>Generated with Qt</desc>
|
||||
<defs>
|
||||
</defs>
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel" >
|
||||
|
||||
<g fill="#a9acae" fill-opacity="1" stroke="none" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<circle cx="9" cy="9" r="9"/>
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#e3e5e7" stroke-opacity="1" stroke-width="1.01" stroke-linecap="round" stroke-linejoin="round" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<path vector-effect="none" fill-rule="evenodd" d="M4,9 L9,4 L14,9 L9,14 L4,9"/>
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1,0,0,1,0,0)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
27
gtk-3.0/assets/maximized-backdrop-active.svg
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg viewBox="0 0 50 50"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" baseProfile="tiny">
|
||||
<title>Qt SVG Document</title>
|
||||
<desc>Generated with Qt</desc>
|
||||
<defs>
|
||||
</defs>
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel" >
|
||||
|
||||
<g fill="#c9ced2" fill-opacity="1" stroke="none" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<circle cx="9" cy="9" r="9"/>
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#eff0f1" stroke-opacity="1" stroke-width="1.01" stroke-linecap="round" stroke-linejoin="round" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<path vector-effect="none" fill-rule="evenodd" d="M4,9 L9,4 L14,9 L9,14 L4,9"/>
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1,0,0,1,0,0)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
27
gtk-3.0/assets/maximized-backdrop-hover.svg
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg viewBox="0 0 50 50"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" baseProfile="tiny">
|
||||
<title>Qt SVG Document</title>
|
||||
<desc>Generated with Qt</desc>
|
||||
<defs>
|
||||
</defs>
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel" >
|
||||
|
||||
<g fill="#707d8a" fill-opacity="1" stroke="none" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<circle cx="9" cy="9" r="9"/>
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#eff0f1" stroke-opacity="1" stroke-width="1.01" stroke-linecap="round" stroke-linejoin="round" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<path vector-effect="none" fill-rule="evenodd" d="M4,9 L9,4 L14,9 L9,14 L4,9"/>
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1,0,0,1,0,0)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
21
gtk-3.0/assets/maximized-backdrop-normal.svg
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg viewBox="0 0 50 50"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" baseProfile="tiny">
|
||||
<title>Qt SVG Document</title>
|
||||
<desc>Generated with Qt</desc>
|
||||
<defs>
|
||||
</defs>
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel" >
|
||||
|
||||
<g fill="none" stroke="#707d8a" stroke-opacity="1" stroke-width="1.01" stroke-linecap="round" stroke-linejoin="round" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<path vector-effect="none" fill-rule="evenodd" d="M4,9 L9,4 L14,9 L9,14 L4,9"/>
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1,0,0,1,0,0)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 957 B |
27
gtk-3.0/assets/maximized-hover.svg
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg viewBox="0 0 50 50"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" baseProfile="tiny">
|
||||
<title>Qt SVG Document</title>
|
||||
<desc>Generated with Qt</desc>
|
||||
<defs>
|
||||
</defs>
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel" >
|
||||
|
||||
<g fill="#232629" fill-opacity="1" stroke="none" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<circle cx="9" cy="9" r="9"/>
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#e3e5e7" stroke-opacity="1" stroke-width="1.01" stroke-linecap="round" stroke-linejoin="round" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<path vector-effect="none" fill-rule="evenodd" d="M4,9 L9,4 L14,9 L9,14 L4,9"/>
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1,0,0,1,0,0)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
21
gtk-3.0/assets/maximized-normal.svg
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg viewBox="0 0 50 50"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" baseProfile="tiny">
|
||||
<title>Qt SVG Document</title>
|
||||
<desc>Generated with Qt</desc>
|
||||
<defs>
|
||||
</defs>
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel" >
|
||||
|
||||
<g fill="none" stroke="#232629" stroke-opacity="1" stroke-width="1.01" stroke-linecap="round" stroke-linejoin="round" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<path vector-effect="none" fill-rule="evenodd" d="M4,9 L9,4 L14,9 L9,14 L4,9"/>
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1,0,0,1,0,0)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 957 B |
27
gtk-3.0/assets/minimize-active.svg
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg viewBox="0 0 50 50"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" baseProfile="tiny">
|
||||
<title>Qt SVG Document</title>
|
||||
<desc>Generated with Qt</desc>
|
||||
<defs>
|
||||
</defs>
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel" >
|
||||
|
||||
<g fill="#a9acae" fill-opacity="1" stroke="none" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<circle cx="9" cy="9" r="9"/>
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#e3e5e7" stroke-opacity="1" stroke-width="1.01" stroke-linecap="round" stroke-linejoin="miter" stroke-miterlimit="2" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<polyline fill="none" vector-effect="none" points="4,7 9,12 14,7 " />
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1,0,0,1,0,0)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
27
gtk-3.0/assets/minimize-backdrop-active.svg
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg viewBox="0 0 50 50"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" baseProfile="tiny">
|
||||
<title>Qt SVG Document</title>
|
||||
<desc>Generated with Qt</desc>
|
||||
<defs>
|
||||
</defs>
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel" >
|
||||
|
||||
<g fill="#c9ced2" fill-opacity="1" stroke="none" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<circle cx="9" cy="9" r="9"/>
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#eff0f1" stroke-opacity="1" stroke-width="1.01" stroke-linecap="round" stroke-linejoin="miter" stroke-miterlimit="2" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<polyline fill="none" vector-effect="none" points="4,7 9,12 14,7 " />
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1,0,0,1,0,0)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
27
gtk-3.0/assets/minimize-backdrop-hover.svg
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg viewBox="0 0 50 50"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" baseProfile="tiny">
|
||||
<title>Qt SVG Document</title>
|
||||
<desc>Generated with Qt</desc>
|
||||
<defs>
|
||||
</defs>
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel" >
|
||||
|
||||
<g fill="#707d8a" fill-opacity="1" stroke="none" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<circle cx="9" cy="9" r="9"/>
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#eff0f1" stroke-opacity="1" stroke-width="1.01" stroke-linecap="round" stroke-linejoin="miter" stroke-miterlimit="2" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<polyline fill="none" vector-effect="none" points="4,7 9,12 14,7 " />
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1,0,0,1,0,0)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
21
gtk-3.0/assets/minimize-backdrop-normal.svg
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg viewBox="0 0 50 50"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" baseProfile="tiny">
|
||||
<title>Qt SVG Document</title>
|
||||
<desc>Generated with Qt</desc>
|
||||
<defs>
|
||||
</defs>
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel" >
|
||||
|
||||
<g fill="none" stroke="#707d8a" stroke-opacity="1" stroke-width="1.01" stroke-linecap="round" stroke-linejoin="miter" stroke-miterlimit="2" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<polyline fill="none" vector-effect="none" points="4,7 9,12 14,7 " />
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1,0,0,1,0,0)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 969 B |
27
gtk-3.0/assets/minimize-hover.svg
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg viewBox="0 0 50 50"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" baseProfile="tiny">
|
||||
<title>Qt SVG Document</title>
|
||||
<desc>Generated with Qt</desc>
|
||||
<defs>
|
||||
</defs>
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel" >
|
||||
|
||||
<g fill="#232629" fill-opacity="1" stroke="none" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<circle cx="9" cy="9" r="9"/>
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#e3e5e7" stroke-opacity="1" stroke-width="1.01" stroke-linecap="round" stroke-linejoin="miter" stroke-miterlimit="2" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<polyline fill="none" vector-effect="none" points="4,7 9,12 14,7 " />
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1,0,0,1,0,0)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
21
gtk-3.0/assets/minimize-normal.svg
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg viewBox="0 0 50 50"
|
||||
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" baseProfile="tiny">
|
||||
<title>Qt SVG Document</title>
|
||||
<desc>Generated with Qt</desc>
|
||||
<defs>
|
||||
</defs>
|
||||
<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel" >
|
||||
|
||||
<g fill="none" stroke="#232629" stroke-opacity="1" stroke-width="1.01" stroke-linecap="round" stroke-linejoin="miter" stroke-miterlimit="2" transform="matrix(2.5,0,0,2.5,2.5,2.5)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
<polyline fill="none" vector-effect="none" points="4,7 9,12 14,7 " />
|
||||
</g>
|
||||
|
||||
<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1,0,0,1,0,0)"
|
||||
font-family="Noto Sans" font-size="10" font-weight="400" font-style="normal"
|
||||
>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 969 B |
84
gtk-3.0/colors.css
Normal file
@@ -0,0 +1,84 @@
|
||||
@define-color borders_breeze #bcbebf;
|
||||
@define-color content_view_bg_breeze #ffffff;
|
||||
@define-color error_color_backdrop_breeze #da4453;
|
||||
@define-color error_color_breeze #da4453;
|
||||
@define-color error_color_insensitive_backdrop_breeze #f0b1b8;
|
||||
@define-color error_color_insensitive_breeze #f0b1b8;
|
||||
@define-color insensitive_base_color_breeze #f3f3f3;
|
||||
@define-color insensitive_base_fg_color_breeze #aaabac;
|
||||
@define-color insensitive_bg_color_breeze #e3e5e7;
|
||||
@define-color insensitive_borders_breeze #d2d4d6;
|
||||
@define-color insensitive_fg_color_breeze #a0a1a3;
|
||||
@define-color insensitive_selected_bg_color_breeze #e3e5e7;
|
||||
@define-color insensitive_selected_fg_color_breeze #a0a1a3;
|
||||
@define-color insensitive_unfocused_bg_color_breeze #e3e5e7;
|
||||
@define-color insensitive_unfocused_fg_color_breeze #a0a1a3;
|
||||
@define-color insensitive_unfocused_selected_bg_color_breeze #e3e5e7;
|
||||
@define-color insensitive_unfocused_selected_fg_color_breeze #a0a1a3;
|
||||
@define-color link_color_breeze #2980b9;
|
||||
@define-color link_visited_color_breeze #9b59b6;
|
||||
@define-color success_color_backdrop_breeze #27ae60;
|
||||
@define-color success_color_breeze #27ae60;
|
||||
@define-color success_color_insensitive_backdrop_breeze #abd8be;
|
||||
@define-color success_color_insensitive_breeze #abd8be;
|
||||
@define-color theme_base_color_breeze #ffffff;
|
||||
@define-color theme_bg_color_breeze #eff0f1;
|
||||
@define-color theme_button_background_backdrop_breeze #fcfcfc;
|
||||
@define-color theme_button_background_backdrop_insensitive_breeze #f0f0f0;
|
||||
@define-color theme_button_background_insensitive_breeze #f0f0f0;
|
||||
@define-color theme_button_background_normal_breeze #fcfcfc;
|
||||
@define-color theme_button_decoration_focus_backdrop_breeze #3daee9;
|
||||
@define-color theme_button_decoration_focus_backdrop_insensitive_breeze #a2d8f3;
|
||||
@define-color theme_button_decoration_focus_breeze #3daee9;
|
||||
@define-color theme_button_decoration_focus_insensitive_breeze #a2d8f3;
|
||||
@define-color theme_button_decoration_hover_backdrop_breeze #3daee9;
|
||||
@define-color theme_button_decoration_hover_backdrop_insensitive_breeze #a2d8f3;
|
||||
@define-color theme_button_decoration_hover_breeze #3daee9;
|
||||
@define-color theme_button_decoration_hover_insensitive_breeze #a2d8f3;
|
||||
@define-color theme_button_foreground_active_backdrop_breeze #232629;
|
||||
@define-color theme_button_foreground_active_backdrop_insensitive_breeze #a0a1a3;
|
||||
@define-color theme_button_foreground_active_breeze #ffffff;
|
||||
@define-color theme_button_foreground_active_insensitive_breeze #a0a1a3;
|
||||
@define-color theme_button_foreground_backdrop_breeze #232629;
|
||||
@define-color theme_button_foreground_backdrop_insensitive_breeze #a8a9aa;
|
||||
@define-color theme_button_foreground_insensitive_breeze #a8a9aa;
|
||||
@define-color theme_button_foreground_normal_breeze #232629;
|
||||
@define-color theme_fg_color_breeze #232629;
|
||||
@define-color theme_header_background_backdrop_breeze #eff0f1;
|
||||
@define-color theme_header_background_breeze #dee0e2;
|
||||
@define-color theme_header_background_light_breeze #eff0f1;
|
||||
@define-color theme_header_foreground_backdrop_breeze #232629;
|
||||
@define-color theme_header_foreground_breeze #232629;
|
||||
@define-color theme_header_foreground_insensitive_backdrop_breeze #232629;
|
||||
@define-color theme_header_foreground_insensitive_breeze #232629;
|
||||
@define-color theme_hovering_selected_bg_color_breeze #3daee9;
|
||||
@define-color theme_selected_bg_color_breeze #3daee9;
|
||||
@define-color theme_selected_fg_color_breeze #ffffff;
|
||||
@define-color theme_text_color_breeze #232629;
|
||||
@define-color theme_titlebar_background_backdrop_breeze #eff0f1;
|
||||
@define-color theme_titlebar_background_breeze #dee0e2;
|
||||
@define-color theme_titlebar_background_light_breeze #eff0f1;
|
||||
@define-color theme_titlebar_foreground_backdrop_breeze #232629;
|
||||
@define-color theme_titlebar_foreground_breeze #232629;
|
||||
@define-color theme_titlebar_foreground_insensitive_backdrop_breeze #232629;
|
||||
@define-color theme_titlebar_foreground_insensitive_breeze #232629;
|
||||
@define-color theme_unfocused_base_color_breeze #ffffff;
|
||||
@define-color theme_unfocused_bg_color_breeze #eff0f1;
|
||||
@define-color theme_unfocused_fg_color_breeze #232629;
|
||||
@define-color theme_unfocused_selected_bg_color_alt_breeze #c2e0f5;
|
||||
@define-color theme_unfocused_selected_bg_color_breeze #c2e0f5;
|
||||
@define-color theme_unfocused_selected_fg_color_breeze #232629;
|
||||
@define-color theme_unfocused_text_color_breeze #232629;
|
||||
@define-color theme_unfocused_view_bg_color_breeze #f3f3f3;
|
||||
@define-color theme_unfocused_view_text_color_breeze #aaabac;
|
||||
@define-color theme_view_active_decoration_color_breeze #3daee9;
|
||||
@define-color theme_view_hover_decoration_color_breeze #3daee9;
|
||||
@define-color tooltip_background_breeze #f7f7f7;
|
||||
@define-color tooltip_border_breeze #c2c3c4;
|
||||
@define-color tooltip_text_breeze #232629;
|
||||
@define-color unfocused_borders_breeze #bcbebf;
|
||||
@define-color unfocused_insensitive_borders_breeze #d2d4d6;
|
||||
@define-color warning_color_backdrop_breeze #f67400;
|
||||
@define-color warning_color_breeze #f67400;
|
||||
@define-color warning_color_insensitive_backdrop_breeze #fbc289;
|
||||
@define-color warning_color_insensitive_breeze #fbc289;
|
||||
1
gtk-3.0/gtk.css
Normal file
@@ -0,0 +1 @@
|
||||
@import 'colors.css';
|
||||
23
gtk-3.0/settings.ini
Normal file
@@ -0,0 +1,23 @@
|
||||
[Settings]
|
||||
gtk-theme-name=Yaru-viridian
|
||||
gtk-icon-theme-name=Tela-circle
|
||||
gtk-font-name=Cantarell 11
|
||||
gtk-cursor-theme-name=Bibata-Modern-Ice
|
||||
gtk-cursor-theme-size=24
|
||||
gtk-toolbar-style=3
|
||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||
gtk-button-images=0
|
||||
gtk-menu-images=0
|
||||
gtk-enable-event-sounds=1
|
||||
gtk-enable-input-feedback-sounds=0
|
||||
gtk-xft-antialias=1
|
||||
gtk-xft-hinting=1
|
||||
gtk-xft-hintstyle=hintslight
|
||||
gtk-xft-rgba=rgb
|
||||
gtk-application-prefer-dark-theme=0
|
||||
gtk-decoration-layout=icon:minimize,maximize,close
|
||||
gtk-enable-animations=true
|
||||
gtk-modules=colorreload-gtk-module:window-decorations-gtk-module
|
||||
gtk-primary-button-warps-slider=true
|
||||
gtk-sound-theme-name=ocean
|
||||
gtk-xft-dpi=122880
|
||||
71
gtk-3.0/window_decorations.css
Normal file
@@ -0,0 +1,71 @@
|
||||
headerbar button.titlebutton.close, .titlebar button.titlebutton.close {
|
||||
background-image: url("assets/close-normal.svg"); }
|
||||
|
||||
headerbar button.titlebutton.close:hover, .titlebar button.titlebutton.close:hover {
|
||||
background-image: url("assets/close-hover.svg"); }
|
||||
|
||||
headerbar button.titlebutton.close:active, .titlebar button.titlebutton.close:active {
|
||||
background-image: url("assets/close-active.svg"); }
|
||||
|
||||
headerbar button.titlebutton.close:backdrop, .titlebar button.titlebutton.close:backdrop {
|
||||
background-image: url("assets/close-backdrop-normal.svg"); }
|
||||
|
||||
headerbar button.titlebutton.close:backdrop:hover, .titlebar button.titlebutton.close:backdrop:hover {
|
||||
background-image: url("assets/close-backdrop-hover.svg"); }
|
||||
|
||||
headerbar button.titlebutton.close:backdrop:active, .titlebar button.titlebutton.close:backdrop:active {
|
||||
background-image: url("assets/close-backdrop-active.svg"); }
|
||||
|
||||
headerbar button.titlebutton.maximize, .titlebar button.titlebutton.maximize {
|
||||
background-image: url("assets/maximize-normal.svg"); }
|
||||
|
||||
headerbar button.titlebutton.maximize:hover, .titlebar button.titlebutton.maximize:hover {
|
||||
background-image: url("assets/maximize-hover.svg"); }
|
||||
|
||||
headerbar button.titlebutton.maximize:active, .titlebar button.titlebutton.maximize:active {
|
||||
background-image: url("assets/maximize-active.svg"); }
|
||||
|
||||
headerbar button.titlebutton.maximize:backdrop, .titlebar button.titlebutton.maximize:backdrop {
|
||||
background-image: url("assets/maximize-backdrop-normal.svg"); }
|
||||
|
||||
headerbar button.titlebutton.maximize:backdrop:hover, .titlebar button.titlebutton.maximize:backdrop:hover {
|
||||
background-image: url("assets/maximize-backdrop-hover.svg"); }
|
||||
|
||||
headerbar button.titlebutton.maximize:backdrop:active, .titlebar button.titlebutton.maximize:backdrop:active {
|
||||
background-image: url("assets/maximize-backdrop-active.svg"); }
|
||||
|
||||
headerbar button.titlebutton.minimize, .titlebar button.titlebutton.minimize {
|
||||
background-image: url("assets/minimize-normal.svg"); }
|
||||
|
||||
headerbar button.titlebutton.minimize:hover, .titlebar button.titlebutton.minimize:hover {
|
||||
background-image: url("assets/minimize-hover.svg"); }
|
||||
|
||||
headerbar button.titlebutton.minimize:active, .titlebar button.titlebutton.minimize:active {
|
||||
background-image: url("assets/minimize-active.svg"); }
|
||||
|
||||
headerbar button.titlebutton.minimize:backdrop, .titlebar button.titlebutton.minimize:backdrop {
|
||||
background-image: url("assets/minimize-backdrop-normal.svg"); }
|
||||
|
||||
headerbar button.titlebutton.minimize:backdrop:hover, .titlebar button.titlebutton.minimize:backdrop:hover {
|
||||
background-image: url("assets/minimize-backdrop-hover.svg"); }
|
||||
|
||||
headerbar button.titlebutton.minimize:backdrop:active, .titlebar button.titlebutton.minimize:backdrop:active {
|
||||
background-image: url("assets/minimize-backdrop-active.svg"); }
|
||||
|
||||
.maximized headerbar button.titlebutton.maximize, .maximized .titlebar button.titlebutton.maximize {
|
||||
background-image: url("assets/maximized-normal.svg"); }
|
||||
|
||||
.maximized headerbar button.titlebutton.maximize:hover, .maximized .titlebar button.titlebutton.maximize:hover {
|
||||
background-image: url("assets/maximized-hover.svg"); }
|
||||
|
||||
.maximized headerbar button.titlebutton.maximize:active, .maximized .titlebar button.titlebutton.maximize:active {
|
||||
background-image: url("assets/maximized-active.svg"); }
|
||||
|
||||
.maximized headerbar button.titlebutton.maximize:backdrop, .maximized .titlebar button.titlebutton.maximize:backdrop {
|
||||
background-image: url("assets/maximized-backdrop-normal.svg"); }
|
||||
|
||||
.maximized headerbar button.titlebutton.maximize:backdrop:hover, .maximized .titlebar button.titlebutton.maximize:backdrop:hover {
|
||||
background-image: url("assets/maximized-backdrop-hover.svg"); }
|
||||
|
||||
.maximized headerbar button.titlebutton.maximize:backdrop:active, .maximized .titlebar button.titlebutton.maximize:backdrop:active {
|
||||
background-image: url("assets/maximized-backdrop-active.svg"); }
|
||||
84
gtk-4.0/colors.css
Normal file
@@ -0,0 +1,84 @@
|
||||
@define-color borders_breeze #bcbebf;
|
||||
@define-color content_view_bg_breeze #ffffff;
|
||||
@define-color error_color_backdrop_breeze #da4453;
|
||||
@define-color error_color_breeze #da4453;
|
||||
@define-color error_color_insensitive_backdrop_breeze #f0b1b8;
|
||||
@define-color error_color_insensitive_breeze #f0b1b8;
|
||||
@define-color insensitive_base_color_breeze #f3f3f3;
|
||||
@define-color insensitive_base_fg_color_breeze #aaabac;
|
||||
@define-color insensitive_bg_color_breeze #e3e5e7;
|
||||
@define-color insensitive_borders_breeze #d2d4d6;
|
||||
@define-color insensitive_fg_color_breeze #a0a1a3;
|
||||
@define-color insensitive_selected_bg_color_breeze #e3e5e7;
|
||||
@define-color insensitive_selected_fg_color_breeze #a0a1a3;
|
||||
@define-color insensitive_unfocused_bg_color_breeze #e3e5e7;
|
||||
@define-color insensitive_unfocused_fg_color_breeze #a0a1a3;
|
||||
@define-color insensitive_unfocused_selected_bg_color_breeze #e3e5e7;
|
||||
@define-color insensitive_unfocused_selected_fg_color_breeze #a0a1a3;
|
||||
@define-color link_color_breeze #2980b9;
|
||||
@define-color link_visited_color_breeze #9b59b6;
|
||||
@define-color success_color_backdrop_breeze #27ae60;
|
||||
@define-color success_color_breeze #27ae60;
|
||||
@define-color success_color_insensitive_backdrop_breeze #abd8be;
|
||||
@define-color success_color_insensitive_breeze #abd8be;
|
||||
@define-color theme_base_color_breeze #ffffff;
|
||||
@define-color theme_bg_color_breeze #eff0f1;
|
||||
@define-color theme_button_background_backdrop_breeze #fcfcfc;
|
||||
@define-color theme_button_background_backdrop_insensitive_breeze #f0f0f0;
|
||||
@define-color theme_button_background_insensitive_breeze #f0f0f0;
|
||||
@define-color theme_button_background_normal_breeze #fcfcfc;
|
||||
@define-color theme_button_decoration_focus_backdrop_breeze #3daee9;
|
||||
@define-color theme_button_decoration_focus_backdrop_insensitive_breeze #a2d8f3;
|
||||
@define-color theme_button_decoration_focus_breeze #3daee9;
|
||||
@define-color theme_button_decoration_focus_insensitive_breeze #a2d8f3;
|
||||
@define-color theme_button_decoration_hover_backdrop_breeze #3daee9;
|
||||
@define-color theme_button_decoration_hover_backdrop_insensitive_breeze #a2d8f3;
|
||||
@define-color theme_button_decoration_hover_breeze #3daee9;
|
||||
@define-color theme_button_decoration_hover_insensitive_breeze #a2d8f3;
|
||||
@define-color theme_button_foreground_active_backdrop_breeze #232629;
|
||||
@define-color theme_button_foreground_active_backdrop_insensitive_breeze #a0a1a3;
|
||||
@define-color theme_button_foreground_active_breeze #ffffff;
|
||||
@define-color theme_button_foreground_active_insensitive_breeze #a0a1a3;
|
||||
@define-color theme_button_foreground_backdrop_breeze #232629;
|
||||
@define-color theme_button_foreground_backdrop_insensitive_breeze #a8a9aa;
|
||||
@define-color theme_button_foreground_insensitive_breeze #a8a9aa;
|
||||
@define-color theme_button_foreground_normal_breeze #232629;
|
||||
@define-color theme_fg_color_breeze #232629;
|
||||
@define-color theme_header_background_backdrop_breeze #eff0f1;
|
||||
@define-color theme_header_background_breeze #dee0e2;
|
||||
@define-color theme_header_background_light_breeze #eff0f1;
|
||||
@define-color theme_header_foreground_backdrop_breeze #232629;
|
||||
@define-color theme_header_foreground_breeze #232629;
|
||||
@define-color theme_header_foreground_insensitive_backdrop_breeze #232629;
|
||||
@define-color theme_header_foreground_insensitive_breeze #232629;
|
||||
@define-color theme_hovering_selected_bg_color_breeze #3daee9;
|
||||
@define-color theme_selected_bg_color_breeze #3daee9;
|
||||
@define-color theme_selected_fg_color_breeze #ffffff;
|
||||
@define-color theme_text_color_breeze #232629;
|
||||
@define-color theme_titlebar_background_backdrop_breeze #eff0f1;
|
||||
@define-color theme_titlebar_background_breeze #dee0e2;
|
||||
@define-color theme_titlebar_background_light_breeze #eff0f1;
|
||||
@define-color theme_titlebar_foreground_backdrop_breeze #232629;
|
||||
@define-color theme_titlebar_foreground_breeze #232629;
|
||||
@define-color theme_titlebar_foreground_insensitive_backdrop_breeze #232629;
|
||||
@define-color theme_titlebar_foreground_insensitive_breeze #232629;
|
||||
@define-color theme_unfocused_base_color_breeze #ffffff;
|
||||
@define-color theme_unfocused_bg_color_breeze #eff0f1;
|
||||
@define-color theme_unfocused_fg_color_breeze #232629;
|
||||
@define-color theme_unfocused_selected_bg_color_alt_breeze #c2e0f5;
|
||||
@define-color theme_unfocused_selected_bg_color_breeze #c2e0f5;
|
||||
@define-color theme_unfocused_selected_fg_color_breeze #232629;
|
||||
@define-color theme_unfocused_text_color_breeze #232629;
|
||||
@define-color theme_unfocused_view_bg_color_breeze #f3f3f3;
|
||||
@define-color theme_unfocused_view_text_color_breeze #aaabac;
|
||||
@define-color theme_view_active_decoration_color_breeze #3daee9;
|
||||
@define-color theme_view_hover_decoration_color_breeze #3daee9;
|
||||
@define-color tooltip_background_breeze #f7f7f7;
|
||||
@define-color tooltip_border_breeze #c2c3c4;
|
||||
@define-color tooltip_text_breeze #232629;
|
||||
@define-color unfocused_borders_breeze #bcbebf;
|
||||
@define-color unfocused_insensitive_borders_breeze #d2d4d6;
|
||||
@define-color warning_color_backdrop_breeze #f67400;
|
||||
@define-color warning_color_breeze #f67400;
|
||||
@define-color warning_color_insensitive_backdrop_breeze #fbc289;
|
||||
@define-color warning_color_insensitive_breeze #fbc289;
|
||||
1
gtk-4.0/gtk.css
Normal file
@@ -0,0 +1 @@
|
||||
@import 'colors.css';
|
||||
12
gtk-4.0/settings.ini
Normal file
@@ -0,0 +1,12 @@
|
||||
[Settings]
|
||||
gtk-application-prefer-dark-theme=false
|
||||
gtk-cursor-theme-name=Bibata-Modern-Ice
|
||||
gtk-cursor-theme-size=28
|
||||
gtk-decoration-layout=icon:minimize,maximize,close
|
||||
gtk-enable-animations=true
|
||||
gtk-font-name=Noto Sans, 10
|
||||
gtk-icon-theme-name=Tela-circle
|
||||
gtk-modules=colorreload-gtk-module:window-decorations-gtk-module
|
||||
gtk-primary-button-warps-slider=true
|
||||
gtk-sound-theme-name=ocean
|
||||
gtk-xft-dpi=122880
|
||||
71
gtk-4.0/window_decorations.css
Normal file
@@ -0,0 +1,71 @@
|
||||
headerbar button.titlebutton.close, .titlebar button.titlebutton.close {
|
||||
background-image: url("assets/close-normal.svg"); }
|
||||
|
||||
headerbar button.titlebutton.close:hover, .titlebar button.titlebutton.close:hover {
|
||||
background-image: url("assets/close-hover.svg"); }
|
||||
|
||||
headerbar button.titlebutton.close:active, .titlebar button.titlebutton.close:active {
|
||||
background-image: url("assets/close-active.svg"); }
|
||||
|
||||
headerbar button.titlebutton.close:backdrop, .titlebar button.titlebutton.close:backdrop {
|
||||
background-image: url("assets/close-backdrop-normal.svg"); }
|
||||
|
||||
headerbar button.titlebutton.close:backdrop:hover, .titlebar button.titlebutton.close:backdrop:hover {
|
||||
background-image: url("assets/close-backdrop-hover.svg"); }
|
||||
|
||||
headerbar button.titlebutton.close:backdrop:active, .titlebar button.titlebutton.close:backdrop:active {
|
||||
background-image: url("assets/close-backdrop-active.svg"); }
|
||||
|
||||
headerbar button.titlebutton.maximize, .titlebar button.titlebutton.maximize {
|
||||
background-image: url("assets/maximize-normal.svg"); }
|
||||
|
||||
headerbar button.titlebutton.maximize:hover, .titlebar button.titlebutton.maximize:hover {
|
||||
background-image: url("assets/maximize-hover.svg"); }
|
||||
|
||||
headerbar button.titlebutton.maximize:active, .titlebar button.titlebutton.maximize:active {
|
||||
background-image: url("assets/maximize-active.svg"); }
|
||||
|
||||
headerbar button.titlebutton.maximize:backdrop, .titlebar button.titlebutton.maximize:backdrop {
|
||||
background-image: url("assets/maximize-backdrop-normal.svg"); }
|
||||
|
||||
headerbar button.titlebutton.maximize:backdrop:hover, .titlebar button.titlebutton.maximize:backdrop:hover {
|
||||
background-image: url("assets/maximize-backdrop-hover.svg"); }
|
||||
|
||||
headerbar button.titlebutton.maximize:backdrop:active, .titlebar button.titlebutton.maximize:backdrop:active {
|
||||
background-image: url("assets/maximize-backdrop-active.svg"); }
|
||||
|
||||
headerbar button.titlebutton.minimize, .titlebar button.titlebutton.minimize {
|
||||
background-image: url("assets/minimize-normal.svg"); }
|
||||
|
||||
headerbar button.titlebutton.minimize:hover, .titlebar button.titlebutton.minimize:hover {
|
||||
background-image: url("assets/minimize-hover.svg"); }
|
||||
|
||||
headerbar button.titlebutton.minimize:active, .titlebar button.titlebutton.minimize:active {
|
||||
background-image: url("assets/minimize-active.svg"); }
|
||||
|
||||
headerbar button.titlebutton.minimize:backdrop, .titlebar button.titlebutton.minimize:backdrop {
|
||||
background-image: url("assets/minimize-backdrop-normal.svg"); }
|
||||
|
||||
headerbar button.titlebutton.minimize:backdrop:hover, .titlebar button.titlebutton.minimize:backdrop:hover {
|
||||
background-image: url("assets/minimize-backdrop-hover.svg"); }
|
||||
|
||||
headerbar button.titlebutton.minimize:backdrop:active, .titlebar button.titlebutton.minimize:backdrop:active {
|
||||
background-image: url("assets/minimize-backdrop-active.svg"); }
|
||||
|
||||
.maximized headerbar button.titlebutton.maximize, .maximized .titlebar button.titlebutton.maximize {
|
||||
background-image: url("assets/maximized-normal.svg"); }
|
||||
|
||||
.maximized headerbar button.titlebutton.maximize:hover, .maximized .titlebar button.titlebutton.maximize:hover {
|
||||
background-image: url("assets/maximized-hover.svg"); }
|
||||
|
||||
.maximized headerbar button.titlebutton.maximize:active, .maximized .titlebar button.titlebutton.maximize:active {
|
||||
background-image: url("assets/maximized-active.svg"); }
|
||||
|
||||
.maximized headerbar button.titlebutton.maximize:backdrop, .maximized .titlebar button.titlebutton.maximize:backdrop {
|
||||
background-image: url("assets/maximized-backdrop-normal.svg"); }
|
||||
|
||||
.maximized headerbar button.titlebutton.maximize:backdrop:hover, .maximized .titlebar button.titlebutton.maximize:backdrop:hover {
|
||||
background-image: url("assets/maximized-backdrop-hover.svg"); }
|
||||
|
||||
.maximized headerbar button.titlebutton.maximize:backdrop:active, .maximized .titlebar button.titlebutton.maximize:backdrop:active {
|
||||
background-image: url("assets/maximized-backdrop-active.svg"); }
|
||||
74
install.sh
@@ -1,13 +1,71 @@
|
||||
#!/bin/bash
|
||||
|
||||
configs=("bspwm" "btop" "cava" "lvim" "picom" "polybar" "rofi" "yazi" "sxhkd" "dunst")
|
||||
function install_config() {
|
||||
for config in "${@:2}"; do
|
||||
cp -vr "./${config}" "$1"
|
||||
done
|
||||
}
|
||||
|
||||
betterlockscreen -u ~/.bg/bg_3.jpg --fx blur --blur 0.25
|
||||
green="\e[92m"
|
||||
dgreen="\e[32m"
|
||||
end="\e[0m"
|
||||
|
||||
for config in ${configs[@]}; do
|
||||
cp -r ./$config ~/.config/
|
||||
done
|
||||
general_configs=("betterlockscreen" "btop" "picom" "zathura" "rofi" "yazi" "dunst" "mimeapps.list" "starship.toml")
|
||||
home_dir_configs=(".bg" ".zshrc" ".zsh")
|
||||
|
||||
cp ./starship.toml ~/.config/
|
||||
cp ./.zshrc ~/
|
||||
cp -r ./.zsh ~/
|
||||
echo -e "${green}
|
||||
_ __ _ ____ _
|
||||
| | / /___ (_)___/ / / (_)___ __ ___ __
|
||||
| | / / __ \/ / __ / / / / __ \/ / / / |/_/
|
||||
| |/ / /_/ / / /_/ / /___/ / / / / /_/ /> <
|
||||
|___/\____/_/\__,_/_____/_/_/ /_/\__,_/_/|_|${end}${dgreen}
|
||||
____ __ _____ __
|
||||
/ __ \____ / /_/ __(_) /__ _____
|
||||
/ / / / __ \/ __/ /_/ / / _ \/ ___/
|
||||
/ /_/ / /_/ / /_/ __/ / / __(__ )
|
||||
/_____/\____/\__/_/ /_/_/\___/____/${end}
|
||||
"
|
||||
|
||||
echo "Select your device type (Laptop: L/l, PC: P/p)"
|
||||
read -r type
|
||||
|
||||
case "${type}" in
|
||||
"L" | "l")
|
||||
cp -vrf ./Laptop/* ~/.config/
|
||||
;;
|
||||
"P" | "p")
|
||||
cp -vrf ./PC/* ~/.config/
|
||||
;;
|
||||
*)
|
||||
echo "Please, select your device type correctly"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
install_config ~/.config/ "${general_configs[@]}"
|
||||
install_config ~/ "${home_dir_configs[@]}"
|
||||
|
||||
betterlockscreen -u ~/.bg/bg_5.png --fx blur --blur 1
|
||||
|
||||
echo "Do you want install bspwm_session, X11, fonts and acpid (for laptop) configs? (y/N):"
|
||||
read -r advanced_install
|
||||
|
||||
case "${advanced_install}" in
|
||||
"Y" | "y")
|
||||
su --shell /bin/bash -c "
|
||||
cp -vrf ./bspwm_session/* /usr/share/xsessions
|
||||
cp -vrf ./root_configs/fonts /etc
|
||||
mkdir -p /etc/X11/xorg.conf.d
|
||||
cp -vf ./root_configs/xorg.conf.d/{00-keyboard.conf,10-extensions.conf,10-serverflags.conf} /etc/X11/xorg.conf.d/
|
||||
if [[ \"$type\" = \"L\" || \"$type\" = \"l\" ]] ; then
|
||||
cp -vfr ./root_configs/acpi /etc
|
||||
cp -vf ./root_configs/xorg.conf.d/70-synaptics.conf /etc/X11/xorg.conf.d/
|
||||
fi
|
||||
"
|
||||
;;
|
||||
"N" | "n" | "*")
|
||||
echo "Skip"
|
||||
;;
|
||||
esac
|
||||
|
||||
echo "Installation is complete, have a fun!"
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
-- Read the docs: https://www.lunarvim.org/docs/configuration
|
||||
-- Example configs: https://github.com/LunarVim/starter.lvim
|
||||
-- Video Tutorials: https://www.youtube.com/watch?v=sFA9kX-Ud_c&list=PLhoH5vyxr6QqGu0i7tt_XoVK9v-KvZ3m6
|
||||
-- Forum: https://www.reddit.com/r/lunarvim/
|
||||
-- Discord: https://discord.com/invite/Xb9B4Ny
|
||||
|
||||
lvim.colorscheme = "melange"
|
||||
lvim.builtin.breadcrumbs.active = false
|
||||
|
||||
lvim.lsp.automatic_servers_installation = false
|
||||
lvim.lsp.automatic_configuration.skipped_servers = { "rust_analyzer", "rust-analyzer", "typst_lsp", "typst-lsp" }
|
||||
require"lspconfig".tinymist.setup{
|
||||
exportPdf = "onType",
|
||||
outputPath = "$root/target/$dir/$name",
|
||||
}
|
||||
|
||||
require "plugins.init"
|
||||
require "mappings"
|
||||
require "configs.autocommand"
|
||||
require "configs.nvimtree"
|
||||
require "configs.bufferline"
|
||||
require "configs.dropbar"
|
||||
require "configs.dap"
|
||||
require "configs.acmp"
|
||||
require "configs.colorizer"
|
||||
require "configs.autotag"
|
||||
require "configs.prettier"
|
||||
require "configs.nvimufo"
|
||||
|
||||
vim.lsp.inlay_hint.enable(true)
|
||||
@@ -1,79 +0,0 @@
|
||||
{
|
||||
"Comment.nvim": { "branch": "master", "commit": "0236521ea582747b58869cb72f70ccfa967d2e89" },
|
||||
"LuaSnip": { "branch": "master", "commit": "1def35377854535bb3b0f4cc7a33c083cdb12571" },
|
||||
"alpha-nvim": { "branch": "main", "commit": "29074eeb869a6cbac9ce1fbbd04f5f5940311b32" },
|
||||
"bigfile.nvim": { "branch": "main", "commit": "33eb067e3d7029ac77e081cfe7c45361887a311a" },
|
||||
"bufferline.nvim": { "branch": "main", "commit": "73edc1f2732678e7a681e3d3be49782610914f6b" },
|
||||
"catppuccin": { "branch": "main", "commit": "9e6ec281f58038e5b30ce9a8828e6f9f9d744a27" },
|
||||
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
||||
"cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
|
||||
"cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" },
|
||||
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
|
||||
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
|
||||
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
|
||||
"dropbar.nvim": { "branch": "master", "commit": "669e325489202ae4da5a951314bbf8dbb20e7cff" },
|
||||
"friendly-snippets": { "branch": "main", "commit": "dd2fd1281d4b22e7b4a5bfafa3e142d958e251f2" },
|
||||
"fzf-lua": { "branch": "main", "commit": "ace9968be267b034e450be4feaf6e9107bc34fbd" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "805610a9393fa231f2c2b49cb521bfa413fadb3d" },
|
||||
"huez.nvim": { "branch": "main", "commit": "3a4c75fa3ad5e5461749b886f262c82a4a239133" },
|
||||
"hybrid.nvim": { "branch": "master", "commit": "8838621a2e299582a0af5b8b96d5515f27b5d058" },
|
||||
"indent-blankline.nvim": { "branch": "master", "commit": "9637670896b68805430e2f72cf5d16be5b97a22a" },
|
||||
"kanagawa.nvim": { "branch": "master", "commit": "f491b0fe68fffbece7030181073dfe51f45cda81" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "8f19915175395680808de529e4220da8dafc0759" },
|
||||
"lir.nvim": { "branch": "master", "commit": "7a9d45de08fecd23a04aca1f96688d744830029e" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" },
|
||||
"lunar.nvim": { "branch": "master", "commit": "08bbc93b96ad698d22fc2aa01805786bcedc34b9" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "a4caa0d083aab56f6cd5acf2d42331b74614a585" },
|
||||
"mason.nvim": { "branch": "main", "commit": "49ff59aded1047a773670651cfa40e76e63c6377" },
|
||||
"material.nvim": { "branch": "main", "commit": "ac8f02e97e359b7d258c0a00ec0949fe880790ad" },
|
||||
"melange-nvim": { "branch": "master", "commit": "706a33f0a883fae9ec00ad648586792248a0575e" },
|
||||
"monokai-pro.nvim": { "branch": "master", "commit": "4f4133601296881bb2197800bd68d2bba9eaadb9" },
|
||||
"monokai.nvim": { "branch": "master", "commit": "b8bd44d5796503173627d7a1fc51f77ec3a08a63" },
|
||||
"neo-tree.nvim": { "branch": "v2.x", "commit": "80dc74d081823649809f78370fa5b204aa9a853a" },
|
||||
"neodev.nvim": { "branch": "main", "commit": "ce9a2e8eaba5649b553529c5498acb43a6c317cd" },
|
||||
"neogit": { "branch": "master", "commit": "d55bf6114c6cfba013e4c0e817e29e7752554ab7" },
|
||||
"nlsp-settings.nvim": { "branch": "main", "commit": "d92035e6c05cded5f1a7458b57506adbf29a5c9c" },
|
||||
"noice.nvim": { "branch": "main", "commit": "df448c649ef6bc5a6a633a44f2ad0ed8d4442499" },
|
||||
"none-ls.nvim": { "branch": "main", "commit": "3a4826687da4310af379515086d71faca4d21288" },
|
||||
"nord.nvim": { "branch": "main", "commit": "33a928133fd031b9714cb390645b5b01a900d9f9" },
|
||||
"nui.nvim": { "branch": "main", "commit": "b58e2bfda5cea347c9d58b7f11cf3012c7b3953f" },
|
||||
"nvim-autopairs": { "branch": "master", "commit": "c15de7e7981f1111642e7e53799e1211d4606cb9" },
|
||||
"nvim-bqf": { "branch": "main", "commit": "1b24dc6050c34e8cd377b6b4cd6abe40509e0187" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "5260e5e8ecadaf13e6b82cf867a909f54e15fd07" },
|
||||
"nvim-colorizer.lua": { "branch": "master", "commit": "0671e0eabc6842676d3310370e8fae4e1c51d7f9" },
|
||||
"nvim-dap": { "branch": "master", "commit": "5a2f7121869394502521c52b2bc581ab22c69447" },
|
||||
"nvim-dap-ui": { "branch": "master", "commit": "34160a7ce6072ef332f350ae1d4a6a501daf0159" },
|
||||
"nvim-dap-virtual-text": { "branch": "master", "commit": "52638640ae309cacdaff785fdbb854437bd1ee5c" },
|
||||
"nvim-dap-vscode-js": { "branch": "main", "commit": "03bd29672d7fab5e515fc8469b7d07cc5994bbf6" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "eadcee1573ca9d0e0cd36a49f620186a8dfdc607" },
|
||||
"nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" },
|
||||
"nvim-notify": { "branch": "master", "commit": "fbef5d32be8466dd76544a257d3f3dce20082a07" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "30de5e7e9486fb1b1b8c2a1e71052b13f94f1cb0" },
|
||||
"nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" },
|
||||
"nvim-ts-context-commentstring": { "branch": "main", "commit": "cb064386e667def1d241317deed9fd1b38f0dc2e" },
|
||||
"nvim-ufo": { "branch": "main", "commit": "203c9f434feec57909ab4b1e028abeb3349b7847" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "e37bb1feee9e7320c76050a55443fa843b4b6f83" },
|
||||
"onedarker.nvim": { "branch": "freeze", "commit": "b00dd2189f264c5aeb4cf04c59439655ecd573ec" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" },
|
||||
"prettier.nvim": { "branch": "main", "commit": "d98e732cb73690b07c00c839c924be1d1d9ac5c2" },
|
||||
"project.nvim": { "branch": "main", "commit": "8c6bad7d22eef1b71144b401c9f74ed01526a4fb" },
|
||||
"promise-async": { "branch": "main", "commit": "119e8961014c9bfaf1487bf3c2a393d254f337e2" },
|
||||
"rust.vim": { "branch": "master", "commit": "889b9a7515db477f4cb6808bef1769e53493c578" },
|
||||
"rustaceanvim": { "branch": "master", "commit": "047f9c9d8cd2861745eb9de6c1570ee0875aa795" },
|
||||
"schemastore.nvim": { "branch": "main", "commit": "9a5992a881583d886bfbb46631a09f736f0fae50" },
|
||||
"structlog.nvim": { "branch": "main", "commit": "45b26a2b1036bb93c0e83f4225e85ab3cee8f476" },
|
||||
"tailwind-tools.nvim": { "branch": "master", "commit": "89e560705ecd49607c63c277935c5264bb770d57" },
|
||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "9ef21b2e6bb6ebeaf349a0781745549bbb870d27" },
|
||||
"telescope.nvim": { "branch": "0.1.x", "commit": "d829aa64059001ee7b2c8c8aa9c4e6df0b17d893" },
|
||||
"toggleterm.nvim": { "branch": "main", "commit": "fee58a0473fd92b28c34f8f724e4918b15ba30a3" },
|
||||
"tokyonight.nvim": { "branch": "main", "commit": "b9b494fa7f7bbf2fe0747b47fa290fb7a4eddcc7" },
|
||||
"ts-comments.nvim": { "branch": "main", "commit": "98d7d4dec0af1312d38e288f800bbf6ff562b6ab" },
|
||||
"typst.vim": { "branch": "main", "commit": "4d18ced62599ffe5b3c0e5e49566d5456121bc02" },
|
||||
"vim": { "branch": "legacy", "commit": "99d4b7bf1a0a12f2d78f35a159384b1eb8aa9c15" },
|
||||
"vim-illuminate": { "branch": "master", "commit": "5eeb7951fc630682c322e88a9bbdae5c224ff0aa" },
|
||||
"vim-react-snippets": { "branch": "main", "commit": "755e288bd0db1052be4195fcc82a25e28b609e0b" },
|
||||
"vim-rustfmt": { "branch": "master", "commit": "6bb517be12908926a4f5f516aa510c517c85260e" },
|
||||
"vscode-js-debug": { "branch": "main", "commit": "e620efe1841742402a332b532df2aa2ec95361f6" },
|
||||
"which-key.nvim": { "branch": "main", "commit": "4433e5ec9a507e5097571ed55c02ea9658fb268a" },
|
||||
"winbar.nvim": { "branch": "main", "commit": "13739fdb31be51a1000486189662596f07a59a31" }
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
require'cmp'.setup {
|
||||
sources = {
|
||||
{ name = 'nvim_lsp' }
|
||||
}
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
-- Autocmds are automatically loaded on the VeryLazy event
|
||||
-- Default autocmds that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua
|
||||
-- Add any additional autocmds here
|
||||
|
||||
vim.api.nvim_create_autocmd(
|
||||
{
|
||||
"BufNewFile",
|
||||
"BufRead",
|
||||
},
|
||||
{
|
||||
pattern = "*.typ",
|
||||
callback = function()
|
||||
local buf = vim.api.nvim_get_current_buf()
|
||||
vim.api.nvim_buf_set_option(buf, "filetype", "typst")
|
||||
end
|
||||
}
|
||||
)
|
||||
@@ -1,8 +0,0 @@
|
||||
require('nvim-ts-autotag').setup({
|
||||
opts = {
|
||||
-- Defaults
|
||||
enable_close = true, -- Auto close tags
|
||||
enable_rename = true, -- Auto rename pairs of tags
|
||||
enable_close_on_slash = false -- Auto close on trailing </
|
||||
},
|
||||
})
|
||||
@@ -1,17 +0,0 @@
|
||||
vim.opt.termguicolors = true
|
||||
|
||||
lvim.builtin.bufferline = {
|
||||
options = {
|
||||
mode = "buffers",
|
||||
separator_style = "slant",
|
||||
offsets = {
|
||||
{
|
||||
filetype = "NeoTree",
|
||||
text = "File Explorer",
|
||||
highlight = "Directory",
|
||||
separator = true,
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
require("colorizer").setup {
|
||||
filetypes = { "scss", "sass", "css", "html", "jsx", "tsx" },
|
||||
user_default_options = {
|
||||
css = true, -- Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBB
|
||||
css_fn = true, -- Enable all CSS *functions*: rgb_fn, hsl_fn
|
||||
-- Available modes for `mode`: foreground, background, virtualtext
|
||||
mode = "background", -- Set the display mode.
|
||||
-- Available methods are false / true / "normal" / "lsp" / "both"
|
||||
-- True is same as normal
|
||||
tailwind = true, -- Enable tailwind colors
|
||||
-- parsers can contain values used in |user_default_options|
|
||||
sass = { enable = true, parsers = { "css" }, }, -- Enable sass colors
|
||||
-- update color values even if buffer is not focused
|
||||
-- example use: cmp_menu, cmp_docs
|
||||
always_update = false
|
||||
},
|
||||
-- all the sub-options of filetypes apply to buftypes
|
||||
buftypes = {},
|
||||
}
|
||||
@@ -1,104 +0,0 @@
|
||||
local dap = require('dap')
|
||||
|
||||
require("dap-vscode-js").setup({
|
||||
-- node_path = "node", -- Path of node executable. Defaults to $NODE_PATH, and then "node"
|
||||
debugger_path = "/.local/share/lunarvim/site/pack/lazy/opt/vscode-js-debug", -- Path to vscode-js-debug installation.
|
||||
debugger_cmd = { "js-debug-adapter" }, -- Command to use to launch the debug server. Takes precedence over `node_path` and `debugger_path`.
|
||||
adapters = { 'node-terminal' }, -- which adapters to register in nvim-dap
|
||||
-- log_file_path = "(stdpath cache)/dap_vscode_js.log", -- Path for file logging
|
||||
-- log_file_level = false, -- Logging level for output to file. Set to false to disable file logging.
|
||||
-- log_console_level = vim.log.levels.ERROR -- Logging level for output to console. Set to false to disable console output.
|
||||
})
|
||||
|
||||
dap.configurations.cpp = {
|
||||
{
|
||||
name = "Launch file",
|
||||
type = "codelldb",
|
||||
request = "launch",
|
||||
program = function()
|
||||
return vim.fn.input('Path to executable: ', vim.fn.getcwd() .. '/', 'file')
|
||||
end,
|
||||
cwd = '${workspaceFolder}',
|
||||
stopOnEntry = false,
|
||||
},
|
||||
}
|
||||
|
||||
dap.configurations.c = dap.configurations.cpp
|
||||
dap.configurations.rust = dap.configurations.cpp
|
||||
|
||||
dap.adapters["pwa-node"] = {
|
||||
type = "server",
|
||||
host = "localhost",
|
||||
port = "${port}",
|
||||
executable = {
|
||||
command = "node",
|
||||
-- 💀 make sure to update this path to point to your installation
|
||||
args = {os.getenv("HOME") .. "/.local/share/lvim/mason/packages/js-debug-adapter/js-debug/src/dapDebugServer.js", "${port}"},
|
||||
}
|
||||
}
|
||||
|
||||
dap.configurations.javascript = {
|
||||
{
|
||||
type = "pwa-node",
|
||||
request = "launch",
|
||||
name = "Launch file",
|
||||
program = "${file}",
|
||||
cwd = "${workspaceFolder}",
|
||||
},
|
||||
}
|
||||
|
||||
dap.adapters.chrome = {
|
||||
type = "executable",
|
||||
command = "node",
|
||||
args = {os.getenv("HOME") .. "/.local/share/lvim/mason/packages/chrome-debug-adapter/out/src/chromeDebug.js"},
|
||||
}
|
||||
|
||||
dap.adapters.firefox = {
|
||||
type = 'executable',
|
||||
command = 'node',
|
||||
args = {os.getenv('HOME') .. '/.local/share/lvim/mason/packages/firefox-debug-adapter/dist/adapter.bundle.js'},
|
||||
}
|
||||
|
||||
dap.configurations.typescriptreact = { -- change to typescript if needed
|
||||
{
|
||||
name = 'Next.js: debug server-side',
|
||||
type = "pwa-node",
|
||||
request = "launch",
|
||||
runtimeExecutable = "npm",
|
||||
runtimeArgs = { "run", "dev" },
|
||||
cwd = "${workspaceFolder}",
|
||||
},
|
||||
{
|
||||
name = "Next.js: debug client-side with chrome",
|
||||
type = "chrome",
|
||||
request = "launch",
|
||||
url = "http://localhost:3000"
|
||||
},
|
||||
{
|
||||
name = "Next.js: debug client-side with firefox",
|
||||
type = "firefox",
|
||||
request = "launch",
|
||||
url = 'http://localhost:3000',
|
||||
webRoot = '${workspaceFolder}',
|
||||
firefoxExecutable = '/usr/bin/waterfox',
|
||||
pathMappings = {
|
||||
{
|
||||
url = "webpack://_n_e/",
|
||||
path = "${workspaceFolder}/"
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
dap.configurations.javascriptreact = dap.configurations.typescriptreact;
|
||||
|
||||
require("dapui").setup()
|
||||
|
||||
local dap, dapui = require("dap"), require("dapui")
|
||||
|
||||
dap.listeners.after.event_initialized["dapui_config"] = function()
|
||||
dapui.open({})
|
||||
end
|
||||
|
||||
vim.keymap.set('n', '<leader>ui', require 'dapui'.toggle)
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
local sources = require("dropbar.sources")
|
||||
|
||||
local function get_hl_color(group, attr)
|
||||
return vim.fn.synIDattr(vim.fn.synIDtrans(vim.fn.hlID(group)), attr)
|
||||
end
|
||||
|
||||
vim.cmd [[hi WinBar guisp=#665c54 guibg=#313131]]
|
||||
vim.cmd [[hi WinBarNC guisp=#665c54 guibg=#313131]]
|
||||
|
||||
require("dropbar").setup(
|
||||
{
|
||||
bar = {
|
||||
sources = {
|
||||
{
|
||||
get_symbols = function(buf, win, cursor)
|
||||
local symbols = sources.path.get_symbols(buf, win, cursor)
|
||||
for _, symbol in ipairs(symbols) do
|
||||
-- get correct icon color
|
||||
local icon_fg = get_hl_color(symbol.icon_hl, "fg#")
|
||||
symbol.icon_hl = "DropbarSymbol" .. symbol.icon_hl
|
||||
|
||||
local icon_string = ""
|
||||
-- if icon_fg == "" then
|
||||
-- icon_string = "hi " .. symbol.icon_hl .. " guisp=#665c54 guibg=#313131"
|
||||
-- else
|
||||
-- icon_string = "hi " .. symbol.icon_hl .. " guisp=#665c54 guibg=#313131 guifg=" .. icon_fg
|
||||
-- end
|
||||
|
||||
vim.cmd(icon_string)
|
||||
end
|
||||
return symbols
|
||||
end
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
@@ -1,22 +0,0 @@
|
||||
-- vscode format
|
||||
require("luasnip.loaders.from_vscode").lazy_load { exclude = vim.g.vscode_snippets_exclude or {} }
|
||||
require("luasnip.loaders.from_vscode").lazy_load { paths = vim.g.vscode_snippets_path or "" }
|
||||
|
||||
-- snipmate format
|
||||
require("luasnip.loaders.from_snipmate").load()
|
||||
require("luasnip.loaders.from_snipmate").lazy_load { paths = vim.g.snipmate_snippets_path or "" }
|
||||
|
||||
-- lua format
|
||||
require("luasnip.loaders.from_lua").load()
|
||||
require("luasnip.loaders.from_lua").lazy_load { paths = vim.g.lua_snippets_path or "" }
|
||||
|
||||
vim.api.nvim_create_autocmd("InsertLeave", {
|
||||
callback = function()
|
||||
if
|
||||
require("luasnip").session.current_nodes[vim.api.nvim_get_current_buf()]
|
||||
and not require("luasnip").session.jump_active
|
||||
then
|
||||
require("luasnip").unlink_current()
|
||||
end
|
||||
end,
|
||||
})
|
||||
@@ -1,18 +0,0 @@
|
||||
require("noice").setup({
|
||||
lsp = {
|
||||
-- override markdown rendering so that **cmp** and other plugins use **Treesitter**
|
||||
override = {
|
||||
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
|
||||
["vim.lsp.util.stylize_markdown"] = true,
|
||||
["cmp.entry.get_documentation"] = true, -- requires hrsh7th/nvim-cmp
|
||||
},
|
||||
},
|
||||
-- you can enable a preset for easier configuration
|
||||
presets = {
|
||||
bottom_search = true, -- use a classic bottom cmdline for search
|
||||
command_palette = true, -- position the cmdline and popupmenu together
|
||||
long_message_to_split = true, -- long messages will be sent to a split
|
||||
inc_rename = false, -- enables an input dialog for inc-rename.nvim
|
||||
lsp_doc_border = false, -- add a border to hover docs and signature help
|
||||
},
|
||||
})
|
||||
@@ -1,63 +0,0 @@
|
||||
lvim.builtin.nvimtree.active = false
|
||||
|
||||
vim.fn.sign_define("LspDiagnosticsSignError",
|
||||
{text = " ", texthl = "LspDiagnosticsSignError"})
|
||||
vim.fn.sign_define("LspDiagnosticsSignWarning",
|
||||
{text = " ", texthl = "LspDiagnosticsSignWarning"})
|
||||
vim.fn.sign_define("LspDiagnosticsSignInformation",
|
||||
{text = " ", texthl = "LspDiagnosticsSignInformation"})
|
||||
vim.fn.sign_define("LspDiagnosticsSignHint",
|
||||
{text = " ", texthl = "LspDiagnosticsSignHint"})
|
||||
|
||||
require("neo-tree").setup({
|
||||
close_if_last_window = false, -- Close Neo-tree if it is the last window left in the tab
|
||||
popup_border_style = "rounded",
|
||||
enable_git_status = true,
|
||||
enable_diagnostics = true,
|
||||
open_files_do_not_replace_types = { "terminal", "trouble", "qf" }, -- when opening files, do not use windows containing these filetypes or buftypes
|
||||
sort_case_insensitive = false, -- used when sorting files and directories in the tree
|
||||
sort_function = nil , -- use a custom function for sorting files and directories in the tree
|
||||
-- sort_function = function (a,b)
|
||||
-- if a.type == b.type then
|
||||
-- return a.path > b.path
|
||||
-- else
|
||||
-- return a.type > b.type
|
||||
-- end
|
||||
-- end , -- this sorts files and directories descendantly
|
||||
default_component_configs = {
|
||||
indent = {
|
||||
with_expanders = true, -- if nil and file nesting is enabled, will enable expanders
|
||||
},
|
||||
icon = {
|
||||
folder_closed = "",
|
||||
folder_open = "",
|
||||
folder_empty = "",
|
||||
default = "*",
|
||||
highlight = "NeoTreeFileIcon"
|
||||
},
|
||||
modified = {
|
||||
symbol = "",
|
||||
highlight = "NeoTreeModified",
|
||||
},
|
||||
name = {
|
||||
trailing_slash = false,
|
||||
use_git_status_colors = true,
|
||||
highlight = "NeoTreeFileName",
|
||||
},
|
||||
git_status = {
|
||||
symbols = {
|
||||
-- Change type
|
||||
added = "", -- or "✚", but this is redundant info if you use git_status_colors on the name
|
||||
modified = "", -- or "", but this is redundant info if you use git_status_colors on the name
|
||||
deleted = "",-- this can only be used in the git_status source
|
||||
renamed = "",-- this can only be used in the git_status source
|
||||
-- Status type
|
||||
untracked = "",
|
||||
ignored = "",
|
||||
unstaged = "",
|
||||
staged = "",
|
||||
conflict = "",
|
||||
}
|
||||
},
|
||||
},
|
||||
})
|
||||
@@ -1,19 +0,0 @@
|
||||
vim.o.foldcolumn = '1' -- '0' is not bad
|
||||
vim.o.foldlevel = 99 -- Using ufo provider need a large value, feel free to decrease the value
|
||||
vim.o.foldlevelstart = 99
|
||||
vim.o.foldenable = true
|
||||
vim.o.fillchars = [[eob: ,fold: ,foldopen:,foldsep:╎,foldclose:]]
|
||||
|
||||
-- Using ufo provider need remap `zR` and `zM`. If Neovim is 0.6.1, remap yourself
|
||||
vim.keymap.set('n', 'zR', require('ufo').openAllFolds)
|
||||
vim.keymap.set('n', 'zM', require('ufo').closeAllFolds)
|
||||
|
||||
-- Option 3: treesitter as a main provider instead
|
||||
-- (Note: the `nvim-treesitter` plugin is *not* needed.)
|
||||
-- ufo uses the same query files for folding (queries/<lang>/folds.scm)
|
||||
-- performance and stability are better than `foldmethod=nvim_treesitter#foldexpr()`
|
||||
require('ufo').setup({
|
||||
provider_selector = function(bufnr, filetype, buftype)
|
||||
return {'treesitter', 'indent'}
|
||||
end
|
||||
})
|
||||
@@ -1,19 +0,0 @@
|
||||
local prettier = require("prettier")
|
||||
|
||||
prettier.setup({
|
||||
bin = 'prettier', -- or `'prettierd'` (v0.23.3+)
|
||||
filetypes = {
|
||||
"css",
|
||||
"graphql",
|
||||
"html",
|
||||
"javascript",
|
||||
"javascriptreact",
|
||||
"json",
|
||||
"less",
|
||||
"markdown",
|
||||
"scss",
|
||||
"typescript",
|
||||
"typescriptreact",
|
||||
"yaml",
|
||||
},
|
||||
})
|
||||
@@ -1,56 +0,0 @@
|
||||
local map = vim.keymap.set
|
||||
|
||||
map("n", ";", ":", { desc = "CMD enter command mode" })
|
||||
|
||||
map("i", "<C-h>", "<Left>", { desc = "move left" })
|
||||
map("i", "<C-l>", "<Right>", { desc = "move right" })
|
||||
map("i", "<C-j>", "<Down>", { desc = "move down" })
|
||||
map("i", "<C-k>", "<Up>", { desc = "move up" })
|
||||
|
||||
map("n", "<C-h>", "<C-w>h", { desc = "switch window left" })
|
||||
map("n", "<C-l>", "<C-w>l", { desc = "switch window right" })
|
||||
map("n", "<C-j>", "<C-w>j", { desc = "switch window down" })
|
||||
map("n", "<C-k>", "<C-w>k", { desc = "switch window up" })
|
||||
|
||||
map("n", "<C-n>", "<cmd>NeoTreeShowToggle<CR>", { desc = "nvimtree toggle window" })
|
||||
|
||||
map("n", "<C-A-l>", "<cmd>BufferLineMoveNext<cr>", { desc = "move buffer to right" })
|
||||
map("n", "<C-A-J>", "<cmd>BufferLineMovePrev<cr>", { desc = "move buffer to left" })
|
||||
map("n", "<Tab>", "<cmd>BufferLineCycleNext<cr>", { desc = "switch to next buffer" })
|
||||
map("n", "<S-Tab>", "<cmd>BufferLineCyclePrev<cr>", { desc = "switch to prev buffer" })
|
||||
|
||||
lvim.builtin.which_key.mappings["ln"] = { "<cmd>set norelativenumber<CR>", "Toggle line number" }
|
||||
lvim.builtin.which_key.mappings["e"] = { "<cmd>NeoTreeFocus<CR>", "Nvimtree focus window" }
|
||||
lvim.builtin.which_key.mappings["rn"] = { "<cmd>set relativenumber<CR>", "Toggle relative number" }
|
||||
lvim.builtin.which_key.mappings["ns"] = { "<Cmd>split<cr>", "Horizontal split" }
|
||||
lvim.builtin.which_key.mappings["vs"] = { "<Cmd>vsplit<cr>", "Vertical split" }
|
||||
|
||||
map("n", "<F9>", "<cmd>DapContinue<cr>")
|
||||
map("n", "<F5>", "<cmd>DapToggleBreakpoint<cr>")
|
||||
|
||||
map("n", "mk", "<cmd>RustLsp moveItem up<cr>")
|
||||
map("n", "m,", "<cmd>RustLsp moveItem down<cr>")
|
||||
map("n", "rs", "<cmd>RustLsp run<cr>")
|
||||
map("n", "hh", "<cmd>RustLsp hover actions<cr>")
|
||||
map("n", "ca", "<cmd>RustLsp codeAction<cr>")
|
||||
map("n", "<C-s>", "<cmd>w!<cr>")
|
||||
map("i", "<C-s>", "<cmd>w!<cr>")
|
||||
|
||||
map("n", "<leader>dr", "<cmd> DapContinue <cr>", { desc = "Continue debug" } )
|
||||
|
||||
map("n", "do", function()
|
||||
require("dapui").open()
|
||||
end, { desc = "Open DAP ui" })
|
||||
map("n", "dc", function()
|
||||
require("dapui").close()
|
||||
end, { desc = "Start or continue debug" })
|
||||
map("n", "dt", function()
|
||||
require("dapui").toggle()
|
||||
end, { desc = "Toggle DAP ui" })
|
||||
|
||||
map("n", "+", "<cmd>vertical resize +5<cr>", { desc = "Increase vertical buffer" }) -- make the window biger vertically
|
||||
map("n", "-", "<cmd>vertical resize -5<cr>", { desc = "Decrease vertical buffer" }) -- make the window smaller vertically
|
||||
map("n", "=", "<cmd>horizontal resize -2<cr>", { desc = "Decrease horizontal buffer" }) -- make the window smaller horizontally by pressing shift and -
|
||||
map("n", "_", "<cmd>horizontal resize +2<cr>", { desc = "Increase horizontal buffer" }) -- make the window bigger horizontally by pressing shift and =
|
||||
map("n", "<C-{>", "<cmd>foldopen<cr>")
|
||||
map("n", "<C-}>", "<cmd>foldclose<cr>")
|
||||
@@ -1,220 +0,0 @@
|
||||
lvim.plugins = {
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
"eslint-lsp",
|
||||
"js-debug-adapter",
|
||||
"prettier",
|
||||
"tinymist",
|
||||
"typescript-language-server",
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"kaarmu/typst.vim",
|
||||
},
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
dependencies = {
|
||||
"mason.nvim",
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
},
|
||||
},
|
||||
{
|
||||
'kevinhwang91/nvim-ufo',
|
||||
},
|
||||
{
|
||||
'kevinhwang91/promise-async',
|
||||
},
|
||||
{
|
||||
'rust-lang/rust.vim',
|
||||
},
|
||||
{
|
||||
'kevinhwang91/nvim-bqf'
|
||||
},
|
||||
{
|
||||
'MunifTanjim/prettier.nvim'
|
||||
},
|
||||
{
|
||||
'alx741/vim-rustfmt',
|
||||
},
|
||||
{
|
||||
"savq/melange-nvim"
|
||||
},
|
||||
{
|
||||
'theHamsta/nvim-dap-virtual-text',
|
||||
},
|
||||
{
|
||||
"HoNamDuong/hybrid.nvim",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
opts = {},
|
||||
},
|
||||
{
|
||||
'marko-cerovac/material.nvim'
|
||||
},
|
||||
{
|
||||
"rebelot/kanagawa.nvim",
|
||||
},
|
||||
{
|
||||
'mountain-theme/vim'
|
||||
},
|
||||
{
|
||||
'fgheng/winbar.nvim'
|
||||
},
|
||||
{
|
||||
"gbprod/nord.nvim",
|
||||
},
|
||||
{
|
||||
"vague2k/huez.nvim",
|
||||
},
|
||||
{
|
||||
"Bekaboo/dropbar.nvim",
|
||||
dependencies = {
|
||||
"nvim-telescope/telescope-fzf-native.nvim"
|
||||
},
|
||||
},
|
||||
{
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
branch = "v2.x",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
"MunifTanjim/nui.nvim",
|
||||
},
|
||||
},
|
||||
-- load luasnips + cmp related in insert mode only
|
||||
{
|
||||
"hrsh7th/nvim-cmp",
|
||||
event = "InsertEnter",
|
||||
dependencies = {
|
||||
{
|
||||
-- snippet plugin
|
||||
"L3MON4D3/LuaSnip",
|
||||
dependencies = "rafamadriz/friendly-snippets",
|
||||
opts = { history = true, updateevents = "TextChanged,TextChangedI" },
|
||||
config = function(_, opts)
|
||||
require("luasnip").config.set_config(opts)
|
||||
require "configs.luasnip"
|
||||
end,
|
||||
},
|
||||
-- cmp sources plugins
|
||||
{
|
||||
"saadparwaiz1/cmp_luasnip",
|
||||
"hrsh7th/cmp-nvim-lua",
|
||||
"hrsh7th/cmp-nvim-lsp",
|
||||
"hrsh7th/cmp-buffer",
|
||||
"hrsh7th/cmp-path",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"hrsh7th/cmp-nvim-lsp",
|
||||
},
|
||||
{
|
||||
"luckasRanarison/tailwind-tools.nvim",
|
||||
dependencies = { "nvim-treesitter/nvim-treesitter" },
|
||||
},
|
||||
{
|
||||
"kyazdani42/nvim-web-devicons"
|
||||
},
|
||||
{
|
||||
"mfussenegger/nvim-dap",
|
||||
event = "VeryLazy",
|
||||
},
|
||||
{
|
||||
"rcarriga/nvim-dap-ui",
|
||||
dependencies = {
|
||||
"nvim-neotest/nvim-nio",
|
||||
"mfussenegger/nvim-dap",
|
||||
},
|
||||
event = "VeryLazy",
|
||||
config = function()
|
||||
require("dapui").setup()
|
||||
end
|
||||
},
|
||||
{
|
||||
"mxsdev/nvim-dap-vscode-js"
|
||||
},
|
||||
{
|
||||
"microsoft/vscode-js-debug",
|
||||
lazy = true,
|
||||
build = "npm install --legacy-peer-deps && npx gulp vsDebugServerBundle && mv dist out"
|
||||
},
|
||||
{
|
||||
'NvChad/nvim-colorizer.lua',
|
||||
},
|
||||
{
|
||||
"folke/neodev.nvim", opts = {}
|
||||
},
|
||||
{
|
||||
"mlaursen/vim-react-snippets",
|
||||
},
|
||||
{
|
||||
"windwp/nvim-ts-autotag",
|
||||
},
|
||||
{
|
||||
"folke/ts-comments.nvim",
|
||||
event = "VeryLazy",
|
||||
enabled = vim.fn.has("nvim-0.10.0") == 1,
|
||||
},
|
||||
{
|
||||
"windwp/nvim-autopairs",
|
||||
event = "InsertEnter",
|
||||
config = true
|
||||
-- use opts = {} for passing setup options
|
||||
-- this is equalent to setup({}) function
|
||||
},
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
},
|
||||
{
|
||||
"mrcjkb/rustaceanvim",
|
||||
version = '^4', -- Recommended
|
||||
lazy = false, -- This plugin is already lazy
|
||||
},
|
||||
{
|
||||
"NeogitOrg/neogit",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim", -- required
|
||||
"sindrets/diffview.nvim", -- optional - Diff integration
|
||||
|
||||
-- Only one of these is needed, not both.
|
||||
"nvim-telescope/telescope.nvim", -- optional
|
||||
"ibhagwan/fzf-lua", -- optional
|
||||
},
|
||||
config = true,
|
||||
},
|
||||
{
|
||||
"catppuccin/nvim",
|
||||
name = "catppuccin",
|
||||
priority = 1000
|
||||
},
|
||||
{
|
||||
"loctvl842/monokai-pro.nvim"
|
||||
},
|
||||
{
|
||||
"tanvirtin/monokai.nvim"
|
||||
},
|
||||
{
|
||||
"folke/noice.nvim",
|
||||
event = "VeryLazy",
|
||||
opts = {
|
||||
routes = {
|
||||
{
|
||||
filter = { event = "notify", find = "No information available" },
|
||||
opts = { skip = true },
|
||||
},
|
||||
},
|
||||
presets = {
|
||||
lsp_doc_border = true,
|
||||
},
|
||||
},
|
||||
dependencies = {
|
||||
"MunifTanjim/nui.nvim",
|
||||
"rcarriga/nvim-notify",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -1,17 +1,38 @@
|
||||
[Default Applications]
|
||||
x-scheme-handler/tonsite=io.github.kukuruzka165.materialgram.desktop
|
||||
x-scheme-handler/tg=io.github.kukuruzka165.materialgram.desktop
|
||||
x-scheme-handler/mailto=userapp-Thunderbird-9B2JV2.desktop
|
||||
message/rfc822=userapp-Thunderbird-9B2JV2.desktop
|
||||
x-scheme-handler/mid=userapp-Thunderbird-9B2JV2.desktop
|
||||
application/pdf=org.pwmt.zathura-pdf-poppler.desktop
|
||||
x-scheme-handler/tonsite=userapp-64Gram Desktop-2YVBW2.desktop
|
||||
x-scheme-handler/tg=userapp-64Gram Desktop-M3XAW2.desktop
|
||||
x-scheme-handler/mailto=userapp-Thunderbird-M5C9Y2.desktop
|
||||
message/rfc822=userapp-Thunderbird-M5C9Y2.desktop
|
||||
x-scheme-handler/mid=userapp-Thunderbird-M5C9Y2.desktop
|
||||
application/pdf=org.pwmt.zathura-pdf-mupdf.desktop
|
||||
image/jpg=feh.desktop
|
||||
image/jpeg=feh.desktop
|
||||
image/png=feh.desktop
|
||||
image/webm=feh.desktop
|
||||
application/x-executable=appimagelauncher.desktop
|
||||
x-scheme-handler/http=userapp-Firefox-9Z8DZ2.desktop
|
||||
x-scheme-handler/https=userapp-Firefox-9Z8DZ2.desktop
|
||||
x-scheme-handler/chrome=userapp-Firefox-9Z8DZ2.desktop
|
||||
text/html=userapp-Firefox-9Z8DZ2.desktop
|
||||
application/x-extension-htm=userapp-Firefox-9Z8DZ2.desktop
|
||||
application/x-extension-html=userapp-Firefox-9Z8DZ2.desktop
|
||||
application/x-extension-shtml=userapp-Firefox-9Z8DZ2.desktop
|
||||
application/xhtml+xml=userapp-Firefox-9Z8DZ2.desktop
|
||||
application/x-extension-xhtml=userapp-Firefox-9Z8DZ2.desktop
|
||||
application/x-extension-xht=userapp-Firefox-9Z8DZ2.desktop
|
||||
|
||||
[Added Associations]
|
||||
x-scheme-handler/tonsite=org.telegram.desktop.desktop;io.github.kukuruzka165.materialgram.desktop;
|
||||
x-scheme-handler/tg=io.github.kukuruzka165.materialgram.desktop;
|
||||
x-scheme-handler/mailto=userapp-Thunderbird-9B2JV2.desktop;
|
||||
x-scheme-handler/mid=userapp-Thunderbird-9B2JV2.desktop;
|
||||
x-scheme-handler/tonsite=org.telegram.desktop.desktop;io.github.kukuruzka165.materialgram.desktop;userapp-64Gram Desktop-2YVBW2.desktop;
|
||||
x-scheme-handler/tg=io.github.kukuruzka165.materialgram.desktop;userapp-64Gram Desktop-M3XAW2.desktop;
|
||||
x-scheme-handler/mailto=userapp-Thunderbird-9B2JV2.desktop;userapp-Thunderbird-M5C9Y2.desktop;
|
||||
x-scheme-handler/mid=userapp-Thunderbird-9B2JV2.desktop;userapp-Thunderbird-M5C9Y2.desktop;
|
||||
x-scheme-handler/http=userapp-Firefox-9Z8DZ2.desktop;
|
||||
x-scheme-handler/https=userapp-Firefox-9Z8DZ2.desktop;
|
||||
x-scheme-handler/chrome=userapp-Firefox-9Z8DZ2.desktop;
|
||||
text/html=userapp-Firefox-9Z8DZ2.desktop;
|
||||
application/x-extension-htm=userapp-Firefox-9Z8DZ2.desktop;
|
||||
application/x-extension-html=userapp-Firefox-9Z8DZ2.desktop;
|
||||
application/x-extension-shtml=userapp-Firefox-9Z8DZ2.desktop;
|
||||
application/xhtml+xml=userapp-Firefox-9Z8DZ2.desktop;
|
||||
application/x-extension-xhtml=userapp-Firefox-9Z8DZ2.desktop;
|
||||
application/x-extension-xht=userapp-Firefox-9Z8DZ2.desktop;
|
||||
|
||||
@@ -120,7 +120,7 @@ fade-delta = 10
|
||||
# Sets the radius of rounded window corners. When > 0, the compositor will
|
||||
# round the corners of windows. Does not interact well with
|
||||
# `transparent-clipping`.
|
||||
corner-radius = 5;
|
||||
corner-radius = 2;
|
||||
|
||||
# Exclude conditions for rounded corners.
|
||||
#rounded-corners-exclude = [
|
||||
@@ -142,17 +142,17 @@ corner-radius = 5;
|
||||
# Specify the backend to use: `xrender`, `glx`, `egl` or `xr_glx_hybrid`.
|
||||
# `xrender` is the default one.
|
||||
#
|
||||
backend = "egl"
|
||||
dithered-present = false;
|
||||
# Available backends "xrender" "glx" "egl"
|
||||
backend = "glx"
|
||||
|
||||
dithered-present = true;
|
||||
vsync = true;
|
||||
|
||||
detect-rounded-corners = true;
|
||||
detect-client-opacity = true;
|
||||
detect-transient = true;
|
||||
detect-client-leader = true
|
||||
glx-no-stencil = true
|
||||
glx-no-rebind-pixmap = false
|
||||
|
||||
use-damage = true;
|
||||
xrender-sync-fence = false
|
||||
log-level = "warn";
|
||||
|
||||
rules = ({
|
||||
match = "WM_TRANSIENT_FOR@";
|
||||
@@ -193,7 +193,7 @@ rules = ({
|
||||
blur-opacity = 0;
|
||||
shadow-opacity = "opacity";
|
||||
scale-y = {
|
||||
curve = "cubic-bezier(0.21, 0.02, 0.76, 0.36)";
|
||||
curve = "cubic-bezier(0.25, 0.05, 0.28, 1)";
|
||||
duration = 0.15;
|
||||
start = 1;
|
||||
end = 0.7;
|
||||
@@ -241,7 +241,7 @@ rules = ({
|
||||
blur-opacity = 0;
|
||||
shadow-opacity = "opacity";
|
||||
scale-y = {
|
||||
curve = "cubic-bezier(0.21, 0.02, 0.76, 0.36)";
|
||||
curve = "cubic-bezier(0.25, 0.05, 0.28, 1)";
|
||||
duration = 0.15;
|
||||
start = 1;
|
||||
end = 0.7;
|
||||
@@ -306,7 +306,7 @@ animations = ({
|
||||
offset-x = "(1 - scale-x) / 2 * window-width";
|
||||
offset-y = "(1 - scale-y) / 2 * window-height";
|
||||
scale-x = {
|
||||
curve = "cubic-bezier(0.21, 0.02, 0.76, 0.36)";
|
||||
curve = "cubic-bezier(0.25, 0.05, 0.28, 1)";
|
||||
duration = 0.15;
|
||||
start = 1;
|
||||
end = 0.9;
|
||||
@@ -351,13 +351,13 @@ animations = ({
|
||||
{
|
||||
triggers = ["workspace-out"];
|
||||
offset-y = {
|
||||
curve = "cubic-bezier(0.21, 0.02, 0.76, 0.36)";
|
||||
curve = "cubic-bezier(0.25, 0.05, 0.28, 1)";
|
||||
duration = 0.15;
|
||||
start = "0";
|
||||
end = "- window-height / 2";
|
||||
};
|
||||
scale-x = {
|
||||
curve = "cubic-bezier(0.21, 0.02, 0.76, 0.36)";
|
||||
curve = "cubic-bezier(0.25, 0.05, 0.28, 1)";
|
||||
duration = 0.10;
|
||||
start = "0";
|
||||
end = "- window-height / 2";
|
||||
@@ -375,7 +375,7 @@ animations = ({
|
||||
}, {
|
||||
triggers = ["workspace-out-inverse"];
|
||||
offset-y = {
|
||||
curve = "cubic-bezier(0.21, 0.02, 0.76, 0.36)";
|
||||
curve = "cubic-bezier(0.25, 0.05, 0.28, 1)";
|
||||
duration = 0.15;
|
||||
start = "0";
|
||||
end = "window-height / 2";
|
||||
@@ -435,13 +435,72 @@ animations = ({
|
||||
end = "window-raw-opacity";
|
||||
};
|
||||
shadow-opacity = "opacity";
|
||||
}
|
||||
},{
|
||||
triggers = ["geometry"]
|
||||
scale-x = {
|
||||
curve = "cubic-bezier(0.16, 1, 0.3, 1)";
|
||||
duration = 0.2;
|
||||
start = "window-width-before / window-width";
|
||||
end = 1;
|
||||
}
|
||||
scale-y = {
|
||||
curve = "cubic-bezier(0.16, 1, 0.3, 1)";
|
||||
duration = 0.2;
|
||||
start = "window-height-before / window-height";
|
||||
end = 1;
|
||||
}
|
||||
offset-x = {
|
||||
curve = "cubic-bezier(0.16, 1, 0.3, 1)";
|
||||
duration = 0.2;
|
||||
start = "window-x-before - window-x";
|
||||
end = 0;
|
||||
}
|
||||
offset-y = {
|
||||
curve = "cubic-bezier(0.16, 1, 0.3, 1)";
|
||||
duration = 0.2;
|
||||
start = "window-y-before - window-y";
|
||||
end = 0;
|
||||
}
|
||||
|
||||
saved-image-blend = 0;
|
||||
shadow-scale-x = "scale-x";
|
||||
shadow-scale-y = "scale-y";
|
||||
shadow-offset-x = "offset-x";
|
||||
shadow-offset-y = "offset-y";
|
||||
}
|
||||
|
||||
# {
|
||||
# triggers = [ "geometry" ];
|
||||
# scale-x = {
|
||||
# curve = "cubic-bezier(0.25, 0.05, 0.28, 1)";
|
||||
# duration = 0.25;
|
||||
# start = "window-width-before / window-width";
|
||||
# end = 1;
|
||||
# }
|
||||
# scale-y = {
|
||||
# curve = "cubic-bezier(0.25, 0.05, 0.28, 1)";
|
||||
# duration = 0.25;
|
||||
# start = "window-height-before / window-height";
|
||||
# end = 1;
|
||||
# }
|
||||
# offset-x = {
|
||||
# curve = "cubic-bezier(0.25, 0.05, 0.28, 1)";
|
||||
# duration = 0.25;
|
||||
# start = "window-x-before - window-x";
|
||||
# end = "0";
|
||||
# }
|
||||
# offset-y = {
|
||||
# curve = "cubic-bezier(0.25, 0.05, 0.28, 1)";
|
||||
# duration = 0.25;
|
||||
# start = "window-y-before - window-y";
|
||||
# end = "0";
|
||||
# }
|
||||
# }
|
||||
# Full Opaque Desktop Switch
|
||||
#{
|
||||
# triggers = ["workspace-out"];
|
||||
# offset-y = {
|
||||
# timing = "0.15s cubic-bezier(0.21, 0.02, 0.76, 0.36)";
|
||||
# timing = "0.15s cubic-bezier(0.25, 0.05, 0.28, 1)";
|
||||
# start = "0";
|
||||
# end = "-window-monitor-height";
|
||||
# };
|
||||
@@ -456,7 +515,7 @@ animations = ({
|
||||
#}, {
|
||||
# triggers = ["workspace-out-inverse"];
|
||||
# offset-y = {
|
||||
# timing = "0.15s cubic-bezier(0.21, 0.02, 0.76, 0.36)";
|
||||
# timing = "0.15s cubic-bezier(0.25, 0.05, 0.28, 1)";
|
||||
# start = "0";
|
||||
# end = "window-monitor-height";
|
||||
# };
|
||||
|
||||
0
rofi/colors.rasi
Normal file → Executable file
0
rofi/config.rasi
Normal file → Executable file
2
rofi/launcher/app_menu.rasi
Normal file → Executable file
@@ -10,7 +10,7 @@
|
||||
/*****----- Configuration -----*****/
|
||||
configuration {
|
||||
modi: "drun,run,filebrowser,ssh,window";
|
||||
show-icons: false;
|
||||
show-icons: true;
|
||||
display-drun: " Apps";
|
||||
display-run: " Run";
|
||||
display-filebrowser: " Files";
|
||||
|
||||
|
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 74 KiB |
@@ -59,12 +59,12 @@ run_cmd() {
|
||||
selected="$(confirm_exit)"
|
||||
if [[ "$selected" == "$yes" ]]; then
|
||||
if [[ $1 == '--shutdown' ]]; then
|
||||
loginctl poweroff
|
||||
sudo shutdown -P now
|
||||
elif [[ $1 == '--reboot' ]]; then
|
||||
loginctl reboot
|
||||
sudo reboot
|
||||
elif [[ $1 == '--suspend' ]]; then
|
||||
loginctl suspend
|
||||
elif [[ $1 == '--logout' ]]; then
|
||||
betterlockscreen --suspend
|
||||
elif [[ $1 == '--logout' ]]; then
|
||||
bspc quit & pkill pipewire & pkill pipewire-pulse & pkill polybar
|
||||
fi
|
||||
else
|
||||
@@ -83,7 +83,7 @@ case ${chosen} in
|
||||
;;
|
||||
$lock)
|
||||
if [[ -x '/usr/bin/betterlockscreen' ]]; then
|
||||
betterlockscreen -l blur
|
||||
betterlockscreen -l
|
||||
elif [[ -x '/usr/bin/i3lock' ]]; then
|
||||
i3lock
|
||||
fi
|
||||
|
||||
0
rofi/power/power_menu.rasi
Normal file → Executable file
0
rofi/volume/volume_menu.rasi
Normal file → Executable file
3
root_configs/acpi/events/anything
Normal file
@@ -0,0 +1,3 @@
|
||||
# Pass all events to our one handler script
|
||||
event=.*
|
||||
action=/etc/acpi/handler.sh %e
|
||||
101
root_configs/acpi/handler.sh
Executable file
@@ -0,0 +1,101 @@
|
||||
#!/bin/sh
|
||||
# Default acpi script that takes an entry for all actions
|
||||
|
||||
# NOTE: This is a 2.6-centric script. If you use 2.4.x, you'll have to
|
||||
# modify it to not use /sys
|
||||
|
||||
# $1 should be + or - to step up or down the brightness.
|
||||
step_backlight() {
|
||||
for backlight in /sys/class/backlight/*/; do
|
||||
[ -d "$backlight" ] || continue
|
||||
step=$(( $(cat "$backlight/max_brightness") / 20 ))
|
||||
[ "$step" -gt "1" ] || step=1 #fallback if gradation is too low
|
||||
printf '%s' "$(( $(cat "$backlight/brightness") $1 step ))" >"$backlight/brightness"
|
||||
done
|
||||
}
|
||||
|
||||
minspeed="/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq"
|
||||
maxspeed="/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq"
|
||||
setspeed="/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed"
|
||||
|
||||
export DISPLAY=:0
|
||||
|
||||
case "$1" in
|
||||
button/power)
|
||||
case "$2" in
|
||||
PBTN|PWRF)
|
||||
logger "PowerButton pressed: $2, shutting down..."
|
||||
shutdown -P now
|
||||
;;
|
||||
*) logger "ACPI action undefined: $2" ;;
|
||||
esac
|
||||
;;
|
||||
button/sleep)
|
||||
case "$2" in
|
||||
SBTN|SLPB)
|
||||
# suspend-to-ram
|
||||
logger "Sleep Button pressed: $2, suspending..."
|
||||
su doryan -c -m "betterlockscreen -l &"
|
||||
sleep 0.5
|
||||
zzz
|
||||
;;
|
||||
*) logger "ACPI action undefined: $2" ;;
|
||||
esac
|
||||
;;
|
||||
ac_adapter)
|
||||
case "$2" in
|
||||
AC|ACAD|ADP0)
|
||||
case "$4" in
|
||||
00000000)
|
||||
cat "$minspeed" >"$setspeed"
|
||||
#/etc/laptop-mode/laptop-mode start
|
||||
;;
|
||||
00000001)
|
||||
cat "$maxspeed" >"$setspeed"
|
||||
#/etc/laptop-mode/laptop-mode stop
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*) logger "ACPI action undefined: $2" ;;
|
||||
esac
|
||||
;;
|
||||
battery)
|
||||
case "$2" in
|
||||
BAT0)
|
||||
case "$4" in
|
||||
00000000) #echo "offline" >/dev/tty5
|
||||
;;
|
||||
00000001) #echo "online" >/dev/tty5
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
CPU0)
|
||||
;;
|
||||
*) logger "ACPI action undefined: $2" ;;
|
||||
esac
|
||||
;;
|
||||
button/lid)
|
||||
case "$3" in
|
||||
close)
|
||||
# suspend-to-ram
|
||||
logger "LID closed, suspending..."
|
||||
su doryan -c -m "betterlockscreen -l &"
|
||||
sleep 0.5
|
||||
zzz
|
||||
;;
|
||||
open)
|
||||
logger "LID opened"
|
||||
;;
|
||||
*) logger "ACPI action undefined (LID): $2";;
|
||||
esac
|
||||
;;
|
||||
video/brightnessdown)
|
||||
step_backlight -
|
||||
;;
|
||||
video/brightnessup)
|
||||
step_backlight +
|
||||
;;
|
||||
*)
|
||||
logger "ACPI group/action undefined: $1 / $2"
|
||||
;;
|
||||
esac
|
||||
78
root_configs/fonts/fonts.conf
Normal file
@@ -0,0 +1,78 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
|
||||
<!-- /etc/fonts/fonts.conf file to configure system font access -->
|
||||
<fontconfig>
|
||||
<description>Default configuration file</description>
|
||||
|
||||
<!--
|
||||
DO NOT EDIT THIS FILE.
|
||||
IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
|
||||
LOCAL CHANGES BELONG IN 'local.conf'.
|
||||
|
||||
The intent of this standard configuration file is to be adequate for
|
||||
most environments. If you have a reasonably normal environment and
|
||||
have found problems with this configuration, they are probably
|
||||
things that others will also want fixed. Please submit any problems
|
||||
to the fontconfig issue tracking system located at fontconfig.org
|
||||
|
||||
Note that the normal 'make install' procedure for fontconfig is to
|
||||
replace any existing fonts.conf file with the new version. Place
|
||||
any local customizations in local.conf which this file references.
|
||||
|
||||
Keith Packard
|
||||
-->
|
||||
|
||||
<!-- Font directory list -->
|
||||
|
||||
<dir>/home/doryan/.fonts</dir>
|
||||
|
||||
<dir prefix="xdg">fonts</dir>
|
||||
<!-- the following element will be removed in the future -->
|
||||
<dir>~/.fonts</dir>
|
||||
|
||||
<!--
|
||||
Accept deprecated 'mono' alias, replacing it with 'monospace'
|
||||
-->
|
||||
<match target="pattern">
|
||||
<test qual="any" name="family">
|
||||
<string>mono</string>
|
||||
</test>
|
||||
<edit name="family" mode="assign" binding="same">
|
||||
<string>JetBrainsMono Nerd Font Propo</string>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<!--
|
||||
Accept alternate 'system ui' spelling, replacing it with 'system-ui'
|
||||
-->
|
||||
<match target="pattern">
|
||||
<test qual="any" name="family">
|
||||
<string>system ui</string>
|
||||
</test>
|
||||
<edit name="family" mode="assign" binding="same">
|
||||
<string>Onest Medium</string>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<!--
|
||||
Load local system customization file
|
||||
-->
|
||||
<include ignore_missing="yes">conf.d</include>
|
||||
|
||||
<!-- Font cache directory list -->
|
||||
|
||||
<cachedir>/var/cache/fontconfig</cachedir>
|
||||
<cachedir prefix="xdg">fontconfig</cachedir>
|
||||
<!-- the following element will be removed in the future -->
|
||||
<cachedir>~/.fontconfig</cachedir>
|
||||
|
||||
<config>
|
||||
<!--
|
||||
Rescan configuration every 30 seconds when FcFontSetList is called
|
||||
-->
|
||||
<rescan>
|
||||
<int>30</int>
|
||||
</rescan>
|
||||
</config>
|
||||
|
||||
</fontconfig>
|
||||
7
root_configs/xorg.conf.d/00-keyboard.conf
Normal file
@@ -0,0 +1,7 @@
|
||||
Section "InputClass"
|
||||
Identifier "keyboard-all"
|
||||
MatchIsKeyboard "on"
|
||||
Option "XkbLayout" "us,ru"
|
||||
Option "XkbOptions" "grp:ctrl_space_toggle"
|
||||
Option "AutoRepeat" "250 20"
|
||||
EndSection
|
||||
3
root_configs/xorg.conf.d/10-extensions.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
Section "Extensions"
|
||||
Option "DPMS" "false"
|
||||
EndSection
|
||||
3
root_configs/xorg.conf.d/10-serverflags.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
Section "ServerFlags"
|
||||
Option "BlankTime" "0"
|
||||
EndSection
|
||||
21
root_configs/xorg.conf.d/70-synaptics.conf
Normal file
@@ -0,0 +1,21 @@
|
||||
Section "InputClass"
|
||||
Identifier "touchpad"
|
||||
Driver "synaptics"
|
||||
MatchIsTouchpad "on"
|
||||
Option "TapButton1" "1"
|
||||
Option "TapButton2" "3"
|
||||
Option "TapButton3" "2"
|
||||
Option "VertEdgeScroll" "on"
|
||||
Option "VertTwoFingerScroll" "on"
|
||||
Option "HorizEdgeScroll" "on"
|
||||
Option "HorizTwoFingerScroll" "on"
|
||||
Option "CircularScrolling" "on"
|
||||
Option "CircScrollTrigger" "2"
|
||||
Option "EmulateTwoFingerMinZ" "40"
|
||||
Option "EmulateTwoFingerMinW" "8"
|
||||
Option "CoastingSpeed" "0"
|
||||
Option "FingerLow" "30"
|
||||
Option "FingerHigh" "50"
|
||||
Option "MaxTapTime" "125"
|
||||
EndSection
|
||||
|
||||
22
yazi/flavors/gruvbox-dark.yazi/LICENSE
Normal file
@@ -0,0 +1,22 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2024 Ben Yip
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
21
yazi/flavors/gruvbox-dark.yazi/LICENSE-tmtheme
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2020 Subhaditya Nath
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
32
yazi/flavors/gruvbox-dark.yazi/README.md
Normal file
@@ -0,0 +1,32 @@
|
||||
<div align="center">
|
||||
<img src="https://github.com/sxyazi/yazi/blob/main/assets/logo.png?raw=true" alt="Yazi logo" width="20%">
|
||||
</div>
|
||||
|
||||
<h3 align="center">
|
||||
Gruvbox Dark Flavor for <a href="https://github.com/sxyazi/yazi">Yazi</a>
|
||||
</h3>
|
||||
|
||||
## 👀 Preview
|
||||
|
||||
<img src="preview.png" width="600" />
|
||||
|
||||
## 🎨 Installation
|
||||
|
||||
```bash
|
||||
ya pack -a bennyyip/gruvbox-dark
|
||||
```
|
||||
|
||||
## ⚙️ Usage
|
||||
|
||||
Add the these lines to your `theme.toml` configuration file to use it:
|
||||
|
||||
```toml
|
||||
[flavor]
|
||||
dark = "gruvbox-dark"
|
||||
```
|
||||
|
||||
## 📜 License
|
||||
|
||||
The flavor is MIT-licensed, and the included tmTheme is also MIT-licensed.
|
||||
|
||||
Check the [LICENSE](LICENSE) and [LICENSE-tmtheme](LICENSE-tmtheme) file for more details.
|
||||
146
yazi/flavors/gruvbox-dark.yazi/flavor.toml
Normal file
@@ -0,0 +1,146 @@
|
||||
# vim:fileencoding=utf-8:foldmethod=marker
|
||||
|
||||
# : Manager {{{
|
||||
|
||||
[manager]
|
||||
cwd = { fg = "#83a598" }
|
||||
|
||||
# Hovered
|
||||
hovered = { reversed = true, bold = true }
|
||||
# hovered = { bg = "#3c3836", bold = true }
|
||||
preview_hovered = { underline = true }
|
||||
|
||||
# Find
|
||||
find_keyword = { fg = "#b8bb26", italic = true }
|
||||
find_position = { fg = "#fe8019", bg = "reset", italic = true }
|
||||
|
||||
# Marker
|
||||
marker_copied = { fg = "#8ec07c", bg = "#8ec07c" }
|
||||
marker_cut = { fg = "#d3869b", bg = "#d3869b" }
|
||||
marker_marked = { fg = "#83a598", bg = "#83a598" }
|
||||
marker_selected = { fg = "#fbf1c7", bg = "#fbf1c7" }
|
||||
|
||||
# Tab
|
||||
tab_active = { fg = "#282828", bg = "#a89984" }
|
||||
tab_inactive = { fg = "#a89984", bg = "#504945" }
|
||||
tab_width = 1
|
||||
|
||||
# Count
|
||||
count_copied = { fg = "#282828", bg = "#8ec07c" }
|
||||
count_cut = { fg = "#282828", bg = "#d3869b" }
|
||||
count_selected = { fg = "#282828", bg = "#fbf1c7" }
|
||||
|
||||
# Border
|
||||
border_symbol = "│"
|
||||
border_style = { fg = "#665c54" }
|
||||
|
||||
# : }}}
|
||||
|
||||
# : Status {{{
|
||||
|
||||
[status]
|
||||
separator_open = "\ue0be"
|
||||
separator_close = "\ue0b8"
|
||||
separator_style = { fg = "#3c3836", bg = "#3c3836" }
|
||||
|
||||
# Mode
|
||||
mode_normal = { fg = "#282828", bg = "#a89984", bold = true }
|
||||
mode_select = { fg = "#282828", bg = "#fe8019", bold = true }
|
||||
mode_unset = { fg = "#282828", bg = "#b8bb26", bold = true }
|
||||
|
||||
# Progress
|
||||
progress_label = { fg = "#ebdbb2", bold = true }
|
||||
progress_normal = { fg = "#504945", bg = "#3c3836" }
|
||||
progress_error = { fg = "#fb4934", bg = "#3c3836" }
|
||||
|
||||
# Permissions
|
||||
permissions_t = { fg = "#504945" }
|
||||
permissions_r = { fg = "#b8bb26" }
|
||||
permissions_w = { fg = "#fb4934" }
|
||||
permissions_x = { fg = "#b8bb26" }
|
||||
permissions_s = { fg = "#665c54" }
|
||||
|
||||
# : }}}
|
||||
|
||||
# : Select {{{
|
||||
|
||||
[select]
|
||||
border = { fg = "#458588" }
|
||||
active = { fg = "#d3869b", bold = true }
|
||||
inactive = {}
|
||||
|
||||
# : }}}
|
||||
|
||||
# : Input {{{
|
||||
|
||||
[input]
|
||||
border = { fg = "#ebdbb2" }
|
||||
title = {}
|
||||
value = {}
|
||||
selected = { reversed = true }
|
||||
|
||||
# : }}}
|
||||
|
||||
# : Tasks {{{
|
||||
|
||||
[tasks]
|
||||
border = { fg = "#504945" }
|
||||
title = {}
|
||||
hovered = { underline = true }
|
||||
|
||||
# : }}}
|
||||
|
||||
# : Which {{{
|
||||
|
||||
[which]
|
||||
mask = { bg = "#3c3836" }
|
||||
cand = { fg = "#83a598" }
|
||||
rest = { fg = "#928374" }
|
||||
desc = { fg = "#fe8019" }
|
||||
separator = " "
|
||||
separator_style = { fg = "#504945" }
|
||||
|
||||
# : }}}
|
||||
|
||||
# : Help {{{
|
||||
|
||||
[help]
|
||||
on = { fg = "#83a598" }
|
||||
run = { fg = "#d3869b" }
|
||||
hovered = { reversed = true, bold = true }
|
||||
footer = { fg = "#3c3836", bg = "#a89984" }
|
||||
|
||||
# : }}}
|
||||
|
||||
# : Notify {{{
|
||||
|
||||
[notify]
|
||||
title_info = { fg = "#8ec07c" }
|
||||
title_warn = { fg = "#fbf1c7" }
|
||||
title_error = { fg = "#d3869b" }
|
||||
|
||||
# : }}}
|
||||
|
||||
# : File-specific styles {{{
|
||||
|
||||
[filetype]
|
||||
rules = [
|
||||
# Images
|
||||
{ mime = "image/*", fg = "#d3869b" },
|
||||
|
||||
# Media
|
||||
{ mime = "{audio,video}/*", fg = "#fabd2f" },
|
||||
|
||||
# Archives
|
||||
{ mime = "application/*zip", fg = "#fb4934" },
|
||||
{ mime = "application/x-{tar,bzip*,7z-compressed,xz,rar}", fg = "#fb4934" },
|
||||
|
||||
# Documents
|
||||
{ mime = "application/{pdf,doc,rtf,vnd.*}", fg = "#689d6a" },
|
||||
|
||||
# Fallback
|
||||
{ name = "*", fg = "#ebdbb2" },
|
||||
{ name = "*/", fg = "#83a598" },
|
||||
]
|
||||
|
||||
# : }}}
|
||||
BIN
yazi/flavors/gruvbox-dark.yazi/preview.png
Normal file
|
After Width: | Height: | Size: 6.7 MiB |
1509
yazi/flavors/gruvbox-dark.yazi/tmtheme.xml
Normal file
@@ -1,47 +1,8 @@
|
||||
local function setup(_, opts)
|
||||
local type = opts and opts.type or ui.Border.ROUNDED
|
||||
local old_build = Tab.build
|
||||
|
||||
Tab.build = function(self, ...)
|
||||
local bar = function(c, x, y)
|
||||
if x <= 0 or x == self._area.w - 1 then
|
||||
return ui.Bar(ui.Rect.default, ui.Bar.TOP)
|
||||
end
|
||||
|
||||
return ui.Bar(
|
||||
ui.Rect { x = x, y = math.max(0, y), w = ya.clamp(0, self._area.w - x, 1), h = math.min(1, self._area.h) },
|
||||
ui.Bar.TOP
|
||||
):symbol(c)
|
||||
end
|
||||
|
||||
local c = self._chunks
|
||||
self._chunks = {
|
||||
c[1]:padding(ui.Padding.y(1)),
|
||||
c[2]:padding(ui.Padding(c[1].w > 0 and 0 or 1, c[3].w > 0 and 0 or 1, 1, 1)),
|
||||
c[3]:padding(ui.Padding.y(1)),
|
||||
}
|
||||
|
||||
local style = THEME.manager.border_style
|
||||
self._base = ya.list_merge(self._base or {}, {
|
||||
ui.Border(self._area, ui.Border.ALL):type(type):style(style),
|
||||
ui.Bar(self._chunks[1], ui.Bar.RIGHT):style(style),
|
||||
ui.Bar(self._chunks[3], ui.Bar.LEFT):style(style),
|
||||
|
||||
bar("┬", c[1].right - 1, c[1].y),
|
||||
bar("┴", c[1].right - 1, c[1].bottom - 1),
|
||||
bar("┬", c[2].right, c[2].y),
|
||||
bar("┴", c[2].right, c[2].bottom - 1),
|
||||
})
|
||||
|
||||
old_build(self, ...)
|
||||
end
|
||||
end
|
||||
|
||||
setup {
|
||||
require("full-border"):setup {
|
||||
-- Available values: ui.Border.PLAIN, ui.Border.ROUNDED
|
||||
type = ui.Border.ROUNDED,
|
||||
}
|
||||
|
||||
require("archivemount"):setup()
|
||||
require("chmod")
|
||||
require("starship").setup()
|
||||
require("diff")
|
||||
require("starship"):setup()
|
||||
|
||||
@@ -7,15 +7,9 @@ run = '''
|
||||
[[manager.prepend_keymap]]
|
||||
on = "y"
|
||||
run = [ '''
|
||||
shell 'echo "$@" | xclip -i -selection clipboard -t text/uri-list' --confirm
|
||||
shell 'echo "$@" | xclip -i -selection clipboard -t text/uri-list'
|
||||
''', "yank" ]
|
||||
|
||||
[[manager.prepend_keymap]]
|
||||
on = [ "m", "a" ]
|
||||
run = "plugin archivemount --args=mount"
|
||||
desc = "Mount selected archive"
|
||||
|
||||
[[manager.prepend_keymap]]
|
||||
on = [ "m", "u" ]
|
||||
run = "plugin archivemount --args=unmount"
|
||||
desc = "Unmount and save changes to original archive"
|
||||
on = "<C-y>"
|
||||
run = ["plugin system-clipboard"]
|
||||
|
||||
5
yazi/package.toml
Normal file
@@ -0,0 +1,5 @@
|
||||
[plugin]
|
||||
deps = [{ use = "yazi-rs/plugins:full-border", rev = "4f1d0ae" }, { use = "Lil-Dank/lazygit", rev = "c82794f" }, { use = "TD-Sky/sudo", rev = "a8287ea" }]
|
||||
|
||||
[flavor]
|
||||
deps = [{ use = "bennyyip/gruvbox-dark", rev = "b4cc9f2" }]
|
||||
37
yazi/plugins/diff.yazi/init.lua
Normal file
@@ -0,0 +1,37 @@
|
||||
local function info(content)
|
||||
return ya.notify {
|
||||
title = "Diff",
|
||||
content = content,
|
||||
timeout = 5,
|
||||
}
|
||||
end
|
||||
|
||||
local selected_url = ya.sync(function()
|
||||
for _, u in pairs(cx.active.selected) do
|
||||
return u
|
||||
end
|
||||
end)
|
||||
|
||||
local hovered_url = ya.sync(function()
|
||||
local h = cx.active.current.hovered
|
||||
return h and h.url
|
||||
end)
|
||||
|
||||
return {
|
||||
entry = function()
|
||||
local a, b = selected_url(), hovered_url()
|
||||
if not a then
|
||||
return info("No file selected")
|
||||
elseif not b then
|
||||
return info("No file hovered")
|
||||
end
|
||||
|
||||
local output, err = Command("diff"):arg("-Naur"):arg(tostring(a)):arg(tostring(b)):output()
|
||||
if not output then
|
||||
return info("Failed to run diff, error: " .. err)
|
||||
end
|
||||
|
||||
ya.clipboard(output.stdout)
|
||||
info("Diff copied to clipboard")
|
||||
end,
|
||||
}
|
||||
21
yazi/plugins/full-border.yazi/LICENSE
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2023 yazi-rs
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
32
yazi/plugins/full-border.yazi/README.md
Normal file
@@ -0,0 +1,32 @@
|
||||
# full-border.yazi
|
||||
|
||||
Add a full border to Yazi to make it look fancier.
|
||||
|
||||

|
||||
|
||||
## Installation
|
||||
|
||||
```sh
|
||||
ya pack -a yazi-rs/plugins:full-border
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Add this to your `init.lua` to enable the plugin:
|
||||
|
||||
```lua
|
||||
require("full-border"):setup()
|
||||
```
|
||||
|
||||
Or you can customize the border type:
|
||||
|
||||
```lua
|
||||
require("full-border"):setup {
|
||||
-- Available values: ui.Border.PLAIN, ui.Border.ROUNDED
|
||||
type = ui.Border.ROUNDED,
|
||||
}
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
This plugin is MIT-licensed. For more information check the [LICENSE](LICENSE) file.
|
||||