add lina dotfiles

This commit is contained in:
light7734 2025-08-24 13:05:25 +03:30
parent 3a9bbfef9e
commit 977b618db8
Signed by: light7734
GPG key ID: 8C30176798F1A6BA
142 changed files with 1458 additions and 2 deletions

116
lina/.zshrc Normal file
View file

@ -0,0 +1,116 @@
setxkbmap -option caps:escape
################################################################
## ZSH CONFIGURATIONS
HISTFILE=~/.zshhist # Save history file
HISTSIZE=2048 # Save history zsh max lines
SAVEHIST=4096 # Save history file max lines
setopt autocd # Automatically change directory if only a path was provided
unsetopt beep notify # No bells!
bindkey -v # Use VI Keybindings
PROMPT="%F{green}%n@%m%f %~ $ " # The prompt
################################################################
## EXPORTS
export PATH="${PATH}:/home/light/.local/bin:/home/light/scripts/:/opt/cuda/bin:/home/light/dev/meshoptimizer"
export LC_ALL="C"
export CC="/usr/bin/clang"
export CXX="/usr/bin/clang++"
export CPM_SOURCE_CACHE="${HOME}/.cache/CPM"
export GTEST_COLOR="yes"
export GPG_TTY=$(tty)
# pnpm
export PNPM_HOME="/home/light/.local/share/pnpm"
case ":$PATH:" in
*":$PNPM_HOME:"*) ;;
*) export PATH="$PNPM_HOME:$PATH" ;;
esac
################################################################
## ALIASES
alias v='nvim'
alias wifi='sudo wpa_supplicant -B -i wlp0s20f3 -c /home/light/.config/wpa_configs/home_wifi'
alias icat='kitty +kitten icat'
alias cat='bat'
alias zsrc='source ~/.zshrc'
alias clip="xclip -selection c"
alias val='valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose --log-file=valgrind-out.txt'
alias q='exit'
alias pirate='aria2c --seed-time=0 --split=8'
# alias ryali='ssh root@5.75.207.117' # old ryali :(
alias ryali='ssh light@5.75.206.84'
alias l='\eza --icons --sort type -TL1'
alias la='\eza --icons --sort type -T1' # all
alias ~="c ~"
alias ..='c ../'
alias ...='c ../../'
alias ....='c ../../../'
alias .....='c ../../../../'
alias ......='c ../../../../../'
alias gs='cgs'
alias trans='xprop -format _NET_WM_WINDOW_OPACITY 32c -set _NET_WM_WINDOW_OPACITY 0xEFFFFFFF'
c () { cd ${1:-.} ; clear ; l }
ca () { cd ${1:-.} ; clear ; la }
cn () { cd ${1:-.} ; clear ; hyfetch }
cgs() { cd ${1:-.} ; clear ; git status }
picomadd() { sed -i '/# OPACITY_RULE/i ,"100:name *= '\'$1\''"' ~/.config/picom/picom.conf }
################################################################
## UTILITIES
activate()
{
if [[ "$1" == "light" ]]; then
source ${HOME}/dev/python_envs/light/bin/activate #Python
source ${HOME}/dev/1.4.321.1/setup-env.sh # Vulkan
PROMPT="%F{green}%n@%m%f %~ $ "
clear
echo "Environments applied for project: light"
else
zsrc
clear
echo "Unknown environment"
exit 1
fi
echo "Please remember to not keep multiple environments active at the same time"
}
jade() # Jade is the name of the lofi girl
{
radio=""
case "$1" in
# Lofi girl radios... (https://www.youtube.com/@LofiGirl)
lofi) radio='https://www.youtube.com/watch?v=jfKfPfyJRdk' ;;
sad) radio='https://www.youtube.com/watch?v=P6Segk8cr-c' ;;
asian) radio='https://www.youtube.com/watch?v=Na0w3Mz46GA' ;;
dark) radio='https://www.youtube.com/watch?v=S_MOd40zlYU' ;;
synth) radio='https://www.youtube.com/watch?v=4xDzrJKXOOY' ;;
medieval) radio='https://www.youtube.com/watch?v=IxPANmjPaek' ;;
sleep_ambient) radio='https://www.youtube.com/watch?v=xORCbIptqcc' ;;
sleep_lofi) radio='https://www.youtube.com/watch?v=28KRPhVzCus' ;;
summer) radio='https://www.youtube.com/watch?v=SXySxLgCV-8' ;;
guitar) radio='https://www.youtube.com/watch?v=E_XmwjgRLz8' ;;
piano) radio='https://www.youtube.com/watch?v=TtkFsfOP9QI' ;;
rain) radio='https://www.youtube.com/watch?v=-OekvEFm1lo' ;;
jazz) radio='https://www.youtube.com/watch?v=HuFYqnbVbzY' ;;
sunday) radio='https://www.youtube.com/watch?v=uFlzUaisbig' ;;
sunday) radio='https://www.youtube.com/watch?v=uFlzUaisbig' ;;
# Game Chops (https://www.youtube.com/@gamechops)
game) radio='https://www.youtube.com/watch?v=0cQN5okmPmY' ;;
*)
echo 'Invalid radio name :('
return 1
esac
echo "Playing ${input} radio, target url: ${radio}..."
mpv --no-video $radio
}
clear ; hyfetch

14
lina/README.md Normal file
View file

@ -0,0 +1,14 @@
Lina is my main desktop
```
light@lina
----------
OS: Arch Linux x86_64
Shell: zsh 5.9
Resolution: 2560x1440
Terminal: kitty
Terminal Font: JetbrainsMono Nerd Font 14.0
CPU: Intel i9-10900 (20) @ 5.200GHz
GPU: NVIDIA GeForce RTX 3060 Lite Hash Rate
Memory: 32 GiB
```

View file

@ -0,0 +1,32 @@
## name: Gruvbox Dark
## author: Pavel Pertsev
## license: MIT/X11
## upstream: https://raw.githubusercontent.com/gruvbox-community/gruvbox-contrib/master/kitty/gruvbox-dark.conf
selection_foreground #ebdbb2
selection_background #d65d0e
background #282828
foreground #ebdbb2
color0 #3c3836
color1 #cc241d
color2 #98971a
color3 #d79921
color4 #458588
color5 #b16286
color6 #689d6a
color7 #a89984
color8 #928374
color9 #fb4934
color10 #b8bb26
color11 #fabd2f
color12 #83a598
color13 #d3869b
color14 #8ec07c
color15 #fbf1c7
cursor #bdae93
cursor_text_color #665c54
url_color #458588

21
lina/kitty/kitty.conf Normal file
View file

@ -0,0 +1,21 @@
font_family JetbrainsMono Nerd Font
bold_font auto
italic_font auto
bold_italic_font auto
font_size 14
tab_bar_style powerline
map ctrl+shift+l next_tab
map ctrl+shift+h previous_tab
# tab_activity_symbol λ
active_tab_font_style normal
active_tab_font_style bold-italic
inactive_tab_font_style normal
enable_audio_bell no
disable_ligatures never
strip_trailing_spaces smart
placement_strategy center
include current-theme.conf

80
lina/kitty/kitty.conf.bak Normal file
View file

@ -0,0 +1,80 @@
font_family JetbrainsMono Nerd Font
bold_font auto
italic_font auto
bold_italic_font auto
font_size 14
tab_bar_style powerline
tab_bar_edge top
map ctrl+shift+l next_tab
map ctrl+shift+h previous_tab
tab_activity_symbol λ
active_tab_font_style normal
active_tab_font_style bold-italic
inactive_tab_font_style normal
enable_audio_bell no
disable_ligatures never
strip_trailing_spaces smart
placement_strategy center
# remove open link with mouse click
clear_all_mouse_actions yes
mouse_map left press ungrabbed mouse_selection normal
window_padding_width 0
# cursor #928374
# cursor_text_color background
# url_color #83a598
# visual_bell_color #8ec07c
# bell_border_color #8ec07c
# active_border_color #d3869b
# inactive_border_color #665c54
# foreground #ebdbb2
# background #282828
# selection_foreground #928374
# selection_background #ebdbb2
# active_tab_foreground #fbf1c7
# active_tab_background #665c54
# inactive_tab_foreground #a89984
# inactive_tab_background #3c3836
# black (bg3/bg4)
# color0 #665c54
# color8 #7c6f64
# red
# color1 #cc241d
# color9 #fb4934
#: green
# color4 #689d6a
# color12 #8ec07c
# yellow
# color3 #d79921
# color11 #fabd2f
# blue
# color2 #98971a
# color10 #b8bb26
# purple
# color5 #b16286
# color13 #d3869b
# aqua
# color6 #458588
# color14 #83a598
# white (fg4/fg3)
# color7 #a89984
# color15 #bdae93
# BEGIN_KITTY_THEME
# Gruvbox Dark Hard
include current-theme.conf
# END_KITTY_THEME

View file

@ -19,3 +19,10 @@ require("_gitsigns")
require("_indentline")
require("_treesitter")
require("_gruvbox")
vim.filetype.add({
extension = {
tpp = "cpp"
},
})

25
lina/nvim/lazy-lock.json Normal file
View file

@ -0,0 +1,25 @@
{
"LuaSnip": { "branch": "master", "commit": "de10d8414235b0a8cabfeba60d07c24304e71f5c" },
"alpha-nvim": { "branch": "main", "commit": "2b3cbcdd980cae1e022409289245053f62fb50f6" },
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
"cmp-cmdline": { "branch": "main", "commit": "d126061b624e0af6c3a556428712dd4d4194ec6d" },
"cmp-nvim-lsp": { "branch": "main", "commit": "bd5a7d6db125d4654b50eeae9f5217f24bb22fd3" },
"cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" },
"cmp-path": { "branch": "main", "commit": "c642487086dbd9a93160e1679a1327be111cbc25" },
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
"gitsigns.nvim": { "branch": "main", "commit": "6e3c66548035e50db7bd8e360a29aec6620c3641" },
"gruvbox.nvim": { "branch": "main", "commit": "12c2624287dc827edb5d72b2bc4c9619e692a554" },
"indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" },
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
"lualine.nvim": { "branch": "master", "commit": "b8c23159c0161f4b89196f74ee3a6d02cdc3a955" },
"nvim-autopairs": { "branch": "master", "commit": "23320e75953ac82e559c610bec5a90d9c6dfa743" },
"nvim-cmp": { "branch": "main", "commit": "b5311ab3ed9c846b585c0c15b7559be131ec4be9" },
"nvim-lspconfig": { "branch": "master", "commit": "16878c7a018cba66a6e990286bdb6afc29ca13d3" },
"nvim-tree.lua": { "branch": "master", "commit": "b70a741f5a29a1d2baa3bbe7e5c0a4a5d6423849" },
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
"nvim-web-devicons": { "branch": "master", "commit": "c2599a81ecabaae07c49ff9b45dcd032a8d90f1a" },
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
"telescope-args.nvim": { "branch": "main", "commit": "995072920fae8e1bf31daed015114bd54617079a" },
"telescope.nvim": { "branch": "master", "commit": "b4da76be54691e854d3e0e02c36b0245f945c2c7" },
"transparent.nvim": { "branch": "main", "commit": "8ac59883de84e9cd1850ea25cf087031c5ba7d54" }
}

80
lina/nvim/lsp/pyright.lua Normal file
View file

@ -0,0 +1,80 @@
local util = require 'lspconfig.util'
local root_files = {
'pyproject.toml',
'setup.py',
'setup.cfg',
'requirements.txt',
'Pipfile',
'pyrightconfig.json',
'.git',
}
local function organize_imports()
local params = {
command = 'pyright.organizeimports',
arguments = { vim.uri_from_bufnr(0) },
}
local clients = vim.lsp.get_clients {
bufnr = vim.api.nvim_get_current_buf(),
name = 'pyright',
}
for _, client in ipairs(clients) do
client.request('workspace/executeCommand', params, nil, 0)
end
end
local function set_python_path(path)
local clients = vim.lsp.get_clients {
bufnr = vim.api.nvim_get_current_buf(),
name = 'pyright',
}
for _, client in ipairs(clients) do
if client.settings then
client.settings.python = vim.tbl_deep_extend('force', client.settings.python, { pythonPath = path })
else
client.config.settings = vim.tbl_deep_extend('force', client.config.settings, { python = { pythonPath = path } })
end
client.notify('workspace/didChangeConfiguration', { settings = nil })
end
end
return {
default_config = {
cmd = { 'pyright-langserver', '--stdio' },
filetypes = { 'python' },
root_dir = function(fname)
return util.root_pattern(unpack(root_files))(fname)
end,
single_file_support = true,
settings = {
python = {
analysis = {
autoSearchPaths = true,
useLibraryCodeForTypes = true,
diagnosticMode = 'openFilesOnly',
},
},
},
},
commands = {
PyrightOrganizeImports = {
organize_imports,
description = 'Organize Imports',
},
PyrightSetPythonPath = {
set_python_path,
description = 'Reconfigure pyright with the provided python path',
nargs = 1,
complete = 'file',
},
},
docs = {
description = [[
https://github.com/microsoft/pyright
`pyright`, a static type checker and language server for python
]],
},
}

View file

@ -91,7 +91,7 @@ keymap(
keymap("n", "<leader>tg", "<cmd>Telescope live_grep<cr>", opts)
keymap("n", "<leader>w", "<cmd>lua vim.lsp.buf.format({async = false})<cr><cmd>w<cr>", opts)
vim.api.nvim_set_keymap("n", "<leader>w", "<cmd>lua vim.lsp.buf.format({async = false})<cr><cmd>w<cr>", opts)
keymap("n", "<leader>c", "<cmd>bdelete<cr>", opts)
keymap(

View file

@ -116,5 +116,6 @@ vim.lsp.enable({
"cssls",
"eslint",
"mdx_analyzer",
})
"pyright",
})

97
lina/pacman.conf Normal file
View file

@ -0,0 +1,97 @@
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/
#HookDir = /etc/pacman.d/hooks/
HoldPkg = pacman glibc
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto
ILoveCandy
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
#Color
#NoProgressBar
CheckSpace
#VerbosePkgLists
ParallelDownloads = 8
# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required
# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.
#[core-testing]
#Include = /etc/pacman.d/mirrorlist
[core]
Include = /etc/pacman.d/mirrorlist
#[extra-testing]
#Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist
[multilib]
Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

182
lina/picom/picom.conf Normal file
View file

@ -0,0 +1,182 @@
#========================= Corners =========================#
corner-radius = 16;
rounded-corners-exclude = [
"class_g ?= 'tint2'",
"class_g ?= 'polybar'"
];
round-borders = 2;
round-borders-exclude = [
];
round-borders-rule = [
];
#========================= Shadows =========================#
shadow = true;
shadow-radius = 24;
shadow-opacity = 0.78;
shadow-offset-x = -13;
shadow-offset-y = -13;
shadow-exclude = [
# "class_g = 'Cairo-clock'",
# "class_g = 'CoverGloobus'",
# "class_g = 'Tilda'",
"class_g = 'Polybar'",
# "name ?= 'gnome-pie'",
# "class_g ?= 'Plank'",
# "name *= 'recordmydesktop'",
# "name = 'Notification'",
# "name = 'Docky'",
# "name = 'Kupfer'",
# "name = 'xfce4-notifyd'",
# "name *= 'VLC'",
# "name *= 'Chromium'",
# "name *= 'Chrome'",
# "class_g = 'Conky'",
# "class_g = 'Kupfer'",
# "class_g = 'Synapse'",
# "class_g ?= 'Notify-osd'",
# "class_g ?= 'Cairo-dock'",
# "class_g ?= 'Xfce4-notifyd'",
# "class_g ?= 'Xfce4-power-manager'",
# "_GTK_FRAME_EXTENTS@:c",
# "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
];
#========================= Fading =========================#
fading = true;
fade-in-step = 0.093;
fade-out-step = 0.093;
fade-delta = 10;
fade-exclude = [
"class_g = 'slop'" # maim
]
no-fading-openclose = false
no-fading-destroyed-argb = false
#========================= Opacity =========================#
inactive-opacity = 0.76;
frame-opacity = 1.0;
inactive-opacity-override = true;
active-opacity = 0.86;
# focus-exclude = [
# "class_g = 'Cairo-clock'",
# "class_g = 'Bar'",
# "class_g = 'slop'"
# ];
#opacity-rule = [
# "100:class_g = 'Bar'",
# "100:class_g = 'slop'",
# "100:class_g = 'XTerm'",
# "100:class_g = 'URxvt'",
# "100:class_g = 'kitty'",
# "100:class_g = 'Alacritty'",
# "100:class_g = 'Polybar'",
# "100:class_g = 'code-oss'",
# "100:class_g = 'Meld'",
# "100:class_g = 'TelegramDesktop'",
# "100:class_g = 'Joplin'",
# "100:class_g = 'firefox'",
# "100:class_g = 'Chromium'",
# "100:class_g = 'Thunderbird'",
# "100:class_g = 'Thunar'",
# "100:class_g = 'Nitrogen'",
# "100:class_g = 'Code'"
#];
opacity-rule = [
"100:name *= '>_<'",
"100:name *= 'Blender'",
"100:name *= 'HuraWatch'",
"100:name *= 'Aseprite'",
"100:name *= 'Unreal Editor'",
"100:name *= 'Aseprite'",
"100:name *= 'Pinterest'",
"100:name *= 'PureRef'",
"100:name *= 'Inkscape'",
"100:name *= 'Dota 2'",
"100:name *= 'Gogoanime'",
"100:name *= '.jpg'"
,"86:class_g = 'Polybar'",
,"100:name *= '.gif'"
,"100:name *= '.png'"
,"100:name *= 'mpv'"
,"100:name *= 'LibreOffice'"
,"100:name *= 'God of War'"
,"100:name *= 'Sololearn'"
,"100:name *= 'Kdenlive'"
,"100:name *= 'GIMP'"
,"100:name *= 'cubic-bezier.com'"
,"100:name *= 'Fretastic'"
,"100:name *= 'Mirror'"
,"100:name *= 'LearnOpenGL'"
,"100:name *= 'YouTube'"
,"100:name *= 'bilbili'"
,"100:name *= 'bilibili'"
,"100:name *= 'Krita'"
,"100:name *= 'Subnautica'"
,"100:name *= 'Code'"
# OPACITY_RULE
];
#========================= Blurring =========================#
blur: {
method = "dual_kawase";
strength = 3;
kern = "3x3box";
background = false;
background-fixed = false;
}
# blur-method = "kernel"
# blur-strength= 10
# blur-kern = "3x3box"
# blur-deviation = false
# blur-background = false
# blur-background-exclude = [
# "window_type = 'dock'",
# "window_type = 'desktop'",
# "class_g = 'Plank'",
# "class_g = 'polybar'",
# "class_g = 'slop'",
# "class_g = 'Chromium'",
# "_GTK_FRAME_EXTENTS@:c",
# ];
#========================= General Settings =========================#
backend = "glx";
vsync = true;
mark-wmwin-focused = true;
mark-ovredir-focused = false;
detect-rounded-corners = true;
detect-client-opacity = true;
refresh-rate = 0;
detect-transient = true;
detect-client-leader = true;
glx-no-stencil = true;
glx-copy-from-font = false
use-damage = true;
log-level = "info";
animations = true
animation-for-transient-window = "zoom"
animation-for-open-window = "zoom"
animation-for-unmap-window = "zoom"
animation-stiffness = 350
animation-dampening = 20
animation-window-mass = 0.5
animation-delta = 8
animation-clamping = false
wintypes:
{
tooltip = { fade=true; shadow=true; opacity=0.95; focus=true; full-shadow=false; };
popup_menu = { opacity=1.0; }
dropdown_menu = { opacity=1.0; }
utility = { shadow=false; opacity=1.0; }
};

297
lina/rofi/config.rasi Normal file
View file

@ -0,0 +1,297 @@
/*Dracula theme based on the Purple official rofi theme*/
* {
/* Theme settings */
font: "Jetbrains Mono 24";
highlight: bold italic;
scrollbar: true;
/* Gruvbox dark colors */
gruvbox-dark-bg0: #282828;
gruvbox-dark-bg0-soft: #32302f;
gruvbox-dark-bg3: #665c54;
gruvbox-dark-fg0: #fbf1c7;
gruvbox-dark-fg1: #ebdbb2;
gruvbox-dark-red-dark: #cc241d;
gruvbox-dark-red-light: #fb4934;
gruvbox-dark-yellow-dark: #d79921;
gruvbox-dark-yellow-light: #fabd2f;
gruvbox-dark-gray: #a89984;
/* Theme colors */
background: @gruvbox-dark-bg0;
background-color: @background;
foreground: @gruvbox-dark-fg1;
border-color: @gruvbox-dark-gray;
separatorcolor: @border-color;
scrollbar-handle: @border-color;
normal-background: @background;
normal-foreground: @foreground;
alternate-normal-background: @gruvbox-dark-bg0-soft;
alternate-normal-foreground: @foreground;
selected-normal-background: @gruvbox-dark-bg3;
selected-normal-foreground: @gruvbox-dark-fg0;
active-background: @gruvbox-dark-yellow-dark;
active-foreground: @background;
alternate-active-background: @active-background;
alternate-active-foreground: @active-foreground;
selected-active-background: @gruvbox-dark-yellow-light;
selected-active-foreground: @active-foreground;
urgent-background: @gruvbox-dark-red-dark;
urgent-foreground: @background;
alternate-urgent-background: @urgent-background;
alternate-urgent-foreground: @urgent-foreground;
selected-urgent-background: @gruvbox-dark-red-light;
selected-urgent-foreground: @urgent-foreground;
}
window {
background-color: @background;
border: 2;
padding: 2;
}
mainbox {
border: 0;
padding: 0;
}
message {
border: 2px 0 0;
border-color: @separatorcolor;
padding: 1px;
}
textbox {
highlight: @highlight;
text-color: @foreground;
}
listview {
border: 2px solid 0 0;
padding: 2px 0 0;
border-color: @separatorcolor;
spacing: 2px;
scrollbar: @scrollbar;
}
element {
border: 0;
padding: 2px;
}
element.normal.normal {
background-color: @normal-background;
text-color: @normal-foreground;
}
element.normal.urgent {
background-color: @urgent-background;
text-color: @urgent-foreground;
}
element.normal.active {
background-color: @active-background;
text-color: @active-foreground;
}
element.selected.normal {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
element.selected.urgent {
background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground;
}
element.selected.active {
background-color: @selected-active-background;
text-color: @selected-active-foreground;
}
element.alternate.normal {
background-color: @alternate-normal-background;
text-color: @alternate-normal-foreground;
}
element.alternate.urgent {
background-color: @alternate-urgent-background;
text-color: @alternate-urgent-foreground;
}
element.alternate.active {
background-color: @alternate-active-background;
text-color: @alternate-active-foreground;
}
scrollbar {
width: 4px;
border: 0;
handle-color: @scrollbar-handle;
handle-width: 8px;
padding: 0;
}
sidebar {
border: 2px 0 0;
border-color: @separatorcolor;
}
inputbar {
spacing: 0;
text-color: @normal-foreground;
padding: 2px;
children: [ prompt, textbox-prompt-sep, entry, case-indicator ];
}
case-indicator,
entry,
prompt,
button {
spacing: 0;
text-color: @normal-foreground;
}
button.selected {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
textbox-prompt-sep {
expand: false;
str: ":";
text-color: @normal-foreground;
margin: 0 0.3em 0 0;
}
/*
* {
font: "Jetbrains Mono 24";
foreground: #f8f8f2;
background-color: #282a36;
active-background: #6272a4;
urgent-background: #ff5555;
urgent-foreground: #282a36;
selected-background: @active-background;
selected-urgent-background: @urgent-background;
selected-active-background: @active-background;
separatorcolor: @active-background;
bordercolor: @active-background;
}
#window {
background-color: @background-color;
border: 1;
border-radius: 6;
border-color: @bordercolor;
padding: 5;
}
#mainbox {
border: 0;
padding: 0;
}
#message {
border: 1px dash 0px 0px ;
border-color: @separatorcolor;
padding: 1px ;
}
#textbox {
text-color: @foreground;
}
#listview {
fixed-height: 0;
border: 2px dash 0px 0px ;
border-color: @bordercolor;
spacing: 2px ;
scrollbar: false;
padding: 2px 0px 0px ;
}
#element {
border: 0;
padding: 1px ;
}
#element.normal.normal {
background-color: @background-color;
text-color: @foreground;
}
#element.normal.urgent {
background-color: @urgent-background;
text-color: @urgent-foreground;
}
#element.normal.active {
background-color: @active-background;
text-color: @foreground;
}
#element.selected.normal {
background-color: @selected-background;
text-color: @foreground;
}
#element.selected.urgent {
background-color: @selected-urgent-background;
text-color: @foreground;
}
#element.selected.active {
background-color: @selected-active-background;
text-color: @foreground;
}
#element.alternate.normal {
background-color: @background-color;
text-color: @foreground;
}
#element.alternate.urgent {
background-color: @urgent-background;
text-color: @foreground;
}
#element.alternate.active {
background-color: @active-background;
text-color: @foreground;
}
#scrollbar {
width: 2px ;
border: 0;
handle-width: 8px ;
padding: 0;
}
#sidebar {
border: 2px dash 0px 0px ;
border-color: @separatorcolor;
}
#button.selected {
background-color: @selected-background;
text-color: @foreground;
}
#inputbar {
spacing: 0;
text-color: @foreground;
padding: 1px ;
}
#case-indicator {
spacing: 0;
text-color: @foreground;
}
#entry {
spacing: 0;
text-color: @foreground;
}
#prompt {
spacing: 0;
text-color: @foreground;
}
#inputbar {
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
}
#textbox-prompt-colon {
expand: false;
str: ":";
margin: 0px 0.3em 0em 0em ;
text-color: @foreground;
}
element-text, element-icon {
background-color: inherit;
text-color: inherit;
}
*/

151
lina/rofi/test.rasi Normal file
View file

@ -0,0 +1,151 @@
configuration {
/* modes: "window,drun,run,ssh";*/
/* font: "mono 12";*/
/* location: 0;*/
/* yoffset: 0;*/
/* xoffset: 0;*/
/* fixed-num-lines: true;*/
/* show-icons: false;*/
/* terminal: "rofi-sensible-terminal";*/
/* ssh-client: "ssh";*/
/* ssh-command: "{terminal} -e {ssh-client} {host} [-p {port}]";*/
/* run-command: "{cmd}";*/
/* run-list-command: "";*/
/* run-shell-command: "{terminal} -e {cmd}";*/
/* window-command: "wmctrl -i -R {window}";*/
/* window-match-fields: "all";*/
/* icon-theme: ;*/
/* drun-match-fields: "name,generic,exec,categories,keywords";*/
/* drun-categories: ;*/
/* drun-show-actions: false;*/
/* drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";*/
/* drun-url-launcher: "xdg-open";*/
/* disable-history: false;*/
/* ignored-prefixes: "";*/
/* sort: false;*/
/* sorting-method: "normal";*/
/* case-sensitive: false;*/
/* cycle: true;*/
/* sidebar-mode: false;*/
/* hover-select: false;*/
/* eh: 1;*/
/* auto-select: false;*/
/* parse-hosts: false;*/
/* parse-known-hosts: true;*/
/* combi-modes: "window,run";*/
/* matching: "normal";*/
/* tokenize: true;*/
/* m: "-5";*/
/* filter: ;*/
/* dpi: -1;*/
/* threads: 0;*/
/* scroll-method: 0;*/
/* window-format: "{w} {c} {t}";*/
/* click-to-exit: true;*/
/* max-history-size: 25;*/
/* combi-hide-mode-prefix: false;*/
/* combi-display-format: "{mode} {text}";*/
/* matching-negate-char: '-' /* unsupported */;*/
/* cache-dir: ;*/
/* window-thumbnail: false;*/
/* drun-use-desktop-cache: false;*/
/* drun-reload-desktop-cache: false;*/
/* normalize-match: false;*/
/* steal-focus: false;*/
/* application-fallback-icon: ;*/
/* refilter-timeout-limit: 8192;*/
/* xserver-i300-workaround: false;*/
/* pid: "/run/user/1000/rofi.pid";*/
/* display-window: ;*/
/* display-windowcd: ;*/
/* display-run: ;*/
/* display-ssh: ;*/
/* display-drun: ;*/
/* display-combi: ;*/
/* display-keys: ;*/
/* display-filebrowser: ;*/
/* kb-primary-paste: "Control+V,Shift+Insert";*/
/* kb-secondary-paste: "Control+v,Insert";*/
/* kb-clear-line: "Control+w";*/
/* kb-move-front: "Control+a";*/
/* kb-move-end: "Control+e";*/
/* kb-move-word-back: "Alt+b,Control+Left";*/
/* kb-move-word-forward: "Alt+f,Control+Right";*/
/* kb-move-char-back: "Left,Control+b";*/
/* kb-move-char-forward: "Right,Control+f";*/
/* kb-remove-word-back: "Control+Alt+h,Control+BackSpace";*/
/* kb-remove-word-forward: "Control+Alt+d";*/
/* kb-remove-char-forward: "Delete,Control+d";*/
/* kb-remove-char-back: "BackSpace,Shift+BackSpace,Control+h";*/
/* kb-remove-to-eol: "Control+k";*/
/* kb-remove-to-sol: "Control+u";*/
/* kb-accept-entry: "Control+j,Control+m,Return,KP_Enter";*/
/* kb-accept-custom: "Control+Return";*/
/* kb-accept-custom-alt: "Control+Shift+Return";*/
/* kb-accept-alt: "Shift+Return";*/
/* kb-delete-entry: "Shift+Delete";*/
/* kb-mode-next: "Shift+Right,Control+Tab";*/
/* kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab";*/
/* kb-mode-complete: "Control+l";*/
/* kb-row-left: "Control+Page_Up";*/
/* kb-row-right: "Control+Page_Down";*/
/* kb-row-up: "Up,Control+p";*/
/* kb-row-down: "Down,Control+n";*/
/* kb-row-tab: "";*/
/* kb-element-next: "Tab";*/
/* kb-element-prev: "ISO_Left_Tab";*/
/* kb-page-prev: "Page_Up";*/
/* kb-page-next: "Page_Down";*/
/* kb-row-first: "Home,KP_Home";*/
/* kb-row-last: "End,KP_End";*/
/* kb-row-select: "Control+space";*/
/* kb-screenshot: "Alt+S";*/
/* kb-ellipsize: "Alt+period";*/
/* kb-toggle-case-sensitivity: "grave,dead_grave";*/
/* kb-toggle-sort: "Alt+grave";*/
/* kb-cancel: "Escape,Control+g,Control+bracketleft";*/
/* kb-custom-1: "Alt+1";*/
/* kb-custom-2: "Alt+2";*/
/* kb-custom-3: "Alt+3";*/
/* kb-custom-4: "Alt+4";*/
/* kb-custom-5: "Alt+5";*/
/* kb-custom-6: "Alt+6";*/
/* kb-custom-7: "Alt+7";*/
/* kb-custom-8: "Alt+8";*/
/* kb-custom-9: "Alt+9";*/
/* kb-custom-10: "Alt+0";*/
/* kb-custom-11: "Alt+exclam";*/
/* kb-custom-12: "Alt+at";*/
/* kb-custom-13: "Alt+numbersign";*/
/* kb-custom-14: "Alt+dollar";*/
/* kb-custom-15: "Alt+percent";*/
/* kb-custom-16: "Alt+dead_circumflex";*/
/* kb-custom-17: "Alt+ampersand";*/
/* kb-custom-18: "Alt+asterisk";*/
/* kb-custom-19: "Alt+parenleft";*/
/* kb-select-1: "Super+1";*/
/* kb-select-2: "Super+2";*/
/* kb-select-3: "Super+3";*/
/* kb-select-4: "Super+4";*/
/* kb-select-5: "Super+5";*/
/* kb-select-6: "Super+6";*/
/* kb-select-7: "Super+7";*/
/* kb-select-8: "Super+8";*/
/* kb-select-9: "Super+9";*/
/* kb-select-10: "Super+0";*/
/* ml-row-left: "ScrollLeft";*/
/* ml-row-right: "ScrollRight";*/
/* ml-row-up: "ScrollUp";*/
/* ml-row-down: "ScrollDown";*/
/* me-select-entry: "MousePrimary";*/
/* me-accept-entry: "MouseDPrimary";*/
/* me-accept-custom: "Control+MouseDPrimary";*/
timeout {
action: "kb-cancel";
delay: 0;
}
filebrowser {
directories-first: true;
sorting-method: "name";
}
}

56
lina/update.sh Executable file
View file

@ -0,0 +1,56 @@
#!/bin/bash
clear
if [ "$(uname -n)" != "lina" ]; then
echo 'You are not Lina! bye...'
else
echo 'Updating dotfiles for Lina...'
fi
echo -n 'Pacman... '
rm -rf ./pacman.conf
cp /etc/pacman.conf .
echo 'done'
echo -n 'ZShell... '
rm -rf ./zshrc
cp ~/.zshrc .
echo 'done'
echo -n 'XMonad... '
rm -rf ./xmonad
cp -r ~/.config/xmonad/ .
echo 'done'
echo -n 'Kitty... '
rm -rf ./kitty
cp -r ~/.config/kitty/ .
echo 'done'
echo -n 'Nvim... '
rm -rf ./nvim
cp -r ~/.config/nvim/ .
echo 'done'
echo -n 'Picom... '
rm -rf ./picom
cp -r ~/.config/picom/ .
echo 'done'
echo -n 'Rofi... '
rm -rf ./rofi
cp -r ~/.config/rofi/ .
echo 'done'
echo -n 'Wallpapers... '
rm -rf ./wallpapers
cp -r ~/pictures/wallpapers/ .
echo 'done'
echo ''
echo ''
echo 'Disk usage:'
du --max-depth=1 -h .

BIN
lina/wallpapers/1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 MiB

BIN
lina/wallpapers/2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 956 KiB

BIN
lina/wallpapers/3.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

BIN
lina/wallpapers/4.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 KiB

BIN
lina/wallpapers/5.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 407 KiB

BIN
lina/wallpapers/6.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 861 KiB

View file

@ -0,0 +1,2 @@
I DO NOT OWN ANY OF THE PICTURES IN THIS DIRECTORY, I SIMPLY DOWNLOADED THEM FROM THE INTERNET
CREDIT GOES TO THEIR RESPECTIVE OWNERS

BIN
lina/wallpapers/a.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 308 KiB

BIN
lina/wallpapers/a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 MiB

BIN
lina/wallpapers/am.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

BIN
lina/wallpapers/b.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 MiB

BIN
lina/wallpapers/bb.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

BIN
lina/wallpapers/c.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 MiB

BIN
lina/wallpapers/cm.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 439 KiB

BIN
lina/wallpapers/d.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 871 KiB

BIN
lina/wallpapers/d.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 390 KiB

BIN
lina/wallpapers/drow.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 399 KiB

BIN
lina/wallpapers/e.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4 MiB

BIN
lina/wallpapers/f.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 MiB

BIN
lina/wallpapers/fav/1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

BIN
lina/wallpapers/fav/2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 485 KiB

BIN
lina/wallpapers/fav/3.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 335 KiB

BIN
lina/wallpapers/girl_01.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 KiB

BIN
lina/wallpapers/girl_02.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

BIN
lina/wallpapers/girl_03.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 485 KiB

BIN
lina/wallpapers/girl_04.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 MiB

BIN
lina/wallpapers/girl_05.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

BIN
lina/wallpapers/girl_06.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

BIN
lina/wallpapers/girl_07.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 737 KiB

BIN
lina/wallpapers/girl_08.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 783 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 787 KiB

BIN
lina/wallpapers/girl_10.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 865 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 518 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 460 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 656 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 893 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 390 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 KiB

BIN
lina/wallpapers/jakir.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB

BIN
lina/wallpapers/lina.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 456 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB

BIN
lina/wallpapers/luna.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 829 KiB

BIN
lina/wallpapers/marci.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 335 KiB

BIN
lina/wallpapers/megumin.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 456 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 692 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Some files were not shown because too many files have changed in this diff Show more