diff options
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | conky/.conkyrc | 106 | ||||
| -rw-r--r-- | shell/bash/.bash_profile | 6 | ||||
| -rw-r--r-- | shell/bash/.bashrc | 100 | ||||
| m--------- | shell/zsh/.zsh/zsh-autosuggestions | 0 | ||||
| m--------- | shell/zsh/.zsh/zsh-syntax-highlighting | 0 | ||||
| -rw-r--r-- | shell/zsh/.zshenv | 1 | ||||
| -rw-r--r-- | shell/zsh/.zshrc | 106 | ||||
| -rw-r--r-- | wallpaper.png | bin | 0 -> 3302170 bytes | |||
| -rw-r--r-- | wp2062872.jpg | bin | 0 -> 214458 bytes | |||
| -rw-r--r-- | x/.Xresources | 28 | ||||
| -rw-r--r-- | x/.xinitrc | 33 | ||||
| -rw-r--r-- | x/.xprofile | 14 | ||||
| -rw-r--r-- | zathura/zathurarc | 70 |
14 files changed, 465 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..e788783 --- /dev/null +++ b/README.md | |||
| @@ -0,0 +1 @@ | |||
| # My linux rice | |||
diff --git a/conky/.conkyrc b/conky/.conkyrc new file mode 100644 index 0000000..7b39c8e --- /dev/null +++ b/conky/.conkyrc | |||
| @@ -0,0 +1,106 @@ | |||
| 1 | |||
| 2 | conky.config = { | ||
| 3 | background = true, -- forked to background | ||
| 4 | cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring. | ||
| 5 | diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring. | ||
| 6 | double_buffer = true, -- Use the Xdbe extension? (eliminates flicker) | ||
| 7 | if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address | ||
| 8 | net_avg_samples = 2, -- The number of samples to average for net data | ||
| 9 | no_buffers = true, -- Subtract (file system) buffers from used memory? | ||
| 10 | temperature_unit = 'celsius', -- fahrenheit or celsius | ||
| 11 | text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256 | ||
| 12 | update_interval = 1, -- update interval | ||
| 13 | imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song | ||
| 14 | |||
| 15 | alignment = 'top_right', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right, | ||
| 16 | gap_x = 50, -- pixels between right or left border | ||
| 17 | gap_y = 70, -- pixels between bottom or left border | ||
| 18 | |||
| 19 | -- Setup Window Size | ||
| 20 | minimum_height = 300, | ||
| 21 | minimum_width = 450, | ||
| 22 | maximum_width = 660, | ||
| 23 | |||
| 24 | --Graphical | ||
| 25 | border_inner_margin = 5, -- margin between border and text | ||
| 26 | border_outer_margin = 5, -- margin between border and edge of window | ||
| 27 | border_width = 0, -- border width in pixels | ||
| 28 | default_bar_width = 260, -- default is 0 - full width | ||
| 29 | default_bar_height = 10, -- default is 6 | ||
| 30 | default_gauge_height = 25, -- default is 25 | ||
| 31 | default_gauge_width =40, -- default is 40 | ||
| 32 | default_graph_height = 40, -- default is 25 | ||
| 33 | default_graph_width = 153, -- default is 0 - full width | ||
| 34 | default_shade_color = '#000000', -- default shading colour | ||
| 35 | default_outline_color = '#000000', -- default outline colour | ||
| 36 | draw_borders = false, -- draw borders around text | ||
| 37 | draw_graph_borders = true, -- draw borders around graphs | ||
| 38 | draw_shades = false, -- draw shades | ||
| 39 | draw_outline = false, -- draw outline | ||
| 40 | stippled_borders = 0, -- dashing the border | ||
| 41 | |||
| 42 | --Textual | ||
| 43 | format_human_readable = true, -- KiB, MiB rather then number of bytes | ||
| 44 | font = 'Fira Code:size=12', -- the default font used | ||
| 45 | font2 = 'Raleway:bold:size=30', -- font for the time | ||
| 46 | font3 = 'Ubuntu:size=14', -- font for the date | ||
| 47 | font4 = 'Raleway:bold:size=9', -- font for the keybindings heading | ||
| 48 | max_text_width = 0, -- 0 will make sure line does not get broken if width too smal | ||
| 49 | max_user_text = 16384, -- max text in conky default 16384 | ||
| 50 | override_utf8_locale = true, -- force UTF8 requires xft | ||
| 51 | short_units = true, -- shorten units from KiB to k | ||
| 52 | top_name_width = 21, -- width for $top name value default 15 | ||
| 53 | top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false. | ||
| 54 | uppercase = false, -- uppercase or not | ||
| 55 | use_spacer = 'none', -- adds spaces around certain objects to align - default none | ||
| 56 | use_xft = true, -- xft font - anti-aliased font | ||
| 57 | xftalpha = 1, -- alpha of the xft font - between 0-1 | ||
| 58 | |||
| 59 | --Windows | ||
| 60 | own_window = true, -- create your own window to draw | ||
| 61 | own_window_argb_value = 255, -- real transparency - composite manager required 0-255 | ||
| 62 | own_window_argb_visual = true, -- use ARGB - composite manager required | ||
| 63 | own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop | ||
| 64 | own_window_colour = '#282828', -- set colour if own_window_transparent no | ||
| 65 | own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0% | ||
| 66 | own_window_title = 'dwm_conky', -- set the name manually | ||
| 67 | own_window_type = 'override', -- if own_window true options are: normal/override/dock/desktop/panel | ||
| 68 | own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it | ||
| 69 | |||
| 70 | --Colors (Gruvbox Dark) | ||
| 71 | color0 = '#b16286', | ||
| 72 | color1 = '#ebdbb2', | ||
| 73 | color2 = '#458588', | ||
| 74 | color3 = '#b8bb26', | ||
| 75 | |||
| 76 | }; | ||
| 77 | |||
| 78 | conky.text = [[ | ||
| 79 | ${alignc}${color0}${font2}${time %H:%M}${font} | ||
| 80 | ${voffset 6}${alignc}${color0}${font3}${time %b %d, %Y}${font}${color} | ||
| 81 | ${color1}${hr}${color0} | ||
| 82 | ${color3}Uptime:$color3 $uptime | ||
| 83 | ${color3}Battery: ${battery_percent BAT0}% ${alignr}${battery_bar 8,70 BAT0} | ||
| 84 | ${voffset 18}${goto 12}${color3}CPU${goto 50}$cpu% | ||
| 85 | ${color2}${goto 12}${cpubar 8,254} | ||
| 86 | ${voffset 5}${goto 12}$font${color1}${top name 1}$alignr$color${top cpu 1}% | ||
| 87 | ${goto 12}${color1}${top name 2}$alignr$color${top cpu 2}% | ||
| 88 | ${goto 12}${color1}${top name 3}$alignr$color${top cpu 3}% | ||
| 89 | ${voffset 14}${goto 12}${color3}RAM${goto 50}$mem/$memmax | ||
| 90 | ${color2}${goto 12}${membar 8,254}${color} | ||
| 91 | ${goto 12}${voffset 5}${color1}${top_mem name 1}$alignr$color${top_mem mem_res 1} | ||
| 92 | ${goto 12}${color1}${top_mem name 2}$alignr$color${top_mem mem_res 2} | ||
| 93 | ${goto 12}${color1}${top_mem name 3}$alignr$color${top_mem mem_res 3} | ||
| 94 | ${color3}Storage: $color3${fs_free /}/${fs_size /} | ||
| 95 | ${color2}${fs_bar 6 /} | ||
| 96 | ${color1}${hr}${colo0} | ||
| 97 | ${voffset 18}${color1}${alignc}${font4}Shortcuts${font}${color} | ||
| 98 | ${color1}[SUPER]+[RETURN]${alignr}${color2}terminal${color} | ||
| 99 | ${color1}[SUPER]+b${alignr}${color2}hide bar${color} | ||
| 100 | ${color1}[SUPER]+d${alignr}${color2}launcher${color} | ||
| 101 | ${color1}[SUPER]+q${alignr}${color2}kill${color} | ||
| 102 | ${color1}[SUPER]+[1-9]${alignr}${color2}switch${color} | ||
| 103 | ${color1}[SUPER]+[SHIFT]+r${alignr}${color2}htop${color} | ||
| 104 | ${color1}${hr}${color} | ||
| 105 | |||
| 106 | ]]; | ||
diff --git a/shell/bash/.bash_profile b/shell/bash/.bash_profile new file mode 100644 index 0000000..aeac56a --- /dev/null +++ b/shell/bash/.bash_profile | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | # | ||
| 2 | # ~/.bash_profile | ||
| 3 | # | ||
| 4 | |||
| 5 | [[ -f ~/.bashrc ]] && . ~/.bashrc | ||
| 6 | . "$HOME/.cargo/env" | ||
diff --git a/shell/bash/.bashrc b/shell/bash/.bashrc new file mode 100644 index 0000000..289d237 --- /dev/null +++ b/shell/bash/.bashrc | |||
| @@ -0,0 +1,100 @@ | |||
| 1 | |||
| 2 | parse_git_branch() { | ||
| 3 | local branch="" | ||
| 4 | branch=$(git branch 2> /dev/null | sed -n '/^[^*]/d;s/* \(.*\)/\1/p') | ||
| 5 | local git_status=$(git status --porcelain 2>/dev/null) | ||
| 6 | |||
| 7 | if [ -n "$branch" ]; then | ||
| 8 | branch="(${branch}) " | ||
| 9 | fi | ||
| 10 | |||
| 11 | echo "$branch" | ||
| 12 | } | ||
| 13 | |||
| 14 | update_prompt() { | ||
| 15 | PS1="\[\e[31m\][\[\e[33m\]\u\[\e[32m\]@\[\e[34m\]\h \[\e[35m\]\w\[\e[31m\]]\[\e[35m\] \[\e[33m\]\$(parse_git_branch)\[\e[34m\]# \[\e[0m\]" | ||
| 16 | } | ||
| 17 | |||
| 18 | PROMPT_COMMAND="update_prompt" | ||
| 19 | |||
| 20 | |||
| 21 | eval "$(zoxide init bash)" | ||
| 22 | |||
| 23 | export XDG_DATA_HOME="$HOME"/.local/share | ||
| 24 | export XDG_CONFIG_HOME="$HOME"/.config | ||
| 25 | export XDG_STATE_HOME="$HOME"/.local/state | ||
| 26 | export XDG_CACHE_HOME="$HOME"/.cache | ||
| 27 | #export PATH=$PATH:$(xdg-user-dir USER)/.local/bin | ||
| 28 | export XDG_CURRENT_DESKTOP=dwm | ||
| 29 | export XDG_SESSION_DESKTOP=dwm | ||
| 30 | export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv | ||
| 31 | export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc | ||
| 32 | export LESSHISTFILE="$XDG_CACHE_HOME"/less/history | ||
| 33 | export EDITOR=nvim | ||
| 34 | export BUILDDIR=/tmp/makepkg | ||
| 35 | export RAVEDUDE_PORT=/dev/ttyACM0 | ||
| 36 | export BUN_INSTALL="$HOME/.bun" | ||
| 37 | export PATH="$BUN_INSTALL/bin:$PATH" | ||
| 38 | export PATH="$HOME/.cargo/bin:$PATH" | ||
| 39 | export ANDROID_HOME=$HOME/Android/sdk | ||
| 40 | export PATH=$PATH:$ANDROID_HOME/emulator | ||
| 41 | export PATH=$PATH:$ANDROID_HOME/platform-tools | ||
| 42 | export AWT_TOOLKIT=MToolkit | ||
| 43 | export JAVA_HOME=/usr/lib/jvm/java-21-openjdk | ||
| 44 | export GEM="/home/fw/.local/share/gem/ruby/3.0.0/bin" | ||
| 45 | |||
| 46 | alias acl="arduino-cli" | ||
| 47 | alias acl="arduino-cli compile" | ||
| 48 | alias aclbl="arduino-cli board list" | ||
| 49 | |||
| 50 | alias ls="eza -l --icons --color=always" | ||
| 51 | alias l="eza -l --icons --color=always" | ||
| 52 | alias ls="eza -l --icons --color=always" | ||
| 53 | alias la="eza -la --icons --color=always" | ||
| 54 | alias ll="eza -l --color=always --group-directories-first" | ||
| 55 | alias lt="eza -T --color=always --group-directories-first" | ||
| 56 | alias v="nvim" | ||
| 57 | alias c="clear" | ||
| 58 | alias e="exit" | ||
| 59 | alias j="joshuto" | ||
| 60 | alias g="grep" | ||
| 61 | alias g="rg" | ||
| 62 | alias zl="zellij" | ||
| 63 | alias h="htop" | ||
| 64 | alias n="neofetch" | ||
| 65 | alias poweroff="doas /usr/bin/poweroff" | ||
| 66 | alias reboot="doas /usr/bin/reboot" | ||
| 67 | |||
| 68 | alias latexmk="latex-mk" | ||
| 69 | |||
| 70 | alias orphans="doas pacman -Rcns $(pacman -Qqdt)" | ||
| 71 | |||
| 72 | alias pf="prettier --write ." | ||
| 73 | |||
| 74 | |||
| 75 | alias gts="git status" | ||
| 76 | alias gta="git add ." | ||
| 77 | alias gtc="git commit -m" | ||
| 78 | alias gpo="git push origin" | ||
| 79 | alias pull="git pull origin" | ||
| 80 | alias glg="git log" | ||
| 81 | |||
| 82 | [ -s "/home/fw/.bun/_bun" ] && source "/home/fw/.bun/_bun" | ||
| 83 | |||
| 84 | if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then | ||
| 85 | exec startx &> /dev/null | ||
| 86 | # exec dbus-run-session run_something &> /dev/null | ||
| 87 | fi | ||
| 88 | |||
| 89 | case ":$PATH:" in | ||
| 90 | *":$GEM:"*) ;; | ||
| 91 | *) export PATH="$GEM:$PATH" ;; | ||
| 92 | esac | ||
| 93 | |||
| 94 | |||
| 95 | # If not running interactively, don't do anything | ||
| 96 | [[ $- != *i* ]] && return | ||
| 97 | |||
| 98 | . "$HOME/.cargo/env" | ||
| 99 | # export PATH=$PATH:$(xdg-user-dir USER)/.local/bin | ||
| 100 | # export PATH=$PATH:$(xdg-user-dir USER)/.local/bin | ||
diff --git a/shell/zsh/.zsh/zsh-autosuggestions b/shell/zsh/.zsh/zsh-autosuggestions new file mode 160000 | |||
| Subproject c3d4e576c9c86eac62884bd47c01f6faed043fc | |||
diff --git a/shell/zsh/.zsh/zsh-syntax-highlighting b/shell/zsh/.zsh/zsh-syntax-highlighting new file mode 160000 | |||
| Subproject e0165eaa730dd0fa321a6a6de74f092fe87630b | |||
diff --git a/shell/zsh/.zshenv b/shell/zsh/.zshenv new file mode 100644 index 0000000..c2f3182 --- /dev/null +++ b/shell/zsh/.zshenv | |||
| @@ -0,0 +1 @@ | |||
| . "$HOME/.cargo/env" | |||
diff --git a/shell/zsh/.zshrc b/shell/zsh/.zshrc new file mode 100644 index 0000000..11170c6 --- /dev/null +++ b/shell/zsh/.zshrc | |||
| @@ -0,0 +1,106 @@ | |||
| 1 | parse_git_branch() { | ||
| 2 | local branch="" | ||
| 3 | branch=$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/') | ||
| 4 | local git_status=$(git status --porcelain 2>/dev/null) | ||
| 5 | local color=red | ||
| 6 | if [[ -n "$branch" ]]; then | ||
| 7 | branch=" (${branch})" | ||
| 8 | fi | ||
| 9 | echo "$branch " | ||
| 10 | } | ||
| 11 | update_prompt() { | ||
| 12 | PS1="%F{red}[%F{yellow}%n%F{green}@%F{blue}%m %F{magenta}%c%f%F{red}]%F{magenta}%F{yellow}$(parse_git_branch)%F{blue}# %F{reset}" | ||
| 13 | } | ||
| 14 | precmd_functions+=(update_prompt) | ||
| 15 | update_prompt | ||
| 16 | |||
| 17 | HISTFILE="$XDG_CACHE_HOME"/zsh-histfile | ||
| 18 | HISTSIZE=2500 | ||
| 19 | SAVEHIST=2000 | ||
| 20 | setopt INC_APPEND_HISTORY | ||
| 21 | setopt HIST_EXPIRE_DUPS_FIRST | ||
| 22 | setopt HIST_FIND_NO_DUPS | ||
| 23 | unsetopt beep | ||
| 24 | bindkey -e | ||
| 25 | zstyle :compinstall filename "/home/$USER/.zshrc" | ||
| 26 | autoload -Uz compinit | ||
| 27 | compinit | ||
| 28 | setopt autocd | ||
| 29 | eval "$(zoxide init zsh)" | ||
| 30 | |||
| 31 | export XDG_DATA_HOME="$HOME"/.local/share | ||
| 32 | export XDG_CONFIG_HOME="$HOME"/.config | ||
| 33 | export XDG_STATE_HOME="$HOME"/.local/state | ||
| 34 | export XDG_CACHE_HOME="$HOME"/.cache | ||
| 35 | #export PATH=$PATH:$(xdg-user-dir USER)/.local/bin | ||
| 36 | export XDG_CURRENT_DESKTOP=dwm | ||
| 37 | export XDG_SESSION_DESKTOP=dwm | ||
| 38 | export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv | ||
| 39 | export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc | ||
| 40 | export LESSHISTFILE="$XDG_CACHE_HOME"/less/history | ||
| 41 | export EDITOR=nvim | ||
| 42 | export BUILDDIR=/tmp/makepkg | ||
| 43 | export RAVEDUDE_PORT=/dev/ttyACM0 | ||
| 44 | export BUN_INSTALL="$HOME/.bun" | ||
| 45 | export PATH="$BUN_INSTALL/bin:$PATH" | ||
| 46 | export PATH="$HOME/.cargo/bin:$PATH" | ||
| 47 | export ANDROID_HOME=$HOME/Android/sdk | ||
| 48 | export PATH=$PATH:$ANDROID_HOME/emulator | ||
| 49 | export PATH=$PATH:$ANDROID_HOME/platform-tools | ||
| 50 | export AWT_TOOLKIT=MToolkit | ||
| 51 | export JAVA_HOME=/usr/lib/jvm/java-21-openjdk | ||
| 52 | export GEM="/home/fw/.local/share/gem/ruby/3.0.0/bin" | ||
| 53 | . "${HOME}/.cache/wal/colors.sh" | ||
| 54 | |||
| 55 | alias dmenu='dmenu_run -nb "$color0" -nf "$color15" -sb "$color1" -sf "$color15"' | ||
| 56 | |||
| 57 | alias acl='arduino-cli' | ||
| 58 | alias acl='arduino-cli compile' | ||
| 59 | alias aclbl='arduino-cli board list' | ||
| 60 | |||
| 61 | alias ls='eza -l --icons --color=always' | ||
| 62 | alias l='eza -l --icons --color=always' | ||
| 63 | alias ls='eza -l --icons --color=always' | ||
| 64 | alias la='eza -la --icons --color=always' | ||
| 65 | alias ll='eza -l --color=always --group-directories-first' | ||
| 66 | alias lt='eza -T --color=always --group-directories-first' | ||
| 67 | alias v="nvim" | ||
| 68 | alias c="clear" | ||
| 69 | alias e="exit" | ||
| 70 | alias j="joshuto" | ||
| 71 | alias g="grep" | ||
| 72 | alias g="rg" | ||
| 73 | alias zl="zellij" | ||
| 74 | alias h="htop" | ||
| 75 | alias n="neofetch" | ||
| 76 | alias poweroff="doas /usr/bin/poweroff" | ||
| 77 | alias reboot="doas /usr/bin/reboot" | ||
| 78 | |||
| 79 | alias latexmk="latex-mk" | ||
| 80 | |||
| 81 | alias orphans='doas pacman -Rcns $(pacman -Qqdt)' | ||
| 82 | |||
| 83 | alias pf="prettier --write ." | ||
| 84 | |||
| 85 | |||
| 86 | alias gts="git status" | ||
| 87 | alias gta="git add ." | ||
| 88 | alias gtc="git commit -m" | ||
| 89 | alias gpo="git push origin" | ||
| 90 | alias pull="git pull origin" | ||
| 91 | alias glg="git log" | ||
| 92 | |||
| 93 | [ -s "/home/fw/.bun/_bun" ] && source "/home/fw/.bun/_bun" | ||
| 94 | |||
| 95 | if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then | ||
| 96 | exec startx &> /dev/null | ||
| 97 | # exec dbus-run-session run_something &> /dev/null | ||
| 98 | fi | ||
| 99 | |||
| 100 | case ":$PATH:" in | ||
| 101 | *":$GEM:"*) ;; | ||
| 102 | *) export PATH="$GEM:$PATH" ;; | ||
| 103 | esac | ||
| 104 | |||
| 105 | source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh | ||
| 106 | source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh | ||
diff --git a/wallpaper.png b/wallpaper.png new file mode 100644 index 0000000..dc66f9c --- /dev/null +++ b/wallpaper.png | |||
| Binary files differ | |||
diff --git a/wp2062872.jpg b/wp2062872.jpg new file mode 100644 index 0000000..212975e --- /dev/null +++ b/wp2062872.jpg | |||
| Binary files differ | |||
diff --git a/x/.Xresources b/x/.Xresources new file mode 100644 index 0000000..1f301c5 --- /dev/null +++ b/x/.Xresources | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | st.alpha: 0.8 | ||
| 2 | st.font: FiraCode-12; | ||
| 3 | dmenu.font: FiraCode-11; | ||
| 4 | st.termname: st-256color | ||
| 5 | st.borderpx: 0 | ||
| 6 | dwm.borderpx: 0 | ||
| 7 | dwm.showbar: 0 | ||
| 8 | dwm.font: FiraCode-12; | ||
| 9 | |||
| 10 | *.color0: #1d2021 | ||
| 11 | *.color1: #cc241d | ||
| 12 | *.color2: #98971a | ||
| 13 | *.color3: #d79921 | ||
| 14 | *.color4: #458588 | ||
| 15 | *.color5: #b16286 | ||
| 16 | *.color6: #689d6a | ||
| 17 | *.color7: #a89984 | ||
| 18 | *.color8: #928374 | ||
| 19 | *.color9: #fb4934 | ||
| 20 | *.color10: #b8bb26 | ||
| 21 | *.color11: #fabd2f | ||
| 22 | *.color12: #83a598 | ||
| 23 | *.color13: #d3869b | ||
| 24 | *.color14: #8ec07c | ||
| 25 | *.color15: #ebdbb2 | ||
| 26 | *.background: #282828 | ||
| 27 | *.foreground: white | ||
| 28 | *.cursorColor: white | ||
diff --git a/x/.xinitrc b/x/.xinitrc new file mode 100644 index 0000000..78a943a --- /dev/null +++ b/x/.xinitrc | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | userresources=$HOME/.Xresources | ||
| 4 | usermodmap=$HOME/.Xmodmap | ||
| 5 | sysresources=/etc/X11/xinit/.Xresources | ||
| 6 | sysmodmap=/etc/X11/xinit/.Xmodmap | ||
| 7 | |||
| 8 | [ -f /etc/xprofile ] && . /etc/xprofile | ||
| 9 | [ -f ~/.xprofile ] && . ~/.xprofile | ||
| 10 | |||
| 11 | if [ -f $sysresources ]; then | ||
| 12 | xrdb -merge $sysresources | ||
| 13 | fi | ||
| 14 | |||
| 15 | if [ -f $sysmodmap ]; then | ||
| 16 | xmodmap $sysmodmap | ||
| 17 | fi | ||
| 18 | |||
| 19 | if [ -f "$userresources" ]; then | ||
| 20 | xrdb -merge "$userresources" | ||
| 21 | fi | ||
| 22 | |||
| 23 | if [ -f "$usermodmap" ]; then | ||
| 24 | xmodmap "$usermodmap" | ||
| 25 | fi | ||
| 26 | |||
| 27 | if [ -d /etc/X11/xinit/xinitrc.d ] ; then | ||
| 28 | for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do | ||
| 29 | [ -x "$f" ] && . "$f" | ||
| 30 | done | ||
| 31 | unset f | ||
| 32 | fi | ||
| 33 | exec dbus-run-session dwm | ||
diff --git a/x/.xprofile b/x/.xprofile new file mode 100644 index 0000000..6f80fbd --- /dev/null +++ b/x/.xprofile | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | autostart="lxpolkit mpd" | ||
| 4 | |||
| 5 | for program in $autostart; do | ||
| 6 | pidof -sx "$program" || "$program" & | ||
| 7 | done >/dev/null 2>&1 | ||
| 8 | |||
| 9 | xrandr --dpi 96 | ||
| 10 | setxkbmap pl | ||
| 11 | wal -i ~/Repositories/rice/wp2062872.jpg & | ||
| 12 | picom -b & | ||
| 13 | |||
| 14 | [ -n "$xrdbpid" ] && wait "$xrdbpid" | ||
diff --git a/zathura/zathurarc b/zathura/zathurarc new file mode 100644 index 0000000..d1885a9 --- /dev/null +++ b/zathura/zathurarc | |||
| @@ -0,0 +1,70 @@ | |||
| 1 | set selection-clipboard clipboard | ||
| 2 | # Zathura configuration file | ||
| 3 | # See man `man zathurarc' | ||
| 4 | |||
| 5 | set statusbar-h-padding 0 | ||
| 6 | set statusbar-v-padding 0 | ||
| 7 | set page-padding 2 | ||
| 8 | # Open document in fit-width mode by default | ||
| 9 | set adjust-open "fit-page" | ||
| 10 | |||
| 11 | # One page per row by default | ||
| 12 | set pages-per-row 1 | ||
| 13 | |||
| 14 | #stop at page boundries | ||
| 15 | set scroll-page-aware "true" | ||
| 16 | set smooth-scroll "true" | ||
| 17 | set scroll-full-overlap 0.01 | ||
| 18 | set scroll-step 100 | ||
| 19 | |||
| 20 | set window-title-home-tilde 1 | ||
| 21 | set statusbar-home-tilde 1 | ||
| 22 | set window-title-basename 1 | ||
| 23 | #zoom settings | ||
| 24 | #set zoom-min 10 | ||
| 25 | set guioptions 1 | ||
| 26 | |||
| 27 | # bookmarks settings | ||
| 28 | set database "plain" | ||
| 29 | # set sandbox "none" | ||
| 30 | # zathurarc-dark | ||
| 31 | |||
| 32 | set font "Courier 12" | ||
| 33 | set default-bg "#0" #00 | ||
| 34 | set default-fg "#F7F7F6" #01 | ||
| 35 | |||
| 36 | set statusbar-fg "#B0B0B0" #04 | ||
| 37 | set statusbar-bg "#202020" #01 | ||
| 38 | |||
| 39 | set inputbar-bg "#000000" #00 currently not used | ||
| 40 | set inputbar-fg "#FFFFFF" #02 | ||
| 41 | |||
| 42 | set notification-error-bg "#AC4142" #08 | ||
| 43 | set notification-error-fg "#151515" #00 | ||
| 44 | |||
| 45 | set notification-warning-bg "#AC4142" #08 | ||
| 46 | set notification-warning-fg "#151515" #00 | ||
| 47 | |||
| 48 | set highlight-color "#F4BF75" #0A | ||
| 49 | set highlight-active-color "#6A9FB5" #0D | ||
| 50 | |||
| 51 | set completion-highlight-fg "#151515" #02 | ||
| 52 | set completion-highlight-bg "#90A959" #0C | ||
| 53 | |||
| 54 | set completion-bg "#303030" #02 | ||
| 55 | set completion-fg "#E0E0E0" #0C | ||
| 56 | |||
| 57 | set notification-bg "#90A959" #0B | ||
| 58 | set notification-fg "#151515" #00 | ||
| 59 | |||
| 60 | #set recolor "true" | ||
| 61 | set recolor-lightcolor "#000000" #00 | ||
| 62 | set recolor-darkcolor "#E0E0E0" #06 | ||
| 63 | set recolor-reverse-video "true" | ||
| 64 | set recolor-keephue "true" | ||
| 65 | |||
| 66 | |||
| 67 | #set render-loading "false" | ||
| 68 | set scroll-step 50 | ||
| 69 | map <C-b> feedkeys ":bmark " | ||
| 70 | set database "plain" | ||
