mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
Add castero, cmus, dmenufm, zathura config
This commit is contained in:
parent
f407ac09bc
commit
ae217b0fe1
19 changed files with 728 additions and 346 deletions
|
|
@ -1,8 +1,5 @@
|
|||
<h1 align="center">dotfiles</h1>
|
||||
|
||||
[install arch linux](install_arch.md)
|
||||
-------------------------------------
|
||||
|
||||

|
||||
------------------------------
|
||||
|
||||
|
|
|
|||
17
bashrc
17
bashrc
|
|
@ -1,11 +1,22 @@
|
|||
[[ $- != *i* ]] && return
|
||||
PS1='\e[36m\w\e[39m '
|
||||
source ~/.profile
|
||||
#source ~/.env
|
||||
|
||||
# Prompt generator - ezprompt.net
|
||||
export PS1="\[\e[36m\]\u\[\e[m\]@\[\e[32m\]\w\[\e[m\] \\$ "
|
||||
|
||||
### Variables ###
|
||||
export EDITOR='nvim'
|
||||
export VISUAL='emacsclient -c -a emacs'
|
||||
export VISUAL='nvim'
|
||||
|
||||
### Aliases ###
|
||||
alias cls='clear'
|
||||
alias ls='ls --color=auto'
|
||||
alias sl="ls"
|
||||
alias tmux="tmux -2"
|
||||
alias mkdir="mkdir -p"
|
||||
alias du="du -sh"
|
||||
alias df="df -h"
|
||||
alias cp="cp -r"
|
||||
alias :q="exit"
|
||||
|
||||
alias ..='cd ..'
|
||||
|
|
|
|||
|
|
@ -10,8 +10,6 @@ window:
|
|||
x: 0
|
||||
y: 0
|
||||
|
||||
scrolling:
|
||||
history: 1000
|
||||
|
||||
font:
|
||||
antialias: lcd
|
||||
|
|
@ -33,9 +31,11 @@ font:
|
|||
x: 1
|
||||
y: 0
|
||||
|
||||
scrolling.history: 1000
|
||||
cursor.style: Block
|
||||
debug.render_timer: false
|
||||
draw_bold_text_with_bright_colors: false
|
||||
background_opacity: 0.85
|
||||
background_opacity: 0.75
|
||||
#dynamic_title: true
|
||||
|
||||
colors:
|
||||
|
|
@ -49,30 +49,24 @@ colors:
|
|||
text: '0xEDEBD7'
|
||||
background: '0x262A3B'
|
||||
normal:
|
||||
black: '0x1c1f24'
|
||||
red: '0xff6c6b'
|
||||
green: '0x98be65'
|
||||
yellow: '0xda8548'
|
||||
blue: '0x51afef'
|
||||
magenta: '0xc678dd'
|
||||
cyan: '0x5699af'
|
||||
white: '0x202328'
|
||||
black: '0x32344a'
|
||||
red: '0xf7768e'
|
||||
green: '0x9ece6a'
|
||||
yellow: '0xe0af68'
|
||||
blue: '0x7aa2f7'
|
||||
magenta: '0xad8ee6'
|
||||
cyan: '0x449dab'
|
||||
white: '0x9699a8'
|
||||
bright:
|
||||
black: '0x5b6268'
|
||||
red: '0xda8548'
|
||||
green: '0x4db5bd'
|
||||
yellow: '0xecbe7b'
|
||||
blue: '0x3071db'
|
||||
magenta: '0xa9a1e1'
|
||||
cyan: '0x46d9ff'
|
||||
white: '0xdfdfdf'
|
||||
|
||||
cursor:
|
||||
style: Block
|
||||
black: '0x444b6a'
|
||||
red: '0xff7a93'
|
||||
green: '0xb9f27c'
|
||||
yellow: '0xff9e64'
|
||||
blue: '0x7da6ff'
|
||||
magenta: '0xbb9af7'
|
||||
cyan: '0x0db9d7'
|
||||
white: '0xacb0d0'
|
||||
|
||||
key_bindings:
|
||||
- { key: V, mods: Control|Shift, action: Paste }
|
||||
- { key: C, mods: Control|Shift, action: Copy }
|
||||
- { key: Key0, mods: Control, action: ResetFontSize }
|
||||
- { key: Equals, mods: Alt, action: IncreaseFontSize }
|
||||
- { key: Minus, mods: Alt, action: DecreaseFontSize }
|
||||
- { key: V, mods: Control|Shift, action: Paste }
|
||||
- { key: C, mods: Control|Shift, action: Copy }
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ secondary = #CED4DA
|
|||
alert = #DD6C6B
|
||||
|
||||
[bar/bar]
|
||||
height = 24
|
||||
override-redirect = false
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
|
|
@ -16,11 +15,18 @@ module-margin-left = 1
|
|||
module-margin-right = 1
|
||||
padding-left = 3
|
||||
padding-right = 3
|
||||
|
||||
width = 14%
|
||||
height = 22
|
||||
|
||||
offset-x = 85.8%
|
||||
offset-y = 0.4%
|
||||
|
||||
font-0 = Iosevka Nerd Font:style=Medium:size=10;3
|
||||
font-1 = FontAwesome5Free:style=Solid:size=8;2.5
|
||||
modules-left = wifi-signal date
|
||||
modules-center = wp
|
||||
modules-right = keyboard pulseaudio backlight time
|
||||
#modules-center = wp
|
||||
#modules-right = keyboard pulseaudio backlight time
|
||||
|
||||
[module/backlight]
|
||||
type = internal/xbacklight
|
||||
|
|
@ -58,7 +64,7 @@ blacklist-2= caps lock
|
|||
[module/date]
|
||||
type = internal/date
|
||||
interval = 600
|
||||
date = %b %e
|
||||
date = %e
|
||||
label = %date%
|
||||
|
||||
[module/time]
|
||||
|
|
|
|||
|
|
@ -2,12 +2,12 @@ insidecolor=#00000000
|
|||
ringcolor=#ffffff
|
||||
keyhlcolor=#51AFEF
|
||||
bshlcolor=#51AFEF
|
||||
separatorcolor=#00000000
|
||||
insidevercolor=#ff6c6b
|
||||
separatorcolor=#51AFEF
|
||||
insidevercolor=#00000000
|
||||
insidewrongcolor=#51AFEF
|
||||
ringvercolor=#ffffff
|
||||
ringwrongcolor=#ffffff
|
||||
verifcolor=#ffffff
|
||||
timecolor=#ffffff
|
||||
datecolor=#ced4da
|
||||
loginbox=#000066
|
||||
loginbox=#000000
|
||||
|
|
|
|||
288
config/castero/castero.conf
Normal file
288
config/castero/castero.conf
Normal file
|
|
@ -0,0 +1,288 @@
|
|||
# castero configuration file
|
||||
# https://github.com/xgi/castero
|
||||
|
||||
|
||||
[client]
|
||||
# Whether to ask for confirmation before deleting a feed.
|
||||
# default: False
|
||||
delete_feed_confirmation = True
|
||||
|
||||
# The minimum number of feeds before the client asks you for confirmation
|
||||
# after pressing the reload key.
|
||||
# default: 10
|
||||
reload_feeds_threshold = 10
|
||||
|
||||
# The maximum number of episodes to retain per feed. Set to -1 for no limit.
|
||||
# default: -1
|
||||
max_episodes = -1
|
||||
|
||||
# Whether to keep episodes in the client even if they are no longer present on
|
||||
# the feed (i.e. the RSS feed only shows the x most recent episodes).
|
||||
# default: False
|
||||
retain_absent_episodes = False
|
||||
|
||||
# Hide vertical borders between menus.
|
||||
# default: False
|
||||
disable_vertical_borders = False
|
||||
|
||||
# Whether to remove HTML tags from feed/episode descriptions.
|
||||
# default: True
|
||||
clean_html_descriptions = True
|
||||
|
||||
# The display refresh delay, in ms. Increase to reduce idle CPU usage.
|
||||
# default: 30
|
||||
refresh_delay = 30
|
||||
|
||||
# The external player to use for media playback.
|
||||
# If the given player is not valid or a dependency is not met, the client will
|
||||
# instead try to use the first valid interface.
|
||||
# Available players (in order of precedence):
|
||||
# mpv, vlc
|
||||
# default: (blank)
|
||||
player =
|
||||
|
||||
# The command to run when you press key_execute (default e). All instances of
|
||||
# the following tokens are replaced with the corresponding episode attributes:
|
||||
# {file} - the episode enclosure, usually a remote mp3 file
|
||||
# {title} - the episode name
|
||||
# {description} - the episode description
|
||||
# {link} - the link to the episode, which is often a blog post
|
||||
# {pubdate} - the publish date/time of the episode
|
||||
# {copyright} - the copyright of the episode
|
||||
# Most of these attributes have spaces, so you will probably want to enclose
|
||||
# the token with quotations.
|
||||
# For example, `firefox "{file}"` would open the file in Firefox.
|
||||
# The client executes the text you enter as a shell command. Use with caution!
|
||||
# default: (blank)
|
||||
execute_command =
|
||||
|
||||
# An HTTP or SOCKS proxy to use for HTTP network requests.
|
||||
# example: http://user:pass@10.10.1.10:3128
|
||||
# example: socks5://user:pass@host:port
|
||||
# default: (blank)
|
||||
proxy_http =
|
||||
|
||||
# An HTTP or SOCKS proxy to use for HTTPS network requests.
|
||||
# example: http://user:pass@10.10.1.10:3128
|
||||
# example: socks5://user:pass@host:port
|
||||
# default: (blank)
|
||||
proxy_https =
|
||||
|
||||
|
||||
[feeds]
|
||||
# Whether to reload/refresh your feeds when the client starts. Depending on how
|
||||
# many feeds you have, this operation may take a long time.
|
||||
# default: False
|
||||
reload_on_start = False
|
||||
|
||||
|
||||
[downloads]
|
||||
# The (absolute) location to save episodes downloaded for offline playback. Set
|
||||
# to blank or whitespaces to disable -- the client will default to either
|
||||
# $XDG_DATA_DIR, if set, otherwise ~/.local/share/castero/downloaded
|
||||
# default: (blank)
|
||||
custom_download_dir =
|
||||
|
||||
# The timeout for network requests, in seconds. The same value is used for
|
||||
# connection and read timeouts.
|
||||
# default: 3
|
||||
request_timeout = 3
|
||||
|
||||
|
||||
[colors]
|
||||
# Available colors for all fields are:
|
||||
# black, blue, cyan, green, magenta, red, white, yellow, transparent (background),
|
||||
# integer from -1 to 255 if terminal supports 256 colors
|
||||
# NOTE: Background transparency only works on compatible terminals with compositing
|
||||
|
||||
# The foreground (text) color of the main interface.
|
||||
# default: yellow
|
||||
color_foreground = white
|
||||
|
||||
# The background color of the main interface.
|
||||
# default: black
|
||||
color_background = default
|
||||
|
||||
# The foreground (text) color of selected items.
|
||||
# default: black
|
||||
color_foreground_alt = black
|
||||
|
||||
# The background color of selected items.
|
||||
# default: white
|
||||
color_background_alt = white
|
||||
|
||||
# The foreground (text) color of marked items. Paired with color_background.
|
||||
# default: green
|
||||
color_foreground_dim = blue
|
||||
|
||||
# The foreground (text) color of status lines. Paired with color_background.
|
||||
# default: white
|
||||
color_foreground_status = white
|
||||
|
||||
# The foreground (text) color of menu headings. Paired with color_background.
|
||||
# default: yellow
|
||||
color_foreground_heading = blue
|
||||
|
||||
# The foreground (text) color of dividers. Paired with color_background.
|
||||
# default: white
|
||||
color_foreground_dividers = white
|
||||
|
||||
|
||||
[playback]
|
||||
# The distance to move forward when pressing seek keys, in seconds.
|
||||
# default: 30
|
||||
seek_distance_forward = 30
|
||||
|
||||
# The distance to move backward when pressing seek keys, in seconds.
|
||||
# default: 10
|
||||
seek_distance_backward = 10
|
||||
|
||||
# The default playback speed. See also the rate_increase/rate_decrease keys.
|
||||
# default: 1.0
|
||||
default_playback_speed = 1.0
|
||||
|
||||
# The default volume. Can be 0-100, inclusive.
|
||||
# default: 100
|
||||
default_volume = 80
|
||||
|
||||
# The amount to adjust the volume when pressing the volume up/down keys.
|
||||
# default: 5
|
||||
volume_adjust_distance = 5
|
||||
|
||||
|
||||
[keys]
|
||||
# Keybindings for controlling the client. Entries may not be blank, but may
|
||||
# overlap -- however, only one operation will be performed for each key press.
|
||||
# Please see this page for a list of available key names:
|
||||
# https://docs.python.org/3/library/curses.html#constants
|
||||
|
||||
# Show the help menu.
|
||||
# default: h
|
||||
key_help = ?
|
||||
|
||||
# Exit the client
|
||||
# default: q
|
||||
key_exit = q
|
||||
|
||||
# Add a feed.
|
||||
# default: a
|
||||
key_add_feed = A
|
||||
|
||||
# Remove the selected feed.
|
||||
# default: d
|
||||
key_remove = O
|
||||
|
||||
# Reload/refresh all feeds.
|
||||
# default: r
|
||||
key_reload = r
|
||||
|
||||
# Reload/refresh the selected feed.
|
||||
# default: R
|
||||
key_reload_selected = R
|
||||
|
||||
# Save episode for offline playback.
|
||||
# default: s
|
||||
key_save = d
|
||||
|
||||
# Delete downloaded episodes.
|
||||
# default: x
|
||||
key_delete = D
|
||||
|
||||
# Navigate up.
|
||||
# default: UP
|
||||
key_up = UP
|
||||
|
||||
# Navigate right.
|
||||
# default: RIGHT
|
||||
key_right = RIGHT
|
||||
|
||||
# Navigate down.
|
||||
# default: DOWN
|
||||
key_down = DOWN
|
||||
|
||||
# Navigate left.
|
||||
# default: LEFT
|
||||
key_left = LEFT
|
||||
|
||||
# Scroll menu up.
|
||||
# default: PPAGE
|
||||
key_scroll_up = PPAGE
|
||||
|
||||
# Scroll menu down.
|
||||
# default: NPAGE
|
||||
key_scroll_down = NPAGE
|
||||
|
||||
# Play selected feed/episode.
|
||||
# default: ENTER
|
||||
key_play_selected = ENTER
|
||||
|
||||
# Add selected feed/episode to queue.
|
||||
# default: SPACE
|
||||
key_add_selected = SPACE
|
||||
|
||||
# Clear the queue.
|
||||
# default: c
|
||||
key_clear = c
|
||||
|
||||
# Go to the next episode in the queue.
|
||||
# default: n
|
||||
key_next = n
|
||||
|
||||
# Execute a command on the selected episode. See also execute_command.
|
||||
key_execute = e
|
||||
|
||||
# Invert the order of the menu.
|
||||
# default: i
|
||||
key_invert = i
|
||||
|
||||
# Filter the contents of the menu. Press again to clear the filter.
|
||||
# default: /
|
||||
key_filter = /
|
||||
|
||||
# Mark the episode as played/unplayed.
|
||||
# default: i
|
||||
key_mark_played = m
|
||||
|
||||
# Pause/play the current episode.
|
||||
# default: p
|
||||
key_pause_play = p
|
||||
|
||||
# Alternate binding for key_pause_play -- make identical to disable.
|
||||
# default: k
|
||||
key_pause_play_alt = o
|
||||
|
||||
# Seek forward.
|
||||
# default: f
|
||||
key_seek_forward = f
|
||||
|
||||
# Alternate binding for key_seek_forward -- make identical to disable.
|
||||
# default: l
|
||||
key_seek_forward_alt = F
|
||||
|
||||
# Seek backward.
|
||||
# default: b
|
||||
key_seek_backward = b
|
||||
|
||||
# Alternate binding for key_seek_backward -- make identical to disable.
|
||||
# default: j
|
||||
key_seek_backward_alt = B
|
||||
|
||||
# Increase playback speed.
|
||||
# default: ]
|
||||
key_rate_increase = ]
|
||||
|
||||
# Decrease playback speed.
|
||||
# default: [
|
||||
key_rate_decrease = [
|
||||
|
||||
# Increase volume.
|
||||
# default: =
|
||||
key_volume_increase = =
|
||||
|
||||
# Decrease volume.
|
||||
# default: -
|
||||
key_volume_decrease = -
|
||||
|
||||
# Show episode URL.
|
||||
# default: u
|
||||
key_show_url = u
|
||||
23
config/cmus/nten16.theme
Normal file
23
config/cmus/nten16.theme
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
set color_cmdline_bg=default
|
||||
set color_cmdline_fg=default
|
||||
set color_error=lightred
|
||||
set color_info=lightblue
|
||||
set color_separator=blue
|
||||
set color_statusline_bg=gray
|
||||
set color_statusline_fg=white
|
||||
set color_titleline_bg=blue
|
||||
set color_titleline_fg=white
|
||||
set color_win_bg=default
|
||||
set color_win_cur=lightblue
|
||||
set color_win_cur_sel_bg=lightblue
|
||||
set color_win_cur_sel_fg=default
|
||||
set color_win_dir=lightblue
|
||||
set color_win_fg=default
|
||||
set color_win_inactive_cur_sel_bg=default
|
||||
set color_win_inactive_cur_sel_fg=lightblue
|
||||
set color_win_inactive_sel_bg=default
|
||||
set color_win_inactive_sel_fg=default
|
||||
set color_win_sel_bg=lightblue
|
||||
set color_win_sel_fg=white
|
||||
set color_win_title_bg=blue
|
||||
set color_win_title_fg=white
|
||||
27
config/dmenufm/dmenufm.conf
Normal file
27
config/dmenufm/dmenufm.conf
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
#!/bin/sh
|
||||
FM_PATH=$HOME/.config/dmenufm
|
||||
FM_CACHE_PATH=$HOME/.cache/dmenufm
|
||||
FM_BMKFILE=$FM_PATH/dmenufm_bookmark
|
||||
FM_CMDFILE=$FM_PATH/dmenufm_command
|
||||
FM_HISFILE=$FM_PATH/dmenufm_history
|
||||
FM_SDOPROP=$FM_PATH/dmenufm_sudoprompt
|
||||
FM_TRASH=${HOME}/.local/share/Trash/files
|
||||
FM_LASTPATH=$FM_CACHE_PATH/dmenufm_lastpath
|
||||
FM_REMFILE=$FM_CACHE_PATH/dmenufm_bulk_rename
|
||||
FM_MASFILE=$FM_CACHE_PATH/dmenufm_bulk_mass
|
||||
FM_ZIPATH=$FM_CACHE_PATH/compression/
|
||||
|
||||
FM_MAX_HIS_LENGTH=500
|
||||
|
||||
FM_GENERIC_FONT=Monospace-11
|
||||
FM_NOTIF_FONT=Monospace-11
|
||||
FM_DANGER_FONT=Monospace-11
|
||||
|
||||
FM_SUDO_COLOR=red
|
||||
FM_GENERIC_COLOR=#008DCD
|
||||
FM_ACTION_COLOR_LV1=#98BE65
|
||||
FM_ACTION_COLOR_LV2=#ECBE7B
|
||||
FM_ACTION_COLOR_BULK=#C678DD
|
||||
FM_OPT_GENERIC="-p -r"
|
||||
|
||||
XDGDIR2=/usr/local/share/applications
|
||||
|
|
@ -1,46 +1,67 @@
|
|||
[global]
|
||||
font = Hack 10
|
||||
padding = 1
|
||||
frame_color = "#073642"
|
||||
frame_width = 2
|
||||
allow_markup = yes
|
||||
format = "<b>%a:</b> %s\n%b"
|
||||
sort = yes
|
||||
monitor = 0
|
||||
follow = mouse
|
||||
geometry = "250x50-10+30"
|
||||
indicate_hidden = yes
|
||||
shrink = no
|
||||
transparency = 0
|
||||
notification_height = 0
|
||||
separator_height = 4
|
||||
padding = 16
|
||||
horizontal_padding = 16
|
||||
frame_width = 2
|
||||
frame_color = "#1F2324"
|
||||
separator_color = frame
|
||||
sort = yes
|
||||
idle_threshold = 120
|
||||
font = Roboto 8
|
||||
line_height = 4
|
||||
markup = full
|
||||
format = "<b>%s</b>\n%b"
|
||||
alignment = left
|
||||
bounce_freq = 0
|
||||
show_age_threshold = 60
|
||||
word_wrap = yes
|
||||
ignore_newline = no
|
||||
geometry = "300x5-30+40"
|
||||
transparency = 0
|
||||
idle_threshold = 120
|
||||
monitor = 0
|
||||
follow = keyboard
|
||||
stack_duplicates = false
|
||||
hide_duplicate_count = false
|
||||
show_indicators = yes
|
||||
icon_position = off
|
||||
max_icon_size = 32
|
||||
icon_folders = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
|
||||
sticky_history = yes
|
||||
line_height = 0
|
||||
separator_height = 2
|
||||
padding = 8
|
||||
horizontal_padding = 8
|
||||
separator_color = frame
|
||||
startup_notification = true
|
||||
history_length = 20
|
||||
dmenu = /usr/bin/dmenu -p dunst:
|
||||
browser = /usr/bin/firefox -new-tab
|
||||
always_run_script = true
|
||||
title = Dunst
|
||||
class = Dunst
|
||||
startup_notification = false
|
||||
force_xinerama = false
|
||||
|
||||
[frame]
|
||||
width = 0
|
||||
color = "#000000"
|
||||
[experimental]
|
||||
per_monitor_dpi = false
|
||||
|
||||
[shortcuts]
|
||||
close =
|
||||
close_all =
|
||||
history =
|
||||
context =
|
||||
|
||||
[urgency_low]
|
||||
background = "#002B36"
|
||||
foreground = "#dfdfdf"
|
||||
timeout = 10
|
||||
background = "#262A2B"
|
||||
foreground = "#FFFFFF"
|
||||
timeout = 2
|
||||
|
||||
[urgency_normal]
|
||||
background = "#002B36"
|
||||
foreground = "#ffffff"
|
||||
timeout = 10
|
||||
background = "#262A2B"
|
||||
foreground = "#FFFFFF"
|
||||
timeout = 4
|
||||
|
||||
[urgency_critical]
|
||||
background = "#900000"
|
||||
foreground = "#ffffff"
|
||||
background = "#262A2B"
|
||||
foreground = "#FFFFFF"
|
||||
frame_color = "#e3788f"
|
||||
timeout = 0
|
||||
|
||||
[Spotify]
|
||||
appname = Spotify
|
||||
|
|
|
|||
146
config/mc/ini
Normal file
146
config/mc/ini
Normal file
|
|
@ -0,0 +1,146 @@
|
|||
[Midnight-Commander]
|
||||
verbose=true
|
||||
shell_patterns=true
|
||||
auto_save_setup=true
|
||||
preallocate_space=false
|
||||
auto_menu=false
|
||||
use_internal_view=true
|
||||
use_internal_edit=true
|
||||
clear_before_exec=true
|
||||
confirm_delete=true
|
||||
confirm_overwrite=true
|
||||
confirm_execute=false
|
||||
confirm_history_cleanup=true
|
||||
confirm_exit=false
|
||||
confirm_directory_hotlist_delete=false
|
||||
confirm_view_dir=false
|
||||
safe_delete=false
|
||||
safe_overwrite=false
|
||||
use_8th_bit_as_meta=false
|
||||
mouse_move_pages_viewer=true
|
||||
mouse_close_dialog=false
|
||||
fast_refresh=false
|
||||
drop_menus=false
|
||||
wrap_mode=true
|
||||
old_esc_mode=true
|
||||
cd_symlinks=true
|
||||
show_all_if_ambiguous=false
|
||||
use_file_to_guess_type=true
|
||||
alternate_plus_minus=false
|
||||
only_leading_plus_minus=true
|
||||
show_output_starts_shell=false
|
||||
xtree_mode=false
|
||||
file_op_compute_totals=true
|
||||
classic_progressbar=true
|
||||
use_netrc=true
|
||||
ftpfs_always_use_proxy=false
|
||||
ftpfs_use_passive_connections=true
|
||||
ftpfs_use_passive_connections_over_proxy=false
|
||||
ftpfs_use_unix_list_options=true
|
||||
ftpfs_first_cd_then_ls=true
|
||||
ignore_ftp_chattr_errors=true
|
||||
editor_fill_tabs_with_spaces=false
|
||||
editor_return_does_auto_indent=true
|
||||
editor_backspace_through_tabs=false
|
||||
editor_fake_half_tabs=true
|
||||
editor_option_save_position=true
|
||||
editor_option_auto_para_formatting=false
|
||||
editor_option_typewriter_wrap=false
|
||||
editor_edit_confirm_save=true
|
||||
editor_syntax_highlighting=true
|
||||
editor_persistent_selections=true
|
||||
editor_drop_selection_on_copy=true
|
||||
editor_cursor_beyond_eol=false
|
||||
editor_cursor_after_inserted_block=false
|
||||
editor_visible_tabs=true
|
||||
editor_visible_spaces=true
|
||||
editor_line_state=false
|
||||
editor_simple_statusbar=false
|
||||
editor_check_new_line=false
|
||||
editor_show_right_margin=false
|
||||
editor_group_undo=false
|
||||
editor_state_full_filename=false
|
||||
editor_ask_filename_before_edit=false
|
||||
nice_rotating_dash=true
|
||||
mcview_remember_file_position=false
|
||||
auto_fill_mkdir_name=true
|
||||
copymove_persistent_attr=true
|
||||
pause_after_run=1
|
||||
mouse_repeat_rate=100
|
||||
double_click_speed=250
|
||||
old_esc_mode_timeout=1000000
|
||||
max_dirt_limit=10
|
||||
num_history_items_recorded=60
|
||||
vfs_timeout=60
|
||||
ftpfs_directory_timeout=900
|
||||
ftpfs_retry_seconds=30
|
||||
fish_directory_timeout=900
|
||||
editor_tab_spacing=8
|
||||
editor_word_wrap_line_length=72
|
||||
editor_option_save_mode=0
|
||||
editor_backup_extension=~
|
||||
editor_filesize_threshold=64M
|
||||
editor_stop_format_chars=-+*\\,.;:&>
|
||||
mcview_eof=
|
||||
skin=nicedark
|
||||
|
||||
filepos_max_saved_entries=1024
|
||||
|
||||
[Layout]
|
||||
output_lines=0
|
||||
left_panel_size=28
|
||||
top_panel_size=0
|
||||
message_visible=true
|
||||
keybar_visible=true
|
||||
xterm_title=true
|
||||
command_prompt=true
|
||||
menubar_visible=true
|
||||
free_space=true
|
||||
horizontal_split=false
|
||||
vertical_equal=true
|
||||
horizontal_equal=true
|
||||
|
||||
[Misc]
|
||||
timeformat_recent=%b %e %H:%M
|
||||
timeformat_old=%b %e %Y
|
||||
ftp_proxy_host=gate
|
||||
ftpfs_password=anonymous@
|
||||
display_codepage=UTF-8
|
||||
source_codepage=Other_8_bit
|
||||
autodetect_codeset=
|
||||
clipboard_store=
|
||||
clipboard_paste=
|
||||
|
||||
[Colors]
|
||||
base_color=
|
||||
alacritty=
|
||||
color_terminals=
|
||||
|
||||
xterm-256color=
|
||||
|
||||
[Panels]
|
||||
show_mini_info=true
|
||||
kilobyte_si=false
|
||||
mix_all_files=false
|
||||
show_backups=true
|
||||
show_dot_files=true
|
||||
fast_reload=false
|
||||
fast_reload_msg_shown=false
|
||||
mark_moves_down=true
|
||||
reverse_files_only=true
|
||||
auto_save_setup_panels=false
|
||||
navigate_with_arrows=false
|
||||
panel_scroll_pages=true
|
||||
panel_scroll_center=false
|
||||
mouse_move_pages=true
|
||||
filetype_mode=true
|
||||
permission_mode=false
|
||||
torben_fj_mode=false
|
||||
quick_search_mode=2
|
||||
select_flags=6
|
||||
|
||||
[Panelize]
|
||||
Find *.orig after patching=find . -name \\*.orig -print
|
||||
Find SUID and SGID programs=find . \\( \\( -perm -04000 -a -perm /011 \\) -o \\( -perm -02000 -a -perm /01 \\) \\) -print
|
||||
Find rejects after patching=find . -name \\*.rej -print
|
||||
Modified git files=git ls-files --modified
|
||||
|
|
@ -1,15 +1,19 @@
|
|||
call plug#begin('~/.vim/plugged')
|
||||
Plug 'ryanoasis/vim-devicons'
|
||||
Plug 'itchyny/lightline.vim'
|
||||
Plug 'nathanaelkane/vim-indent-guides'
|
||||
Plug 'Smirnov-O/nten16.vim'
|
||||
Plug 'iamcco/markdown-preview.nvim'
|
||||
Plug 'dhruvasagar/vim-table-mode'
|
||||
Plug 'iamcco/markdown-preview.nvim', { 'for': 'markdown' }
|
||||
Plug 'dhruvasagar/vim-table-mode', { 'for': 'markdown' }
|
||||
Plug 'easymotion/vim-easymotion'
|
||||
Plug 'voldikss/vim-floaterm'
|
||||
Plug 'voldikss/vim-floaterm', { 'on': 'FloatermNew' }
|
||||
Plug 'mhinz/vim-startify'
|
||||
Plug 'vim-python/python-syntax'
|
||||
Plug 'severin-lemaignan/vim-minimap'
|
||||
Plug 'frazrepo/vim-rainbow'
|
||||
|
||||
" File manger & seacher
|
||||
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
|
||||
Plug 'ryanoasis/vim-devicons', { 'on': 'NERDTreeToggle' }
|
||||
Plug 'kien/ctrlp.vim', { 'on': 'CtrlP' }
|
||||
|
||||
" Completion
|
||||
|
|
@ -20,7 +24,6 @@ call plug#begin('~/.vim/plugged')
|
|||
Plug 'pangloss/vim-javascript', { 'for': 'javascript' }
|
||||
Plug 'PotatoesMaster/i3-vim-syntax', { 'for': 'i3' }
|
||||
Plug 'kovetskiy/sxhkd-vim', { 'for': 'sxhkd' }
|
||||
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries', 'for': 'go' }
|
||||
Plug 'mattn/emmet-vim', { 'on': 'Emmet' }
|
||||
Plug 'Olical/vim-scheme', { 'for': 'scheme' }
|
||||
Plug 'cakebaker/scss-syntax.vim', { 'for': 'scss' }
|
||||
|
|
@ -91,8 +94,10 @@ let g:lightline = {
|
|||
map <C-b> :NERDTreeToggle<CR>
|
||||
let g:NERDTreeWinPos="right"
|
||||
let NERDTreeIgnore = ['__pycache__', '\.pyc$', '\.o$', '\.so$', '\.a$', '\.swp', '*\.swp', '\.swo', '\.swn', '\.swh', '\.swm', '\.swl', '\.swk', '\.sw*$', '[a-zA-Z]*egg[a-zA-Z]*', '.DS_Store']
|
||||
let NERDTreeMinimalUI = 1
|
||||
let NERDTreeShowLineNumbers=0
|
||||
let NERDTreeMinimalUI=1
|
||||
let NERDTreeShowLineNumbers=1
|
||||
let NERDTreeShowHidden=0
|
||||
let g:NERDTreeWinSize=28
|
||||
|
||||
" Coc
|
||||
inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
|
||||
|
|
@ -117,7 +122,28 @@ nmap <C-p> :CtrlP<CR>
|
|||
" Indent guides
|
||||
let g:indent_guides_enable_on_vim_startup = 1
|
||||
|
||||
" Floaterm
|
||||
" Python
|
||||
let g:python_highlight_all = 1
|
||||
|
||||
" Startify
|
||||
let g:startify_custom_header = [
|
||||
\" _____ _____ _ ",
|
||||
\" | | |___ ___| | |_|_____ ",
|
||||
\" | | | | -_| . | | | | | ",
|
||||
\" |_|___|___|___|\___/|_|_|_|_| ",
|
||||
\ ]
|
||||
let g:startify_lists = [
|
||||
\ { 'type': 'bookmarks', 'header': [" Bookmarks"] },
|
||||
\ { 'type': 'files', 'header': [" Files"] },
|
||||
\ ]
|
||||
|
||||
" Rainbow
|
||||
let g:rainbow_active = 1
|
||||
|
||||
" Minimap
|
||||
let g:minimap_highlight='Visual'
|
||||
|
||||
" Floaterm\
|
||||
nmap <A-t> :FloatermNew --title=vimterminal --position=top --autoclose=2<CR>
|
||||
|
||||
" == Maping
|
||||
|
|
@ -151,5 +177,5 @@ noremap <A-6> :tabn 6<CR>
|
|||
noremap <A-7> :tabn 7<CR>
|
||||
noremap <A-8> :tabn 8<CR>
|
||||
noremap <A-9> :tabn 9<CR>
|
||||
noremap <leader>n :bnext<CR>
|
||||
noremap <leader>p :bprev<CR>
|
||||
noremap <C-a> :bnext<CR>
|
||||
noremap <C-s> :bprev<CR>
|
||||
|
|
|
|||
|
|
@ -27,8 +27,10 @@ opacity-rule = [ "0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" ];
|
|||
no-fading-openclose = true
|
||||
|
||||
##### Background-Blurring #####
|
||||
blur-kern = "3x3box";
|
||||
blur-background-exclude = [];
|
||||
#blur-method = "dual_kawase";
|
||||
#blur-strength = 5;
|
||||
#blur-kern = "3x3box";
|
||||
#blur-background-exclude = [];
|
||||
|
||||
|
||||
####### General Settings ######
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
#!/bin/sh
|
||||
setxkbmap "us,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps"
|
||||
xautolock -time 5 -locker "betterlockscreen --off 300 -t \"Computer is lockerd\" -l" &
|
||||
setxkbmap "us,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps" &
|
||||
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
||||
nitrogen --restore &
|
||||
picom -b &
|
||||
picom --experimental-backends -b &
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ alt = "mod1"
|
|||
|
||||
terminal = "alacritty"
|
||||
browser = "firefox"
|
||||
filemanager="pcmanfm"
|
||||
filemanager="thunar"
|
||||
user = "sasha"
|
||||
|
||||
color = [
|
||||
|
|
@ -40,10 +40,14 @@ keys = [
|
|||
lazy.spawn(browser),
|
||||
desc="Launch browser"
|
||||
),
|
||||
Key([mod], "F4",
|
||||
Key([mod], "f",
|
||||
lazy.spawn(filemanager),
|
||||
desc="Launch filemanager"
|
||||
),
|
||||
Key([mod, "shift"], "f",
|
||||
lazy.spawn("dmenufm"),
|
||||
desc="Launch dmenu filemanager"
|
||||
),
|
||||
Key([mod, alt], "t",
|
||||
lazy.spawn(f"{terminal} -e nvim /home/{user}/.todo"),
|
||||
desc="Open ~/.todo file in nvim"
|
||||
|
|
@ -179,6 +183,10 @@ keys = [
|
|||
Key([mod, "shift"], "Escape",
|
||||
lazy.spawn("xkill"),
|
||||
desc="Xkill"
|
||||
),
|
||||
Key([mod, "shift"], "z",
|
||||
lazy.spawn("betterlockscreen --off 300 -t \"Computer is locked\" -l"),
|
||||
desc="Lock screen"
|
||||
)
|
||||
]
|
||||
|
||||
|
|
@ -191,7 +199,7 @@ group_names = [("term", {"layout": "columns"}),
|
|||
("chat", {"layout": "columns"}),
|
||||
("pass", {"layout": "columns"}),
|
||||
("mus", {"layout": "max"}),
|
||||
("flo", {"layout": "floating"})
|
||||
("flo", {"layout": "columns"})
|
||||
]
|
||||
groups = [Group(name, **kwargs) for name, kwargs in group_names]
|
||||
for i, (name, kwargs) in enumerate(group_names, 1):
|
||||
|
|
|
|||
|
|
@ -88,8 +88,8 @@ set nested_ranger_warning true
|
|||
# Command Aliases in the Console
|
||||
#################################
|
||||
|
||||
map E edit
|
||||
map F set freeze_files!
|
||||
map E edit
|
||||
alias e edit
|
||||
|
||||
# "a" key
|
||||
map a rename_append
|
||||
|
|
@ -101,20 +101,14 @@ map ss shell tar -czvf file.tar.gz %s
|
|||
map sd shell 7z a file.7z %s
|
||||
map se shell extract %s
|
||||
|
||||
# "q"/quit keys
|
||||
# "q"/quit keys/alias
|
||||
map Q quitall
|
||||
alias qa quitall
|
||||
map q quit
|
||||
alias q quit
|
||||
alias q! quit!
|
||||
map <C-c> abort
|
||||
|
||||
# quit alias
|
||||
alias q quit
|
||||
alias q quit
|
||||
alias q! quit!
|
||||
alias qa quitall
|
||||
alias qa! quitall!
|
||||
alias setl setlocal
|
||||
alias e edit
|
||||
|
||||
# scout alias
|
||||
alias filter scout -prts
|
||||
alias find scout -aets
|
||||
|
|
@ -132,14 +126,18 @@ map <C-r> reset
|
|||
map ~ set viewmode!
|
||||
map <C-l> redraw_window
|
||||
map <esc> change_mode normal
|
||||
|
||||
map i display_file
|
||||
map <A-j> scroll_preview 1
|
||||
map <A-k> scroll_preview -1
|
||||
map ? help
|
||||
map W display_log
|
||||
map w taskview_open
|
||||
|
||||
# Go keys
|
||||
map gh cd ~
|
||||
map gc cd ~/Code
|
||||
map gd cd ~/Documents
|
||||
map gb cd ~/Documents/Books
|
||||
map gm cd ~/.dotfiles
|
||||
map gn cd ~/bin
|
||||
map gz cd ~/.script
|
||||
|
||||
# Console
|
||||
map : console
|
||||
map ! console shell%space
|
||||
map @ shell $SHELL
|
||||
|
|
@ -147,8 +145,7 @@ map r chain draw_possible_programs; console open_with%space
|
|||
map f console find%space
|
||||
map cd console cd%space
|
||||
|
||||
map <C-p> chain console; eval fm.ui.console.history_move(-1)
|
||||
|
||||
# Linemode
|
||||
map Mf linemode filename
|
||||
map Mi linemode fileinfo
|
||||
map Mm linemode mtime
|
||||
|
|
@ -158,12 +155,39 @@ map Ms linemode sizemtime
|
|||
map MH linemode sizehumanreadablemtime
|
||||
map Mt linemode metatitle
|
||||
|
||||
# Visual mode
|
||||
map <Space> mark_files toggle=True
|
||||
map v mark_files all=True toggle=True
|
||||
map uv mark_files all=True val=False
|
||||
map V toggle_visual_mode
|
||||
map uV toggle_visual_mode reverse=True
|
||||
|
||||
# Tab keys
|
||||
map <C-n> tab_new
|
||||
map <C-w> tab_close
|
||||
map <TAB> tab_move 1
|
||||
map <S-TAB> tab_move -1
|
||||
map <A-Right> tab_move 1
|
||||
map <A-Left> tab_move -1
|
||||
map tt tab_new
|
||||
map ty tab_close
|
||||
map tv tag_toggle
|
||||
map uv tag_remove
|
||||
map "<any> tag_toggle tag=%any
|
||||
map uq tab_restore
|
||||
map <c-1> tab_open 1
|
||||
map <c-2> tab_open 2
|
||||
map <c-3> tab_open 3
|
||||
map <c-4> tab_open 4
|
||||
map <c-5> tab_open 5
|
||||
map <c-6> tab_open 6
|
||||
map <c-7> tab_open 7
|
||||
map <c-8> tab_open 8
|
||||
map <c-9> tab_open 9
|
||||
map <c-r> tab_shift 1
|
||||
map <c-l> tab_shift -1
|
||||
|
||||
# Other keys
|
||||
map <UP> move up=1
|
||||
map <DOWN> move down=1
|
||||
map <LEFT> move left=1
|
||||
|
|
@ -175,7 +199,6 @@ map <PAGEUP> move up=1 pages=True
|
|||
map <CR> move right=1
|
||||
map <DELETE> console delete
|
||||
map <INSERT> console touch%space
|
||||
|
||||
copymap <UP> k
|
||||
copymap <DOWN> j
|
||||
copymap <LEFT> h
|
||||
|
|
@ -184,12 +207,10 @@ copymap <HOME> gg
|
|||
copymap <END> G
|
||||
copymap <PAGEDOWN> <C-F>
|
||||
copymap <PAGEUP> <C-B>
|
||||
|
||||
map J move down=0.5 pages=True
|
||||
map K move up=0.5 pages=True
|
||||
copymap J <C-D>
|
||||
copymap K <C-U>
|
||||
|
||||
map H history_go -1
|
||||
map L history_go 1
|
||||
map ] move_parent 1
|
||||
|
|
@ -198,14 +219,6 @@ map } traverse
|
|||
map { traverse_backwards
|
||||
map ) jump_non
|
||||
|
||||
# Go keys
|
||||
map gh cd ~
|
||||
map gc cd ~/Code
|
||||
map gd cd ~/Documents
|
||||
map gb cd ~/Documents/Books
|
||||
map gm cd ~/.dotfiles
|
||||
map gn cd ~/bin
|
||||
map gz cd ~/.script
|
||||
|
||||
# File keys
|
||||
map dD shell mv %s /home/${USER}/.local/share/Trash/files/
|
||||
|
|
@ -231,7 +244,6 @@ map ya copy mode=add
|
|||
map yr copy mode=remove
|
||||
map yt copy mode=toggle
|
||||
|
||||
|
||||
map dgg eval fm.cut(dirarg=dict(to=0), narg=quantifier)
|
||||
map dG eval fm.cut(dirarg=dict(to=-1), narg=quantifier)
|
||||
map dj eval fm.cut(dirarg=dict(down=1), narg=quantifier)
|
||||
|
|
@ -252,31 +264,6 @@ map cc search_next order=ctime
|
|||
map cm search_next order=mtime
|
||||
map ca search_next order=atime
|
||||
|
||||
# Tab keys
|
||||
map <C-n> tab_new
|
||||
map <C-w> tab_close
|
||||
map <TAB> tab_move 1
|
||||
map <S-TAB> tab_move -1
|
||||
map <A-Right> tab_move 1
|
||||
map <A-Left> tab_move -1
|
||||
map tn tab_new
|
||||
map tc tab_close
|
||||
map tt tag_toggle
|
||||
map ut tag_remove
|
||||
map "<any> tag_toggle tag=%any
|
||||
map uq tab_restore
|
||||
map <a-1> tab_open 1
|
||||
map <a-2> tab_open 2
|
||||
map <a-3> tab_open 3
|
||||
map <a-4> tab_open 4
|
||||
map <a-5> tab_open 5
|
||||
map <a-6> tab_open 6
|
||||
map <a-7> tab_open 7
|
||||
map <a-8> tab_open 8
|
||||
map <a-9> tab_open 9
|
||||
map <a-r> tab_shift 1
|
||||
map <a-l> tab_shift -1
|
||||
|
||||
map or set sort_reverse!
|
||||
map oz set sort=random
|
||||
map os chain set sort=size; set sort_reverse=False
|
||||
|
|
|
|||
18
config/zathura/zathurarc
Normal file
18
config/zathura/zathurarc
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
set font "JetBrains Mono Nerd Font 10"
|
||||
set default-fg "#DFDFDF"
|
||||
set default-bg "#262A2B"
|
||||
|
||||
set statusbar-fg "#CED4DA"
|
||||
set statusbar-bg "#1F2324"
|
||||
set statusbar-h-padding 10
|
||||
set statusbar-v-padding 10
|
||||
|
||||
set inputbar-fg "#FFFFFF"
|
||||
set inputbar-bg "#1F2324"
|
||||
|
||||
set completion-bg "#262A2B"
|
||||
set completion-fg "#FFFFFF"
|
||||
set completion-highlight-bg "#262A2B"
|
||||
set completion-highlight-fg "#51AFEF"
|
||||
set completion-group-bg "#262A2B"
|
||||
set completion-group-fg "#51AFEF"
|
||||
175
install_arch.md
175
install_arch.md
|
|
@ -1,175 +0,0 @@
|
|||
### Connect to WiFi
|
||||
~~~bash
|
||||
$ iwctl
|
||||
> device list # Show all network deivce
|
||||
> station `wlan` scan # Scan networks from `wlan` device
|
||||
> station `wlan` get-networks # Show all wifi networks
|
||||
> station `wlan` connect SSID # Get passphrase for connect
|
||||
$ iwctl --passphrase `pass` station `wlan` connect `SSID`
|
||||
~~~
|
||||
|
||||
### Clock
|
||||
~~~bash
|
||||
$ timedatectl set-ntp true
|
||||
~~~
|
||||
|
||||
### Disk
|
||||
~~~bash
|
||||
$ cfdisk /dev/sdX
|
||||
~~~
|
||||
|
||||
**Create:**
|
||||
- swap: size(RAM); type(Linux SWAP)
|
||||
- root: size(15-30Gb); type(ext4)'
|
||||
- home(optional): size(all size); type(ext4)
|
||||
|
||||
**Format:**
|
||||
~~~bash
|
||||
$ mkswap /dev/(swap)
|
||||
$ mkfs.ext4 /dev/(root)
|
||||
$ mkfs.ext4 /dev/(home)
|
||||
~~~
|
||||
|
||||
**Mount:**
|
||||
~~~bash
|
||||
swapon /dev/(swap)
|
||||
mount /dev/(root) / mnt
|
||||
mkdit mnt/home && mount /dev/(home) /mnt/home
|
||||
~~~
|
||||
|
||||
### Base system
|
||||
~~~bash
|
||||
$ pacstrarp /mnt base base-devel linux linux-dirmware wpa_supplicant dhcpcd networkmanager
|
||||
~~~
|
||||
|
||||
### FStab
|
||||
~~~bash
|
||||
$ genfstab -U /mnt >> /mnt/etc/fstab
|
||||
~~~
|
||||
|
||||
### Chroot
|
||||
~~~bash
|
||||
$ arch-chroot /mnt
|
||||
~~~
|
||||
|
||||
## Configure base system
|
||||
### Time
|
||||
~~~bash
|
||||
$ ln -sf /usr/share/zoneinfo/Region/City /etc/localtime
|
||||
$ hwclock --systohc
|
||||
~~~
|
||||
|
||||
### Localization
|
||||
Uncomment your locale in `/etc/locale.gen`
|
||||
~~~bash
|
||||
$ locale-gen
|
||||
~~~
|
||||
|
||||
### Hostname
|
||||
~~~bash
|
||||
$ hostnamectl set-hostname arch
|
||||
$ vim /etc/hosts
|
||||
> 127.0.0.1 arch
|
||||
> ::1 arch
|
||||
> 127.0.1.1 arch.localdomain arch
|
||||
~~~
|
||||
|
||||
### Root password
|
||||
~~~bash
|
||||
$ passwd root
|
||||
~~~
|
||||
|
||||
### User & sudo
|
||||
Uncomment `%wheel` line in `/etc/sudoers`
|
||||
~~~bash
|
||||
$ useradd -m user
|
||||
$ usermod -aG wheel,audio,video,optical,strage user
|
||||
$ passwd user
|
||||
~~~
|
||||
|
||||
### Install grub
|
||||
~~~bash
|
||||
$ pacman -S grub
|
||||
$ grub-install --recheck /dev/sdX
|
||||
$ grub-mkconfig -o /boot/grub/grub.cfg
|
||||
~~~
|
||||
|
||||
### Reboot in base system
|
||||
~~~bash
|
||||
$ exit
|
||||
$ umount /mnt
|
||||
$ reboot
|
||||
~~~
|
||||
|
||||
### Network manager
|
||||
~~~bash
|
||||
$ sudo systemctl enable NetworkManager
|
||||
$ sudo systemctl start NetworkManager
|
||||
$ nmtui-connect
|
||||
~~~
|
||||
|
||||
### User dirs
|
||||
~~~bash
|
||||
$ sudo pacman -S xdg-userr-dirs
|
||||
$ xdg-user-dirs-update
|
||||
~~~
|
||||
|
||||
### Xorg, login manager, video drivers
|
||||
~~~bash
|
||||
$ sudo pacman -S xorg-server xorg-xrand xorg-xsetroot xorg-drivers lightdm lightdm-gtk-greeter
|
||||
$ sudo pacman -S xf86-video-intel lib32-intel-dri # Intel
|
||||
$ sudo pacman -S nvidia nvidia-utils lib32-nvidia-utils # Nvidia
|
||||
$ sudo pacman -S xf86-video-ati lib-ati-dri # AMD
|
||||
$ sudo systemctl enable lightdm
|
||||
~~~
|
||||
|
||||
|
||||
### Install yay
|
||||
~~~bash
|
||||
$ git clone https://aur.archlinux.org/yay-bin
|
||||
$ cd yay-bin
|
||||
$ makepkg -si
|
||||
~~~
|
||||
|
||||
|
||||
### Install alsa, pulseaudio
|
||||
~~~bash
|
||||
$ sudo pacman -S alsa-firmware alsa-utils pulseaudio-alsa pulseaudio
|
||||
~~~
|
||||
|
||||
|
||||
### Install WM: Qtile
|
||||
~~~bash
|
||||
$ sudo pacman -S qtile alacritty nitrogen
|
||||
$ sudo systemctl start lightdm
|
||||
~~~
|
||||
|
||||
|
||||
### Install packages from pacman & aur
|
||||
~~~bash
|
||||
$ sudo pacman -S --noconfirm --needed firefox redshift mc vifm ranger neovim htop pass passmenu discord zathura papirus-icon-theme arc-gtk-theme lxappearance
|
||||
$ sudo pacman -S --noconfirm --needed ttf-font-awesome ttf-jatbrains-mono ttf-joypixels
|
||||
$ yay -S --noconfirm --needed rcm xkblayout bibata-cursor-theme-bin spotify
|
||||
~~~
|
||||
|
||||
|
||||
### Install betterlockscreen
|
||||
~~~bash
|
||||
yay -S i3lock-color imagemagick feh xorg-xrandr xorg-xdpyinfo
|
||||
wget -O betterlockscreen https://git.io/fASUJ
|
||||
chmod u+x betterlockscreen
|
||||
cp betterlockscreen ~/.local/bin
|
||||
~~~
|
||||
|
||||
|
||||
### Set qt appearance
|
||||
~~~bash
|
||||
$ sudo pacman -S kvantum-qt5 qt5ct
|
||||
$ sudo echo "QT_QPA_PLATFORMTHEME="qt5ct" >> /etc/enviroment
|
||||
~~~
|
||||
|
||||
### Install Oh My ZSH
|
||||
~~~bash
|
||||
$ sudo pacman -S zsh curl
|
||||
$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
~~~
|
||||
|
|
@ -1,13 +1,12 @@
|
|||
#!/bin/sh
|
||||
declare options=("Shut Down
|
||||
Reboot
|
||||
declare options=("Poweroff
|
||||
Lock
|
||||
Logout
|
||||
Suspend
|
||||
Lock Screen")
|
||||
Reboot")
|
||||
|
||||
choice=$(echo -e "${options[@]}" | dmenu -p 'Power' $@)
|
||||
case "$choice" in
|
||||
"Shut Down")
|
||||
"Poweroff")
|
||||
declare opt=("Yes\nNo")
|
||||
yesno=$(echo -e "${opt[@]}" | dmenu -p 'Power' $@)
|
||||
case "$yesno" in
|
||||
|
|
@ -15,11 +14,11 @@ case "$choice" in
|
|||
"No") exec exit 0 ;;
|
||||
esac
|
||||
;;
|
||||
"Reboot")
|
||||
"Lock")
|
||||
declare opt=("Yes\nNo")
|
||||
yesno=$(echo -e "${opt[@]}" | dmenu -p 'Power' $@)
|
||||
case "$yesno" in
|
||||
"Yes") exec systemctl reboot ;;
|
||||
"Yes") exec betterlockscreen --off 300 -t "Computer is lockerd" -l;;
|
||||
"No") exec exit 0 ;;
|
||||
esac
|
||||
;;
|
||||
|
|
@ -37,11 +36,11 @@ case "$choice" in
|
|||
"No") exec exit 0 ;;
|
||||
esac
|
||||
;;
|
||||
"Lock Screen")
|
||||
"Reboot")
|
||||
declare opt=("Yes\nNo")
|
||||
yesno=$(echo -e "${opt[@]}" | dmenu -p 'Power' $@)
|
||||
case "$yesno" in
|
||||
"Yes") exec loginctl lock-session $XDG_SESSION_ID ;;
|
||||
"Yes") exec systemctl reboot ;;
|
||||
"No") exec exit 0 ;;
|
||||
esac
|
||||
;;
|
||||
|
|
|
|||
39
zshrc
39
zshrc
|
|
@ -1,24 +1,23 @@
|
|||
export ZSH="$HOME/.oh-my-zsh"
|
||||
export PATH="$HOME/bin:$HOME/.local/bin:$PATH"
|
||||
#source ~/.env
|
||||
#source ~/.profile
|
||||
|
||||
source ~/.profile
|
||||
|
||||
### Oh my zsh ###
|
||||
ZSH_THEME="cyan-simple" # Set theme
|
||||
#CASE_SENSITIVE="true" # Use case-sensitive completion.
|
||||
#HYPHEN_INSENSITIVE="true" # Case-sensitive completion must be off.
|
||||
#DISABLE_AUTO_UPDATE="true" # Disable bi-weekly auto-update checks.
|
||||
#DISABLE_UPDATE_PROMPT="true" # Automatically update without prompting.
|
||||
#DISABLE_MAGIC_FUNCTIONS="true" # If pasting URLs and other text is messed up.
|
||||
#DISABLE_LS_COLORS="true" # Disable colors in ls.
|
||||
#DISABLE_AUTO_TITLE="true" # Disable auto-setting terminal title.
|
||||
#ENABLE_CORRECTION="true" # Enable command auto-correction.
|
||||
#COMPLETION_WAITING_DOTS="true" # Display red dots whilst waiting for completion.
|
||||
export UPDATE_ZSH_DAYS=13 # Change how often to auto-update.
|
||||
export LANG=en_US.UTF-8 # Set locale
|
||||
ZSH_THEME="cyan-simple" # Set theme
|
||||
#CASE_SENSITIVE="true" # Use case-sensitive completion.
|
||||
#HYPHEN_INSENSITIVE="true" # Case-sensitive completion must be off.
|
||||
#DISABLE_AUTO_UPDATE="true" # Disable bi-weekly auto-update checks.
|
||||
#DISABLE_UPDATE_PROMPT="true" # Automatically update without prompting.
|
||||
#DISABLE_MAGIC_FUNCTIONS="true" # If pasting URLs and other text is messed up.
|
||||
#DISABLE_LS_COLORS="true" # Disable colors in ls.
|
||||
#DISABLE_AUTO_TITLE="true" # Disable auto-setting terminal title.
|
||||
#ENABLE_CORRECTION="true" # Enable command auto-correction.
|
||||
#COMPLETION_WAITING_DOTS="true" # Display red dots whilst waiting for completion.
|
||||
export UPDATE_ZSH_DAYS=7 # Change how often to auto-update.
|
||||
export LANG=en_US.UTF-8 # Set locale
|
||||
|
||||
plugins=(pip python sudo heroku git taskwarrior)
|
||||
plugins=(pip python pass golang sudo heroku git taskwarrior encode64)
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
|
||||
|
|
@ -35,8 +34,15 @@ function bgcolor {
|
|||
### Aliases ###
|
||||
alias cls="clear"
|
||||
alias :q="exit"
|
||||
alias q="exit"
|
||||
alias :qw="exit"
|
||||
alias tmux="tmux -2"
|
||||
alias vim="nvim"
|
||||
alias mkdir="mkdir -p"
|
||||
alias sl="ls"
|
||||
alias cp="cp -r"
|
||||
alias du="du -sh"
|
||||
alias df="df -h"
|
||||
alias icat="kitty +kitten icat"
|
||||
|
||||
alias ..="cd .."
|
||||
|
|
@ -49,6 +55,3 @@ alias .6="cd ../../../../../.."
|
|||
alias tozsh="chsh -s /bin/zsh && echo 'Now log out.'"
|
||||
alias tofish="chsh -s /bin/fish && echo 'Now log out.'"
|
||||
alias tobash="chsh -s /bin/bash && echo 'Now log out.'"
|
||||
|
||||
### NeoFetch ###
|
||||
#neofetch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue