Compare commits

..

No commits in common. "1875d5a220deea1204483d508cfca807bb27c2bd" and "49bfe1a4d33d1f4d7e62f249495b00c2d87e83f1" have entirely different histories.

54 changed files with 1 additions and 4703 deletions

View File

@ -1,4 +1,3 @@
# Dotfiles-dwm
My dwm dotfiles
![Example of Desktop](example.png)
My dwm dotfiles

View File

@ -1,94 +0,0 @@
[[colors.indexed_colors]]
color = "#FAB387"
index = 16
[[colors.indexed_colors]]
color = "#F5E0DC"
index = 17
[colors.bright]
black = "#585B70"
blue = "#89B4FA"
cyan = "#94E2D5"
green = "#A6E3A1"
magenta = "#F5C2E7"
red = "#F38BA8"
white = "#A6ADC8"
yellow = "#F9E2AF"
[colors.cursor]
cursor = "#F5E0DC"
text = "#1E1E2E"
[colors.dim]
black = "#45475A"
blue = "#89B4FA"
cyan = "#94E2D5"
green = "#A6E3A1"
magenta = "#F5C2E7"
red = "#F38BA8"
white = "#BAC2DE"
yellow = "#F9E2AF"
[colors.hints.end]
background = "#A6ADC8"
foreground = "#1E1E2E"
[colors.hints.start]
background = "#F9E2AF"
foreground = "#1E1E2E"
[colors.normal]
black = "#45475A"
blue = "#89B4FA"
cyan = "#94E2D5"
green = "#A6E3A1"
magenta = "#F5C2E7"
red = "#F38BA8"
white = "#BAC2DE"
yellow = "#F9E2AF"
[colors.primary]
background = "#1E1E2E"
bright_foreground = "#CDD6F4"
dim_foreground = "#CDD6F4"
foreground = "#CDD6F4"
[colors.search.focused_match]
background = "#A6E3A1"
foreground = "#1E1E2E"
[colors.search.matches]
background = "#A6ADC8"
foreground = "#1E1E2E"
[colors.selection]
background = "#F5E0DC"
text = "#1E1E2E"
[colors.vi_mode_cursor]
cursor = "#B4BEFE"
text = "#1E1E2E"
[font]
size = 9
[font.bold]
family = "Source Code Pro"
style = "Bold"
[font.bold_italic]
family = "Source Code Pro"
style = "Bold Italic"
[font.italic]
family = "Source Code Pro"
style = "Italic"
[font.normal]
family = "Source Code Pro"
style = "Regular"
[window]
opacity = 0.7

View File

@ -1,11 +0,0 @@
#!/bin/bash
exec pipewire &
exec pipewire-pulse &
exec wireplumber &
exec dunst &
exec /usr/bin/greenclip daemon &
exec setxkbmap -layout us,ru -option 'grp:alt_shift_toggle' &
exec sxhkd &
exec picom &
exec feh --bg-fill Pictures/wallhaven-v98l5p.png &
exec dwmbar &

File diff suppressed because it is too large Load Diff

View File

@ -1,73 +0,0 @@
# dwm version
VERSION = 6.5
# Customize below to fit your system
# paths
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib
# FreeBSD (uncomment)
#X11INC = /usr/local/include
#X11LIB = /usr/local/lib
# Xinerama, comment if you don't want it
XINERAMALIBS = -lXinerama
XINERAMAFLAGS = -DXINERAMA
# freetype
FREETYPELIBS = -lfontconfig -lXft
FREETYPEINC = /usr/include/freetype2
# FreeBSD (uncomment)
#FREETYPEINC = /usr/local/include/freetype2
# OpenBSD (uncomment)
#FREETYPEINC = ${X11INC}/freetype2
# OpenBSD - Uncomment this for the swallow patch / SWALLOW_PATCH
#KVMLIB = -lkvm
# Uncomment this for the alpha patch and the winicon patch (BAR_ALPHA_PATCH, BAR_WINICON_PATCH)
XRENDER = -lXrender
# Uncomment this for the mdpcontrol patch / MDPCONTROL_PATCH
#MPDCLIENT = -lmpdclient
# Uncomment for the pango patch / BAR_PANGO_PATCH
#PANGOINC = `pkg-config --cflags xft pango pangoxft`
#PANGOLIB = `pkg-config --libs xft pango pangoxft`
# Uncomment for the ipc patch / IPC_PATCH
#YAJLLIBS = -lyajl
#YAJLINC = -I/usr/include/yajl
# Uncomment this for the rounded corners patch / ROUNDED_CORNERS_PATCH
#XEXTLIB = -lXext
# Uncomment this for the swallow patch / SWALLOW_PATCH
#XCBLIBS = -lX11-xcb -lxcb -lxcb-res
# This is needed for the winicon and tagpreview patches / BAR_WINICON_PATCH / BAR_TAGPREVIEW_PATCH
IMLIB2LIBS = -lImlib2
# Uncomment for the bidi patch
#BDINC = `pkg-config --cflags fribidi`
#BDLIBS = `pkg-config --libs fribidi`
# includes and libs
INCS = -I${X11INC} -I${FREETYPEINC} ${YAJLINC} ${PANGOINC} ${BDINC}
LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} ${XRENDER} ${MPDCLIENT} ${XEXTLIB} ${XCBLIBS} ${KVMLIB} ${PANGOLIB} ${YAJLLIBS} ${IMLIB2LIBS} $(BDLIBS)
# flags
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
CFLAGS = -std=c99 -pedantic -Wall -Wno-unused-function -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS}
LDFLAGS = ${LIBS}
# Solaris
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
#LDFLAGS = ${LIBS}
# compiler and linker
CC = cc

File diff suppressed because it is too large Load Diff

View File

@ -1,20 +0,0 @@
#!/bin/bash
# What modules, in what order
MODULES="voidupdates kernel ram cpuload cputemp battery time date"
# Modules that require an active internet connection
ONLINE_MODULES="weather internet"
# Delay between showing the status bar
DELAY="0.05"
# Where the custom modules are stored
CUSTOM_DIR="/home/$USER/.config/dwmbar/modules/custom/"
# Separator between modules
SEPARATOR=" | "
# Padding at the end and beginning of the status bar
RIGHT_PADDING=" "
LEFT_PADDING=" "

View File

@ -1,27 +0,0 @@
#!/bin/bash
# Prints out the number of pacman updates (Arch Linux)
# Requires an internet connection
# Depends on yay and checkupdates (pacman-contrib)
# Optional: add --devel flag to the yay cmd to check for *-git package updates.
PREFIX=' Updates: '
get_updates()
{
if ! updates_arch=$(checkupdates 2> /dev/null | wc -l ); then
updates_arch=0
fi
if ! updates_aur=$(yay -Qum 2> /dev/null | wc -l); then
updates_aur=0
fi
updates=$(("$updates_arch" + "$updates_aur"))
echo "$PREFIX$updates"
}
if [ $(( 10#$(date '+%M') % 3 )) -eq 0 ] && [ $(( 10#$(date '+%S') )) -eq 5 ]; then
get_updates
fi

View File

@ -1,13 +0,0 @@
#!/bin/bash
# Prints the backlight percentage
# Requires the light package
PREFIX='ﯧ'
get_backlight()
{
echo "$PREFIX $(light | sed 's/\..*//g')%"
}
get_backlight

View File

@ -1,43 +0,0 @@
#!/bin/bash
# Prints out battery percentage
CHARGING_ICON=' '
WARNING_ICON=' '
BATTERY_FULL_ICON=''
BATTERY_2_ICON=''
BATTERY_3_ICON=''
BATTERY_4_ICON=''
FULL_AT=98
BAT_ICON=""
ICON=""
get_battery()
{
# The vast majority of people only use one battery.
if [ -d /sys/class/power_supply/BAT0 ]; then
capacity=$(cat /sys/class/power_supply/BAT0/capacity)
charging=$(cat /sys/class/power_supply/BAT0/status)
if [[ "$charging" == "Charging" ]]; then
ICON="$CHARGING_ICON"
elif [[ $capacity -le 25 ]]; then
ICON="$WARNING_ICON"
fi
if [[ $capacity -ge $FULL_AT ]]; then
BAT_ICON=$BATTERY_FULL_ICON
elif [[ $capacity -le 25 ]]; then
BAT_ICON=$BATTERY_4_ICON
elif [[ $capacity -le 60 ]]; then
BAT_ICON=$BATTERY_3_ICON
elif [[ $capacity -le $FULL_AT ]]; then
BAT_ICON=$BATTERY_2_ICON
fi
fi
echo "$ICON$BAT_ICON $capacity%"
}
get_battery

View File

@ -1,21 +0,0 @@
#!/bin/bash
# Prints out the bluetooth status
BLUETOOTH_ON_ICON=''
BLUETOOTH_OFF_ICON=''
get_bluetooth()
{
status=$(systemctl is-active bluetooth.service)
if [ "$status" == "active" ]
then
echo "$BLUETOOTH_ON_ICON"
else
:
#echo "$BLUETOOTH_OFF_ICON"
fi
}
get_bluetooth

View File

@ -1,32 +0,0 @@
#!/bin/bash
# Prints out the CPU load percentage
PREFIX=' '
get_load()
{
# Get the first line with aggregate of all CPUs
cpu_last=($(head -n1 /proc/stat))
cpu_last_sum="${cpu_last[@]:1}"
cpu_last_sum=$((${cpu_last_sum// /+}))
sleep 0.05
cpu_now=($(head -n1 /proc/stat))
cpu_sum="${cpu_now[@]:1}"
cpu_sum=$((${cpu_sum// /+}))
cpu_delta=$((cpu_sum - cpu_last_sum))
cpu_idle=$((cpu_now[4]- cpu_last[4]))
cpu_used=$((cpu_delta - cpu_idle))
cpu_usage=$((100 * cpu_used / cpu_delta))
# Keep this as last for our next read
cpu_last=("${cpu_now[@]}")
cpu_last_sum=$cpu_sum
echo "$PREFIX $cpu_usage%"
}
get_load

View File

@ -1,25 +0,0 @@
#!/bin/bash
# Gets temperature of the CPU
# Dependencies: lm_sensors
PREFIX=' '
FIRE=' '
WARNING_LEVEL=80
get_cputemp()
{
# CPU_T=$(cat /sys/devices/platform/coretemp.0/hwmon/hwmon?/temp2_input)
# CPU_TEMP=$(expr $CPU_T / 1000)
CPU_TEMP="$(sensors | grep temp1 | awk 'NR==1{gsub("+", " "); gsub("\\..", " "); print $2}')"
if [ "$CPU_TEMP" -ge $WARNING_LEVEL ]; then
PREFIX="$FIRE$PREFIX"
fi
echo "$PREFIX$CPU_TEMP°C"
}
get_cputemp

View File

@ -1,12 +0,0 @@
#!/bin/bash
# Prints out the date
PREFIX=''
get_date()
{
echo "$PREFIX $(date '+%d-%m-%y (%a)')"
}
get_date

View File

@ -1,12 +0,0 @@
#!/bin/bash
# Prints out the date
PREFIX=''
get_day()
{
echo "$PREFIX $(date '+%a')"
}
get_day

View File

@ -1,11 +0,0 @@
#!/usr/bin/env python3
PREFIX = ' '
import datetime
now = datetime.datetime.now()
minutes = now.hour * 60 + now.minute
percentage = round(minutes * 100 / 1440)
print(PREFIX + str(percentage) + "%")

View File

@ -1,12 +0,0 @@
#!/bin/bash
# Prints out the name of the default shell
PREFIX=' '
get_default_shell()
{
echo "$PREFIX$(echo $SHELL |sed 's/.*\///g')"
}
get_default_shell

View File

@ -1,16 +0,0 @@
#!/bin/bash
# Prints out the total disk memory and the available memory
PREFIX=' '
get_disk()
{
TOTAL_SIZE=$( df -h --total | tail -1 | awk {'printf $2'})
USED_SIZE=$(df -h --total | tail -1 | awk {'printf $3'})
PERCENTAGE=$(df -h --total | tail -1 | awk {'printf $5'})
echo "$USED_SIZE/$TOTAL_SIZE ($PERCENTAGE)"
}
get_disk

View File

@ -1,16 +0,0 @@
#!/bin/bash
# Prints out if there is an ethernet cable connected
ETHERNET_ICON=''
get_ethernet()
{
if [ -d /sys/class/net/eth? ]; then
if [ "$(cat /sys/class/net/eth?/carrier)" == "1" ]; then
echo "$ETHERNET_ICON"
fi
fi
}
get_ethernet

View File

@ -1,13 +0,0 @@
#!/bin/bash
# Prints the fan RPM
# Depends on lm_sensors
PREFIX=' '
get_fan_speed()
{
echo "$PREFIX$(sensors | grep fan1 | awk 'NR==1{print $2}') RPM"
}
get_fan_speed

View File

@ -1,12 +0,0 @@
#!/bin/bash
# Prints USER@hostname
PREFIX=' '
get_hostname()
{
echo "$PREFIX$USER@$(hostname)"
}
get_hostname

Binary file not shown.

View File

@ -1,12 +0,0 @@
#!/bin/bash
# Prints out the kernel version
PREFIX=' '
get_kernel()
{
echo "$PREFIX$(uname -r)"
}
get_kernel

View File

@ -1,14 +0,0 @@
#!/bin/bash
# Prints out your local IP
PREFIX='ﯱ '
get_local_ip()
{
IP=$(ip addr | grep -e "inet " | awk 'NR==2' | sed 's/^.*inet.//g; s/\/.*//g')
echo "$PREFIX$IP"
}
get_local_ip

View File

@ -1,14 +0,0 @@
#!/bin/bash
# Prints number of unread mail
# Requires mutt/neomutt
MAIL_DIR="/home/$USER/Mail/INBOX/new/*"
PREFIX=' :'
get_mail()
{
echo "$PREFIX$(du -a $MAIL_DIR 2>/dev/null | wc -l)"
}
get_mail

View File

@ -1,25 +0,0 @@
#!/bin/bash
PREFIX_PLAY=' '
PREFIX_PAUSE=' '
get_mpd()
{
current_song="$(mpc current)"
if [[ "$current_song" = "" ]]; then
echo " "
exit 0
else
playpause=$(mpc | awk '/\[.*]/{split($0, a, " "); print a[1]}')
if [[ "$playpause" = "[playing]" ]]; then
current_song="$PREFIX_PLAY $current_song"
elif [[ "$playpause" = "[paused]" ]]; then
current_song="$PREFIX_PAUSE $current_song"
fi
fi
echo "$current_song"
}
get_mpd

View File

@ -1,31 +0,0 @@
#!/bin/bash
# Prints out the current down network traffic in MB
PREFIX=' '
get_down_traffic()
{
RECEIVE1=0
RECEIVE2=0
IFACES=$(ip -o link show | awk -F': ' '{print $2}')
for IFACE in $IFACES; do
if [ $IFACE != "lo" ]; then
RECEIVE1=$(($(ip -s -c link show $IFACE | tail -n3 | head -n 1 | cut -d " " -f5) + $RECEIVE1))
fi
done
sleep 1
IFACES=$(ip -o link show | awk -F': ' '{print $2}')
for IFACE in $IFACES; do
if [ $IFACE != "lo" ]; then
RECEIVE2=$(($(ip -s -c link show $IFACE | tail -n3 | head -n 1 | cut -d " " -f5) + $RECEIVE2))
fi
done
echo "$PREFIX$(expr $(expr $RECEIVE2 - $RECEIVE1 ) / 1000)KB/s"
}
get_down_traffic

View File

@ -1,32 +0,0 @@
#!/bin/bash
# Prints out the current up network traffic in MB
PREFIX=' '
get_up_traffic()
{
TRANSMIT1=0
TRANSMIT2=0
IFACES=$(ip -o link show | awk -F': ' '{print $2}')
for IFACE in $IFACES; do
if [ $IFACE != "lo" ]; then
TRANSMIT1=$(($(ip -s -c link show $IFACE | tail -n1 | cut -d " " -f5) + TRANSMIT1))
fi
done
sleep 1
IFACES=$(ip -o link show | awk -F': ' '{print $2}')
for IFACE in $IFACES; do
if [ $IFACE != "lo" ]; then
TRANSMIT2=$(($(ip -s -c link show $IFACE | tail -n1 | cut -d " " -f5) + TRANSMIT2))
fi
done
echo "$PREFIX$(expr $(expr $TRANSMIT2 - $TRANSMIT1) / 1000)KB/s"
}
get_up_traffic

View File

@ -1,22 +0,0 @@
#!/bin/bash
# Gets temperature of the GPU
# Dependencies: nvidia drivers and nvidia-settings
PREFIX=' '
FIRE=' '
WARNING_LEVEL=80
get_gputemp()
{
GPU_TEMP="$(nvidia-settings -q gpucoretemp -t | head -n 1)"
if [ "$GPU_TEMP" -ge $WARNING_LEVEL ]; then
PREFIX="$FIRE$PREFIX"
fi
echo "$PREFIX$GPU_TEMP°C"
}
get_gputemp

View File

@ -1,14 +0,0 @@
#!/bin/bash
# Prints out your OS name
PREFIX=' '
get_os_name()
{
OS=$(cat /etc/os-release | head -n 1 | sed 's/NAME=//g')
echo "$PREFIX$OS"
}
get_os_name

View File

@ -1,14 +0,0 @@
#!/bin/bash
# Prints out your process count
PREFIX=' '
get_proc_count()
{
PROC_COUNT=$(ps -Al | wc -l)
echo "$PREFIX$PROC_COUNT"
}
get_proc_count

View File

@ -1,13 +0,0 @@
#!/bin/bash
# Prints out your public IP address
# Depends on curl
PREFIX=' '
get_pub_ip()
{
echo "$PREFIX$(curl -s ifconfig.co)"
}
get_pub_ip

View File

@ -1,16 +0,0 @@
#!/bin/bash
# Prints the total ram and used ram in Mb
PREFIX=' '
get_ram()
{
TOTAL_RAM=$(free -mh --si | awk {'print $2'} | head -n 2 | tail -1)
USED_RAM=$(free -mh --si | awk {'print $3'} | head -n 2 | tail -1)
MB="MB"
echo "$USED_RAM/$TOTAL_RAM"
}
get_ram

View File

@ -1,13 +0,0 @@
#!/bin/bash
# Prints the total ram and used ram in Mb
PREFIX=' '
get_ram()
{
USED_RAM=$(free | awk '/Mem/{printf("%d"), $3/$2*100}')
echo "$PREFIX$USED_RAM%"
}
get_ram

View File

@ -1,13 +0,0 @@
#!/bin/bash
# Prints out the screen color temperature
# Requires the redshift package
PREFIX=''
get_redshift()
{
echo "$PREFIX$(redshift -p 2> /dev/null | grep "temp" | awk '{print $3}')"
}
get_redshift

View File

@ -1,10 +0,0 @@
#include <stdio.h>
int main()
{
char *internet_icon = "";
printf("%s\n", internet_icon);
return 0;
}

View File

@ -1,18 +0,0 @@
#!/bin/bash
# Outputs sun if its daytime and moon if its nighttime
# Requires the redshift package
SUN_ICON='盛'
MOON_ICON=''
get_sunmoon()
{
if [[ $(redshift -p | grep "Period" | awk '{print $2}') == "Night" ]]; then
echo "$MOON_ICON"
else
echo "$SUN_ICON"
fi
}
get_sunmoon

View File

@ -1,12 +0,0 @@
#!/bin/bash
# Prints out the time
PREFIX=' '
get_time()
{
echo "$PREFIX$(date '+%H:%M')"
}
get_time

View File

@ -1,15 +0,0 @@
#!/bin/bash
# Prints number of todos
# Requires t todo manager (https://github.com/sjl/t)
TASKS_DIR="/home/$USER/.todo"
TASKS_NAME="tasks"
PREFIX=': '
get_todo()
{
echo "$PREFIX$(t --task-dir $TASKS_DIR --list $TASKS_NAME | wc -l)"
}
get_todo

View File

@ -1,23 +0,0 @@
#!/bin/bash
# Prints if the tor service is enabled or not
# Requires tor
TOR_ENABLED='ﴣ'
TOR_DISABLED=''
get_tor()
{
status=$(systemctl is-active tor.service)
if [ "$status" == "active" ]
then
echo "$TOR_ENABLED"
else
:
#echo "$TOR_DISABLED"
fi
}
get_tor

View File

@ -1,13 +0,0 @@
#!/bin/bash
# Prints the total ram and used ram in Mb
PREFIX=''
get_uptime()
{
UPTIME=$(uptime | sed 's/.*up \([^,]*\), .*/\1/')
echo "$PREFIX$UPTIME"
}
get_uptime

View File

@ -1,14 +0,0 @@
#!/bin/bash
# Prints the effective username of the current user
PREFIX=''
get_username()
{
USERNAME=$(whoami)
echo "$PREFIX $USERNAME"
}
get_username

View File

@ -1,18 +0,0 @@
#!/bin/bash
# Prints the number of updates for Void Linux
PREFIX=' Updates: '
get_updates()
{
if ! updates=$(xbps-install -Mun 2> /dev/null | wc -l ); then
updates=0
fi
echo "$PREFIX$updates"
}
if [ $(( 10#$(date '+%M') % 3 )) -eq 0 ] && [ $(( 10#$(date '+%S') )) -eq 5 ]; then
get_updates
fi

View File

@ -1,20 +0,0 @@
#!/bin/bash
# Prints out the volume percentage
VOLUME_ON_ICON=''
VOLUME_MUTED_ICON=''
get_volume(){
curStatus=$(pactl get-sink-mute @DEFAULT_SINK@)
volume=$(pactl get-sink-volume @DEFAULT_SINK@ | tail -n 2 | sed -e 's,.* \([0-9][0-9]*\)%.*,\1,' | head -n 1)
if [ "${curStatus}" = 'Mute: yes' ]
then
echo "$VOLUME_MUTED_ICON $volume%"
else
echo "$VOLUME_ON_ICON $volume%"
fi
}
get_volume

View File

@ -1,40 +0,0 @@
#!/bin/bash
# Prints out the volume percentage
# Dependencies: bc
VOLUME_WIDTH=9
VOLUME_SLIDER='⬤'
VOLUME_RAIL='◯'
VOLUME_MUTED='muted'
PREFIX=''
# If volume is >100
ALERT='!!!'
get_volume(){
active_sink=$(pacmd list-sinks | awk '/* index:/{print $3}')
curStatus=$(pacmd list-sinks | grep -A 15 "index: $active_sink$" | awk '/muted/{ print $2}')
volume=$(pacmd list-sinks | grep -A 15 "index: $active_sink$" | grep 'volume:' | grep -E -v 'base volume:' | awk -F : '{print $3}' | grep -o -P '.{0,3}%'| sed s/.$// | tr -d ' ')
slider_position=$(python -c "print(($volume / 100) * $VOLUME_WIDTH)")
if [ "${curStatus}" = 'yes' ]
then
echo "$VOLUME_MUTED"
exit 0
else
for i in $(seq 1 $VOLUME_WIDTH); do
[[ $i = $slider_position ]] && BAR=$BAR$VOLUME_SLIDER
[[ $i < $slider_position ]] && BAR=$BAR$VOLUME_SLIDER
[[ $i > $slider_position ]] && BAR=$BAR$VOLUME_RAIL
done
fi
[[ $volume -gt 100 ]] && PREFIX=$PREFIX$ALERT
echo "$PREFIX$BAR"
}
get_volume

View File

@ -1,15 +0,0 @@
#!/bin/bash
# Deps:
# curl
get_weather()
{
curl -s v2.wttr.in | grep -e "Weather" | sed -n 2p | sed s/Weather://g | sed 's/,//g' | sed 's/+//g' | sed 's/°C.*/°C/' | sed 's/.*m//'
}
if [ $(( 10#$(date '+%S') % 30 )) -eq 0 ]; then
get_weather
fi

View File

@ -1,24 +0,0 @@
#!/bin/bash
# Gets the wifi status
WIFI_FULL_ICON=''
WIFI_MID_ICON=''
WIFI_LOW_ICON=''
NO_WIFI_ICON=''
get_wifi()
{
if grep -q wl* "/proc/net/wireless"; then
# Wifi quality percentage
percentage=$(grep "^\s*w" /proc/net/wireless | awk '{ print "", int($3 * 100 / 70)}'| xargs)
case $percentage in
0) echo $NO_WIFI_ICON;;
100|9[0-9]|8[0-9]|7[0-9]) echo "$WIFI_FULL_ICON" ;;
6[0-9]|5[0-9]|4[0-9]|3[0-9]) echo "$WIFI_MID_ICON" ;;
2[0-9]|1[0-9]|[0-9]) echo "$WIFI_LOW_ICON" ;;
esac
fi
}
get_wifi

Binary file not shown.

Before

Width:  |  Height:  |  Size: 776 KiB

View File

@ -1,2 +0,0 @@
hwdec=auto
ytdl-format="bestvideo[height<=?1080]+bestaudio/best"

View File

@ -1,428 +0,0 @@
#################################
# Shadows #
#################################
# Enabled client-side shadows on windows. Note desktop windows
# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow,
# unless explicitly requested using the wintypes option.
#
# shadow = false
shadow = true;
# The blur radius for shadows, in pixels. (defaults to 12)
# shadow-radius = 12
shadow-radius = 7;
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
shadow-opacity = .75
# The left offset for shadows, in pixels. (defaults to -15)
# shadow-offset-x = -15
shadow-offset-x = -7;
# The top offset for shadows, in pixels. (defaults to -15)
# shadow-offset-y = -15
shadow-offset-y = -7;
# Red color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-red = 0
# Green color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-green = 0
# Blue color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-blue = 0
# Hex string color value of shadow (#000000 - #FFFFFF, defaults to #000000). This option will override options set shadow-(red/green/blue)
# shadow-color = "#000000"
# Specify a list of conditions of windows that should have no shadow.
#
# examples:
# shadow-exclude = "n:e:Notification";
#
# shadow-exclude = []
shadow-exclude = [
"name = 'Notification'",
"class_g = 'Conky'",
"class_g ?= 'Notify-osd'",
"class_g = 'Cairo-clock'",
"_GTK_FRAME_EXTENTS@:c"
];
# Specify a list of conditions of windows that should have no shadow painted over, such as a dock window.
# clip-shadow-above = []
# Specify a X geometry that describes the region in which shadow should not
# be painted in, such as a dock window region. Use
# shadow-exclude-reg = "x10+0+0"
# for example, if the 10 pixels on the bottom of the screen should not have shadows painted on.
#
# shadow-exclude-reg = ""
# Crop shadow of a window fully on a particular Xinerama screen to the screen.
# xinerama-shadow-crop = false
#################################
# Fading #
#################################
# Fade windows in/out when opening/closing and when opacity changes,
# unless no-fading-openclose is used.
# fading = false
fading = true;
# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
# fade-in-step = 0.028
fade-in-step = 0.03;
# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
# fade-out-step = 0.03
fade-out-step = 0.03;
# The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
# fade-delta = 10
# Specify a list of conditions of windows that should not be faded.
# fade-exclude = []
# Do not fade on window open/close.
# no-fading-openclose = false
# Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc.
# no-fading-destroyed-argb = false
#################################
# Transparency / Opacity #
#################################
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
# inactive-opacity = 1
inactive-opacity = 0.95;
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
# frame-opacity = 1.0
frame-opacity = 0.9;
# Let inactive opacity set by -i override the '_NET_WM_WINDOW_OPACITY' values of windows.
# inactive-opacity-override = true
inactive-opacity-override = false;
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
# active-opacity = 1.0
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
# inactive-dim = 0.0
# Specify a list of conditions of windows that should never be considered focused.
# focus-exclude = []
focus-exclude = [ "class_g = 'Cairo-clock'" ];
# Use fixed inactive dim value, instead of adjusting according to window opacity.
# inactive-dim-fixed = 1.0
# Specify a list of opacity rules, in the format `PERCENT:PATTERN`,
# like `50:name *= "Firefox"`. picom-trans is recommended over this.
# Note we don't make any guarantee about possible conflicts with other
# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows.
# example:
# opacity-rule = [ "80:class_g = 'URxvt'" ];
#
# opacity-rule = []
#################################
# Corners #
#################################
# 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 = 0
# Exclude conditions for rounded corners.
rounded-corners-exclude = [
"window_type = 'dock'",
"window_type = 'desktop'"
];
#################################
# Background-Blurring #
#################################
# Parameters for background blurring, see the *BLUR* section for more information.
# blur-method =
# blur-size = 12
#
# blur-deviation = false
#
# blur-strength = 5
# Blur background of semi-transparent / ARGB windows.
# Bad in performance, with driver-dependent behavior.
# The name of the switch may change without prior notifications.
#
# blur-background = false
# Blur background of windows when the window frame is not opaque.
# Implies:
# blur-background
# Bad in performance, with driver-dependent behavior. The name may change.
#
# blur-background-frame = false
# Use fixed blur strength rather than adjusting according to window opacity.
# blur-background-fixed = false
# Specify the blur convolution kernel, with the following format:
# example:
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
#
# blur-kern = ""
blur-kern = "3x3box";
# Exclude conditions for background blur.
# blur-background-exclude = []
blur-background-exclude = [
"window_type = 'dock'",
"window_type = 'desktop'",
"_GTK_FRAME_EXTENTS@:c"
];
#################################
# General Settings #
#################################
# Enable remote control via D-Bus. See the man page for more details.
# dbus = true
# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers.
# daemon = false
# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
# `xrender` is the default one.
#
backend = "glx"
# backend = "xrender";
# Enable/disable VSync.
# vsync = false
vsync = true;
# Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
# dbus = false
# Try to detect WM windows (a non-override-redirect window with no
# child that has 'WM_STATE') and mark them as active.
#
# mark-wmwin-focused = false
mark-wmwin-focused = true;
# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused.
# mark-ovredir-focused = false
mark-ovredir-focused = true;
# Try to detect windows with rounded corners and don't consider them
# shaped windows. The accuracy is not very high, unfortunately.
#
# detect-rounded-corners = false
detect-rounded-corners = true;
# Detect '_NET_WM_WINDOW_OPACITY' on client windows, useful for window managers
# not passing '_NET_WM_WINDOW_OPACITY' of client windows to frame windows.
#
# detect-client-opacity = false
detect-client-opacity = true;
# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window,
# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy,
# provided that the WM supports it.
#
# use-ewmh-active-win = false
# Unredirect all windows if a full-screen opaque window is detected,
# to maximize performance for full-screen windows. Known to cause flickering
# when redirecting/unredirecting windows.
#
unredir-if-possible = false
# Delay before unredirecting the window, in milliseconds. Defaults to 0.
# unredir-if-possible-delay = 0
# Conditions of windows that shouldn't be considered full-screen for unredirecting screen.
# unredir-if-possible-exclude = []
# Use 'WM_TRANSIENT_FOR' to group windows, and consider windows
# in the same group focused at the same time.
#
# detect-transient = false
detect-transient = true;
# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same
# group focused at the same time. This usually means windows from the same application
# will be considered focused or unfocused at the same time.
# 'WM_TRANSIENT_FOR' has higher priority if detect-transient is enabled, too.
#
# detect-client-leader = false
# Resize damaged region by a specific number of pixels.
# A positive value enlarges it while a negative one shrinks it.
# If the value is positive, those additional pixels will not be actually painted
# to screen, only used in blur calculation, and such. (Due to technical limitations,
# with use-damage, those pixels will still be incorrectly painted to screen.)
# Primarily used to fix the line corruption issues of blur,
# in which case you should use the blur radius value here
# (e.g. with a 3x3 kernel, you should use `--resize-damage 1`,
# with a 5x5 one you use `--resize-damage 2`, and so on).
# May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly.
#
# resize-damage = 1
# Specify a list of conditions of windows that should be painted with inverted color.
# Resource-hogging, and is not well tested.
#
# invert-color-include = []
# GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer.
# Might cause incorrect opacity when rendering transparent content (but never
# practically happened) and may not work with blur-background.
# My tests show a 15% performance boost. Recommended.
#
glx-no-stencil = true;
# GLX backend: Avoid rebinding pixmap on window damage.
# Probably could improve performance on rapid window content changes,
# but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.).
# Recommended if it works.
#
# glx-no-rebind-pixmap = false
# Disable the use of damage information.
# This cause the whole screen to be redrawn every time, instead of the part of the screen
# has actually changed. Potentially degrades the performance, but might fix some artifacts.
# The opposing option is use-damage
#
# no-use-damage = false
use-damage = true;
# Use X Sync fence to sync clients' draw calls, to make sure all draw
# calls are finished before picom starts drawing. Needed on nvidia-drivers
# with GLX backend for some users.
#
# xrender-sync-fence = false
# GLX backend: Use specified GLSL fragment shader for rendering window
# contents. Read the man page for a detailed explanation of the interface.
#
# window-shader-fg = "default"
# Use rules to set per-window shaders. Syntax is SHADER_PATH:PATTERN, similar
# to opacity-rule. SHADER_PATH can be "default". This overrides window-shader-fg.
#
# window-shader-fg-rule = [
# "my_shader.frag:window_type != 'dock'"
# ]
# Force all windows to be painted with blending. Useful if you
# have a glx-fshader-win that could turn opaque pixels transparent.
#
# force-win-blend = false
# Do not use EWMH to detect fullscreen windows.
# Reverts to checking if a window is fullscreen based only on its size and coordinates.
#
# no-ewmh-fullscreen = false
# Dimming bright windows so their brightness doesn't exceed this set value.
# Brightness of a window is estimated by averaging all pixels in the window,
# so this could comes with a performance hit.
# Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0)
#
# max-brightness = 1.0
# Make transparent windows clip other windows like non-transparent windows do,
# instead of blending on top of them.
#
# transparent-clipping = false
# Specify a list of conditions of windows that should never have transparent
# clipping applied. Useful for screenshot tools, where you need to be able to
# see through transparent parts of the window.
#
# transparent-clipping-exclude = []
# Set the log level. Possible values are:
# "trace", "debug", "info", "warn", "error"
# in increasing level of importance. Case doesn't matter.
# If using the "TRACE" log level, it's better to log into a file
# using *--log-file*, since it can generate a huge stream of logs.
#
# log-level = "debug"
log-level = "warn";
# Set the log file.
# If *--log-file* is never specified, logs will be written to stderr.
# Otherwise, logs will to written to the given file, though some of the early
# logs might still be written to the stderr.
# When setting this option from the config file, it is recommended to use an absolute path.
#
# log-file = "/path/to/your/log/file"
# Show all X errors (for debugging)
# show-all-xerrors = false
# Write process ID to a file.
# write-pid-path = "/path/to/your/log/file"
# Window type settings
#
# 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard:
# "unknown", "desktop", "dock", "toolbar", "menu", "utility",
# "splash", "dialog", "normal", "dropdown_menu", "popup_menu",
# "tooltip", "notification", "combo", and "dnd".
#
# Following per window-type options are available: ::
#
# fade, shadow:::
# Controls window-type-specific shadow and fade settings.
#
# opacity:::
# Controls default opacity of the window type.
#
# focus:::
# Controls whether the window of this type is to be always considered focused.
# (By default, all window types except "normal" and "dialog" has this on.)
#
# full-shadow:::
# Controls whether shadow is drawn under the parts of the window that you
# normally won't be able to see. Useful when the window has parts of it
# transparent, and you want shadows in those areas.
#
# clip-shadow-above:::
# Controls whether shadows that would have been drawn above the window should
# be clipped. Useful for dock windows that should have no shadow painted on top.
#
# redir-ignore:::
# Controls whether this type of windows should cause screen to become
# redirected again after been unredirected. If you have unredir-if-possible
# set, and doesn't want certain window to cause unnecessary screen redirection,
# you can set this to `true`.
#
wintypes:
{
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
dock = { shadow = false; clip-shadow-above = true; }
dnd = { shadow = false; }
popup_menu = { opacity = 0.8; }
dropdown_menu = { opacity = 0.8; }
};

View File

@ -1,4 +0,0 @@
[ColorScheme]
active_colors=#ffcdd6f4, #ff1e1e2e, #ffa6adc8, #ff9399b2, #ff45475a, #ff6c7086, #ffcdd6f4, #ffcdd6f4, #ffcdd6f4, #ff1e1e2e, #ff181825, #ff7f849c, #ff89b4fa, #ff1e1e2e, #ff89b4fa, #fff38ba8, #ff1e1e2e, #ffcdd6f4, #ff11111b, #ffcdd6f4, #807f849c
disabled_colors=#ffa6adc8, #ff1e1e2e, #ffa6adc8, #ff9399b2, #ff45475a, #ff6c7086, #ffa6adc8, #ffa6adc8, #ffa6adc8, #ff1e1e2e, #ff11111b, #ff7f849c, #ff89b4fa, #ff45475a, #ff89b4fa, #fff38ba8, #ff1e1e2e, #ffcdd6f4, #ff11111b, #ffcdd6f4, #807f849c
inactive_colors=#ffcdd6f4, #ff1e1e2e, #ffa6adc8, #ff9399b2, #ff45475a, #ff6c7086, #ffcdd6f4, #ffcdd6f4, #ffcdd6f4, #ff1e1e2e, #ff181825, #ff7f849c, #ff89b4fa, #ffa6adc8, #ff89b4fa, #fff38ba8, #ff1e1e2e, #ffcdd6f4, #ff11111b, #ffcdd6f4, #807f849c

View File

@ -1,31 +0,0 @@
[Appearance]
color_scheme_path=/home/gluk0zka/.config/qt5ct/colors/Catppuccin-Mocha.conf
custom_palette=true
standard_dialogs=gtk3
style=Fusion
[Fonts]
fixed="Sans Serif,9,-1,5,50,0,0,0,0,0"
general="Sans Serif,9,-1,5,50,0,0,0,0,0"
[Interface]
activate_item_on_single_click=1
buttonbox_layout=0
cursor_flash_time=1000
dialog_buttons_have_icons=1
double_click_interval=400
gui_effects=@Invalid()
keyboard_scheme=2
menus_have_icons=true
show_shortcuts_in_context_menus=true
stylesheets=@Invalid()
toolbutton_style=4
underline_shortcut=1
wheel_scroll_lines=3
[SettingsWindow]
geometry="@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\x1e\0\0\0!\0\0\x4\x16\0\0\x4-\0\0\0\x1f\0\0\0\"\0\0\x4\x15\0\0\x4,\0\0\0\0\0\0\0\0\a\x80\0\0\0\x1f\0\0\0\"\0\0\x4\x15\0\0\x4,)"
[Troubleshooting]
force_raster_widgets=1
ignored_applications=@Invalid()

View File

@ -1,18 +0,0 @@
configuration{
modi: "run,drun,window";
icon-theme: "Oranchelo";
show-icons: true;
terminal: "alacritty";
drun-display-format: "{icon} {name}";
location: 0;
disable-history: false;
hide-scrollbar: true;
display-drun: "  Apps ";
display-run: "  Run ";
display-window: " 﩯 Window";
display-Network: " 󰤨 Network";
sidebar-mode: true;
}
@theme "catppuccin-mocha"

View File

@ -1,22 +0,0 @@
XF86AudioRaiseVolume
pactl set-sink-volume @DEFAULT_SINK@ +10%
XF86AudioLowerVolume
pactl set-sink-volume @DEFAULT_SINK@ -10%
XF86AudioMute
pactl set-sink-mute @DEFAULT_SINK@ toggle
XF86AudioMicMute
pactl set-source-mute @DEFAULT_SOURCE@ toggle
XF86MonBrightnessDown
brightnessctl set 10%-
XF86MonBrightnessUp
brightnessctl set +10%
alt + m
xrandr --output HDMI-2 --same-as eDP-1
Print
flameshot gui
alt + b
librewolf
alt + l
betterlockscreen -l dim
mod4 + c
rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}'