├── .Xresources ├── .bash_profile ├── .bashrc ├── .config ├── bat │ └── config ├── cava │ └── config ├── dunst │ └── dunstrc ├── flameshot │ └── flameshot.ini ├── ghostty │ ├── config │ └── themes │ │ └── shadow.conf ├── git │ └── config ├── kitty │ ├── colorschemes │ │ └── shadow.conf │ └── kitty.conf ├── networkmanager-dmenu │ └── config.ini ├── nvim │ ├── init.lua │ ├── lazy-lock.json │ └── lua │ │ ├── config │ │ ├── autocmds.lua │ │ ├── globals.lua │ │ ├── keymaps.lua │ │ ├── lazy.lua │ │ ├── options.lua │ │ └── statusline.lua │ │ └── plugins │ │ ├── colorizer.lua │ │ ├── comment.lua │ │ ├── conform.lua │ │ ├── dressing.lua │ │ ├── lspconfig.lua │ │ ├── mason-lspconfig.lua │ │ ├── mason.lua │ │ ├── nvim-autopairs.lua │ │ ├── nvim-cmp.lua │ │ ├── nvim-lint.lua │ │ ├── nvim-web-devicons.lua │ │ ├── oil.lua │ │ ├── shadow.lua │ │ ├── telescope.lua │ │ └── treesitter.lua ├── picom │ └── picom.conf ├── qtile │ ├── autostart.sh │ ├── colors.py │ └── config.py ├── ranger │ └── rc.conf ├── rofi │ ├── clipboard.rasi │ ├── colors.rasi │ ├── common.rasi │ ├── drun.rasi │ ├── networkmenu.rasi │ ├── powermenu.rasi │ └── window.rasi ├── shadow.yaml ├── wezterm │ ├── shadow.lua │ └── wezterm.lua ├── yt-music │ └── shadow.css └── zathura │ └── zathurarc ├── .local └── bin │ ├── lock │ ├── powermenu │ └── printcolors ├── .xprofile ├── LICENSE └── README.md /.Xresources: -------------------------------------------------------------------------------- 1 | ! Cursor 2 | Xcursor.theme: Bibata-Modern-Ice 3 | Xcursor.size: 32 4 | 5 | ! 150% scaling 6 | Xft.dpi: 144 7 | 8 | ! Shadow Colors 9 | *.foreground: #E6E7E6 10 | *.background: #1D2326 11 | *.cursorColor: #9CA3AF 12 | *.color0: #242B2D 13 | *.color8: #485457 14 | *.color1: #BC8F7D 15 | *.color9: #D4A394 16 | *.color2: #96B088 17 | *.color10: #ABC49E 18 | *.color3: #CCAC7D 19 | *.color11: #E2BF8F 20 | *.color4: #7E9AAB 21 | *.color12: #94B1C4 22 | *.color5: #A68CAA 23 | *.color13: #BC9EC0 24 | *.color6: #839C98 25 | *.color14: #97B3AF 26 | *.color7: #CED3DC 27 | *.color15: #E8EBF0 28 | -------------------------------------------------------------------------------- /.bash_profile: -------------------------------------------------------------------------------- 1 | [[ -f ~/.bashrc ]] && . ~/.bashrc 2 | -------------------------------------------------------------------------------- /.bashrc: -------------------------------------------------------------------------------- 1 | # If not running interactively, don't do anything 2 | [[ $- != *i* ]] && return 3 | 4 | # Default programs 5 | export EDITOR='nvim' 6 | 7 | # Aliases 8 | alias grep='grep --color=auto' 9 | alias diff='diff --color=auto' 10 | alias mkdir='mkdir -p' 11 | alias ip='ip -color=auto' 12 | alias ls='ls --color=auto' 13 | alias la='ls -A --color=auto' 14 | alias ll='ls -alF --color=auto' 15 | alias ka='killall' 16 | alias mv='mv -i' 17 | alias cp='cp -i' 18 | alias rm='rm -ri' 19 | alias s='sudo' 20 | alias c='clear' 21 | alias v='nvim' 22 | alias vi='nvim' 23 | alias vim='nvim' 24 | alias gcl='git clone' 25 | alias ga='git add' 26 | alias gbr='git branch' 27 | alias gpl='git pull' 28 | alias gph='git push' 29 | alias gcm='git commit -m' 30 | alias gco='git checkout' 31 | alias gdf='git diff' 32 | alias glg='git log' 33 | alias gs='git status' 34 | alias pn='pnpm' 35 | 36 | # Home directories 37 | export XDG_CONFIG_HOME=$HOME/.config 38 | export XDG_CACHE_HOME=$HOME/.cache 39 | export XDG_DATA_HOME=$HOME/.local/share 40 | export XDG_STATE_HOME=$HOME/.local/state 41 | 42 | # Bin directories 43 | export PATH="$PATH:$HOME/.local/bin" 44 | export PATH="$PATH:$HOME/.local/share/npm/bin" 45 | export PATH="$PATH:$(go env GOPATH)/bin" 46 | 47 | parse_git_branch() { 48 | git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' 49 | } 50 | 51 | parse_git_status() { 52 | local status=$(git status --porcelain 2> /dev/null) 53 | if [[ -n $status ]]; then 54 | echo "*" 55 | fi 56 | } 57 | 58 | BLUE="\[\033[34m\]" 59 | MAGENTA="\[\033[35m\]" 60 | GREEN="\[\033[32m\]" 61 | YELLOW="\[\033[33m\]" 62 | RED="\[\033[31m\]" 63 | RESET="\[\033[00m\]" 64 | 65 | DIRECTORY="$MAGENTA\w" 66 | GIT_BRANCH='$(parse_git_branch)' 67 | GIT_STATUS='$(parse_git_status)' 68 | 69 | # Prompt 70 | PS1="${DIRECTORY}${YELLOW}${GIT_BRANCH}${RED}${GIT_STATUS}${RESET} ${BLUE}${RESET} " 71 | 72 | # Case-insensitive tab completion 73 | bind 'set completion-ignore-case on' 74 | 75 | # Change directories without typing cd 76 | shopt -s autocd 77 | 78 | # Show options on first tab 79 | bind "set show-all-if-ambiguous on" 80 | 81 | # Fnm 82 | eval "$(fnm env --use-on-cd)" 83 | 84 | # Infinte history 85 | HISTSIZE=-1 86 | HISTFILESIZE=-1 87 | 88 | # Don't save duplicate commands or commands starting with space 89 | HISTCONTROL=ignoreboth 90 | 91 | # Create and cd into directory 92 | mkcd() { mkdir -p "$1" && cd "$1"; } 93 | 94 | # Color stats in completion 95 | bind "set colored-stats on" 96 | 97 | export QT_QPA_PLATFORMTHEME=gtk2 98 | -------------------------------------------------------------------------------- /.config/bat/config: -------------------------------------------------------------------------------- 1 | --theme="base16" 2 | -------------------------------------------------------------------------------- /.config/cava/config: -------------------------------------------------------------------------------- 1 | [general] 2 | bar_width = 1 3 | bar_spacing = 0 4 | 5 | [color] 6 | foreground = '#839C98' 7 | gradient = 8 8 | gradient_color_1 = '#7E9AAB' 9 | gradient_color_2 = '#94B1C4' 10 | gradient_color_3 = '#839C98' 11 | gradient_color_4 = '#96B088' 12 | gradient_color_5 = '#CCAC7D' 13 | gradient_color_6 = '#839C98' 14 | gradient_color_7 = '#BC8F7D' 15 | gradient_color_8 = '#96B088' 16 | -------------------------------------------------------------------------------- /.config/dunst/dunstrc: -------------------------------------------------------------------------------- 1 | [global] 2 | # Defines where the notifications should be placed in a multi-monitor setup 3 | follow = keyboard 4 | 5 | # Fixed width of a notification 6 | width = 400 7 | 8 | # Maximum height of a single notification 9 | height = 300 10 | 11 | # Origin of the notification window on the screen 12 | origin = top-right 13 | 14 | # Offset from the origin 15 | offset = 8x42 16 | 17 | # When an integer value is passed to dunst as a hint, a progress bar will be drawn at the bottom of the notification 18 | progress_bar = true 19 | 20 | # Set the progress bar height 21 | progress_bar_height = 18 22 | 23 | # Set the frame width of the progress bar 24 | progress_bar_frame_width = 0 25 | 26 | # Set the minimum width of the progress bar 27 | progress_bar_min_width = 150 28 | 29 | # Set the maximum width of the progress bar 30 | progress_bar_max_width = 350 31 | 32 | # Set the corner radius of the progress bar 33 | progress_bar_corner_radius = 14 34 | 35 | # Vertical padding 36 | padding = 16 37 | 38 | # Horizontal padding 39 | horizontal_padding = 16 40 | 41 | # The distance from the text to the icon 42 | text_icon_padding = 16 43 | 44 | # Width of frame around the notification window 45 | frame_width = 0 46 | 47 | # Size of gap to display between notifications 48 | gap_size = 12 49 | 50 | font = CaskaydiaCove NFM 12 51 | 52 | # The amount of extra spacing between text lines in pixels 53 | line_height = 1.5 54 | 55 | # Format of the message ( bold tag, %s notification summary, %b notification body, \n new line) 56 | format = "%s\n%b" 57 | 58 | # Stack together notifications with the same content 59 | stack_duplicates = true 60 | 61 | # Don't hide the count of stacked notifications with the same content 62 | hide_duplicate_count = true 63 | 64 | # Show an indicator if a notification contains actions and/or open-able URLs 65 | show_indicators = false 66 | 67 | # This setting enables the new icon lookup method (required for icon_theme) 68 | enable_recursive_icon_lookup = true 69 | 70 | # Set icon theme (only used for recursive icon lookup) 71 | icon_theme = "Everforest-Dark, Papirus-Dark, Adwaita" 72 | 73 | min_icon_size = 32 74 | max_icon_size = 96 75 | icon_corner_radius = 10 76 | 77 | # Maximum amount of notifications kept in history 78 | history_length = 100 79 | 80 | # Define the title of the windows spawned by dunst 81 | title = Dunst 82 | 83 | # Define the class of the windows spawned by dunst 84 | class = Dunst 85 | 86 | # Define the corner radius of the notification window 87 | corner_radius = 10 88 | 89 | [urgency_low] 90 | background = "#242B2D" 91 | foreground = "#E6E7E6" 92 | timeout = 10 93 | 94 | [urgency_normal] 95 | background = "#242B2D" 96 | foreground = "#E6E7E6" 97 | timeout = 10 98 | 99 | [urgency_critical] 100 | background = "#242B2D" 101 | foreground = "#E6E7E6" 102 | timeout = 0 103 | -------------------------------------------------------------------------------- /.config/flameshot/flameshot.ini: -------------------------------------------------------------------------------- 1 | [General] 2 | contrastOpacity=188 3 | drawColor=#E5E7EB 4 | savePathFixed=false 5 | showHelp=false 6 | uiColor=#95B088 7 | contrastUiColor=#1D2326 8 | 9 | [Buttons] 10 | drawThickness=1 11 | 12 | [Grid] 13 | color=#485457 14 | -------------------------------------------------------------------------------- /.config/ghostty/config: -------------------------------------------------------------------------------- 1 | theme = "shadow.conf" 2 | 3 | font-family = "CaskaydiaCove NFM" 4 | font-size = 13 5 | 6 | window-padding-x = 16 7 | window-padding-y = 16 8 | 9 | window-decoration = "none" 10 | 11 | adjust-cell-height = "40%" 12 | -------------------------------------------------------------------------------- /.config/ghostty/themes/shadow.conf: -------------------------------------------------------------------------------- 1 | background = "#1D2326" 2 | foreground = "#E6E7E6" 3 | 4 | # Normal colors 5 | palette = 0=#242B2D 6 | palette = 1=#BC8F7D 7 | palette = 2=#96B088 8 | palette = 3=#CCAC7D 9 | palette = 4=#7E9AAB 10 | palette = 5=#A68CAA 11 | palette = 6=#839C98 12 | palette = 7=#CED3DC 13 | 14 | # Bright colors 15 | palette = 8=#485457 16 | palette = 9=#D4A394 17 | palette = 10=#ABC49E 18 | palette = 11=#E2BF8F 19 | palette = 12=#94B1C4 20 | palette = 13=#BC9EC0 21 | palette = 14=#97B3AF 22 | palette = 15=#E8EBF0 23 | -------------------------------------------------------------------------------- /.config/git/config: -------------------------------------------------------------------------------- 1 | [user] 2 | name = rjshkhr 3 | email = rjshekhar.official@gmail.com 4 | [push] 5 | autoSetupRemote = true 6 | [init] 7 | defaultBranch = main 8 | -------------------------------------------------------------------------------- /.config/kitty/colorschemes/shadow.conf: -------------------------------------------------------------------------------- 1 | background #1D2326 2 | foreground #E6E7E6 3 | cursor #9CA3AF 4 | color0 #242B2D 5 | color8 #485457 6 | color1 #BC8F7D 7 | color9 #D4A394 8 | color2 #96B088 9 | color10 #ABC49E 10 | color3 #CCAC7D 11 | color11 #E2BF8F 12 | color4 #7E9AAB 13 | color12 #94B1C4 14 | color5 #A68CAA 15 | color13 #BC9EC0 16 | color6 #839C98 17 | color14 #97B3AF 18 | color7 #CED3DC 19 | color15 #E8EBF0 20 | -------------------------------------------------------------------------------- /.config/kitty/kitty.conf: -------------------------------------------------------------------------------- 1 | # Font 2 | font_size 13 3 | font_family CaskaydiaCove Nerd Font 4 | 5 | # Line height 6 | modify_font cell_height 140% 7 | 8 | # Close without confirm 9 | confirm_os_window_close 0 10 | 11 | # Remove sound 12 | enable_audio_bell 0 13 | 14 | # Window padding 15 | window_padding_width 16 16 | 17 | # Copy text as soon as it's selected 18 | copy_on_select yes 19 | 20 | include colorschemes/shadow.conf 21 | -------------------------------------------------------------------------------- /.config/networkmanager-dmenu/config.ini: -------------------------------------------------------------------------------- 1 | [dmenu] 2 | dmenu_command = rofi 3 | rofi_highlight = True 4 | compact = True 5 | wifi_chars = ▂▄▆█ 6 | list_saved = True 7 | 8 | [dmenu_passphrase] 9 | rofi_obscure = True 10 | 11 | [editor] 12 | terminal = kitty 13 | gui_if_available = True 14 | -------------------------------------------------------------------------------- /.config/nvim/init.lua: -------------------------------------------------------------------------------- 1 | require("config.lazy") 2 | -------------------------------------------------------------------------------- /.config/nvim/lazy-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" }, 3 | "cmp-nvim-lsp": { "branch": "main", "commit": "99290b3ec1322070bcfb9e846450a46f6efa50f0" }, 4 | "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, 5 | "conform.nvim": { "branch": "master", "commit": "363243c03102a531a8203311d4f2ae704c620d9b" }, 6 | "dressing.nvim": { "branch": "master", "commit": "56ef6a969a4990d938c5fed40c370f65e125fc97" }, 7 | "lake.nvim": { "branch": "main", "commit": "e9104817277682034cf31069fd0f0615743968cd" }, 8 | "lazy.nvim": { "branch": "main", "commit": "7527af40ddd4a93a02911be570b32609b9d4ea53" }, 9 | "lspkind.nvim": { "branch": "master", "commit": "d79a1c3299ad0ef94e255d045bed9fa26025dab6" }, 10 | "mason-lspconfig.nvim": { "branch": "main", "commit": "f75e877f5266e87523eb5a18fcde2081820d087b" }, 11 | "mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" }, 12 | "nvim-autopairs": { "branch": "master", "commit": "3d02855468f94bf435db41b661b58ec4f48a06b7" }, 13 | "nvim-cmp": { "branch": "main", "commit": "12509903a5723a876abd65953109f926f4634c30" }, 14 | "nvim-colorizer.lua": { "branch": "master", "commit": "a065833f35a3a7cc3ef137ac88b5381da2ba302e" }, 15 | "nvim-lint": { "branch": "master", "commit": "789b7ada1b4f00e08d026dffde410dcfa6a0ba87" }, 16 | "nvim-lspconfig": { "branch": "master", "commit": "ead2fbc4893fdd062e1dd0842679a48bfb7bac5c" }, 17 | "nvim-treesitter": { "branch": "master", "commit": "7e3942ceca9e0c28760f77ac33bc16399146d879" }, 18 | "nvim-ts-context-commentstring": { "branch": "main", "commit": "1b212c2eee76d787bbea6aa5e92a2b534e7b4f8f" }, 19 | "nvim-web-devicons": { "branch": "master", "commit": "1c9136332840edee0c593f2f4f89598c8ed97f5f" }, 20 | "oil.nvim": { "branch": "master", "commit": "add50252b5e9147c0a09d36480d418c7e2737472" }, 21 | "plenary.nvim": { "branch": "master", "commit": "3707cdb1e43f5cea73afb6037e6494e7ce847a66" }, 22 | "telescope.nvim": { "branch": "master", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" } 23 | } 24 | -------------------------------------------------------------------------------- /.config/nvim/lua/config/autocmds.lua: -------------------------------------------------------------------------------- 1 | vim.cmd([[au BufEnter * set fo-=c fo-=r fo-=o]]) -- Disable new line comments 2 | 3 | -- Highlight on yank 4 | vim.api.nvim_exec( 5 | [[ 6 | augroup YankHighlight 7 | autocmd! 8 | autocmd TextYankPost * silent! lua vim.highlight.on_yank() 9 | augroup end 10 | ]], 11 | false 12 | ) 13 | 14 | -- Remove all white spaces at the end of the file on save 15 | vim.cmd([[au BufWritePre * %s/\s\+$//e]]) 16 | vim.cmd([[au BufWritePre * %s/\n\+\%$//e]]) 17 | 18 | -- Terminal 19 | vim.api.nvim_create_autocmd("TermOpen", { 20 | callback = function() 21 | vim.opt_local.number = false 22 | vim.opt_local.relativenumber = false 23 | vim.cmd("startinsert") 24 | end, 25 | }) 26 | -------------------------------------------------------------------------------- /.config/nvim/lua/config/globals.lua: -------------------------------------------------------------------------------- 1 | local g = vim.g 2 | 3 | g.mapleader = " " 4 | g.maplocalleader = " " 5 | -------------------------------------------------------------------------------- /.config/nvim/lua/config/keymaps.lua: -------------------------------------------------------------------------------- 1 | local keymap = vim.keymap 2 | local opts = { noremap = true, silent = true } 3 | 4 | keymap.set("n", ";p", '"0P', opts) -- Paste last yanked 5 | keymap.set("n", "", ":set hlsearch!") -- Toggle search highlight 6 | 7 | -- Panes 8 | keymap.set("n", "", "h", opts) 9 | keymap.set("n", "", "j", opts) 10 | keymap.set("n", "", "k", opts) 11 | keymap.set("n", "", "l", opts) 12 | 13 | -- Windows 14 | keymap.set("n", "v", ":vsplit", opts) 15 | keymap.set("n", "h", ":split", opts) 16 | 17 | -- Buffers 18 | keymap.set("n", "", ":bnext", opts) 19 | keymap.set("n", "", ":bprev", opts) 20 | keymap.set("n", "x", ":bdelete!", opts) 21 | 22 | -- Vertical split resize 23 | keymap.set("n", "", ":vertical resize +3") 24 | keymap.set("n", "", ":vertical resize -3") 25 | 26 | -- Continuing indentation 27 | keymap.set("v", "<", "", ">gv") 29 | 30 | -- Terminal 31 | vim.keymap.set("n", "t", ":botright 8split | terminal", opts) 32 | vim.keymap.set("t", "", "") 33 | -------------------------------------------------------------------------------- /.config/nvim/lua/config/lazy.lua: -------------------------------------------------------------------------------- 1 | local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" 2 | if not (vim.uv or vim.loop).fs_stat(lazypath) then 3 | local lazyrepo = "https://github.com/folke/lazy.nvim.git" 4 | local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath }) 5 | if vim.v.shell_error ~= 0 then 6 | vim.api.nvim_echo({ 7 | { "Failed to clone lazy.nvim:\n", "ErrorMsg" }, 8 | { out, "WarningMsg" }, 9 | { "\nPress any key to exit..." }, 10 | }, true, {}) 11 | vim.fn.getchar() 12 | os.exit(1) 13 | end 14 | end 15 | vim.opt.rtp:prepend(lazypath) 16 | 17 | require("config.globals") 18 | require("config.options") 19 | require("config.keymaps") 20 | require("config.autocmds") 21 | require("config.statusline") 22 | 23 | require("lazy").setup({ 24 | spec = { 25 | { import = "plugins" }, 26 | }, 27 | install = { colorscheme = { "shadow" } }, 28 | checker = { enabled = false }, 29 | }) 30 | -------------------------------------------------------------------------------- /.config/nvim/lua/config/options.lua: -------------------------------------------------------------------------------- 1 | local opt = vim.opt 2 | 3 | opt.ignorecase = true -- Case insensitive search 4 | opt.smartcase = true -- Case sensitive when uppercase 5 | opt.undofile = true -- Enable undo file 6 | opt.swapfile = false -- Disable swap file 7 | opt.showmode = false 8 | opt.iskeyword:append("-") -- Treat words separated by - as one word 9 | opt.clipboard:append("unnamedplus") -- Enable copying to system clipboard 10 | 11 | -- Splits 12 | opt.splitbelow = true 13 | opt.splitright = true 14 | 15 | -- Indentation 16 | opt.tabstop = 2 17 | opt.shiftwidth = 2 18 | opt.softtabstop = 2 19 | opt.expandtab = true 20 | 21 | -- Lines 22 | opt.number = true 23 | opt.relativenumber = true 24 | opt.wrap = false 25 | opt.cursorline = true 26 | 27 | -- Appearance 28 | opt.scrolloff = 10 29 | opt.sidescrolloff = 10 30 | -------------------------------------------------------------------------------- /.config/nvim/lua/config/statusline.lua: -------------------------------------------------------------------------------- 1 | local mode_colors = { 2 | n = "StatusLineModeNormal", 3 | i = "StatusLineModeInsert", 4 | v = "StatusLineModeVisual", 5 | [""] = "StatusLineModeVisual", 6 | V = "StatusLineModeVisual", 7 | c = "StatusLineModeCommand", 8 | R = "StatusLineModeReplace", 9 | t = "StatusLineModeTerminal", 10 | } 11 | 12 | local mode_names = { 13 | n = "NORMAL", 14 | i = "INSERT", 15 | v = "VISUAL", 16 | [""] = "V-BLOCK", 17 | V = "V-LINE", 18 | c = "COMMAND", 19 | R = "REPLACE", 20 | t = "TERMINAL", 21 | } 22 | 23 | local filetype_icons = { 24 | ["typescript"] = "", 25 | ["javascript"] = "", 26 | ["javascriptreact"] = "", 27 | ["typescriptreact"] = "", 28 | ["svelte"] = "", 29 | ["python"] = "", 30 | ["java"] = "", 31 | ["html"] = "", 32 | ["css"] = "", 33 | ["scss"] = "", 34 | ["php"] = "", 35 | ["kotlin"] = "", 36 | ["markdown"] = "", 37 | ["sh"] = "", 38 | ["zsh"] = "", 39 | ["vim"] = "", 40 | ["rust"] = "", 41 | ["c"] = "", 42 | ["cpp"] = "", 43 | ["cs"] = "", 44 | ["go"] = "", 45 | ["lua"] = "", 46 | ["conf"] = "", 47 | ["haskell"] = "", 48 | ["ruby"] = "", 49 | } 50 | 51 | local function get_filetype_icon() 52 | local ft = vim.bo.filetype 53 | return filetype_icons[ft] or " " 54 | end 55 | 56 | local function get_mode() 57 | local mode = vim.api.nvim_get_mode().mode 58 | return "%#" .. (mode_colors[mode] or "StatusLineModeNormal") .. "#" 59 | end 60 | 61 | local function get_mode_name() 62 | local mode = vim.api.nvim_get_mode().mode 63 | return mode_names[mode] or mode 64 | end 65 | 66 | local function get_modified() 67 | if vim.bo.modified then 68 | return "" 69 | end 70 | return "" 71 | end 72 | 73 | vim.o.statusline = table.concat({ 74 | "%{%v:lua.require'config.statusline'.get_mode()%}", 75 | " %{v:lua.require'config.statusline'.get_mode_name()} ", 76 | "%#StatusLinePath#", 77 | " %f ", 78 | "%#StatusLineModified#", 79 | "%{v:lua.require'config.statusline'.get_modified()}", 80 | "%#StatusLineFlags#", 81 | "%r%h%w", 82 | "%=", 83 | "%#StatusLineFileType#", 84 | "%{v:lua.require'config.statusline'.get_filetype_icon()}", 85 | " %{&filetype} ", 86 | "%#StatusLinePosition#", 87 | " %l:%c ", 88 | }) 89 | 90 | return { 91 | get_mode = get_mode, 92 | get_mode_name = get_mode_name, 93 | get_modified = get_modified, 94 | get_filetype_icon = get_filetype_icon, 95 | } 96 | -------------------------------------------------------------------------------- /.config/nvim/lua/plugins/colorizer.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "norcalli/nvim-colorizer.lua", 3 | config = function() 4 | require("colorizer").setup() 5 | end, 6 | } 7 | -------------------------------------------------------------------------------- /.config/nvim/lua/plugins/comment.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "numToStr/Comment.nvim", 3 | dependencies = "JoosepAlviste/nvim-ts-context-commentstring", 4 | config = function() 5 | require("Comment").setup({ 6 | pre_hook = require("ts_context_commentstring.integrations.comment_nvim").create_pre_hook(), 7 | }) 8 | end, 9 | } 10 | -------------------------------------------------------------------------------- /.config/nvim/lua/plugins/conform.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "stevearc/conform.nvim", 3 | config = function() 4 | local conform = require("conform") 5 | 6 | conform.setup({ 7 | formatters_by_ft = { 8 | lua = { "stylua" }, 9 | typescript = { "prettierd" }, 10 | typescriptreact = { "prettierd" }, 11 | javascript = { "prettierd" }, 12 | javascriptreact = { "prettierd" }, 13 | html = { "prettierd" }, 14 | css = { "prettierd" }, 15 | json = { "prettierd" }, 16 | markdown = { "prettierd" }, 17 | python = { "black" }, 18 | }, 19 | format_on_save = { 20 | lsp_fallback = true, 21 | async = false, 22 | timeout_ms = 1000, 23 | }, 24 | }) 25 | end, 26 | } 27 | -------------------------------------------------------------------------------- /.config/nvim/lua/plugins/dressing.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "stevearc/dressing.nvim", 3 | opts = {}, 4 | } 5 | -------------------------------------------------------------------------------- /.config/nvim/lua/plugins/lspconfig.lua: -------------------------------------------------------------------------------- 1 | local on_attach = function(_, bufnr) 2 | local keymap = vim.keymap 3 | local opts = { noremap = true, silent = true, buffer = bufnr } 4 | 5 | keymap.set("n", "[d", vim.diagnostic.goto_prev, opts) 6 | keymap.set("n", "]d", vim.diagnostic.goto_next, opts) 7 | keymap.set("n", "gD", vim.lsp.buf.declaration, opts) 8 | keymap.set("n", "gd", vim.lsp.buf.definition, opts) 9 | keymap.set("n", "gr", vim.lsp.buf.references, opts) 10 | keymap.set("n", "gi", vim.lsp.buf.implementation, opts) 11 | keymap.set("n", "K", vim.lsp.buf.hover, opts) 12 | keymap.set("n", "", vim.lsp.buf.signature_help, opts) 13 | keymap.set("n", "D", vim.lsp.buf.type_definition, opts) 14 | keymap.set("n", "rn", vim.lsp.buf.rename, opts) 15 | keymap.set({ "n", "v" }, "ca", vim.lsp.buf.code_action, opts) 16 | end 17 | 18 | local config = function() 19 | local lspconfig = require("lspconfig") 20 | local capabilities = require("cmp_nvim_lsp").default_capabilities() 21 | local signs = { Error = " ", Warn = " ", Hint = " ", Info = " " } 22 | 23 | for type, icon in pairs(signs) do 24 | local hl = "DiagnosticSign" .. type 25 | vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = hl }) 26 | end 27 | 28 | lspconfig.lua_ls.setup({ 29 | on_attach = on_attach, 30 | capabalities = capabilities, 31 | settings = { 32 | Lua = { 33 | runtime = { 34 | version = "LuaJIT", 35 | }, 36 | workspace = { 37 | checkThirdParty = false, 38 | library = { 39 | vim.env.VIMRUNTIME, 40 | }, 41 | }, 42 | }, 43 | }, 44 | }) 45 | 46 | lspconfig.pyright.setup({ 47 | on_attach = on_attach, 48 | capabilities = capabilities, 49 | settings = { 50 | pyright = { 51 | disableOrganizeImports = false, 52 | analysis = { 53 | autoImportCompletions = true, 54 | }, 55 | }, 56 | }, 57 | }) 58 | 59 | local servers = { 60 | "gopls", 61 | "ts_ls", 62 | "bashls", 63 | "tailwindcss", 64 | "docker_compose_language_service", 65 | "dockerls", 66 | } 67 | 68 | for _, a in ipairs(servers) do 69 | require("lspconfig")[a].setup({ 70 | on_attach = on_attach, 71 | capabilities = capabilities, 72 | }) 73 | end 74 | end 75 | 76 | return { 77 | "neovim/nvim-lspconfig", 78 | dependencies = { 79 | "williamboman/mason.nvim", 80 | "hrsh7th/nvim-cmp", 81 | "hrsh7th/cmp-nvim-lsp", 82 | }, 83 | config = config, 84 | } 85 | -------------------------------------------------------------------------------- /.config/nvim/lua/plugins/mason-lspconfig.lua: -------------------------------------------------------------------------------- 1 | local config = function() 2 | require("mason-lspconfig").setup({ 3 | ensure_installed = { 4 | "lua_ls", 5 | "pyright", 6 | "bashls", 7 | "ts_ls", 8 | "tailwindcss", 9 | "gopls", 10 | "docker_compose_language_service", 11 | "dockerls", 12 | }, 13 | 14 | automatic_installation = true, 15 | }) 16 | end 17 | 18 | return { 19 | "williamboman/mason-lspconfig.nvim", 20 | dependencies = "williamboman/mason.nvim", 21 | event = "BufReadPre", 22 | config = config, 23 | } 24 | -------------------------------------------------------------------------------- /.config/nvim/lua/plugins/mason.lua: -------------------------------------------------------------------------------- 1 | local config = function() 2 | require("mason").setup({ 3 | ui = { 4 | icons = { 5 | package_installed = "✓", 6 | package_pending = "󰮏", 7 | package_uninstalled = "", 8 | }, 9 | }, 10 | }) 11 | end 12 | 13 | return { 14 | { 15 | "williamboman/mason.nvim", 16 | cmd = "Mason", 17 | config = config, 18 | }, 19 | } 20 | -------------------------------------------------------------------------------- /.config/nvim/lua/plugins/nvim-autopairs.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "windwp/nvim-autopairs", 3 | event = "InsertEnter", 4 | opts = {}, 5 | } 6 | -------------------------------------------------------------------------------- /.config/nvim/lua/plugins/nvim-cmp.lua: -------------------------------------------------------------------------------- 1 | local config = function() 2 | local cmp = require("cmp") 3 | local lspkind = require("lspkind") 4 | 5 | vim.opt.completeopt = "menu,menuone,noselect" 6 | 7 | cmp.setup({ 8 | mapping = cmp.mapping.preset.insert({ 9 | [""] = cmp.mapping.confirm({ 10 | behavior = cmp.ConfirmBehavior.Replace, 11 | select = true, 12 | }), 13 | [""] = cmp.mapping(function(fallback) 14 | if cmp.visible() then 15 | cmp.select_next_item() 16 | else 17 | fallback() 18 | end 19 | end, { "i", "s" }), 20 | [""] = cmp.mapping(function(fallback) 21 | if cmp.visible() then 22 | cmp.select_prev_item() 23 | else 24 | fallback() 25 | end 26 | end, { "i", "s" }), 27 | }), 28 | sources = { 29 | { name = "nvim_lsp" }, 30 | { name = "path" }, 31 | }, 32 | window = { 33 | completion = { border = "solid" }, 34 | documentation = { border = "solid" } 35 | }, 36 | formatting = { 37 | fields = { "kind", "abbr", "menu" }, 38 | format = function(entry, vim_item) 39 | local kind = lspkind.cmp_format({ mode = "symbol_text", maxwidth = 50 })(entry, vim_item) 40 | local strings = vim.split(kind.kind, "%s", { trimempty = true }) 41 | kind.kind = " " .. (strings[1] or "") .. " " 42 | kind.menu = " (" .. (strings[2] or "") .. ")" 43 | 44 | return kind 45 | end, 46 | }, 47 | }) 48 | end 49 | 50 | return { 51 | "hrsh7th/nvim-cmp", 52 | dependencies = { 53 | "hrsh7th/cmp-nvim-lsp", 54 | "onsails/lspkind.nvim", 55 | "hrsh7th/cmp-path", 56 | }, 57 | config = config, 58 | } 59 | -------------------------------------------------------------------------------- /.config/nvim/lua/plugins/nvim-lint.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "mfussenegger/nvim-lint", 3 | config = function() 4 | local lint = require("lint") 5 | 6 | lint.linters_by_ft = { 7 | javascript = { "eslint_d" }, 8 | typescript = { "eslint_d" }, 9 | javascriptreact = { "eslint_d" }, 10 | typescriptreact = { "eslint_d" }, 11 | svelte = { "eslint_d" }, 12 | python = { "pylint" }, 13 | } 14 | 15 | vim.api.nvim_create_autocmd({ "BufEnter", "BufWritePost", "InsertLeave" }, { 16 | callback = function() 17 | lint.try_lint() 18 | end, 19 | }) 20 | end, 21 | } 22 | -------------------------------------------------------------------------------- /.config/nvim/lua/plugins/nvim-web-devicons.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "nvim-tree/nvim-web-devicons", 3 | } 4 | -------------------------------------------------------------------------------- /.config/nvim/lua/plugins/oil.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "stevearc/oil.nvim", 3 | opts = {}, 4 | dependencies = { "nvim-tree/nvim-web-devicons" }, 5 | config = function() 6 | require("oil").setup({ 7 | view_options = { 8 | show_hidden = true, 9 | }, 10 | float = { 11 | max_width = 60, 12 | }, 13 | }) 14 | 15 | local keymap = vim.keymap 16 | local opts = { noremap = true, silent = true } 17 | 18 | keymap.set("n", "ee", ":Oil", opts) 19 | keymap.set("n", "ef", ':lua require("oil").toggle_float()', opts) 20 | end, 21 | } 22 | -------------------------------------------------------------------------------- /.config/nvim/lua/plugins/shadow.lua: -------------------------------------------------------------------------------- 1 | return { 2 | -- "rjshkhr/shadow.nvim", 3 | dir = "~/Projects/shadow.nvim", 4 | priority = 1000, 5 | config = function() 6 | vim.opt.termguicolors = true 7 | vim.cmd.colorscheme("shadow") 8 | end, 9 | } 10 | -------------------------------------------------------------------------------- /.config/nvim/lua/plugins/telescope.lua: -------------------------------------------------------------------------------- 1 | local config = function() 2 | local telescope = require("telescope") 3 | 4 | telescope.setup({ 5 | defaults = { 6 | borderchars = { "" }, 7 | }, 8 | }) 9 | end 10 | 11 | return { 12 | "nvim-telescope/telescope.nvim", 13 | tag = "0.1.8", 14 | dependencies = { "nvim-lua/plenary.nvim" }, 15 | keys = { 16 | { "ff", "Telescope find_files", desc = "Files" }, 17 | { "fb", "Telescope buffers", desc = "Buffers" }, 18 | { "fr", "Telescope oldfiles", desc = "Recent" }, 19 | { "fg", "Telescope live_grep", desc = "Search by Grep" }, 20 | }, 21 | config = config, 22 | } 23 | -------------------------------------------------------------------------------- /.config/nvim/lua/plugins/treesitter.lua: -------------------------------------------------------------------------------- 1 | local config = function() 2 | require("nvim-treesitter.configs").setup({ 3 | auto_install = true, 4 | highlight = { 5 | enable = true, 6 | }, 7 | autotag = { 8 | enable = true, 9 | }, 10 | }) 11 | end 12 | 13 | return { 14 | "nvim-treesitter/nvim-treesitter", 15 | build = ":TSUpdate", 16 | event = { 17 | "BufReadPre", 18 | "BufNewFile", 19 | }, 20 | config = config, 21 | } 22 | -------------------------------------------------------------------------------- /.config/picom/picom.conf: -------------------------------------------------------------------------------- 1 | shadow = false 2 | 3 | fading = false 4 | 5 | corner-radius = 16 6 | 7 | rounded-corners-exclude = [ 8 | "QTILE_INTERNAL:32c = 1", # qtile bar 9 | ] 10 | 11 | animations = ( 12 | { 13 | triggers = ["close", "hide"]; 14 | preset = "disappear"; 15 | duration = 0.1; 16 | }, 17 | { 18 | triggers = ["open", "show"]; 19 | preset = "appear"; 20 | duration = 0.1; 21 | }, 22 | ) 23 | 24 | backend = "glx" 25 | -------------------------------------------------------------------------------- /.config/qtile/autostart.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Restore wallpaper 4 | ./.fehbg & 5 | 6 | # Start notification daemon 7 | dunst & 8 | 9 | # Start clipboard daemon 10 | greenclip daemon & 11 | 12 | # Start compositor 13 | picom & 14 | 15 | # Map capslock to escape 16 | setxkbmap -option caps:escape 17 | 18 | # Start polkit agent 19 | /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & 20 | 21 | # Screen blank - 5 min 22 | xset s 300 23 | 24 | # Lock on blank 25 | xss-lock -- ~/.local/bin/lock & 26 | 27 | # Suspend - 15 min 28 | xidlehook --timer 900 'systemctl suspend' '' & 29 | -------------------------------------------------------------------------------- /.config/qtile/colors.py: -------------------------------------------------------------------------------- 1 | """Colorschemes""" 2 | 3 | shadow = { 4 | "background": "#1D2326", 5 | "foreground": "#E6E7E6", 6 | "color0": "#242B2D", 7 | "color8": "#485457", 8 | "color1": "#BC8F7D", 9 | "color9": "#D4A394", 10 | "color2": "#96B088", 11 | "color10": "#ABC49E", 12 | "color3": "#CCAC7D", 13 | "color11": "#E2BF8F", 14 | "color4": "#7E9AAB", 15 | "color12": "#94B1C4", 16 | "color5": "#A68CAA", 17 | "color13": "#BC9EC0", 18 | "color6": "#839C98", 19 | "color14": "#97B3AF", 20 | "color7": "#CED3DC", 21 | "color15": "#E8EBF0", 22 | } 23 | 24 | colors = shadow 25 | -------------------------------------------------------------------------------- /.config/qtile/config.py: -------------------------------------------------------------------------------- 1 | """Qtile configuration file""" 2 | 3 | import os 4 | import subprocess 5 | 6 | from libqtile import bar, layout, qtile, hook 7 | from libqtile.config import Click, Drag, Group, Key, Match, Screen 8 | from libqtile.lazy import lazy 9 | from qtile_extras import widget 10 | from qtile_extras.widget.decorations import RectDecoration 11 | from colors import colors 12 | 13 | # pylint: disable=invalid-name 14 | 15 | mod = "mod4" 16 | terminal = "kitty" 17 | widget_radius = 18 18 | 19 | 20 | @lazy.function 21 | def center_floating_window(qtile_instance): 22 | """Center the current floating window on the screen. 23 | 24 | Args: 25 | qtile_instance: The Qtile instance object 26 | """ 27 | 28 | window = qtile_instance.current_window 29 | if window and window.floating: 30 | window.center() 31 | 32 | 33 | keys = [ 34 | Key([mod], "h", lazy.layout.left(), desc="Move focus to left"), 35 | Key([mod], "l", lazy.layout.right(), desc="Move focus to right"), 36 | Key([mod], "j", lazy.layout.down(), desc="Move focus down"), 37 | Key([mod], "k", lazy.layout.up(), desc="Move focus up"), 38 | Key([mod], "space", lazy.layout.next(), desc="Move window focus to other window"), 39 | Key( 40 | [mod, "shift"], "h", lazy.layout.shuffle_left(), desc="Move window to the left" 41 | ), 42 | Key( 43 | [mod, "shift"], 44 | "l", 45 | lazy.layout.shuffle_right(), 46 | desc="Move window to the right", 47 | ), 48 | Key([mod, "shift"], "j", lazy.layout.shuffle_down(), desc="Move window down"), 49 | Key([mod, "shift"], "k", lazy.layout.shuffle_up(), desc="Move window up"), 50 | Key([mod, "control"], "h", lazy.layout.grow_left(), desc="Grow window to the left"), 51 | Key( 52 | [mod, "control"], "l", lazy.layout.grow_right(), desc="Grow window to the right" 53 | ), 54 | Key([mod, "control"], "j", lazy.layout.grow_down(), desc="Grow window down"), 55 | Key([mod, "control"], "k", lazy.layout.grow_up(), desc="Grow window up"), 56 | Key([mod], "n", lazy.layout.normalize(), desc="Reset all window sizes"), 57 | Key( 58 | [mod, "shift"], 59 | "Return", 60 | lazy.layout.toggle_split(), 61 | desc="Toggle between split and unsplit sides of stack", 62 | ), 63 | Key([mod], "Return", lazy.spawn(terminal), desc="Launch terminal"), 64 | Key([], "XF86AudioRaiseVolume", lazy.spawn("pactl set-sink-volume 0 +5%")), 65 | Key([], "XF86AudioLowerVolume", lazy.spawn("pactl set-sink-volume 0 -5%")), 66 | Key([], "XF86AudioMute", lazy.spawn("pactl set-sink-mute 0 toggle")), 67 | Key([], "XF86MonBrightnessUp", lazy.spawn("brightnessctl s 5%+")), 68 | Key([], "XF86MonBrightnessDown", lazy.spawn("brightnessctl s 5%-")), 69 | Key([], "Print", lazy.spawn("flameshot gui")), 70 | Key([mod], "Tab", lazy.next_layout(), desc="Toggle between layouts"), 71 | Key([mod], "w", lazy.window.kill(), desc="Kill focused window"), 72 | Key( 73 | [mod], 74 | "f", 75 | lazy.window.toggle_fullscreen(), 76 | desc="Toggle fullscreen on the focused window", 77 | ), 78 | Key( 79 | [mod], 80 | "t", 81 | lazy.window.toggle_floating(), 82 | desc="Toggle floating on the focused window", 83 | ), 84 | Key([mod, "control"], "r", lazy.reload_config(), desc="Reload the config"), 85 | Key([mod, "shift"], "q", lazy.shutdown(), desc="Shutdown Qtile"), 86 | Key( 87 | [mod], "r", lazy.spawn("rofi -show drun -p '' -theme ~/.config/rofi/drun.rasi") 88 | ), 89 | Key([mod, "shift"], "n", lazy.spawn("nemo")), 90 | Key([mod, "shift"], "r", lazy.spawn(f"{terminal} -e ranger"), desc="Open ranger"), 91 | Key( 92 | [mod, "shift"], 93 | "c", 94 | center_floating_window, 95 | desc="Center floating window", 96 | ), 97 | Key([mod, "mod1"], "w", lazy.spawn("google-chrome-stable")), 98 | Key([mod, "mod1"], "p", lazy.spawn("firefox")), 99 | Key([mod, "mod1"], "s", lazy.spawn(os.path.expanduser("~/.local/bin/powermenu"))), 100 | Key([mod, "mod1"], "l", lazy.spawn(os.path.expanduser("~/.local/bin/lock"))), 101 | Key( 102 | [mod, "mod1"], 103 | "c", 104 | lazy.spawn( 105 | "rofi -modi 'clipboard:greenclip print' -theme ~/.config/rofi/clipboard.rasi " 106 | + "-show clipboard" 107 | ), 108 | ), 109 | Key( 110 | [mod, "mod1"], 111 | "n", 112 | lazy.spawn("networkmanager_dmenu -theme ~/.config/rofi/networkmenu.rasi"), 113 | ), 114 | ] 115 | 116 | for vt in range(1, 8): 117 | keys.append( 118 | Key( 119 | ["control", "mod1"], 120 | f"f{vt}", 121 | lazy.core.change_vt(vt).when(func=lambda: qtile.core.name == "wayland"), 122 | desc=f"Switch to VT{vt}", 123 | ) 124 | ) 125 | 126 | 127 | groups = [ 128 | Group(i[0], label=i[1]) 129 | for i in [("1", ""), ("2", "󰈹"), ("3", ""), ("4", "󰉋"), ("5", "󰭹"), ("6", "󰣇")] 130 | ] 131 | 132 | for i in groups: 133 | keys.extend( 134 | [ 135 | Key( 136 | [mod], 137 | i.name, 138 | lazy.group[i.name].toscreen(), 139 | desc=f"Switch to group {i.name}", 140 | ), 141 | Key( 142 | [mod, "shift"], 143 | i.name, 144 | lazy.window.togroup(i.name, switch_group=True), 145 | desc=f"Switch to & move focused window to group {i.name}", 146 | ), 147 | ] 148 | ) 149 | 150 | layouts = [ 151 | layout.MonadTall( 152 | border_width=4, 153 | single_border_width=0, 154 | margin=8, 155 | border_focus=colors["color7"], 156 | border_normal=colors["color8"], 157 | ), 158 | layout.Max(margin=8), 159 | ] 160 | 161 | widget_defaults = { 162 | "font": "CaskaydiaCove NF Bold", 163 | "fontsize": 16, 164 | "padding": 20, 165 | } 166 | 167 | extension_defaults = widget_defaults.copy() 168 | 169 | 170 | def get_backlight_device(): 171 | """ 172 | Detects and returns the first available backlight device. 173 | 174 | Returns: 175 | str: The name of the first available backlight device. 176 | None: If no backlight device is found. 177 | """ 178 | backlight_dir = "/sys/class/backlight" 179 | if os.path.isdir(backlight_dir): 180 | devices = os.listdir(backlight_dir) 181 | if len(devices) > 0: 182 | return devices[0] 183 | return None 184 | 185 | 186 | def get_wireless_interface(): 187 | """ 188 | Dynamically detect the wireless network interface. 189 | 190 | Returns: 191 | str: Name of the wireless network interface. 192 | """ 193 | result = subprocess.run(["ip", "link"], capture_output=True, text=True, check=True) 194 | for line in result.stdout.split("\n"): 195 | if "wlan" in line or "wlp" in line: 196 | return line.split(":")[1].strip() 197 | return "wlan0" 198 | 199 | 200 | sep_config = { 201 | "size_percent": 0, 202 | "padding": 8, 203 | } 204 | 205 | screens = [ 206 | Screen( 207 | top=bar.Bar( 208 | [ 209 | widget.TextBox( 210 | text="󰀻", 211 | foreground=colors["background"], 212 | mouse_callbacks={ 213 | "Button1": lambda: qtile.cmd_spawn( 214 | "rofi -show drun -p '' -theme ~/.config/rofi/drun.rasi" 215 | ) 216 | }, 217 | decorations=[ 218 | RectDecoration( 219 | colour=colors["color4"], 220 | radius=widget_radius, 221 | filled=True, 222 | ) 223 | ], 224 | ), 225 | widget.Sep(**sep_config), 226 | widget.TextBox( 227 | text="󰖯", 228 | foreground=colors["background"], 229 | mouse_callbacks={ 230 | "Button1": lambda: qtile.cmd_spawn( 231 | "rofi -show window -p '' -theme ~/.config/rofi/window.rasi" 232 | ) 233 | }, 234 | decorations=[ 235 | RectDecoration( 236 | colour=colors["color6"], 237 | radius=widget_radius, 238 | filled=True, 239 | ) 240 | ], 241 | ), 242 | widget.Sep(**sep_config), 243 | widget.GroupBox( 244 | borderwidth=0, 245 | block_highlight_text_color=colors["color3"], 246 | active=colors["foreground"], 247 | inactive=colors["color8"], 248 | disable_drag=True, 249 | radius=True, 250 | padding_x=0, 251 | margin_x=28, 252 | decorations=[ 253 | RectDecoration( 254 | colour=colors["background"], 255 | radius=widget_radius, 256 | filled=True, 257 | ) 258 | ], 259 | ), 260 | widget.Prompt(foreground=colors["color8"]), 261 | widget.Spacer(), 262 | widget.Memory( 263 | format="󰍛 {MemUsed:.0f}{mm}", 264 | decorations=[ 265 | RectDecoration( 266 | colour=colors["background"], 267 | radius=widget_radius, 268 | filled=True, 269 | ) 270 | ], 271 | foreground=colors["color5"], 272 | ), 273 | widget.Sep(**sep_config), 274 | widget.CPU( 275 | format="󰘚 {load_percent}%", 276 | decorations=[ 277 | RectDecoration( 278 | colour=colors["background"], 279 | radius=widget_radius, 280 | filled=True, 281 | ) 282 | ], 283 | foreground=colors["color6"], 284 | ), 285 | widget.Sep(**sep_config), 286 | widget.Battery( 287 | format="{char} {percent:2.0%}", 288 | charge_char="󰂄", 289 | discharge_char="󰁹", 290 | empty_char="󰂃", 291 | full_char="󰁹", 292 | show_short_text=False, 293 | not_charging_char="󰁹", 294 | decorations=[ 295 | RectDecoration( 296 | colour=colors["background"], 297 | radius=widget_radius, 298 | filled=True, 299 | ) 300 | ], 301 | foreground=colors["color2"], 302 | ), 303 | widget.Sep(**sep_config), 304 | widget.Backlight( 305 | fmt="󰃚 {}", 306 | backlight_name=get_backlight_device(), 307 | decorations=[ 308 | RectDecoration( 309 | colour=colors["background"], 310 | radius=widget_radius, 311 | filled=True, 312 | ) 313 | ], 314 | foreground=colors["color3"], 315 | ), 316 | widget.Sep(**sep_config), 317 | widget.Clock( 318 | format="󰥔 %I:%M", 319 | decorations=[ 320 | RectDecoration( 321 | colour=colors["background"], 322 | radius=widget_radius, 323 | filled=True, 324 | ) 325 | ], 326 | foreground=colors["color4"], 327 | ), 328 | widget.Sep(**sep_config), 329 | widget.Wlan( 330 | fmt=" {}", 331 | format="{essid}", 332 | interface=get_wireless_interface(), 333 | foreground=colors["background"], 334 | mouse_callbacks={ 335 | "Button1": lambda: qtile.cmd_spawn( 336 | "networkmanager_dmenu -theme ~/.config/rofi/networkmenu.rasi" 337 | ) 338 | }, 339 | decorations=[ 340 | RectDecoration( 341 | colour=colors["color2"], 342 | radius=widget_radius, 343 | filled=True, 344 | ) 345 | ], 346 | ), 347 | widget.Sep(**sep_config), 348 | widget.TextBox( 349 | text="󰐥", 350 | foreground=colors["background"], 351 | mouse_callbacks={ 352 | "Button1": lambda: qtile.cmd_spawn( 353 | os.path.expanduser("~/.local/bin/powermenu") 354 | ) 355 | }, 356 | decorations=[ 357 | RectDecoration( 358 | colour=colors["color1"], 359 | radius=widget_radius, 360 | filled=True, 361 | ) 362 | ], 363 | ), 364 | ], 365 | 42, 366 | background="#00000000", 367 | border_color="#00000000", 368 | border_width=[8, 8, 0, 8], 369 | ), 370 | ), 371 | ] 372 | 373 | mouse = [ 374 | Drag( 375 | [mod], 376 | "Button1", 377 | lazy.window.set_position_floating(), 378 | start=lazy.window.get_position(), 379 | ), 380 | Drag( 381 | [mod], "Button3", lazy.window.set_size_floating(), start=lazy.window.get_size() 382 | ), 383 | Click([mod], "Button2", lazy.window.bring_to_front()), 384 | ] 385 | 386 | dgroups_key_binder = None 387 | dgroups_app_rules = [] 388 | follow_mouse_focus = True 389 | bring_front_click = False 390 | floats_kept_above = True 391 | cursor_warp = False 392 | 393 | floating_layout = layout.Floating( 394 | float_rules=[ 395 | *layout.Floating.default_float_rules, 396 | Match(wm_class="feh"), 397 | Match(wm_class="pavucontrol"), 398 | Match(wm_class="nwg-look"), 399 | Match(wm_class="blueberry.py"), 400 | ], 401 | border_width=0, 402 | ) 403 | 404 | auto_fullscreen = True 405 | focus_on_window_activation = "smart" 406 | reconfigure_screens = True 407 | auto_minimize = True 408 | 409 | wl_input_rules = None 410 | wl_xcursor_theme = "Bibata-Modern-Ice" 411 | wl_xcursor_size = 32 412 | 413 | 414 | @hook.subscribe.startup_once 415 | def autostart(): 416 | """Execute autostart script on Qtile startup.""" 417 | script = os.path.expanduser("~/.config/qtile/autostart.sh") 418 | subprocess.run([script], check=True) 419 | 420 | 421 | wmname = "LG3D" 422 | -------------------------------------------------------------------------------- /.config/ranger/rc.conf: -------------------------------------------------------------------------------- 1 | set show_hidden true 2 | -------------------------------------------------------------------------------- /.config/rofi/clipboard.rasi: -------------------------------------------------------------------------------- 1 | @import "common.rasi" 2 | 3 | * { 4 | accent-color: @color5; 5 | } 6 | 7 | window { 8 | width: 750px; 9 | } 10 | 11 | entry { 12 | placeholder: "  Search..."; 13 | } 14 | 15 | listview { 16 | lines: 10; 17 | } 18 | 19 | element selected { 20 | text-color: @background-color; 21 | } 22 | -------------------------------------------------------------------------------- /.config/rofi/colors.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | background: #1D2326; 3 | foreground: #E6E7E6; 4 | cursor: #9CA3AF; 5 | color0: #242B2D; 6 | color8: #485457; 7 | color1: #BC8F7D; 8 | color9: #D4A394; 9 | color2: #96B088; 10 | color10: #ABC49E; 11 | color3: #CCAC7D; 12 | color11: #E2BF8F; 13 | color4: #7E9AAB; 14 | color12: #94B1C4; 15 | color5: #A68CAA; 16 | color13: #BC9EC0; 17 | color6: #839C98; 18 | color14: #97B3AF; 19 | color7: #CED3DC; 20 | COLOR15: #E8EBF0; 21 | } 22 | -------------------------------------------------------------------------------- /.config/rofi/common.rasi: -------------------------------------------------------------------------------- 1 | @import "colors.rasi" 2 | 3 | * { 4 | background-color: @color0; 5 | text-color: @foreground; 6 | } 7 | 8 | configuration { 9 | icon-theme: "Everforest-Dark"; 10 | font: "CaskaydiaCove Nerd Font Bold 16"; 11 | } 12 | 13 | window { 14 | border: 0; 15 | border-radius: 20px; 16 | } 17 | 18 | inputbar { 19 | padding: 16px; 20 | } 21 | 22 | mainbox { 23 | padding: 16px; 24 | } 25 | 26 | entry { 27 | placeholder-color: @color8; 28 | } 29 | 30 | listview { 31 | spacing: 16px; 32 | } 33 | 34 | element { 35 | border-radius: 16px; 36 | padding: 16px; 37 | } 38 | 39 | element selected { 40 | background-color: @accent-color; 41 | text-color: @background-color; 42 | } 43 | 44 | element-text selected { 45 | text-color: @background-color; 46 | } 47 | 48 | element-icon { 49 | background-color: transparent; 50 | vertical-algign: 0.5; 51 | } 52 | 53 | element-text { 54 | background-color: transparent; 55 | vertical-algign: 0.5; 56 | } 57 | -------------------------------------------------------------------------------- /.config/rofi/drun.rasi: -------------------------------------------------------------------------------- 1 | @import "common.rasi" 2 | 3 | * { 4 | accent-color: @color4; 5 | } 6 | 7 | configuration { 8 | display-drun: ""; 9 | drun-display-format: "{icon} {name}"; 10 | show-icons: true; 11 | } 12 | 13 | window { 14 | width: 800px; 15 | location: northwest; 16 | y-offset: 60; 17 | x-offset: 10; 18 | } 19 | 20 | entry { 21 | placeholder: "  Search..."; 22 | } 23 | 24 | listview { 25 | columns: 3; 26 | lines: 3; 27 | } 28 | 29 | element { 30 | orientation: vertical; 31 | border-radius: 24px; 32 | padding: 30px; 33 | } 34 | 35 | element-icon { 36 | size: 60px; 37 | padding: 0px 0px 12px 0px; 38 | } 39 | 40 | element-text { 41 | horizontal-align: 0.5; 42 | } 43 | -------------------------------------------------------------------------------- /.config/rofi/networkmenu.rasi: -------------------------------------------------------------------------------- 1 | @import "common.rasi" 2 | 3 | * { 4 | accent-color: @color2; 5 | } 6 | 7 | window { 8 | width: 600px; 9 | location: northeast; 10 | x-offset: -66; 11 | y-offset: 60; 12 | } 13 | 14 | entry { 15 | placeholder: " Network..."; 16 | } 17 | 18 | listview { 19 | lines: 10; 20 | } 21 | -------------------------------------------------------------------------------- /.config/rofi/powermenu.rasi: -------------------------------------------------------------------------------- 1 | @import "common.rasi" 2 | 3 | * { 4 | accent-color: @color1; 5 | } 6 | 7 | window { 8 | width: 300px; 9 | location: northeast; 10 | x-offset: -10; 11 | y-offset: 60; 12 | } 13 | 14 | inputbar { 15 | enabled: false; 16 | } 17 | 18 | listview { 19 | lines: 5; 20 | } 21 | -------------------------------------------------------------------------------- /.config/rofi/window.rasi: -------------------------------------------------------------------------------- 1 | @import "common.rasi" 2 | 3 | * { 4 | accent-color: @color6; 5 | } 6 | 7 | configuration { 8 | window-format: "{w} · {c} · {t}"; 9 | show-icons: true; 10 | } 11 | 12 | window { 13 | width: 900px; 14 | location: northwest; 15 | x-offset: 66; 16 | y-offset: 60; 17 | } 18 | 19 | entry { 20 | placeholder: " Switch to..."; 21 | } 22 | 23 | listview { 24 | lines: 5; 25 | } 26 | 27 | element-icon { 28 | size: 32px; 29 | } 30 | -------------------------------------------------------------------------------- /.config/shadow.yaml: -------------------------------------------------------------------------------- 1 | scheme: "Shadow" 2 | author: "User" 3 | base00: "1D2326" # background 4 | base01: "242B2D" # color0 5 | base02: "485457" # color8 6 | base03: "9CA3AF" # cursor 7 | base04: "CED3DC" # color7 8 | base05: "E6E7E6" # foreground 9 | base06: "E8EBF0" # color15 10 | base07: "E8EBF0" # color15 (bright white) 11 | base08: "BC8F7D" # color1 (red) 12 | base09: "CCAC7D" # color3 (yellow) 13 | base0A: "E2BF8F" # color11 (bright yellow) 14 | base0B: "96B088" # color2 (green) 15 | base0C: "839C98" # color6 (cyan) 16 | base0D: "7E9AAB" # color4 (blue) 17 | base0E: "A68CAA" # color5 (magenta) 18 | base0F: "D4A394" # color9 (bright red) 19 | -------------------------------------------------------------------------------- /.config/wezterm/shadow.lua: -------------------------------------------------------------------------------- 1 | local M = {} 2 | 3 | M.colors = { 4 | foreground = "#E6E7E6", 5 | background = "#1D2326", 6 | cursor_bg = "#9CA3AF", 7 | cursor_fg = "#1D2326", 8 | cursor_border = "#9CA3AF", 9 | selection_fg = "#1D2326", 10 | selection_bg = "#E6E7E6", 11 | split = "#485457", 12 | ansi = { 13 | "#242B2D", 14 | "#BC8F7D", 15 | "#96B088", 16 | "#CCAC7D", 17 | "#7E9AAB", 18 | "#A68CAA", 19 | "#839C98", 20 | "#CED3DC", 21 | }, 22 | brights = { 23 | "#485457", 24 | "#D4A394", 25 | "#ABC49E", 26 | "#E2BF8F", 27 | "#94B1C4", 28 | "#BC9EC0", 29 | "#97B3AF", 30 | "#E8EBF0", 31 | }, 32 | tab_bar = { 33 | background = "#1D2326", 34 | active_tab = { 35 | bg_color = "#242B2D", 36 | fg_color = "#E6E7E6", 37 | }, 38 | inactive_tab = { 39 | bg_color = "#1D2326", 40 | fg_color = "#839C98", 41 | }, 42 | inactive_tab_hover = { 43 | bg_color = "#242B2D", 44 | fg_color = "#CED3DC", 45 | }, 46 | new_tab = { 47 | bg_color = "#1D2326", 48 | fg_color = "#839C98", 49 | }, 50 | new_tab_hover = { 51 | bg_color = "#242B2D", 52 | fg_color = "#CED3DC", 53 | }, 54 | }, 55 | } 56 | 57 | return M 58 | -------------------------------------------------------------------------------- /.config/wezterm/wezterm.lua: -------------------------------------------------------------------------------- 1 | local wezterm = require("wezterm") 2 | local shadow = require("shadow") 3 | local config = {} 4 | 5 | if wezterm.config_builder then 6 | config = wezterm.config_builder() 7 | end 8 | 9 | config.font = wezterm.font("CaskaydiaCove Nerd Font") 10 | config.font_size = 13 11 | config.line_height = 1.4 12 | config.window_padding = { 13 | left = 36, 14 | right = 36, 15 | top = 36, 16 | bottom = 36, 17 | } 18 | config.window_close_confirmation = "NeverPrompt" 19 | config.audible_bell = "Disabled" 20 | config.colors = shadow.colors 21 | config.tab_max_width = 20 22 | config.hide_tab_bar_if_only_one_tab = true 23 | config.use_fancy_tab_bar = false 24 | config.automatically_reload_config = true 25 | config.default_cursor_style = "SteadyBar" 26 | 27 | return config 28 | -------------------------------------------------------------------------------- /.config/yt-music/shadow.css: -------------------------------------------------------------------------------- 1 | :root { 2 | --ytmusic-color-primary: #96b088; 3 | --ytmusic-color-secondary: #7e9aab; 4 | --ytmusic-color-tertiary: #ccac7d; 5 | 6 | --ytmusic-background: #1d2326; 7 | --ytmusic-background-alt: #242b2d; 8 | --ytmusic-background-contrast: #485457; 9 | 10 | --ytmusic-text-primary: #e6e7e6; 11 | --ytmusic-text-secondary: #ced3dc; 12 | --ytmusic-text-disabled: #485457; 13 | } 14 | 15 | /* Main elements */ 16 | ytmusic-app-layout { 17 | background-color: var(--ytmusic-background) !important; 18 | } 19 | 20 | /* Header */ 21 | ytmusic-nav-bar { 22 | background-color: var(--ytmusic-background-alt) !important; 23 | border-bottom: 1px solid var(--ytmusic-background-contrast) !important; 24 | } 25 | 26 | /* Bottom player bar */ 27 | ytmusic-player-bar { 28 | background-color: var(--ytmusic-background-alt) !important; 29 | border-top: 1px solid var(--ytmusic-background-contrast) !important; 30 | } 31 | 32 | /* Progress bar */ 33 | #progress-bar { 34 | --paper-slider-active-color: var(--ytmusic-color-primary) !important; 35 | --paper-slider-knob-color: var(--ytmusic-color-primary) !important; 36 | --paper-slider-pin-color: var(--ytmusic-color-primary) !important; 37 | } 38 | 39 | /* Scrollbar */ 40 | ::-webkit-scrollbar { 41 | width: 8px !important; 42 | } 43 | 44 | ::-webkit-scrollbar-track { 45 | background: var(--ytmusic-background) !important; 46 | } 47 | 48 | ::-webkit-scrollbar-thumb { 49 | background: var(--ytmusic-scrollbar-color) !important; 50 | border-radius: 4px !important; 51 | } 52 | 53 | /* Selection */ 54 | ::selection { 55 | background: var(--ytmusic-color-primary) !important; 56 | color: var(--ytmusic-background) !important; 57 | } 58 | -------------------------------------------------------------------------------- /.config/zathura/zathurarc: -------------------------------------------------------------------------------- 1 | # Shadow Colors for Zathura 2 | set notification-error-bg "#1D2326" 3 | set notification-error-fg "#BC8F7D" 4 | set notification-warning-bg "#1D2326" 5 | set notification-warning-fg "#CCAC7D" 6 | set notification-bg "#1D2326" 7 | set notification-fg "#E6E7E6" 8 | set completion-bg "#242B2D" 9 | set completion-fg "#E6E7E6" 10 | set completion-group-bg "#242B2D" 11 | set completion-group-fg "#7E9AAB" 12 | set completion-highlight-bg "#485457" 13 | set completion-highlight-fg "#E6E7E6" 14 | set index-bg "#1D2326" 15 | set index-fg "#839C98" 16 | set index-active-bg "#839C98" 17 | set index-active-fg "#1D2326" 18 | set inputbar-bg "#1D2326" 19 | set inputbar-fg "#E6E7E6" 20 | set statusbar-bg "#1D2326" 21 | set statusbar-fg "#E6E7E6" 22 | set highlight-color "#CCAC7D" 23 | set highlight-active-color "#A68CAA" 24 | set default-bg "#1D2326" 25 | set default-fg "#E6E7E6" 26 | set render-loading true 27 | set render-loading-bg "#1D2326" 28 | set render-loading-fg "#485457" 29 | set recolor-lightcolor "#1D2326" 30 | set recolor-darkcolor "#E6E7E6" 31 | set recolor true 32 | -------------------------------------------------------------------------------- /.local/bin/lock: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | background=$(xrdb -query | grep -oP 'background:\s*\K#\w+' | tr -d '#') 4 | foreground=$(xrdb -query | grep -oP 'foreground:\s*\K#\w+' | tr -d '#') 5 | blue=$(xrdb -query | grep -oP 'color4:\s*\K#\w+' | tr -d '#') 6 | red=$(xrdb -query | grep -oP 'color1:\s*\K#\w+' | tr -d '#') 7 | green=$(xrdb -query | grep -oP 'color2:\s*\K#\w+' | tr -d '#') 8 | 9 | i3lock \ 10 | --clock \ 11 | --blur 5 \ 12 | --inside-color="${background}99" \ 13 | --ring-color="${foreground}99" \ 14 | --line-uses-inside \ 15 | --keyhl-color="${blue}99" \ 16 | --bshl-color="${red}99" \ 17 | --separator-color="00000000" \ 18 | --insidever-color="${green}99" \ 19 | --ringver-color="${foreground}99" \ 20 | --insidewrong-color="${red}99" \ 21 | --ringwrong-color="${foreground}99" \ 22 | --radius=120 \ 23 | --ring-width=4 \ 24 | --verif-text="" \ 25 | --wrong-text="" \ 26 | --noinput-text="" \ 27 | --lock-text="" \ 28 | --lockfailed-text="" \ 29 | --time-str="%H:%M" \ 30 | --date-str="%A, %d %B" \ 31 | --time-color="${foreground}ff" \ 32 | --date-color="${foreground}ff" \ 33 | --time-size=60 \ 34 | --date-size=16 \ 35 | -f 36 | -------------------------------------------------------------------------------- /.local/bin/powermenu: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | declare -A commands=( 4 | ["⏻ Shutdown"]="systemctl poweroff" 5 | ["󰜉 Restart"]="systemctl reboot" 6 | ["󰗽 Logout"]="qtile cmd-obj -o cmd -f shutdown" 7 | [" Lock"]="~/.local/bin/lock" 8 | ["⏾ Suspend"]="systemctl suspend" 9 | ) 10 | 11 | options=("${!commands[@]}") 12 | 13 | choice=$(printf '%s\n' "${options[@]}" | rofi -dmenu -p "Power" -theme ~/.config/rofi/powermenu.rasi) 14 | 15 | if [[ -n "$choice" && -n "${commands[$choice]}" ]]; then 16 | eval "${commands[$choice]}" 17 | fi 18 | -------------------------------------------------------------------------------- /.local/bin/printcolors: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | print_row() { 4 | for i in {0..7}; do 5 | echo -en "\e[4${i}m \e[0m " 6 | done 7 | echo 8 | } 9 | 10 | print_bright_row() { 11 | for i in {0..7}; do 12 | echo -en "\e[10${i}m \e[0m " 13 | done 14 | echo 15 | } 16 | 17 | echo 18 | print_row 19 | print_bright_row 20 | echo 21 | -------------------------------------------------------------------------------- /.xprofile: -------------------------------------------------------------------------------- 1 | xrdb -merge -I"$HOME ~/.Xresources" 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |
2 | 3 | # Dotfiles 4 | 5 | [![Stars](https://img.shields.io/github/stars/rjshkhr/dotfiles?style=for-the-badge&logo=github&color=7E9AAB&logoColor=fcfcfc&labelColor=242B2D)](https://github.com/rjshkhr/dotfiles/stargazers) [![Forks](https://img.shields.io/github/forks/rjshkhr/dotfiles?style=for-the-badge&logo=github&color=96B088&logoColor=fcfcfc&labelColor=242B2D)](https://github.com/rjshkhr/dotfiles/network/members) [![Issues](https://img.shields.io/github/issues/rjshkhr/dotfiles?style=for-the-badge&logo=gitbook&color=BC8F7D&logoColor=fcfcfc&labelColor=242B2D)](https://github.com/rjshkhr/dotfiles/issues) 6 | 7 |
8 | 9 | ## Screenshots 10 | 11 | ![Screenshot 1](https://imgur.com/5V9Zmv3.png) 12 | 13 | ![Screenshot 2](https://imgur.com/9B5eFux.png) 14 | 15 | ![Screenshot 3](https://imgur.com/eCZUzlT.png) 16 | 17 | ![Screenshot 4](https://imgur.com/UihTWwk.png) 18 | 19 | ## Overview 20 | 21 | - **OS** • [Arch Linux](https://archlinux.org) 22 | - **WM** • [Qtile](https://github.com/qtile/qtile) 23 | - **Terminal** • [Kitty](https://github.com/kovidgoyal/kitty) 24 | - **Shell** • [Bash](https://www.gnu.org/software/bash) 25 | - **Editor** • [Neovim](https://neovim.io) 26 | - **Colorscheme** • [Shadow](https://github.com/rjshkhr/shadow.nvim) 27 | - **Font** • [CaskaydiaCove Nerd Font](https://www.nerdfonts.com) 28 | - **Compositor** • [Picom](https://github.com/yshui/picom) 29 | - **Notification** • [Dunst](https://github.com/dunst-project/dunst) 30 | - **App Launcher** • [Rofi](https://github.com/davatorium/rofi) 31 | - **Screen Lock** • [i3lock-color](https://github.com/Raymo111/i3lock-color) 32 | - **Display Manager** • [SDDM](https://github.com/sddm/sddm) 33 | - **Clipboard** • [Rofi Greenclip](https://github.com/erebe/greenclip) 34 | - **Browser** • [Firefox](https://www.mozilla.org/en-US/firefox) ([Startpage](https://github.com/rjshkhr/startpage), [Theme](https://github.com/rjshkhr/shadow-firefox)) 35 | - **File Manager** • [Ranger](https://github.com/ranger/ranger), [Nemo](https://github.com/linuxmint/nemo) 36 | 37 | ## Installation 38 | 39 | Clone and use [stow](https://www.gnu.org/software/stow) to manage the dotfiles: 40 | 41 | ```sh 42 | git clone https://github.com/rjshkhr/dotfiles.git 43 | cd dotfiles 44 | stow . 45 | ``` 46 | --------------------------------------------------------------------------------