Compare commits

..

3 commits

8 changed files with 72 additions and 36 deletions

31
discord/glass-dark.css Normal file
View file

@ -0,0 +1,31 @@
code, code.inline, span[class^='codeLine*'] {
font-family: Fira Code;
background: #232323AA;
}
pre > code {
background: #292B2FD7 !important; /*292B2FD7*/
}
.theme-dark {
--background-primary: #0B0B0B44;
--background-secondary: #08080844;
--background-secondary-alt: #12121244;
--background-tertiary: #12121222;
--background-accent: #5454FC44;
--background-mentioned: #5764EB45; /*5764EB45*/
--background-mentioned-hover: #5764EB12;
--info-warning-foreground: #5764EBD5;
--background-message-hover: #1C1B2A88;
--channeltextarea-background: #1F242C; /*5E666833*/
--scrollbar-auto-thumb: #505460;
}
:root {
--font-code: "Fira Code";
}

View file

@ -2,7 +2,7 @@
NAME="ErgoDox EZ Shine Keyboard"
if ! xinput | grep "$NAME" > /dev/null; then
echo ""
echo "󰌐"
exit
fi
@ -12,7 +12,8 @@ CAPS="$(xinput --get-feedbacks $ID | grep led_mask | awk '{ print $3 }')"
if [[ "$CAPS" == "1" ]]; then
#echo "⇪"
echo ""
#echo ""
echo "󰌎"
else
echo ""
echo "󰌌"
fi

View file

@ -3,12 +3,12 @@ ETH="$(cat /sys/class/net/enp0s31f6/operstate)"
WAN="$(cat /sys/class/net/wlan0/operstate)"
if [[ "$ETH" == "up" ]]; then
#echo ""
echo ""
echo "󰈀"
exit
elif [[ "$WAN" == "up" ]]; then
echo ""
else
#echo ""
#echo "睊"
echo ""
echo "󰈂"
fi

View file

@ -3,15 +3,15 @@
if [ "$(pgrep -x redshift)" ]; then
period=$(redshift -p 2> /dev/null | grep Period | awk '{print $2}')
if [[ $period == 'Night' ]]; then
#echo ""
echo "󰖔"
#echo ""
echo ""
#echo ""
#echo "鈴"
elif [[ $period == 'Transition' ]]; then
echo ""
echo "󰖚"
else
echo ""
echo ""
fi
else
echo ""
echo ""
fi

View file

@ -21,8 +21,7 @@ set $ws9 "9"
set $ws10 "10"
# Appearance
#default_border pixel 2
for_window [class="^.*"] border pixel 2
default_border none
gaps inner 15
font pango:DejaVu Sans Mono 2
@ -166,7 +165,7 @@ bindsym Shift+XF86AudioPlay exec playerctl play-pause
bindsym Shift+XF86AudioNext exec playerctl next
bindsym Shift+XF86AudioPrev exec playerctl previous
bindsym $mod+Shift+s exec scrot ~/Images/scrot/%b%d_%H-%M-%S.png
bindsym $mod+Shift+s exec scrot ~/Images/scrot/%Y-%m-%d_%H:%M:%S.png
# _____ __ __
# / ___// /_____ ______/ /___ ______
@ -180,14 +179,13 @@ exec_always xrdb ~/.Xresources
exec picom
exec redshift &
exec dunst
# exec polybar top
exec eww daemon
exec eww open bar
exec unclutter
exec --no-startup-id fcitx5 -d
exec ~/.script/nosleep.sh
exec_always ~/.script/hid/trackball_speed.sh 0.1 1
exec_always ~/.script/hid/trackball_speed.sh 0.3 1
# _ ___ __ ____
#| | / (_)___ ____/ /___ _ __ / __ \_________ ____ _____
@ -196,19 +194,17 @@ exec_always ~/.script/hid/trackball_speed.sh 0.1 1
#|__/|__/_/_/ /_/\__,_/\____/|__/|__/ /_/ /_/ \____/ .___/____/
# /_/
for_window [class="Aseprite"] border pixel 0
for_window [title="Blanket" class="python3"] floating enable
for_window [class="Blueman-manager"] floating enable
for_window [class="eww"] floating enable
for_window [class="eww-background"] border pixel 0
for_window [class="Fractal"] floating enable
for_window [class="Gnome-calendar"] floating enable
#for_window [class="i3-frame"] border pixel 1
for_window [class="Org.gnome.Nautilus"] floating enable
for_window [class="org.gnome.Nautilus"] floating enable
for_window [class="org.gnome.SoundRecorder"] floating enable
for_window [class="Pick-colour-picker"] floating enable
for_window [class="rofi"] border pixel 0
for_window [class="Tk" title="sysmenu"] floating enable
for_window [class="Steam" title="Friends List"] floating enable
for_window [class="org.wezfurlong.wezterm"] border pixel 2
for_window [class="Steam" title="Steam Keyboard"] floating enable
no_focus [window_role="pop-up"]
focus_on_window_activation none

View file

@ -4,8 +4,11 @@
# ___/ / / / / /_/ / /_/ / /_/ / |/ |/ (__ )
#/____/_/ /_/\__,_/\__,_/\____/|__/|__/____/
#
shadow = false;
shadow-opacity = 0.5;
shadow = true;
shadow-opacity = 0.625;
shadow-exclude = [
"!I3_FLOATING_WINDOW@:c && !class_g = 'Rofi'"
];
# ______
# /_ __/________ _____ _________ ____ _________ ____ _______ __
@ -29,7 +32,9 @@ blur-strength = 3;
#blur-background-fixed = true;
blur-background-exclude = [
"window_type = 'desktop'",
"class_g = 'bettercrewlink'",
"class_i = 'discover-overlay'",
"role = 'xborder'",
"name *= 'rect-overlay'"
];
@ -71,7 +76,7 @@ fade-out-step = 0.02;
#/_/ |_|\____/\__,_/_/ /_/\__,_/ \____/\____/_/ /_/ /_/\___/_/ /____/
#
# corner-radius = 8.0;
corner-radius = 12.0;
corner-radius = 8.0;
rounded-corners-exclude = [
"class_g = 'Aseprite'",
"class_g = 'Polybar'",
@ -79,6 +84,7 @@ rounded-corners-exclude = [
"class_g = 'i3-frame'",
"class_i = 'discover-overlay'",
"class_i = 'onboard'",
"class_i = 'oneko'",
"window_type = 'dock'"
# "class_g = 'rofi'",
];
@ -100,6 +106,7 @@ backend = "glx";
vsync = true;
experimental-backends = true;
xrender-sync-fence = true;
unredir-if-possible = false;
glx-no-stencil = true;
glx-no-rebind-pixmap = true;
#unredir-if-possible = false;
#glx-no-stencil = true;
#glx-no-rebind-pixmap = true;

View file

@ -1,7 +1,7 @@
configuration {
font: "FiraCode Nerd Font 14";
display-run: "";
display-window: "";
display-window: "󰍉";
modi: "run,window";
}
@theme "/home/val/.config/rofi/themes/slate-black.rasi"

View file

@ -9,8 +9,8 @@
read_only = " "
[jobs]
symbol_threshold = 2
number_threshold = 3
symbol_threshold = 1
number_threshold = 2
symbol = "✦ "
format = "[$symbol$number]($style)"
@ -22,18 +22,19 @@ format = "[$symbol]($style) "
symbol = ""
[shell]
disabled = true
disabled = false
bash_indicator = ""
nu_indicator = "ν "
powershell_indicator = "PS "
zsh_indicator = "zsh"
xonsh_indicator = " "
zsh_indicator = "z "
style="cyan italic"
format = "$indicator($style)"
[shlvl]
disabled = false
threshold = 3
symbol = ""
threshold = 4
symbol = ""
format = "[$symbol]($style) "
# __