::
This commit is contained in:
1 parent
43f72de6aa
commit
5803f8f863
8 files changed
+299
-9
No files matched your search
@@ -0,0 +1,39 @@
|
|||||||
|
[colors.cursor]
|
||||||
|
cursor = "CellForeground"
|
||||||
|
text = "CellBackground"
|
||||||
|
|
||||||
|
[colors.primary]
|
||||||
|
background = "#000000"
|
||||||
|
foreground = "#ffffff"
|
||||||
|
|
||||||
|
[cursor.style]
|
||||||
|
blinking = "Off"
|
||||||
|
shape = "Beam"
|
||||||
|
|
||||||
|
[env]
|
||||||
|
TERM = "alacritty"
|
||||||
|
|
||||||
|
[font]
|
||||||
|
size = 11.0
|
||||||
|
|
||||||
|
[font.bold]
|
||||||
|
family = "JetBrains Mono"
|
||||||
|
|
||||||
|
[font.bold_italic]
|
||||||
|
family = "JetBrains Mono"
|
||||||
|
|
||||||
|
[font.italic]
|
||||||
|
family = "JetBrains Mono"
|
||||||
|
|
||||||
|
[font.normal]
|
||||||
|
family = "JetBrains Mono"
|
||||||
|
|
||||||
|
[scrolling]
|
||||||
|
history = 10000
|
||||||
|
|
||||||
|
[window]
|
||||||
|
opacity = 0.7
|
||||||
|
|
||||||
|
[window.padding]
|
||||||
|
x = 5
|
||||||
|
y = 5
|
||||||
Executable
+13
@@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
directory=~/Pictures/wallpaper
|
||||||
|
|
||||||
|
while true; do
|
||||||
|
if [ -d "$directory" ]; then
|
||||||
|
random_background=$(ls $directory/* | shuf -n 1)
|
||||||
|
|
||||||
|
feh --bg-fill $random_background
|
||||||
|
fi
|
||||||
|
sleep 60
|
||||||
|
done
|
||||||
|
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
~/dotfiles/bin/background.sh &
|
||||||
setxkbmap "us,ru" -option 'grp:win_space_toggle'
|
setxkbmap "us,ru" -option 'grp:win_space_toggle'
|
||||||
dunst &
|
dunst &
|
||||||
lxpolkit &
|
lxpolkit &
|
||||||
+144
@@ -0,0 +1,144 @@
|
|||||||
|
|
||||||
|
[global]
|
||||||
|
|
||||||
|
monitor = 0
|
||||||
|
|
||||||
|
follow = none
|
||||||
|
|
||||||
|
width = 300
|
||||||
|
|
||||||
|
height = 300
|
||||||
|
|
||||||
|
origin = top-right
|
||||||
|
|
||||||
|
offset = 10x50
|
||||||
|
|
||||||
|
scale = 0
|
||||||
|
|
||||||
|
notification_limit = 20
|
||||||
|
|
||||||
|
progress_bar = true
|
||||||
|
|
||||||
|
progress_bar_height = 10
|
||||||
|
|
||||||
|
progress_bar_frame_width = 1
|
||||||
|
|
||||||
|
progress_bar_min_width = 150
|
||||||
|
|
||||||
|
progress_bar_max_width = 300
|
||||||
|
|
||||||
|
progress_bar_corner_radius = 0
|
||||||
|
|
||||||
|
progress_bar_corners = all
|
||||||
|
|
||||||
|
icon_corner_radius = 10
|
||||||
|
|
||||||
|
icon_corners = all
|
||||||
|
|
||||||
|
indicate_hidden = yes
|
||||||
|
|
||||||
|
transparency = 0
|
||||||
|
|
||||||
|
separator_height = 2
|
||||||
|
|
||||||
|
padding = 8
|
||||||
|
|
||||||
|
horizontal_padding = 8
|
||||||
|
|
||||||
|
text_icon_padding = 0
|
||||||
|
|
||||||
|
frame_width = 3
|
||||||
|
|
||||||
|
frame_color = "#aaaaaa"
|
||||||
|
|
||||||
|
gap_size = 0
|
||||||
|
|
||||||
|
separator_color = frame
|
||||||
|
|
||||||
|
sort = yes
|
||||||
|
|
||||||
|
font = JetBrainsMono Nerd Font Mono 11
|
||||||
|
|
||||||
|
line_height = 0
|
||||||
|
|
||||||
|
markup = full
|
||||||
|
|
||||||
|
format = "<b>%s</b>\n%b"
|
||||||
|
|
||||||
|
alignment = left
|
||||||
|
|
||||||
|
vertical_alignment = center
|
||||||
|
|
||||||
|
show_age_threshold = 60
|
||||||
|
|
||||||
|
ellipsize = middle
|
||||||
|
|
||||||
|
ignore_newline = no
|
||||||
|
|
||||||
|
stack_duplicates = true
|
||||||
|
|
||||||
|
hide_duplicate_count = false
|
||||||
|
|
||||||
|
show_indicators = yes
|
||||||
|
|
||||||
|
enable_recursive_icon_lookup = true
|
||||||
|
|
||||||
|
icon_theme = "Papirus-Dark"
|
||||||
|
|
||||||
|
icon_position = left
|
||||||
|
|
||||||
|
min_icon_size = 32
|
||||||
|
|
||||||
|
max_icon_size = 128
|
||||||
|
|
||||||
|
icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
|
||||||
|
|
||||||
|
sticky_history = yes
|
||||||
|
|
||||||
|
history_length = 20
|
||||||
|
|
||||||
|
dmenu = /usr/bin/dmenu -p dunst:
|
||||||
|
|
||||||
|
browser = /usr/bin/xdg-open
|
||||||
|
|
||||||
|
always_run_script = true
|
||||||
|
|
||||||
|
title = Dunst
|
||||||
|
|
||||||
|
class = Dunst
|
||||||
|
|
||||||
|
corner_radius = 10
|
||||||
|
|
||||||
|
corners = all
|
||||||
|
|
||||||
|
ignore_dbusclose = false
|
||||||
|
|
||||||
|
force_xwayland = false
|
||||||
|
|
||||||
|
force_xinerama = false
|
||||||
|
|
||||||
|
mouse_left_click = close_current
|
||||||
|
mouse_middle_click = do_action, close_current
|
||||||
|
mouse_right_click = close_all
|
||||||
|
|
||||||
|
[experimental]
|
||||||
|
per_monitor_dpi = false
|
||||||
|
|
||||||
|
|
||||||
|
[urgency_low]
|
||||||
|
background = "#222222"
|
||||||
|
foreground = "#888888"
|
||||||
|
timeout = 10
|
||||||
|
|
||||||
|
[urgency_normal]
|
||||||
|
background = "#000000"
|
||||||
|
foreground = "#ffffff"
|
||||||
|
timeout = 10
|
||||||
|
override_pause_level = 30
|
||||||
|
|
||||||
|
[urgency_critical]
|
||||||
|
background = "#900000"
|
||||||
|
foreground = "#ffffff"
|
||||||
|
frame_color = "#ff0000"
|
||||||
|
timeout = 0
|
||||||
|
override_pause_level = 60
|
||||||
+7
-7
@@ -1,13 +1,13 @@
|
|||||||
/* See LICENSE file for copyright and license details. */
|
/* See LICENSE file for copyright and license details. */
|
||||||
|
|
||||||
/* appearance */
|
/* appearance */
|
||||||
static const unsigned int borderpx = 1; /* border pixel of windows */
|
static const unsigned int borderpx = 2; /* border pixel of windows */
|
||||||
static const unsigned int gappx = 5; /* gaps between windows */
|
static const unsigned int gappx = 5; /* gaps between windows */
|
||||||
static const unsigned int snap = 32; /* snap pixel */
|
static const unsigned int snap = 32; /* snap pixel */
|
||||||
static const int showbar = 1; /* 0 means no bar */
|
static const int showbar = 1; /* 0 means no bar */
|
||||||
static const int topbar = 1; /* 0 means bottom bar */
|
static const int topbar = 1; /* 0 means bottom bar */
|
||||||
static const char *fonts[] = { "monospace:size=10" };
|
static const char *fonts[] = { "JetBrainsMono Nerd Font Mono:size=10" };
|
||||||
static const char dmenufont[] = "monospace:size=10";
|
static const char dmenufont[] = "JetBrainsMono Nerd Font Mono:size=10";
|
||||||
static char normbgcolor[] = "#222222";
|
static char normbgcolor[] = "#222222";
|
||||||
static char normbordercolor[] = "#444444";
|
static char normbordercolor[] = "#444444";
|
||||||
static char normfgcolor[] = "#bbbbbb";
|
static char normfgcolor[] = "#bbbbbb";
|
||||||
@@ -61,12 +61,12 @@ static const Layout layouts[] = {
|
|||||||
/* commands */
|
/* commands */
|
||||||
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
|
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
|
||||||
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbordercolor, "-sf", selfgcolor, NULL };
|
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbordercolor, "-sf", selfgcolor, NULL };
|
||||||
static const char *termcmd[] = { "st", NULL };
|
static const char *termcmd[] = { "alacritty", NULL };
|
||||||
|
|
||||||
static const Key keys[] = {
|
static const Key keys[] = {
|
||||||
/* modifier key function argument */
|
/* modifier key function argument */
|
||||||
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
|
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
|
||||||
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
|
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
|
||||||
{ MODKEY, XK_b, togglebar, {0} },
|
{ MODKEY, XK_b, togglebar, {0} },
|
||||||
{ MODKEY, XK_j, focusstackvis, {.i = +1 } },
|
{ MODKEY, XK_j, focusstackvis, {.i = +1 } },
|
||||||
{ MODKEY, XK_k, focusstackvis, {.i = -1 } },
|
{ MODKEY, XK_k, focusstackvis, {.i = -1 } },
|
||||||
@@ -76,9 +76,9 @@ static const Key keys[] = {
|
|||||||
{ MODKEY, XK_d, incnmaster, {.i = -1 } },
|
{ MODKEY, XK_d, incnmaster, {.i = -1 } },
|
||||||
{ MODKEY, XK_h, setmfact, {.f = -0.05} },
|
{ MODKEY, XK_h, setmfact, {.f = -0.05} },
|
||||||
{ MODKEY, XK_l, setmfact, {.f = +0.05} },
|
{ MODKEY, XK_l, setmfact, {.f = +0.05} },
|
||||||
{ MODKEY, XK_Return, zoom, {0} },
|
{ MODKEY|ShiftMask, XK_Return, zoom, {0} },
|
||||||
{ MODKEY, XK_Tab, view, {0} },
|
{ MODKEY, XK_Tab, view, {0} },
|
||||||
{ MODKEY|ShiftMask, XK_c, killclient, {0} },
|
{ MODKEY, XK_q, killclient, {0} },
|
||||||
{ MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
|
{ MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
|
||||||
{ MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
|
{ MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
|
||||||
{ MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
|
{ MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
|
||||||
|
|||||||
+2
-2
@@ -6,8 +6,8 @@ static const unsigned int gappx = 5; /* gaps between windows */
|
|||||||
static const unsigned int snap = 32; /* snap pixel */
|
static const unsigned int snap = 32; /* snap pixel */
|
||||||
static const int showbar = 1; /* 0 means no bar */
|
static const int showbar = 1; /* 0 means no bar */
|
||||||
static const int topbar = 1; /* 0 means bottom bar */
|
static const int topbar = 1; /* 0 means bottom bar */
|
||||||
static const char *fonts[] = { "monospace:size=10" };
|
static const char *fonts[] = { "JetBrainsMono Nerd Font Mono:size=10" };
|
||||||
static const char dmenufont[] = "monospace:size=10";
|
static const char dmenufont[] = "JetBrainsMono Nerd Font Mono:size=10";
|
||||||
static char normbgcolor[] = "#222222";
|
static char normbgcolor[] = "#222222";
|
||||||
static char normbordercolor[] = "#444444";
|
static char normbordercolor[] = "#444444";
|
||||||
static char normfgcolor[] = "#bbbbbb";
|
static char normfgcolor[] = "#bbbbbb";
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
#------- preview images ----------
|
||||||
|
set preview_images true
|
||||||
|
set preview_images_method ueberzug
|
||||||
|
#---------------------------------
|
||||||
@@ -0,0 +1,89 @@
|
|||||||
|
|
||||||
|
#--- path ---
|
||||||
|
export PATH=$PATH:~/dotfiles/bin:~/dotfiles/hypr/bin:~/dotfiles/dwm/bin/:~/.cargo/bin
|
||||||
|
export GTK2_RC_FILES=~/.config/gtk-2.0/gtkrc
|
||||||
|
#------------
|
||||||
|
|
||||||
|
#--- sys ---
|
||||||
|
alias psa='busybox ps' # show all processes
|
||||||
|
alias c='clear' # clear terminal screen
|
||||||
|
alias e='echo' # print in terminal
|
||||||
|
alias s='source' # source
|
||||||
|
alias kcat='kitty icat' # show image in kitty terminal
|
||||||
|
alias ff='fastfetch' # system data
|
||||||
|
alias una='uname -a' # system name
|
||||||
|
alias ifcnf='ifconfig' # ifconfig
|
||||||
|
#--- pacman ---
|
||||||
|
alias p='sudo pacman' # pacman
|
||||||
|
alias psy='sudo pacman -Sy' # update repositories
|
||||||
|
alias psyu='sudo pacman -Syu' # upgrade system
|
||||||
|
alias pi='sudo pacman -S' # install package
|
||||||
|
alias psc='sudo pacman -Ss' # search package in repository
|
||||||
|
alias pqdtq='sudo pacman -Qdtq' # list files without dependencies
|
||||||
|
alias pq='sudo pacman -Q' # list installed packages
|
||||||
|
alias pql='sudo pacman -Ql' # list files in packages
|
||||||
|
alias prm='sudo pacman -R' # delete pacman package
|
||||||
|
alias prns='sudo pacman -Rns' # delete pacman package with all dependencies
|
||||||
|
#--------------
|
||||||
|
#--- apt ---
|
||||||
|
alias aptu='sudo apt update' # update apt repositories
|
||||||
|
alias apti='sudo apt install -y' # install apt package
|
||||||
|
alias aptui='sudo apt upgrade -y' # upgrade apt packages
|
||||||
|
alias aptrm='sudo apt remove -y' # remove apt package
|
||||||
|
alias aptautorm='sudo apt autoremove -y' # remove apt package with dependencies
|
||||||
|
#-----------
|
||||||
|
alias ipr='ip route' # show routes
|
||||||
|
alias ipa='ip addr' # show addresses
|
||||||
|
alias ipl='ip link' # show links
|
||||||
|
alias sctl='systemctl' # systemctl
|
||||||
|
alias sctls='systemctl start' # service start
|
||||||
|
alias sctlst='systemctl status' # service status
|
||||||
|
alias sctlp='systemctl stop' # service stop
|
||||||
|
alias H='Hyprland' # start Hyprland
|
||||||
|
alias sx='startx' # startx - start xorg
|
||||||
|
#-----------
|
||||||
|
|
||||||
|
#--- git ---
|
||||||
|
alias g='git' # git
|
||||||
|
alias ga='git add' # add unstaged changes
|
||||||
|
alias gaa='git add --all' # add all unstaged changes
|
||||||
|
alias gb='git branch' # create branch
|
||||||
|
alias gba='git branch --all' # list all branches
|
||||||
|
alias gbd='git branch --delete' # delete branch
|
||||||
|
alias gbD='git branch --delete --force' # force delete branch
|
||||||
|
alias gco='git checkout' # checkout to another branch
|
||||||
|
alias gcb='git checkout -b' # checkout and create branch
|
||||||
|
alias gc='git clone' # clone from remote repository
|
||||||
|
alias gcl='git clone --recursive' # clone recursive with submodules
|
||||||
|
alias gcam='git commit --all --message' # commit with commit message
|
||||||
|
alias gd='git diff' # create diff
|
||||||
|
alias gcf='git config --list' # show config
|
||||||
|
alias gf='git fetch' # fetch from remote repository
|
||||||
|
alias ghh='git help' # help
|
||||||
|
alias glgg='git log --graph' # log with graph
|
||||||
|
alias glg='git log --stat' # log with stat
|
||||||
|
alias gm='git merge' # merge branches
|
||||||
|
alias gl='git pull' # pull from upstream repository
|
||||||
|
alias gpr='git pull --rebase' # pull from upstream repository and rebase local changes
|
||||||
|
alias gp='git push' # push to upstream repository
|
||||||
|
alias gpo='git push --set-upstream origin' # push to upstream repository and set upstream branch
|
||||||
|
alias gra='git remote add' # add remote repository
|
||||||
|
alias grrm='git remote remove' # remove remote repository
|
||||||
|
alias gstall='git stash --all' # stash all in repository
|
||||||
|
alias gstc='git stash clear' # clear git stash
|
||||||
|
alias gst='git status' # status repository
|
||||||
|
#-----------
|
||||||
|
|
||||||
|
#--- docker ---
|
||||||
|
alias dpa='docker ps -a' # list all docker containers
|
||||||
|
alias dp='docker ps' # list active docker containers
|
||||||
|
alias dia='docker images -a' # list all docker images
|
||||||
|
alias di='docker images' # list docker images
|
||||||
|
alias dcrm='docker container rm' # remove docker container
|
||||||
|
alias dirm='docker image rm' # remove docker image
|
||||||
|
alias dr='docker run' # run docker image as container
|
||||||
|
alias ds='docker start' # start docker container
|
||||||
|
alias dst='docker stop' # stop docker container
|
||||||
|
alias dspa='docker system prune -a' # delete all docker data
|
||||||
|
alias dcaq='docker ps -aq' # stop all containers
|
||||||
|
#--------------
|
||||||
Reference in new issue
Block a user