Compare commits

..

No commits in common. "6be8aa0d32bd09d0276fc8a1862f161fd68bf544" and "53e5c16db30185ecf340cc978b84bbe2dd09d346" have entirely different histories.

32 changed files with 330 additions and 2422 deletions

View file

@ -1,20 +1,10 @@
#!/bin/bash #!/bin/bash
#First we get the capacity #First we get the capacity
if [ -z "$1" ]; then charge=$(cat /sys/class/power_supply/BAT0/capacity)
bat="BAT0"
else
bat=$1
fi
charge=$(cat /sys/class/power_supply/$bat/capacity)
# Exit early
if [ -z $charge ]; then
echo " $cstat󱉞"
fi
#Now get the status #Now get the status
bstat=$(cat /sys/class/power_supply/$bat/status) bstat=$(cat /sys/class/power_supply/BAT0/status)
#Get the symbol for the capacity #Get the symbol for the capacity
if [ "$bstat" = "Charging" ]; then if [ "$bstat" = "Charging" ]; then
@ -23,20 +13,50 @@ else
cstat="" cstat=""
fi fi
if [ "$charge" -gt 90 ]; then if [ "$charge" -gt 90 ]; then
bat="$cstat󰁹" bat="$cstat"
charge=""
elif [ "$charge" -gt 70 ]; then elif [ "$charge" -gt 70 ]; then
bat="$cstat󰂀" bat="$cstat"
charge=""
elif [ "$charge" -gt 50 ]; then elif [ "$charge" -gt 50 ]; then
bat="$cstat󰁾" bat="$cstat"
charge=""
elif [ "$charge" -gt 20 ]; then elif [ "$charge" -gt 20 ]; then
bat="$cstat󰁻" bat="$cstat"
charge=""
else else
bat=" $cstat󰁺" bat=" $cstat"
charge=" $charge%"
fi fi
echo "$bat$charge "
battery="$bat $charge%"
if [ -d /sys/class/power_supply/BAT1 ]; then
#First we get the capacity
charge=$(cat /sys/class/power_supply/BAT1/capacity)
#Now get the status
bstat=$(cat /sys/class/power_supply/BAT1/status)
if [ "$bstat" = "Charging" ]; then
cstat=""
else
cstat=""
fi
#Get the symbol for the capacity
if [ "$charge" -gt 90 ]; then
bat="$cstat"
elif [ "$charge" -gt 70 ]; then
bat="$cstat"
elif [ "$charge" -gt 50 ]; then
bat="$cstat"
elif [ "$charge" -gt 20 ]; then
bat="$cstat"
else
bat=" $cstat"
fi
echo "$bat $charge% $battery"
else
echo $battery
fi

View file

@ -1 +1 @@
echo "$(/home/aselimov/bin/title_text.sh)" echo "$(date '+%b %d (%a) %I:%M%p') "

View file

@ -6,10 +6,10 @@ total=$(grep -oP '^MemTotal: *\K[0-9]+' /proc/meminfo)
mem=" $(echo "scale=1; 100*($total-$available)/$total"| bc | cut -d '.' -f1 )" mem=" $(echo "scale=1; 100*($total-$available)/$total"| bc | cut -d '.' -f1 )"
if [ $mem -gt 80 ]; then if [ $mem -gt 80 ]; then
mem="$mem %" mem="$mem"
elif [ $mem -gt 50 ]; then elif [ $mem -gt 50 ]; then
mem="$mem %" mem="$mem"
else else
mem="" mem="$mem"
fi fi
echo "$mem" echo "$mem%"

View file

@ -3,16 +3,12 @@
vol="$(pamixer --get-volume)" vol="$(pamixer --get-volume)"
#if [ "$vol" -gt "70" ]; then if [ "$vol" -gt "70" ]; then
# icon="󰕾"
#elif [ "$vol" -gt "30" ]; then
# icon="󰖀"
#el
if [ "$vol" -gt "0" ]; then
icon="󰕾" icon="󰕾"
elif [ "$vol" -gt "30" ]; then
icon="󰖀"
else else
icon="" icon="󰕿"
fi fi
echo "$icon " echo "$icon $vol%"

View file

@ -4,5 +4,5 @@ case "$(cat /sys/class/net/w*/operstate 2>/dev/null)" in
down) echo " 󰖪 ";; down) echo " 󰖪 ";;
up) percentage="$(awk '/^\s*w/ { print int($3 * 100 / 70) "% " }' /proc/net/wireless)" up) percentage="$(awk '/^\s*w/ { print int($3 * 100 / 70) "% " }' /proc/net/wireless)"
ssid=$(iwgetid -r) ssid=$(iwgetid -r)
echo "" echo \ $ssid 
esac esac

1842
bin/emojis

File diff suppressed because it is too large Load diff

View file

@ -1,9 +0,0 @@
#!/bin/bash
dmenu="dmenu -l 0 -theme-str 'window {width: 80%;}' -i"
query=$(eval "$dmenu")
if [ -n "$query" ]; then
query=${query//+/%2B}
query=${query// /+}
zen-browser --new-window "https://search.brave.com/search?q=$query"
fi

View file

@ -1,76 +1,17 @@
#!/bin/bash #!/bin/bash
# Script for changing between light and dark modes # Script for changing between light and dark modes
if [ -f ~/.config/nvim/light_mode ]; then mode=$(grep "light_mode = " ~/.wezterm.lua | cut -d "=" -f 2 | tr -d " ")
if [ "$mode" = "true" ]; then
echo "Swapping to dark mode" echo "Swapping to dark mode"
# GTK Theme sed -i -e "s/local light_mode =.*/local light_mode = false/" ~/.wezterm.lua
sed -i -e 's@Net/ThemeName.*@Net/ThemeName "Orchis-Grey-Dark"@' ~/.xsettingsd sed -i -e 's@Net/ThemeName.*@Net/ThemeName "Orchis-Grey-Dark"@' ~/.xsettingsd
# Rofi theme
sed -i -e "s/light.rasi/dark.rasi/" $HOME/.config/rofi/config.rasi sed -i -e "s/light.rasi/dark.rasi/" $HOME/.config/rofi/config.rasi
# Swap ST colors and reset
echo " st*color0:#191919
st*color1:#DE6E7C
st*color2:#819B69
st*color3:#B77E64
st*color4:#6099C0
st*color5:#B279A7
st*color6:#66A5AD
st*color7:#BBBBBB
st*color8:#3d3839
st*color9:#E8838F
st*color10:#8BAE68
st*color11:#D68C67
st*color12:#61ABDA
st*color13:#CF86C1
st*color14:#65B8C1
st*color15:#8e8e8e
" > ~/.Xresources
xrdb merge ~/.Xresources
killall st -s "USR1"
# Remove neovim colorscheme file
rm ~/.config/nvim/light_mode
# Set the correct command for teams and outlook
sed -ie "s@Exec.*@Exec=/usr/lib/chromium/chromium --profile-directory=Default --app-id=ckdeglopgbdgpkmhnmkigpfgebcdbanf --enable-features=WebContentsForceDark:inversion_method/cielab_based/image_behavior/none/text_lightness_threshold/150/background_lightness_threshold/205@" /home/aselimov/.local/share/applications/chrome-ckdeglopgbdgpkmhnmkigpfgebcdbanf-Default.desktop
sed -ie "s@Exec.*@Exec=/usr/lib/chromium/chromium --profile-directory=Default --app-id=famdcdojlmjefmhdpbpmekhodagkodei %U --enable-features=WebContentsForceDark:inversion_method/cielab_based/image_behavior/none/text_lightness_threshold/150/background_lightness_threshold/205@" /home/aselimov/.local/share/applications/chrome-famdcdojlmjefmhdpbpmekhodagkodei-Default.desktop
else else
echo "Swapping to light mode" echo "Swapping to light mode"
# GTK Theme sed -i -e "s/local light_mode =.*/local light_mode = true/" ~/.wezterm.lua
sed -i -e 's@Net/ThemeName.*@Net/ThemeName "Orchis-Grey-Light"@' ~/.xsettingsd sed -i -e 's@Net/ThemeName.*@Net/ThemeName "Orchis-Grey-Light"@' ~/.xsettingsd
# Rofi theme
sed -i -e "s/dark.rasi/light.rasi/" $HOME/.config/rofi/config.rasi sed -i -e "s/dark.rasi/light.rasi/" $HOME/.config/rofi/config.rasi
# # Update ST colors
echo " st*color0:#F0EDEC
st*color1:#A8334C
st*color2:#4F6C31
st*color3:#944927
st*color4:#286486
st*color5:#88507D
st*color6:#3B8992
st*color7:#2C363C
st*color8:#CFC1BA
st*color9:#94253E
st*color10:#3F5A22
st*color11:#803D1C
st*color12:#1D5573
st*color13:#7B3B70
st*color14:#2B747C
st*color15:#4F5E68
" > ~/.Xresources
xrdb merge ~/.Xresources
killall st -s "USR1"
# Set the correct command for teams and outlook
sed -ie "s@Exec.*@Exec=/usr/lib/chromium/chromium --profile-directory=Default --app-id=ckdeglopgbdgpkmhnmkigpfgebcdbanf@" /home/aselimov/.local/share/applications/chrome-ckdeglopgbdgpkmhnmkigpfgebcdbanf-Default.desktop
sed -ie "s@Exec.*@Exec=/usr/lib/chromium/chromium --profile-directory=Default --app-id=famdcdojlmjefmhdpbpmekhodagkodei %U@" /home/aselimov/.local/share/applications/chrome-famdcdojlmjefmhdpbpmekhodagkodei-Default.desktop
# Add neovim colorscheme file
touch ~/.config/nvim/light_mode
fi fi
killall -HUP xsettingsd killall -HUP xsettingsd

View file

@ -68,5 +68,3 @@ case $1 in
fi fi
;; ;;
esac esac
kill -44 $(pidof dwmblocks)

View file

@ -1,9 +1,8 @@
[global] [global]
frame_width = 0 frame_width = 0
frame_color = "#000000" frame_color = "#353535"
font = FiraCode Nerd Font 12 font = FiraCode Nerd Font 11
#font = Iosevka Nerd Font 13
# Allow a small subset of html markup: # Allow a small subset of html markup:
# <b>bold</b> # <b>bold</b>
@ -70,9 +69,7 @@
# The width can be negative. In this case the actual width is the # The width can be negative. In this case the actual width is the
# screen width minus the width defined in within the geometry option. # screen width minus the width defined in within the geometry option.
origin="top-right" origin="top-right"
width=300 geometry=350x200-25+25
height=250
offset=+10x+40
# Shrink window if it's smaller than the width. Will be ignored if # Shrink window if it's smaller than the width. Will be ignored if
# width is 0. # width is 0.
@ -155,8 +152,7 @@
icon_position = left icon_position = left
# Paths to default icons. # Paths to default icons.
icon_theme = Papirus icon_path = /usr/share/icons/Adwaita/16x16/status/:/usr/share/icons/Adwaita/16x16/devices/
enable_recursive_icon_lookup = true
# Limit icons size. # Limit icons size.
max_icon_size=128 max_icon_size=128
@ -183,25 +179,125 @@
# Context menu. # Context menu.
context = ctrl+mod1+c context = ctrl+mod1+c
[urgency_low] [urgency_low]
# IMPORTANT: colors have to be defined in quotation marks. # IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment. # Otherwise the "#" and following would be interpreted as a comment.
background = "#8e8e8e" background = "#191919"
foreground = "#3d3839" foreground = "#BBBBBB"
timeout = 5 timeout = 5
[urgency_normal] [urgency_normal]
background = "#BBBBBB" background = "#353535"
foreground = "#191919" foreground = "#BBBBBB"
timeout = 5 timeout = 5
[urgency_critical] [urgency_critical]
background = "#de6e7c" background = "#de6e7c"
foreground = "#191919" foreground = "#BBBBBB"
timeout = 0 timeout = 0
[geary_notifications]
appname = "Geary" # Every section that isn't one of the above is interpreted as a rules to
default_icon = "geary" # override settings for certain messages.
min_icon_size = 48 # Messages can be matched by "appname", "summary", "body", "icon", "category",
# "msg_urgency" and you can override the "timeout", "urgency", "foreground",
# "background", "new_icon" and "format".
# Shell-like globbing will get expanded.
#
# SCRIPTING
# You can specify a script that gets run when the rule matches by
# setting the "script" option.
# The script will be called as follows:
# script appname summary body icon urgency
# where urgency can be "LOW", "NORMAL" or "CRITICAL".
#
# NOTE: if you don't want a notification to be displayed, set the format
# to "".
# NOTE: It might be helpful to run dunst -print in a terminal in order
# to find fitting options for rules.
#[espeak]
# summary = "*"
# script = dunst_espeak.sh
#[script-test]
# summary = "*script*"
# script = dunst_test.sh
#[ignore]
# # This notification will not be displayed
# summary = "foobar"
# format = ""
#[signed_on]
# appname = Pidgin
# summary = "*signed on*"
# urgency = low
#
#[signed_off]
# appname = Pidgin
# summary = *signed off*
# urgency = low
#
#[says]
# appname = Pidgin
# summary = *says*
# urgency = critical
#
#[twitter]
# appname = Pidgin
# summary = *twitter.com*
# urgency = normal
#
#[Claws Mail]
# appname = claws-mail
# category = email.arrived
# urgency = normal
# background = "#2F899E"
# foreground = "#FFA247"
#
#[mute.sh]
# appname = mute
# category = mute.sound
# script = mute.sh
#
#[JDownloader]
# appname = JDownloader
# category = JD
# background = "#FFA247"
# foreground = "#FFFFFF"
#
#[newsbeuter]
# summary = *Feeds*
# background = "#A8EB41"
# foreground = "#FFFFFF"
#
#[irc]
# appname = weechat
# timeout = 0
# background = "#0033bb"
# foreground = "#dddddd"
##
#[weechat hl]
# appname = weechat
# category = weechat.HL
# background = "#FF5C47"
# foreground = "#FFFFFF"
##
#[weechat pn]
# appname = weechat
# category = weechat.PM
# background = "#D53B84"
# foreground = "#FFFFFF"
#
#[CMUS]
# appname = CMUS
# category = cmus
# background = "#6C4AB7"
# foreground = "#FFE756"
#
#
# background = "#30AB70"
# foreground = "#F67245"
#
# vim: ft=cfg

View file

@ -8,36 +8,17 @@ animation-stiffness = 180.0;
animation-dampening = 28.0; animation-dampening = 28.0;
animation-clamping = true; animation-clamping = true;
animation-mass = 1; animation-mass = 1;
animation-for-open-window = "slide-left";
animation-for-menu-window = "slide-down";
animation-for-transient-window = "slide-down";
animations =( animation-for-workspace-switch-in = "slide-down";
{ animation-for-workspace-switch-out = "slide-up";
animations =({
triggers = ["open"]; triggers = ["open"];
preset = "appear"; preset = "appear";
scale = 0.5;
duration = 0.3
}, },
{
triggers = ["close"];
preset = "disappear";
scale = 0.5;
duration = 0.3
},
{
triggers = ["geometry"];
preset = "geometry-change";
duration = 0.2
},
{
triggers = ["show"];
preset = "slide-in";
duration = 0.2
},
{
triggers = ["hide"];
preset = "slide-out";
duration = 0.2
}
) )
@ -63,7 +44,7 @@ shadow = true
shadow-radius = 20 shadow-radius = 20
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75) # The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
shadow-opacity = 0.65 shadow-opacity = 0.55
# The left offset for shadows, in pixels. (defaults to -15) # The left offset for shadows, in pixels. (defaults to -15)
shadow-offset-x = -20 shadow-offset-x = -20
@ -104,10 +85,7 @@ blur-background-fixed = false
# blur-kern = "3x3box"; # blur-kern = "3x3box";
# Exclude conditions for background blur. # Exclude conditions for background blur.
#blur-background-exclude = [ # blur-background-exclude = []
# "window_type = 'dock'",
# "name = 'plank'",
#]
############################################################################## ##############################################################################
# GENERAL # # GENERAL #
@ -266,7 +244,7 @@ use-damage = true
# using *--log-file*, since it can generate a huge stream of logs. # using *--log-file*, since it can generate a huge stream of logs.
# #
# log-level = "debug" # log-level = "debug"
log-level = "debug"; log-level = "warn";
# Set the log file. # Set the log file.
# If *--log-file* is never specified, logs will be written to stderr. # If *--log-file* is never specified, logs will be written to stderr.
@ -313,108 +291,13 @@ log-level = "debug";
# you can set this to `true`. # you can set this to `true`.
# #
rules = ( rules = (
{match = "name = 'Dunst'" animations =({
triggers = ["open", "show"];
preset = "slide-in";
direction ="right"
})},
{match = "class_g ~= 'Rofi'" animations =({ {match = "class_g ~= 'Rofi'" animations =({
triggers = ["close", "hide"]; triggers = ["close", "hide"];
preset = "disappear"; preset = "disappear";
})}, })},
{ match = "name = 'slop'"; blur-background =false; animations = ()}, {match = "name = 'slop'"; blur-background =false; animations = ()})
{ match = "name = 'plank'"; blur-background =false; shadow = false; corner-radius=0},
{ match = "class_g = 'Plank'"; blur-background =false; animations = (); shadow = false; corner-radius=0},
{ match = "class_g = 'dwm'"; corner-radius=0},
{ match = "class_g = 'Bar'"; corner-radius=0},
{ match = "class_g = 'Polybar'"; corner-radius=0},
{ match = "class_g = 'skippy-xd'"; animations =({
triggers = ["open", "show"];
preset = "appear";
scale = 0.5;
duration = 0.1
},
{
triggers = ["close","hide"];
preset = "disappear";
scale = 0.5;
duration = 0.1
}) },
{ match = "fullscreen"; corner-radius = 0; },
{ match = "window_type = 'tooltip'"; animations = ({
triggers = ["open", "show"];
preset = "appear";
scale = 1.0;
duration = 0.0;
},
{
triggers = ["close","hide"];
preset = "disappear";
scale = 1.0;
duration = 0.0;
},{
triggers = ["geometry"]
preset = "geometry-change"
duration = 0.0
})},
{ match = "window_type = 'popup_menu'"; animations = ({
triggers = ["open", "show"];
preset = "appear";
scale = 1.0;
duration = 0.0;
},
{
triggers = ["close","hide"];
preset = "disappear";
scale = 1.0;
duration = 0.0;
})},
{ match = "window_type = 'menu'"; animations = ({
triggers = ["open", "show"];
preset = "appear";
scale = 1.0;
duration = 0.0;
},
{
triggers = ["close","hide"];
preset = "disappear";
scale = 1.0;
duration = 0.0;
})},
{ match = "window_type = 'dropdown_menu'"; animations = ({
triggers = ["open", "show"];
preset = "appear";
scale = 1.0;
duration = 0.0;
},
{
triggers = ["close","hide"];
preset = "disappear";
scale = 1.0;
duration = 0.0;
})},
{ match = "window_type = 'utility'"; animations = ({
triggers = ["open", "show"];
preset = "appear";
scale = 1.0;
duration = 0.0;
},
{
triggers = ["close","hide"];
preset = "disappear";
scale = 1.0;
duration = 0.0;
})},
{ match = "window_type = 'bar'"; corner-radius=0},
{match = "class_g ~= 'Dunst'"; animations = ({
triggers = ["open", "show"];
preset = "slide-in";
direction="right";
},
{
triggers = ["close", "hide"];
preset = "slide-out";
direction="right";
}
)})

View file

@ -9,14 +9,12 @@
/*****----- Configuration -----*****/ /*****----- Configuration -----*****/
configuration { configuration {
modi: "drun"; modi: "drun,run";
show-icons: true; show-icons: false;
icon-theme: "Papirus";
font: "IosevkaTermSlab Nerd Font Propo 14";
display-drun: ""; display-drun: "";
//display-run: ""; display-run: "";
//display-filebrowser: ""; display-filebrowser: "";
//display-window: ""; display-window: "";
drun-display-format: "{name}"; drun-display-format: "{name}";
window-format: "{w} · {c} · {t}"; window-format: "{w} · {c} · {t}";
} }
@ -36,7 +34,7 @@ configuration {
active-background: var(active); active-background: var(active);
active-foreground: var(background); active-foreground: var(background);
selected-normal-background: var(selected); selected-normal-background: var(selected);
selected-normal-foreground: var(background-alt); selected-normal-foreground: var(background);
selected-urgent-background: var(active); selected-urgent-background: var(active);
selected-urgent-foreground: var(background); selected-urgent-foreground: var(background);
selected-active-background: var(urgent); selected-active-background: var(urgent);
@ -56,7 +54,7 @@ window {
location: center; location: center;
anchor: center; anchor: center;
fullscreen: false; fullscreen: false;
width: 800px; width: 400px;
x-offset: 0px; x-offset: 0px;
y-offset: 0px; y-offset: 0px;
@ -147,7 +145,7 @@ num-rows {
text-color: inherit; text-color: inherit;
} }
case-indicator { case-indicator {
enabled: false; enabled: true;
background-color: inherit; background-color: inherit;
text-color: inherit; text-color: inherit;
} }
@ -156,7 +154,7 @@ case-indicator {
listview { listview {
enabled: true; enabled: true;
columns: 1; columns: 1;
lines: 4; lines: 6;
cycle: true; cycle: true;
dynamic: true; dynamic: true;
scrollbar: false; scrollbar: false;
@ -248,7 +246,7 @@ element-text {
/*****----- Mode Switcher -----*****/ /*****----- Mode Switcher -----*****/
mode-switcher{ mode-switcher{
enabled: false; enabled: true;
spacing: 10px; spacing: 10px;
margin: 0px; margin: 0px;
padding: 0px; padding: 0px;
@ -305,5 +303,3 @@ error-message {
background-color: @background-colour; background-color: @background-colour;
text-color: @foreground-colour; text-color: @foreground-colour;
} }
element-icon { size: 5ch ; }

View file

@ -1,8 +1,8 @@
* { * {
background: #BBBBBBFF; background: #BBBBBBFF;
background-alt: #BBBBBBFF; background-alt: #8e8e8eFF;
foreground: #3d3839FF; foreground: #191919FF;
selected: #3d3839FF; selected: #83A598FF;
active: #BBBBBBFF; active: #B8BB26FF;
urgent: #FB4934FF; urgent: #FB4934FF;
} }

View file

@ -1,88 +0,0 @@
/*
* ROFI color theme
*
* Based on Something Found in the Internet
*
* User: Contributors
* Copyright: *!
*/
configuration {
font: "JetBrainsMono Nerd Font Medium 10";
drun {
display-name: "";
}
run {
display-name: "";
}
window {
display-name: "";
}
timeout {
delay: 10;
action: "kb-cancel";
}
}
* {
border: 0;
margin: 0;
padding: 0;
spacing: 0;
bg: #151515;
bg-alt: #232323;
fg: #FFFFFF;
fg-alt: #424242;
background-color: @bg;
text-color: @fg;
}
window {
transparency: "real";
}
mainbox {
children: [inputbar, listview];
}
inputbar {
background-color: @bg-alt;
children: [prompt, entry];
}
entry {
background-color: inherit;
padding: 12px 3px;
}
prompt {
background-color: inherit;
padding: 12px;
}
listview {
lines: 8;
}
element {
children: [element-icon, element-text];
}
element-icon {
padding: 10px 10px;
}
element-text {
padding: 10px 0;
text-color: @fg-alt;
}
element-text selected {
text-color: @fg;
}

View file

@ -13,43 +13,37 @@ XF86AudioMute
XF86MonBrightness{Up,Down} XF86MonBrightness{Up,Down}
xbacklight -{inc,dec} 10 xbacklight -{inc,dec} 10
alt+ctrl+p super+ctrl+p
pubs-rofi.sh open pubs-rofi.sh open
alt+ctrl+i super+ctrl+i
pubs-rofi.sh tag pubs-rofi.sh tag
alt+ctrl+d super+ctrl+d
pubs-rofi.sh url pubs-rofi.sh url
alt+ctrl+t super+ctrl+t
textbooks.sh textbooks.sh
alt+ctrl+l super+ctrl+l
passmenu --type passmenu --type
ctrl+shift+v ctrl+shift+v
paste_from_primary.sh paste_from_primary.sh
alt+shift+s super+shift+s
maim -s --hidecursor | xclip -selection clipboard -t image/png maim -s --hidecursor | xclip -selection clipboard -t image/png
alt+o super+o
find_open find_open
alt+y super+y
xclip -o | viewurl xclip -o | viewurl
alt+s
search
ctrl+shift+s ctrl+shift+s
swap_monitor.sh swap_monitor.sh
ctrl+shift+d ctrl+shift+d
dock.sh dock.sh
shift+alt+i shift+super+i
rofi-connman rofi-connman
alt+e
emojis

View file

@ -1,69 +0,0 @@
#Make nicer tmux motion keys that work with vim as well
is_vim="ps -o state= -o comm= -t '#{pane_tty}' \
| grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'"
bind-key -n C-h if-shell "$is_vim" "send-keys C-h" "select-pane -L"
bind-key -n C-j if-shell "$is_vim" "send-keys C-j" "select-pane -D"
bind-key -n C-k if-shell "$is_vim" "send-keys C-k" "select-pane -U"
bind-key -n C-l if-shell "$is_vim" "send-keys C-l" "select-pane -R"
bind-key -n C-\ if-shell "$is_vim" "send-keys C-\\" "select-pane -l"
unbind C-b
set -g prefix C-p
bind C-p send-prefix
#Sane split commands
bind | split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
unbind '"'
unbind %
# reload config file (change file location to your the tmux.conf you want to use)
bind r source-file ~/.tmux.conf
# Vim key bindings
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xclip -in -selection primary"
bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xclip -in -selection primary"
# don't do anything when a 'bell' rings
set -g visual-activity off
set -g visual-bell off
set -g visual-silence off
setw -g monitor-activity off
set -g bell-action none
# clock mode
setw -g clock-mode-colour "#BBBBBB"
# copy mode
setw -g mode-style 'fg=black bg=red bold'
# panes
set -g pane-border-style 'fg=red'
set -g pane-active-border-style 'fg=yellow'
# statusbar
set -g status-position bottom
set -g status-justify left
set -g status-style 'fg=black bold'
set -g status-left ''
set -g status-left-length 10
set -g status-right-style 'fg=white bold bg=black'
set -g status-right '%Y-%m-%d %H:%M '
set -g status-right-length 50
setw -g window-status-current-style 'fg=red bold bg=black'
setw -g window-status-current-format ' #I #W #F '
setw -g window-status-style 'fg=white bg=black'
setw -g window-status-format ' #I #[fg=white]#W #F '
setw -g window-status-bell-style 'fg=yellow bg=red bold'
# messages
set -g message-style 'fg=white bg=black'

View file

@ -4,18 +4,16 @@ local wezterm = require("wezterm")
-- This will hold the configuration. -- This will hold the configuration.
local config = wezterm.config_builder() local config = wezterm.config_builder()
-- Basic Wezterm settings -- This is where you actually apply your config choices
config.window_close_confirmation = "NeverPrompt"
config.automatically_reload_config = true -- For example, changing the color scheme:
config.enable_tab_bar = false config.enable_tab_bar = false
config.font = wezterm.font("FiraCode Nerd Font Mono") config.font = wezterm.font("FiraCode Nerd Font Mono")
config.harfbuzz_features = { "calt=0", "clig=0", "liga=0" }
config.font_size = 9 config.font_size = 9
-- Color scheme configuration based on whether terminal is set to light mode local light_mode = true
local light_mode = false
local home = os.getenv("HOME") local home = os.getenv("HOME")
if light_mode then --if light_mode then
config.colors = { config.colors = {
-- The default text color -- The default text color
foreground = "#4F5e68", foreground = "#4F5e68",
-- The default background color -- The default background color
@ -63,63 +61,63 @@ if light_mode then
"#2B747C", "#2B747C",
"#4F5E68", "#4F5E68",
}, },
} }
config.window_background_opacity = 0.95 config.window_background_opacity = 0.95
local f = io.open(home .. "/.config/nvim/light_mode", "w") --local f = io.open(home .. "/.config/nvim/light_mode", "w")
assert(f) --assert(f)
f:close() --f:close()
else --else
config.colors = { -- config.colors = {
-- The default text color -- -- The default text color
foreground = "#8e8e8e", -- foreground = "#8e8e8e",
-- The default background color -- -- The default background color
background = "#191919", -- background = "#191919",
--
-- Overrides the cell background color when the current cell is occupied by the -- -- Overrides the cell background color when the current cell is occupied by the
-- cursor and the cursor style is set to Block -- -- cursor and the cursor style is set to Block
cursor_bg = "#BBBBBB", -- cursor_bg = "#BBBBBB",
-- Overrides the text color when the current cell is occupied by the cursor -- -- Overrides the text color when the current cell is occupied by the cursor
cursor_fg = "#191919", -- cursor_fg = "#191919",
-- Specifies the border color of the cursor when the cursor style is set to Block, -- -- Specifies the border color of the cursor when the cursor style is set to Block,
-- or the color of the vertical or horizontal bar when the cursor style is set to -- -- or the color of the vertical or horizontal bar when the cursor style is set to
-- Bar or Underline. -- -- Bar or Underline.
cursor_border = "#BBBBBB", -- cursor_border = "#BBBBBB",
--
-- the foreground color of selected text -- -- the foreground color of selected text
selection_fg = "#191919", -- selection_fg = "#191919",
-- the background color of selected text -- -- the background color of selected text
selection_bg = "#BBBBBB", -- selection_bg = "#BBBBBB",
--
-- The color of the scrollbar "thumb"; the portion that represents the current viewport -- -- The color of the scrollbar "thumb"; the portion that represents the current viewport
scrollbar_thumb = "#222222", -- scrollbar_thumb = "#222222",
--
-- The color of the split lines between panes -- -- The color of the split lines between panes
split = "#444444", -- split = "#444444",
--
ansi = { -- ansi = {
"#191919", -- "#191919",
"#DE6E7C", -- "#DE6E7C",
"#819B69", -- "#819B69",
"#B77E64", -- "#B77E64",
"#6099C0", -- "#6099C0",
"#B279A7", -- "#B279A7",
"#66A5AD", -- "#66A5AD",
"#BBBBBB", -- "#BBBBBB",
}, -- },
brights = { -- brights = {
"#3d3839", -- "#3d3839",
"#E8838F", -- "#E8838F",
"#8BAE68", -- "#8BAE68",
"#D68C67", -- "#D68C67",
"#61ABDA", -- "#61ABDA",
"#CF86C1", -- "#CF86C1",
"#65B8C1", -- "#65B8C1",
"#8e8e8e", -- "#8e8e8e",
}, -- },
} -- }
config.window_background_opacity = 0.85 -- config.window_background_opacity = 0.85
os.remove(home .. "/.config/nvim/light_mode") -- os.remove(home .. "/.config/nvim/light_mode")
end --end
config.keys = { config.keys = {
{ key = "j", mods = "CTRL|SHIFT", action = wezterm.action.DecreaseFontSize }, { key = "j", mods = "CTRL|SHIFT", action = wezterm.action.DecreaseFontSize },

7
home/.xinitrc Executable file → Normal file
View file

@ -1,4 +1,4 @@
#!/bin/sh # xinput set-prop 13 291 0, 0, 1!/bin/sh
userresources=$HOME/.Xresources userresources=$HOME/.Xresources
@ -36,7 +36,7 @@ fi
export PATH="$PATH:/home/aselimov/bin:/home/aselimov/.local/bin:/home/aselimov/scripts" export PATH="$PATH:/home/aselimov/bin:/home/aselimov/.local/bin:/home/aselimov/scripts"
xinput set-prop "DualPoint Stick" "libinput Accel Speed" 0.8 xinput set-prop "DualPoint Stick" "libinput Accel Speed" 0.8
export BROWSER=/home/aselimov/bin/zen-browser export BROWSER=/usr/bin/firefox
export EDITOR=/usr/bin/nvim export EDITOR=/usr/bin/nvim
export XDG_RUNTIME_DIR=/tmp/aselimov export XDG_RUNTIME_DIR=/tmp/aselimov
@ -51,11 +51,10 @@ xrandr | grep "2560x1440" && dock.sh || mobile.sh
xinput --set-prop "TPPS/2 IBM TrackPoint" "libinput Accel Speed" 1.0 xinput --set-prop "TPPS/2 IBM TrackPoint" "libinput Accel Speed" 1.0
xinput --set-prop "TPPS/2 IBM TrackPoint" "libinput Accel Profile Enabled" 0 1 xinput --set-prop "TPPS/2 IBM TrackPoint" "libinput Accel Profile Enabled" 0 1
exec bato &
exec sync_mail.sh &
exec xsettingsd & exec xsettingsd &
exec sxhkd & exec sxhkd &
exec mpd & exec mpd &
exec mpdnotif.sh &
exec picom -b & exec picom -b &
exec wallpaper_randomizer.sh & exec wallpaper_randomizer.sh &
exec dwmblocks & exec dwmblocks &

View file

@ -12,7 +12,7 @@ zstyle :compinstall filename '/home/aselimov/.zshrc'
export LS_COLORS='di=1;37:ln=35:so=32:pi=33:ex=1;32:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43' export LS_COLORS='di=1;37:ln=35:so=32:pi=33:ex=1;32:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43'
alias ls="ls --classify --group-directories-first --color" alias ls="ls --classify --group-directories-first --color"
#~/bin/daily_scripture.sh ~/bin/daily_scripture.sh
autoload -Uz compinit autoload -Uz compinit
compinit compinit
# End of lines added by compinstall # End of lines added by compinstall
@ -31,7 +31,7 @@ function addbin(){
} }
eval "$(starship init zsh)" eval "$(starship init zsh)"
zstyle -e ':completion:*:hosts' hosts 'reply=( zstyle -e ':completion:*:hosts' hosts 'reply=(
${=${${(f)"$(cat {/etc/ssh_,~/ar.ssh/known_}hosts(|2)(N) 2>/dev/null)"}%%[#| ]*}//,/ } ${=${${(f)"$(cat {/etc/ssh_,~/.ssh/known_}hosts(|2)(N) 2>/dev/null)"}%%[#| ]*}//,/ }
${=${${${${(@M)${(f)"$(cat ~/.ssh/config 2>/dev/null)"}:#Host *}#Host }:#*\**}:#*\?*}} ${=${${${${(@M)${(f)"$(cat ~/.ssh/config 2>/dev/null)"}:#Host *}#Host }:#*\**}:#*\?*}}
)' )'
@ -42,23 +42,17 @@ source "/home/aselimov/.config/zsh/zsh-history-substring-search/zsh-history-subs
bindkey '^[[A' history-substring-search-up bindkey '^[[A' history-substring-search-up
bindkey '^[[B' history-substring-search-down bindkey '^[[B' history-substring-search-down
export XKB_DEFAULT_OPTIONS="caps:escape" export XKB_DEFAULT_OPTIONS="caps:escape"
export PASSWORD_STORE_CHARACTER_SET='a-zA-Z0-9+\-$!*_='
XDEB_PKGROOT=${HOME}/.config/xdeb
function panbeamer (){
pandoc --pdf-engine=xelatex -o "${1/md/pdf}" -t beamer "$1"
}
export panbeamer
export NVM_DIR="$HOME/.nvm" export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# Add cuda to path
export PATH="$PATH:/usr/local/cuda-12.8/bin"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda-12.8/lib64"
[ -f "/home/aselimov/.ghcup/env" ] && . "/home/aselimov/.ghcup/env" # ghcup-env [ -f "/home/aselimov/.ghcup/env" ] && . "/home/aselimov/.ghcup/env" # ghcup-env
if [ -z "$TMUX" ]; then
tmux
fi
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init - zsh)"

View file

@ -1 +0,0 @@
/home/aselimov/projects/SelimovDE/wallpapers/real-pics/fuji.jpg

View file

@ -1 +0,0 @@
/home/aselimov/projects/SelimovDE/wallpapers/real-pics/sequoia.png

View file

@ -0,0 +1 @@
/home/aselimov/media/wallpapers/misc/thinkpad.png

View file

@ -0,0 +1 @@
/home/aselimov/media/wallpapers/linux/void-linux-minimal.png

View file

@ -0,0 +1 @@
/home/aselimov/media/wallpapers/minimalist/zen-maze.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1,008 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 433 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 MiB