diff options
-rw-r--r-- | .config/dunst/dunstrc | 83 | ||||
-rw-r--r-- | .config/mpv/input.conf | 161 | ||||
-rw-r--r-- | .config/mpv/mpv.conf | 135 | ||||
-rw-r--r-- | .config/swaylock/config | 38 | ||||
-rw-r--r-- | .config/tmux/tmux.conf | 20 | ||||
-rw-r--r-- | .config/vim/vimrc | 20 | ||||
-rw-r--r-- | .config/zathura/zathurarc | 35 |
7 files changed, 492 insertions, 0 deletions
diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc new file mode 100644 index 0000000..1861e34 --- /dev/null +++ b/.config/dunst/dunstrc @@ -0,0 +1,83 @@ +[global] + monitor = 0 + follow = mouse + #geometry = "x0x0-30+20" + width = 300 + height = 300 + origin = top-right + offset = 17x20 + scale = 0 + max_icon_size=96 + indicate_hidden = yes + shrink = yes + transparency = 10 + + # Show multiple notifications in the same box + separator_height = 2 + + # Add vertical padding to the inside of the notification + padding = 0 + # Add horizontal padding for when the text gets long enough + horizontal_padding = 8 + + # The frame color and width of the notification + frame_color = "#8C754B" + frame_width = 3 + + # How long a user needs to be idle for sticky notifications + idle_threshold = 120 + + # Font and typography settings + font = JetBrainsMono Nerd Font 14 + alignment = left + word_wrap = yes + + # Format for how notifications will be displayed + # Usage: `notify-send 'Title' 'Summary'` + format = "<b>%s</b>: %b" + + # Allow some HTML tags like <i> and <u> in notifications + markup = full + show_age_threshold = 60 + ellipsize = middle + ignore_newline = no + stack_duplicates = true + hide_duplicate_count = true + show_indicators = yes + icon_position = left + max_icon_size = 40 +##since dunst runs as root on startup $USER would point to root dir + icon_path = /home/saumit/.local/share/icons/ + sticky_history = yes + history_length = 20 + dmenu = /usr/bin/dmenu -p dunst: + browser = /usr/bin/brave -new-tab + +# Always run rule-defined scripts, even if the notification is suppressed + always_run_script = true + + title = Dunst + class = Dunst + force_xinerama = false + + +# These are the keybindings used to control dunst notifications + close = ctrl+space + close_all = ctrl+shift+space + history = ctrl+grave + +# Set the background and foreground (text) color for all notifications +[urgency_low] + background = "#0d0a04" + foreground = "#c2c3a5" + +[urgency_normal] + background = "#c2c3a5" + foreground = "#0d0a04" + +[urgency_critical] + background = "#900000" + foreground = "#ffffff" + frame_color = "ff0000" + timeout = 100 +# vim:ft=cfg diff --git a/.config/mpv/input.conf b/.config/mpv/input.conf new file mode 100644 index 0000000..20a48fb --- /dev/null +++ b/.config/mpv/input.conf @@ -0,0 +1,161 @@ +# seek 10 seconds backward +LEFT seek -5 +# seek 10 seconds forward +RIGHT seek 5 + +# seek 1 minute backward +Shift+LEFT seek -60 +# seek 1 minute forward +Shift+RIGHT seek 60 + +# seek 10 minutes forward +Shift+PGUP seek 600 +# seek 10 minutes backward +Shift+PGDWN seek -600 + +#seek to absolute beginning of the video +HOME seek 0 absolute + + +j seek -10 +l seek 10 + +# toggle pause/playback mode +k cycle pause +space cycle pause + +#cycle subs and hide/unhide with v +c cycle sub + +#volume control +9 add volume -2 +0 add volume 2 +UP add volume 2 +DOWN add volume -2 + +WHEEL_UP add volume 5 +WHEEL_DOWN add volume -5 + + +# decrease the playback speed +[ multiply speed 1/1.1 +b multiply speed 1/1.1 +# increase the playback speed +] multiply speed 1.1 +n multiply speed 1.1 + +Ctrl+WHEEL_UP add speed 0.1 +Ctrl+WHEEL_DOWN add speed -0.1 + +# reset the speed to normal +\ set speed 1.0 + +q quit +# exit and remember the playback position +Q quit-watch-later + +#Alt+left add video-pan-x 0.1 # move the video right +#Alt+right add video-pan-x -0.1 # move the video left +#Alt+up add video-pan-y 0.1 # move the video down +#Alt+down add video-pan-y -0.1 # move the video up +Alt+= add video-zoom 0.1 # zoom in +Alt+- add video-zoom -0.1 # zoom out +#Alt+BS set video-zoom 0 ; set video-pan-x 0 ; set video-pan-y 0 # reset zoom and pan settings +#PGUP add chapter 1 # seek to the next chapter +#PGDWN add chapter -1 # seek to the previous chapter +#Shift+BS revert-seek # undo the previous (or marked) seek +#Shift+Ctrl+BS revert-seek mark # mark the position for revert-seek +ESC set fullscreen no # leave fullscreen +#. frame-step # advance one frame and pause +#, frame-back-step # go back by one frame and pause +#SPACE cycle pause # toggle pause/playback mode +#> playlist-next # skip to the next file +#ENTER playlist-next # skip to the next file +#< playlist-prev # skip to the previous file +#O no-osd cycle-values osd-level 3 1 # toggle displaying the OSD on user interaction or always +o show-progress # show playback progress +#P show-progress # show playback progress +#i script-binding stats/display-stats # display information and statistics +#I script-binding stats/display-stats-toggle # toggle displaying information and statistics +#` script-binding console/enable # open the console +z add sub-delay -0.1 # shift subtitles 100 ms earlier +#Z add sub-delay +0.1 # delay subtitles by 100 ms +x add sub-delay +0.1 # delay subtitles by 100 ms +#ctrl++ add audio-delay 0.100 # change audio/video sync by delaying the audio +#ctrl+- add audio-delay -0.100 # change audio/video sync by shifting the audio earlier +#Shift+g add sub-scale +0.1 # increase the subtitle font size +#Shift+f add sub-scale -0.1 # decrease the subtitle font size +m cycle mute # toggle 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 current-window-scale 0.5 # halve the window size +#Alt+1 set current-window-scale 1.0 # reset the window size +#Alt+2 set current-window-scale 2.0 # double the window size +#d cycle deinterlace # toggle the deinterlacing filter +#r add sub-pos -1 # move subtitles up +#R add sub-pos +1 # move subtitles down +#t add sub-pos +1 # move subtitles down +#v cycle sub-visibility # hide or show the subtitles +#Alt+v cycle secondary-sub-visibility # hide or show the secondary subtitles +#V cycle sub-ass-vsfilter-aspect-compat # toggle stretching SSA/ASS subtitles with anamorphic videos to match the historical renderer +#u cycle-values sub-ass-override "force" "no" # toggle overriding SSA/ASS subtitle styles with the normal styles +#j cycle sub # switch subtitle track +#J cycle sub down # switch subtitle track backwards +#SHARP cycle audio # switch audio track +#_ cycle video # switch video track +#T cycle ontop # toggle placing the video on top of other windows +#f cycle fullscreen # toggle fullscreen +s screenshot # take a screenshot of the video in its original resolution with subtitles +#S screenshot video # take a screenshot of the video in its original resolution without subtitles +#Ctrl+s screenshot window # take a screenshot of the window with OSD and subtitles +#Alt+s screenshot each-frame # automatically screenshot every frame; issue this command again to stop taking screenshots +#w add panscan -0.1 # decrease panscan +#W add panscan +0.1 # shrink black bars by cropping the video +#e add panscan +0.1 # shrink black bars by cropping the video +#A cycle-values video-aspect-override "16:9" "4:3" "2.35:1" "-1" # cycle the video aspect ratio ("-1" is the container aspect) +#POWER quit +#PLAY cycle pause # toggle pause/playback mode +#PAUSE cycle pause # toggle pause/playback mode +#PLAYPAUSE cycle pause # toggle pause/playback mode +#PLAYONLY set pause no # unpause +#PAUSEONLY set pause yes # pause +#STOP quit +#FORWARD seek 60 # seek 1 minute forward +#REWIND seek -60 # seek 1 minute backward +#NEXT playlist-next # skip to the next file +#PREV playlist-prev # skip to the previous file +#VOLUME_UP add volume 2 +#VOLUME_DOWN add volume -2 +#MUTE cycle mute # toggle mute +#CLOSE_WIN quit +#CLOSE_WIN {encode} quit 4 +#ctrl+w quit +#E cycle edition # switch edition +Ctrl+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 visibility between never, auto (mouse-move) and always +#ctrl+h cycle-values hwdec "auto" "no" # toggle hardware decoding +#F8 show-text ${playlist} # show the playlist +#F9 show-text ${track-list} # show the list of video, audio and sub tracks + +# +# Legacy bindings (may or may not be removed in the future) +# +#! add chapter -1 # seek to the previous chapter +#@ add chapter 1 # seek to the next chapter + +# +# Not assigned by default +# (not an exhaustive list of unbound commands) +# +F vf toggle hflip +H vf toggle vflip +# ? cycle sub-forced-only # toggle DVD forced subs +# ? 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..1f35f5c --- /dev/null +++ b/.config/mpv/mpv.conf @@ -0,0 +1,135 @@ +# +# 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=no + +#Don't close the video on end, instead loop it and wait for q +#loop-file='inf' +# 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 + +# 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 # +################## +speed=1.00 +volume=50 +# 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 + +alang=jpn + +################## +# 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 + +#fuzzy find srt in same directory +sub-auto=fuzzy + +#Play English subtitles if available, fall back to Korean otherwise. +#slang=en,kr + +# 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 +save-position-on-quit diff --git a/.config/swaylock/config b/.config/swaylock/config new file mode 100644 index 0000000..7ae89de --- /dev/null +++ b/.config/swaylock/config @@ -0,0 +1,38 @@ +daemonize +show-failed-attempts +clock +screenshot +effect-blur=9x5 +effect-vignette=0.5:0.5 +color=1f1d2e80 +font="Inter" +indicator +indicator-radius=200 +indicator-thickness=20 +line-color=1f1d2e +ring-color=191724 +inside-color=1f1d2e +key-hl-color=eb6f92 +separator-color=00000000 +text-color=e0def4 +text-caps-lock-color="" +line-ver-color=eb6f92 +ring-ver-color=eb6f92 +inside-ver-color=1f1d2e +text-ver-color=e0def4 +ring-wrong-color=31748f +text-wrong-color=31748f +inside-wrong-color=1f1d2e +inside-clear-color=1f1d2e +text-clear-color=e0def4 +ring-clear-color=9ccfd8 +line-clear-color=1f1d2e +line-wrong-color=1f1d2e +bs-hl-color=31748f +grace=2 +grace-no-mouse +grace-no-touch +datestr=%a, %B %e +timestr=%I:%M %p +fade-in=0.2 +ignore-empty-password diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf new file mode 100644 index 0000000..0023540 --- /dev/null +++ b/.config/tmux/tmux.conf @@ -0,0 +1,20 @@ +#Unbind default prefix key and bind it to Ctrl+Space +unbind C-b +set -g prefix C-space + +# Start window numbering at 1 +set -g base-index 1 +# mouse support +set -g mouse on + +#george hotz +set -g status-position bottom +set -g status-bg colour234 +set -g status-fg colour137 +set -g status-left '' +set -g status-right '#[fg=colour233,bg=colour241,bold] %d/%m #[fg=colour233,bg=colour245,bold] %H:%M:%S ' +set -g status-right-length 50 +set -g status-left-length 20 + +setw -g window-status-current-format ' #I#[fg=colour250]:#[fg=colour255]#W#[fg=colour50]#F ' +setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F ' diff --git a/.config/vim/vimrc b/.config/vim/vimrc new file mode 100644 index 0000000..0832263 --- /dev/null +++ b/.config/vim/vimrc @@ -0,0 +1,20 @@ +syntax on + +set tabstop=4 +set softtabstop=4 +set shiftwidth=4 +set expandtab +set autoindent +set smartindent +set nu +set relativenumber +"set nowrap +set smartcase +set noswapfile +set nobackup +set undofile +set undodir=~/.cache/vim/undodir +set incsearch +set nohlsearch +"set signcolumn=yes +set mouse=a diff --git a/.config/zathura/zathurarc b/.config/zathura/zathurarc new file mode 100644 index 0000000..f7db8c4 --- /dev/null +++ b/.config/zathura/zathurarc @@ -0,0 +1,35 @@ +set sandbox none +set statusbar-h-padding 0 +set statusbar-v-padding 0 +set page-padding 1 +set adjust-open width + + +map j scroll half-down +map k scroll half-up +map J zoom out +map K zoom in +map - zoom out +map = zoom in +map _ adjust_window best-fit +map + adjust_window width + +map r reload +map R rotate + +map <C-n> search forward +map <C-b> search backward + +#access index w tab +#colon tab for options +#colon number to land on page no or nG +#map p print + +map f toggle_fullscreen +map [fullscreen] f toggle_fullscreen + +map i recolor +map gg goto top +map G goto bottom + +set selection-clipboard clipboard |