diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index f6ae876..86efde6 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -12,6 +12,8 @@ font: draw_bold_text_with_bright_colors: true +background_opacity: 0.95 + bell: animation: EaseOut color: '0xffffff' @@ -19,7 +21,7 @@ bell: colors: primary: - background: '0x000000' + background: '0x1e2029' foreground: '0xeaeaea' normal: black: '0x000000' diff --git a/.config/mpd/mpd.conf b/.config/mpd/mpd.conf new file mode 100644 index 0000000..154baac --- /dev/null +++ b/.config/mpd/mpd.conf @@ -0,0 +1,20 @@ +db_file "~/.local/share/mpd/database" +log_file "syslog" + +music_directory "~/music" +playlist_directory "~/.local/share/mpd/playlists" +pid_file "~/.cache/mpd/pid" +state_file "~/.cache/mpd/state" +sticker_file "~/.cache/mpd/sticker.sql" + +audio_output { + type "pulse" + name "PulseAudio" +} + +audio_output { + type "fifo" + name "Visualizer" + path "/tmp/mpd.fifo" + format "44100:16:2" +} diff --git a/.config/mpv/input.conf b/.config/mpv/input.conf new file mode 100644 index 0000000..538443a --- /dev/null +++ b/.config/mpv/input.conf @@ -0,0 +1,190 @@ +# mpv keybindings +# +# Location of user-defined bindings: ~/.config/mpv/input.conf +# +# Lines starting with # are comments. Use SHARP to assign the # key. +# Copy this file and uncomment and edit the bindings you want to change. +# +# List of commands and further details: DOCS/man/input.rst +# List of special keys: --input-keylist +# Keybindings testing mode: mpv --input-test --force-window --idle +# +# Use 'ignore' to unbind a key fully (e.g. 'ctrl+a ignore'). +# +# Strings need to be quoted and escaped: +# KEY show-text "This is a single backslash: \\ and a quote: \" !" +# +# You can use modifier-key combinations like Shift+Left or Ctrl+Alt+x with +# the modifiers Shift, Ctrl, Alt and Meta (may not work on the terminal). +# +# The default keybindings are hardcoded into the mpv binary. +# You can disable them completely with: --no-input-default-bindings + +# Developer note: +# On compilation, this file is baked into the mpv binary, and all lines are +# uncommented (unless '#' is followed by a space) - thus this file defines the +# default key bindings. + +# If this is enabled, treat all the following bindings as default. +#default-bindings start + +#MBTN_LEFT ignore # don't do anything +#MBTN_LEFT_DBL cycle fullscreen # toggle fullscreen on/off +#MBTN_RIGHT cycle pause # toggle pause on/off +#MBTN_BACK playlist-prev +#MBTN_FORWARD playlist-next + +# Mouse wheels, touchpad or other input devices that have axes +# if the input devices supports precise scrolling it will also scale the +# numeric value accordingly +#WHEEL_UP seek 10 +#WHEEL_DOWN seek -10 +#WHEEL_LEFT add volume -2 +#WHEEL_RIGHT add volume 2 + +## Seek units are in seconds, but note that these are limited by keyframes +#RIGHT seek 5 +#LEFT seek -5 +#UP seek 60 +#DOWN seek -60 +# Do smaller, always exact (non-keyframe-limited), seeks with shift. +# Don't show them on the OSD (no-osd). +#Shift+RIGHT no-osd seek 1 exact +#Shift+LEFT no-osd seek -1 exact +#Shift+UP no-osd seek 5 exact +#Shift+DOWN no-osd seek -5 exact +# Skip to previous/next subtitle (subject to some restrictions; see manpage) +#Ctrl+LEFT no-osd sub-seek -1 +#Ctrl+RIGHT no-osd sub-seek 1 +# Adjust timing to previous/next subtitle +#Ctrl+Shift+LEFT sub-step -1 +#Ctrl+Shift+RIGHT sub-step 1 +# Move video rectangle +#Alt+left add video-pan-x 0.1 +#Alt+right add video-pan-x -0.1 +#Alt+up add video-pan-y 0.1 +#Alt+down add video-pan-y -0.1 +# Zoom/unzoom video +#Alt++ add video-zoom 0.1 +#Alt+- add video-zoom -0.1 +# Reset video zoom/pan settings +#Alt+BS set video-zoom 0 ; set video-pan-x 0 ; set video-pan-y 0 +#PGUP add chapter 1 # skip to next chapter +#PGDWN add chapter -1 # skip to previous chapter +#Shift+PGUP seek 600 +#Shift+PGDWN seek -600 +#[ multiply speed 1/1.1 # scale playback speed +#] multiply speed 1.1 +#{ multiply speed 0.5 +#} multiply speed 2.0 +#BS set speed 1.0 # reset speed to normal +#Shift+BS revert-seek # undo previous (or marked) seek +#Shift+Ctrl+BS revert-seek mark # mark position for revert-seek +#q quit +#Q quit-watch-later +#q {encode} quit 4 +#ESC set fullscreen no +#ESC {encode} quit 4 +#p cycle pause # toggle pause/playback mode +#. frame-step # advance one frame and pause +#, frame-back-step # go back by one frame and pause +#SPACE cycle pause +#> playlist-next # skip to next file +#ENTER playlist-next # skip to next file +#< playlist-prev # skip to previous file +#O no-osd cycle-values osd-level 3 1 # cycle through OSD mode +#o show-progress +#P show-progress +#i script-binding stats/display-stats +#I script-binding stats/display-stats-toggle +#` script-binding console/enable +#z add sub-delay -0.1 # subtract 100 ms delay from subs +#Z add sub-delay +0.1 # add +#x add sub-delay +0.1 # same as previous binding (discouraged) +#ctrl++ add audio-delay 0.100 # this changes audio/video sync +#ctrl+- add audio-delay -0.100 +#Shift+g add sub-scale +0.1 # increase subtitle font size +#Shift+f add sub-scale -0.1 # decrease subtitle font size +#9 add volume -2 +#/ add volume -2 +#0 add volume 2 +#* add volume 2 +#m cycle mute +#1 add contrast -1 +#2 add contrast 1 +#3 add brightness -1 +#4 add brightness 1 +#5 add gamma -1 +#6 add gamma 1 +#7 add saturation -1 +#8 add saturation 1 +#Alt+0 set window-scale 0.5 +#Alt+1 set window-scale 1.0 +#Alt+2 set window-scale 2.0 +# toggle deinterlacer (automatically inserts or removes required filter) +#d cycle deinterlace +#r add sub-pos -1 # move subtitles up +#R add sub-pos +1 # down +#t add sub-pos +1 # same as previous binding (discouraged) +#v cycle sub-visibility +# stretch SSA/ASS subtitles with anamorphic videos to match historical +#V cycle sub-ass-vsfilter-aspect-compat +# switch between applying no style overrides to SSA/ASS subtitles, and +# overriding them almost completely with the normal subtitle style +#u cycle-values sub-ass-override "force" "no" +#j cycle sub # cycle through subtitles +#J cycle sub down # ...backwards +#SHARP cycle audio # switch audio streams +#_ cycle video +#T cycle ontop # toggle video window ontop of other windows +#f cycle fullscreen # toggle fullscreen +#s screenshot # take a screenshot +#S screenshot video # ...without subtitles +#Ctrl+s screenshot window # ...with subtitles and OSD, and scaled +#Alt+s screenshot each-frame # automatically screenshot every frame +#w add panscan -0.1 # zoom out with -panscan 0 -fs +#W add panscan +0.1 # in +#e add panscan +0.1 # same as previous binding (discouraged) +# cycle video aspect ratios; "-1" is the container aspect +#A cycle-values video-aspect-override "16:9" "4:3" "2.35:1" "-1" +#POWER quit +#PLAY cycle pause +#PAUSE cycle pause +#PLAYPAUSE cycle pause +#PLAYONLY set pause no +#PAUSEONLY set pause yes +#STOP quit +#FORWARD seek 60 +#REWIND seek -60 +#NEXT playlist-next +#PREV playlist-prev +#VOLUME_UP add volume 2 +#VOLUME_DOWN add volume -2 +#MUTE cycle mute +#CLOSE_WIN quit +#CLOSE_WIN {encode} quit 4 +#ctrl+w quit +#E cycle edition # next edition +#l ab-loop # Set/clear A-B loop points +#L cycle-values loop-file "inf" "no" # toggle infinite looping +#ctrl+c quit 4 +#DEL script-binding osc/visibility # cycle OSC display +#ctrl+h cycle-values hwdec "auto" "no" # cycle hardware decoding +#F8 show_text ${playlist} # show playlist +#F9 show_text ${track-list} # show list of audio/sub streams + +# +# Legacy bindings (may or may not be removed in the future) +# +#! add chapter -1 # skip to previous chapter +#@ add chapter 1 # next + +# +# Not assigned by default +# (not an exhaustive list of unbound commands) +# + +# ? cycle angle # switch DVD/Bluray angle +# ? cycle sub-forced-only # toggle DVD forced subs +# ? cycle program # cycle transport stream programs +# ? stop # stop playback (quit or enter idle mode) diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf new file mode 100644 index 0000000..61bf398 --- /dev/null +++ b/.config/mpv/mpv.conf @@ -0,0 +1,138 @@ +# +# Example mpv configuration file +# +# Warning: +# +# The commented example options usually do _not_ set the default values. Call +# mpv with --list-options to see the default values for most options. There is +# no builtin or example mpv.conf with all the defaults. +# +# +# Configuration files are read system-wide from /usr/local/etc/mpv.conf +# and per-user from ~/.config/mpv/mpv.conf, where per-user settings override +# system-wide settings, all of which are overridden by the command line. +# +# Configuration file settings and the command line options use the same +# underlying mechanisms. Most options can be put into the configuration file +# by dropping the preceding '--'. See the man page for a complete list of +# options. +# +# Lines starting with '#' are comments and are ignored. +# +# See the CONFIGURATION FILES section in the man page +# for a detailed description of the syntax. +# +# Profiles should be placed at the bottom of the configuration file to ensure +# that settings wanted as defaults are not restricted to specific profiles. + +################## +# video settings # +################## + +# Start in fullscreen mode by default. +#fs=yes + +# force starting with centered window +#geometry=50%:50% + +# don't allow a new window to have a size larger than 90% of the screen size +#autofit-larger=90%x90% + +# Do not close the window on exit. +#keep-open=yes + +# Do not wait with showing the video window until it has loaded. (This will +# resize the window once video is loaded. Also always shows a window with +# audio.) +#force-window=immediate + +# Disable the On Screen Controller (OSC). +#osc=no + +# Keep the player window on top of all other windows. +#ontop=yes + +# Specify high quality video rendering preset (for --vo=gpu only) +# Can cause performance problems with some drivers and GPUs. +profile=gpu-hq + +# Force video to lock on the display's refresh rate, and change video and audio +# speed to some degree to ensure synchronous playback - can cause problems +# with some drivers and desktop environments. +#video-sync=display-resample + +# Enable hardware decoding if available. Often, this does not work with all +# video outputs, but should work well with default settings on most systems. +# If performance or energy usage is an issue, forcing the vdpau or vaapi VOs +# may or may not help. +#hwdec=auto + +################## +# audio settings # +################## + +# Specify default audio device. You can list devices with: --audio-device=help +# The option takes the device string (the stuff between the '...'). +#audio-device=alsa/default + +# Do not filter audio to keep pitch when changing playback speed. +#audio-pitch-correction=no + +# Output 5.1 audio natively, and upmix/downmix audio with a different format. +#audio-channels=5.1 +# Disable any automatic remix, _if_ the audio output accepts the audio format. +# of the currently played file. See caveats mentioned in the manpage. +# (The default is "auto-safe", see manpage.) +#audio-channels=auto + +################## +# other settings # +################## + +# Pretend to be a web browser. Might fix playback with some streaming sites, +# but also will break with shoutcast streams. +#user-agent="Mozilla/5.0" + +# cache settings +# +# Use a large seekable RAM cache even for local input. +#cache=yes +# +# Use extra large RAM cache (needs cache=yes to make it useful). +#demuxer-max-bytes=500M +#demuxer-max-back-bytes=100M +# +# Disable the behavior that the player will pause if the cache goes below a +# certain fill size. +#cache-pause=no +# +# Store cache payload on the hard disk instead of in RAM. (This may negatively +# impact performance unless used for slow input such as network.) +#cache-dir=~/.cache/ +#cache-on-disk=yes + +# Display English subtitles if available. +#slang=en + +# Play Finnish audio if available, fall back to English otherwise. +#alang=fi,en + +# Change subtitle encoding. For Arabic subtitles use 'cp1256'. +# If the file seems to be valid UTF-8, prefer UTF-8. +# (You can add '+' in front of the codepage to force it.) +#sub-codepage=cp1256 + +# You can also include other configuration files. +#include=/path/to/the/file/you/want/to/include + +############ +# Profiles # +############ + +# The options declared as part of profiles override global default settings, +# but only take effect when the profile is active. + +# The following profile can be enabled on the command line with: --profile=eye-cancer + +#[eye-cancer] +#sharpen=5 diff --git a/.config/ncmpcpp/config b/.config/ncmpcpp/config new file mode 100644 index 0000000..9ed2769 --- /dev/null +++ b/.config/ncmpcpp/config @@ -0,0 +1,337 @@ +ncmpcpp_directory = ~/.local/share/ncmpcpp +lyrics_directory = ~/.local/share/ncmpcpp/lyrics + +mpd_host = localhost +mpd_port = 6600 +mpd_connection_timeout = 5 +mpd_music_dir = ~/music +mpd_crossfade_time = 3 + +visualizer_fifo_path = /tmp/mpd.fifo +visualizer_output_name = "Visualizer feed" +visualizer_in_stereo = yes +visualizer_sync_interval = 30 +visualizer_type = spectrum +visualizer_look = ●▮ +visualizer_color = blue, cyan, green, yellow, magenta, red + +##### song format ##### +## +## For a song format you can use: +## +## %l - length +## %f - filename +## %D - directory +## %a - artist +## %A - album artist +## %t - title +## %b - album +## %y - date +## %n - track number (01/12 -> 01) +## %N - full track info (01/12 -> 01/12) +## %g - genre +## %c - composer +## %p - performer +## %d - disc +## %C - comment +## %P - priority +## $R - begin right alignment +## +## If you want to make sure that a part of the format is displayed only when +## certain tags are present, you can archieve it by grouping them with brackets, +## e.g. '{%a - %t}' will be evaluated to 'ARTIST - TITLE' if both tags are +## present or '' otherwise. It is also possible to define a list of +## alternatives by providing several groups and separating them with '|', +## e.g. '{%t}|{%f}' will be evaluated to 'TITLE' or 'FILENAME' if the former is +## not present. +## +## Note: If you want to set limit on maximal length of a tag, just put the +## appropriate number between % and character that defines tag type, e.g. to +## make album take max. 20 terminal cells, use '%20b'. +## +## In addition, formats support markers used for text attributes. They are +## followed by character '$'. After that you can put: +## +## - 0 - default window color (discards all other colors) +## - 1 - black +## - 2 - red +## - 3 - green +## - 4 - yellow +## - 5 - blue +## - 6 - magenta +## - 7 - cyan +## - 8 - white +## - 9 - end of current color +## - b - bold text +## - u - underline text +## - r - reverse colors +## - a - use alternative character set +## +## If you don't want to use a non-color attribute anymore, just put it again, +## but this time insert character '/' between '$' and attribute character, +## e.g. {$b%t$/b}|{$r%f$/r} will display bolded title tag or filename with +## reversed colors. +## +## If you want to use 256 colors and/or background colors in formats (the naming +## scheme is described below in section about color definitions), it can be done +## with the syntax $(COLOR), e.g. to set the artist tag to one of the +## non-standard colors and make it have yellow background, you need to write +## $(197_yellow)%a$(end). Note that for standard colors this is interchangable +## with attributes listed above. +## +## Note: colors can be nested. +## + +song_list_format = {%a - }{%t}|{$8%f$9}$R{$3(%l)$9} +song_status_format = {{%a{ "%b"{ (%y)}} - }{%t}}|{%f} +song_library_format = {%n - }{%t}|{%f} + +alternative_header_first_line_format = $b$1$aqqu$/a$9 {%t}|{%f} $1$atqq$/a$9$/b +alternative_header_second_line_format = {{$4$b%a$/b$9}{ - $7%b$9}{ ($4%y$9)}}|{%D} + +current_item_prefix = $(yellow)$r +current_item_suffix = $/r$(end) +current_item_inactive_column_prefix = $(white)$r +current_item_inactive_column_suffix = $/r$(end) + +now_playing_prefix = $b +now_playing_suffix = $/b +browser_playlist_prefix = "$2playlist$9 " + +selected_item_prefix = $6 +selected_item_suffix = $9 +modified_item_prefix = $3> $9 + +## +## Note: attributes are not supported for the following variables. +## +song_window_title_format = {%a - }{%t}|{%f} + +## +## Note: Below variables are used for sorting songs in browser. The sort mode +## determines how songs are sorted, and can be used in combination with a sort +## format to specify a custom sorting format. Available values for +## browser_sort_mode are "name", "mtime", "format" and "noop". +## +browser_sort_mode = name +browser_sort_format = {%a - }{%t}|{%f} {(%l)} + +##### columns settings ##### +## +## syntax of song columns list format is "column column etc." +## +## - syntax for each column is: +## +## (width of the column)[color of the column]{displayed tag} +## +## Note: Width is by default in %, if you want a column to have fixed size, add +## 'f' after the value, e.g. (10)[white]{a} will be the column that take 10% of +## screen (so the real width will depend on actual screen size), whereas +## (10f)[white]{a} will take 10 terminal cells, no matter how wide the screen +## is. +## +## - color is optional (if you want the default one, leave the field empty). +## +## Note: You can give a column additional attributes by putting appropriate +## character after displayed tag character. Available attributes are: +## +## - r - column will be right aligned +## - E - if tag is empty, empty tag marker won't be displayed +## +## You can also: +## +## - give a column custom name by putting it after attributes, separated with +## character ':', e.g. {lr:Length} gives you right aligned column of lengths +## named "Length". +## +## - define sequence of tags, that have to be displayed in case predecessor is +## empty in a way similar to the one in classic song format, i.e. using '|' +## character, e.g. {a|c|p:Owner} creates column named "Owner" that tries to +## display artist tag and then composer and performer if previous ones are not +## available. +## +song_columns_list_format = (20)[]{a} (6f)[green]{NE} (50)[white]{t|f:Title} (20)[cyan]{b} (7f)[magenta]{l} + +##### various settings ##### +# +## +## Note: Custom command that will be executed each time song changes. Useful for +## notifications etc. +## +#execute_on_song_change = "" +# +## +## Note: Custom command that will be executed each time player state +## changes. The environment variable MPD_PLAYER_STATE is set to the current +## state (either unknown, play, pause, or stop) for its duration. +## +# +#execute_on_player_state_change = "" +playlist_show_mpd_host = no +playlist_show_remaining_time = no +playlist_shorten_total_times = no +playlist_separate_albums = no + +playlist_display_mode = columns +browser_display_mode = classic +search_engine_display_mode = classic +playlist_editor_display_mode = classic +discard_colors_if_item_is_selected = yes +show_duplicate_tags = yes +incremental_seeking = yes +seek_time = 1 +volume_change_step = 2 +autocenter_mode = no +centered_cursor = no + +## +## Note: You can specify third character which will be used to build 'empty' +## part of progressbar. +## +progressbar_look = => + +default_place_to_search_in = database +user_interface = classic +data_fetching_delay = yes +media_library_primary_tag = artist +media_library_albums_split_by_date = yes +default_find_mode = wrapped +default_tag_editor_pattern = %n - %t +header_visibility = yes +statusbar_visibility = yes +titles_visibility = yes +header_text_scrolling = yes +cyclic_scrolling = no +lines_scrolled = 2 +lyrics_fetchers = lyricwiki, azlyrics, genius, sing365, lyricsmania, metrolyrics, justsomelyrics, jahlyrics, plyrics, tekstowo, internet +follow_now_playing_lyrics = no +fetch_lyrics_for_current_song_in_background = no +store_lyrics_in_song_dir = no +generate_win32_compatible_filenames = yes +allow_for_physical_item_deletion = no + +## +## Note: If you set this variable, ncmpcpp will try to get info from last.fm in +## language you set and if it fails, it will fall back to english. Otherwise it +## will use english the first time. +## +## Note: Language has to be expressed as an ISO 639 alpha-2 code. +## +lastfm_preferred_language = en +space_add_mode = add_remove +show_hidden_files_in_local_browser = no + +## +## How shall screen switcher work? +## +## - "previous" - switch between the current and previous screen. +## - "screen1,...,screenN" - switch between given sequence of screens. +## +## Screens available for use: help, playlist, browser, search_engine, +## media_library, playlist_editor, tag_editor, outputs, visualizer, clock, +## lyrics, last_fm. +## +screen_switcher_mode = playlist, browser +startup_screen = playlist +startup_slave_screen = "" +startup_slave_screen_focus = no + +## +## Default width of locked screen (in %). Acceptable values are from 20 to 80. +## +locked_screen_width_part = 50 +ask_for_locked_screen_width_part = yes +jump_to_now_playing_song_at_start = yes +ask_before_clearing_playlists = yes +clock_display_seconds = no +display_volume_level = yes +display_bitrate = no +display_remaining_time = no +regular_expressions = perl + +## +## Note: if below is enabled, ncmpcpp will ignore leading "The" word while +## sorting items in browser, tags in media library, etc. +## +ignore_leading_the = yes + +## +## Note: if below is enabled, ncmpcpp will ignore diacritics while searching and +## filtering lists. This takes an effect only if boost was compiled with ICU +## support. +## +ignore_diacritics = yes + +block_search_constraints_change_if_items_found = yes +mouse_support = yes +mouse_list_scroll_whole_page = yes +empty_tag_marker = +tags_separator = " | " +tag_editor_extended_numeration = no +media_library_sort_by_mtime = no +enable_window_title = yes + +## +## Note: You can choose default search mode for search engine. Available modes +## are: +## +## - 1 - use mpd built-in searching (no regexes, pattern matching) +## +## - 2 - use ncmpcpp searching (pattern matching with support for regexes, but +## if your mpd is on a remote machine, downloading big database to process +## it can take a while +## +## - 3 - match only exact values (this mode uses mpd function for searching in +## database and local one for searching in current playlist) +## +search_engine_default_search_mode = 1 + +external_editor = nvim +use_console_editor = yes + +##### colors definitions ##### +## +## It is possible to set a background color by setting a color value +## "_", e.g. red_black will set foregound color to red +## and background color to black. +## +## In addition, for terminals that support 256 colors it is possible to set one +## of them by using a number in range [1, 256] instead of color name, +## e.g. numerical value corresponding to red_black is 2_1. To find out if the +## terminal supports 256 colors, run ncmpcpp and check out the bottom of the +## help screen for list of available colors and their numerical values. +## +## What is more, there are two special values for the background color: +## "transparent" and "current". The first one explicitly sets the background to +## be transparent, while the second one allows you to preserve current +## background color and change only the foreground one. It's used implicitly +## when background color is not specified. +## +## Moreover, it is possible to attach format information to selected color +## variables by appending to their end a colon followed by one or more format +## flags, e.g. black:b or red:ur. The following variables support this syntax: +## visualizer_color, color1, color2, empty_tag_color, volume_color, +## state_line_color, state_flags_color, progressbar_color, +## progressbar_elapsed_color, player_state_color, statusbar_time_color, +## alternative_ui_separator_color. +## +## Note: due to technical limitations of older ncurses version, if 256 colors +## are used there is a possibility that you'll be able to use only colors with +## transparent background. +colors_enabled = yes +empty_tag_color = cyan +header_window_color = default +volume_color = default +state_line_color = default +state_flags_color = default:b +main_window_color = yellow +color1 = white +color2 = green +progressbar_color = black:b +progressbar_elapsed_color = green:b +statusbar_color = default +statusbar_time_color = default:b +player_state_color = default:b +alternative_ui_separator_color = black:b +window_border_color = green +active_window_border = red diff --git a/.config/npm/npmrc b/.config/npm/npmrc new file mode 100644 index 0000000..fc84b78 --- /dev/null +++ b/.config/npm/npmrc @@ -0,0 +1,4 @@ +prefix=${XDG_DATA_HOME}/npm +cache=${XDG_CACHE_HOME}/npm +tmp=${XDG_RUNTIME_DIR}/npm +init-module=${XDG_CONFIG_HOME}/npm/config/npm-init.js diff --git a/.config/sway/config b/.config/sway/config index b8fa8ad..5b49965 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -22,12 +22,26 @@ set $menu dmenu_path | dmenu | xargs swaymsg exec -- ### Appearance # -font pango:NotoSans Regular 11 +font pango:UbuntuMono Bold 12 + +# class border bg text indicator child_border +client.focused #bd93f9 #bd93f9 #ffffff #2e9ef4 #bd93f9 +client.focused_inactive #333333 #5f676a #ffffff #181a23 #181a23 +client.unfocused #333333 #222222 #888888 #181a23 #181a23 +client.urgent #2f343a #900000 #ffffff #900000 #900000 +client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c +client.background #ffffff + +title_align center +default_border pixel + +gaps inner 10 +gaps outer 20 ### Output configuration # # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) -output * bg ~/.config/sway/wallpaper.jpg fill +output * bg ~/.config/sway/wallpaper.png fill # # Example configuration: # @@ -201,16 +215,19 @@ bindsym $mod+r mode "resize" # # Read `man 5 sway-bar` for more information about this section. bar { - position top + position bottom + height 34 # When the status_command prints a new line to stdout, swaybar updates. # The default just shows the current date and time. - status_command while date +'%Y-%m-%d %l:%M:%S %p'; do sleep 1; done + status_command while date +'%A, %b %d %I:%M %p'; do sleep 1; done colors { - statusline #ffffff - background #323232 - inactive_workspace #32323200 #32323200 #5c5c5c + background #1e2029 + statusline #bd93f9 + separator #ff0000 + focused_workspace #181a23 #181a23 #bd93f9 + inactive_workspace #1e2029 #1e2029 #373844 } } diff --git a/.config/sway/wallpaper.jpg b/.config/sway/wallpaper.jpg deleted file mode 100644 index f839bd9..0000000 Binary files a/.config/sway/wallpaper.jpg and /dev/null differ diff --git a/.config/sway/wallpaper.png b/.config/sway/wallpaper.png new file mode 100644 index 0000000..61d39f9 Binary files /dev/null and b/.config/sway/wallpaper.png differ diff --git a/.config/youtube-dl/config b/.config/youtube-dl/config new file mode 100644 index 0000000..b384373 --- /dev/null +++ b/.config/youtube-dl/config @@ -0,0 +1,2 @@ +--ignore-errors +-o ~/videos/%(title)s.%(ext)s diff --git a/.profile b/.profile index 9774f59..5ab966f 100644 --- a/.profile +++ b/.profile @@ -1,6 +1,6 @@ # Default applications export EDITOR="nvim" -export TERMINAL="st" +export TERMINAL="alacritty" export BROWSER="firefox" export READER="zathura" export PAGER="less" @@ -12,12 +12,23 @@ export XDG_DATA_HOME="$HOME/.local/share" # Application-specific config export ALSA_CONFIG_PATH="$XDG_CONFIG_HOME/alsa/asoundrc" +export AWS_SHARED_CREDENTIALS_FILE="$XDG_CONFIG_HOME/aws/credentials" +export AWS_CONFIG_FILE="$XDG_CONFIG_HOME/aws/config" export CARGO_HOME="$XDG_DATA_HOME/cargo" +export CCACHE_CONFIGPATH="$XDG_CONFIG_HOME/ccache.config" +export CCACHE_DIR="$XDG_CACHE_HOME/ccache" +export DOCKER_CONFIG="$XDG_CONFIG_HOME/docker" +export DVDCSS_CACHE="$XDG_DATA_HOME/dvdcss" export GNUPGHOME="$XDG_DATA_HOME/gnupg" +export LESSKEY="$XDG_CONFIG_HOME/less/lesskey" +export LESSHISTFILE="$XDG_CACHE_HOME/less/history" export NODE_REPL_HISTORY="$XDG_DATA_HOME/node_repl_history" +export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc" export NVM_DIR="$XDG_DATA_HOME/nvm" export PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass" export PYTHONUSERBASE="$XDG_DATA_HOME/python" export RUSTUP_HOME="$XDG_DATA_HOME/rustup" +export TERMINFO="$XDG_DATA_HOME/terminfo" +export TERMINFO_DIRS="$XDG_DATA_HOME/terminfo:/usr/share/terminfo" export WGETRC="$XDG_CONFIG_HOME/wget/wgetrc" export ZDOTDIR="$XDG_CONFIG_HOME/zsh" diff --git a/dependencies.txt b/dependencies.txt index 9d44868..585dc11 100644 --- a/dependencies.txt +++ b/dependencies.txt @@ -1,4 +1,5 @@ zsh +git alacritty nvim firefox @@ -8,9 +9,12 @@ ffmpeg pulseaudio fzf lf +mpd ncmpcpp +playerctl newsboat mpv mpd fontconfig mutt +youtube-dl