mirror of
https://github.com/Keyitdev/dotfiles.git
synced 2026-09-24 01:52:09 +00:00
Update: Added mpd and ncmpcpp configs, replaced oh-my-zsh with just .zshrc.
This commit is contained in:
+11
-5
@@ -13,6 +13,7 @@ exec --no-startup-id xrandr --dpi 96
|
||||
exec_always --no-startup-id feh --no-fehbg --bg-fill $HOME/Pictures/wallpapers/rick.png
|
||||
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
|
||||
|
||||
exec_always --no-startup-id mpd &
|
||||
exec_always --no-startup-id picom &
|
||||
exec_always --no-startup-id dunst &
|
||||
exec_always --no-startup-id /usr/lib/mate-polkit/polkit-mate-authentication-agent-1 &
|
||||
@@ -39,17 +40,22 @@ bindsym $mod+Return exec i3-sensible-terminal
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
|
||||
bindsym $mod+q exec --no-startup-id firefox-developer-edition
|
||||
bindsym $mod+w exec --no-startup-id code
|
||||
bindsym $mod+e exec --no-startup-id nemo
|
||||
|
||||
bindsym $mod+a exec --no-startup-id rofi -show drun -no-default-config -config ~/.config/rofi/dmenu.rasi
|
||||
bindsym $mod+s exec --no-startup-id code
|
||||
bindsym $mod+s exec --no-startup-id nemo ~/Pictures/screenshots/
|
||||
bindsym $mod+d exec --no-startup-id rofi -show drun -no-default-config -config ~/.config/rofi/main.rasi
|
||||
|
||||
bindsym $mod+w exec --no-startup-id nemo ~/Pictures/screenshots/
|
||||
bindsym $mod+e exec --no-startup-id nemo
|
||||
bindsym $mod+q exec --no-startup-id firefox-developer-edition
|
||||
|
||||
bindsym $mod+z exec --no-startup-id alacritty -e ncmpcpp
|
||||
bindsym $mod+x exec --no-startup-id rofi-powermenu
|
||||
bindsym $mod+c exec --no-startup-id rofi-screenshot
|
||||
|
||||
bindsym ctrl + F1 exec --no-startup-id i3-sensible-terminal
|
||||
bindsym ctrl + F2 exec --no-startup-id kitty
|
||||
bindsym ctrl + F3 exec --no-startup-id dmenu_run
|
||||
|
||||
# bindsym $mod+d exec --no-startup-id dmenu_run
|
||||
|
||||
# change focus
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# Documentation: https://mpd.readthedocs.io/en/stable/user.html
|
||||
# Config created by Keyitdev https://www.github.com/keyitdev/dotfiles
|
||||
# Copyright (C) 2022 Keyitdev
|
||||
|
||||
music_directory "~/Music"
|
||||
|
||||
db_file "~/.config/mpd/database"
|
||||
playlist_directory "~/.config/mpd/playlists"
|
||||
|
||||
auto_update "yes"
|
||||
bind_to_address "127.0.0.1"
|
||||
restore_paused "yes"
|
||||
max_output_buffer_size "16384"
|
||||
|
||||
audio_output {
|
||||
type "pulse"
|
||||
name "pulse"
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
; Documentation: https://wiki.archlinux.org/title/ncmpcpp
|
||||
; Config created by Aditya Shakya https://github.com/Alexander-Miller
|
||||
; Config modified by Keyitdev https://www.github.com/keyitdev/dotfiles
|
||||
; Copyright (C) 2022 Keyitdev, Aditya Shakya
|
||||
|
||||
### Directories ###
|
||||
ncmpcpp_directory = ~/.config/ncmpcpp
|
||||
lyrics_directory = ~/.config/ncmpcpp/lyrics
|
||||
mpd_music_dir = ~/Music
|
||||
mpd_host = "localhost"
|
||||
mpd_port = "6600"
|
||||
mpd_crossfade_time = "2"
|
||||
|
||||
### Behaviour ###
|
||||
message_delay_time = 1
|
||||
autocenter_mode = "yes"
|
||||
centered_cursor = "yes"
|
||||
ignore_leading_the = "yes"
|
||||
playlist_disable_highlight_delay = 2
|
||||
allow_for_physical_item_deletion = "no"
|
||||
|
||||
### Visualizer ###
|
||||
visualizer_data_source = /tmp/mpd.fifo
|
||||
visualizer_output_name = "mpd_visualizer"
|
||||
visualizer_in_stereo = "yes"
|
||||
visualizer_look = ●●
|
||||
visualizer_type = "ellipse"
|
||||
|
||||
### Appearance ###
|
||||
playlist_display_mode = "columns"
|
||||
browser_display_mode = "columns"
|
||||
colors_enabled = "yes"
|
||||
|
||||
#user_interface = classic
|
||||
user_interface = alternative
|
||||
volume_color = "white"
|
||||
|
||||
### Window ###
|
||||
song_window_title_format = "{%a - }{%t}|{%f}"
|
||||
statusbar_visibility = "no"
|
||||
header_visibility = "no"
|
||||
titles_visibility = "no"
|
||||
|
||||
### Progress bar ###
|
||||
progressbar_look = "▂▂▂"
|
||||
progressbar_color = "black"
|
||||
progressbar_elapsed_color = "red"
|
||||
|
||||
### Alternative UI ###
|
||||
alternative_ui_separator_color = "black"
|
||||
alternative_header_first_line_format = $b$5$/b $b$8{%t}|{%f}$/b $/b
|
||||
alternative_header_second_line_format = {$b{$2 %a$9}{ - $7 %b$9}}
|
||||
|
||||
### Song list ###
|
||||
song_status_format = "$7%t"
|
||||
song_list_format = "$(blue){%a}$(end) $(red){%t}$(end)$(red)({%l})$(end)
|
||||
song_library_format = {{%a - %t} (%b)}|{%f}
|
||||
song_columns_list_format = "(49)[white]{tr}$C(5f)[red]{l}(50)[blue]{a}"
|
||||
|
||||
### Colors ###
|
||||
main_window_color = "white"
|
||||
current_item_prefix = >>
|
||||
current_item_suffix = $(end)
|
||||
current_item_inactive_column_prefix = red
|
||||
current_item_inactive_column_suffix = red
|
||||
color1 = "white"
|
||||
color2 = "red"
|
||||
@@ -638,7 +638,7 @@ format-background = ${color.background}
|
||||
format-foreground = ${color.yellow}
|
||||
|
||||
|
||||
click-left = rofi -show drun
|
||||
click-left = rofi -show drun -no-default-config -config ~/.config/rofi/dmenu.rasi
|
||||
; create a new workspace (with the smallest possible number)
|
||||
click-middle = i3-msg workspace $(comm -23 <(seq 1 100) <(i3-msg -t get_workspaces | jq '.[].num' | sort -n) | head -n 1)
|
||||
click-right = rofi-powermenu
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
exec i3
|
||||
Executable
+42
@@ -0,0 +1,42 @@
|
||||
autoload -U colors && colors
|
||||
|
||||
git_info() {
|
||||
if git rev-parse --is-inside-work-tree &>/dev/null; then
|
||||
local branch=$(git rev-parse --abbrev-ref HEAD 2>/dev/null)
|
||||
if ! git diff --quiet 2>/dev/null || ! git diff --cached --quiet 2>/dev/null; then
|
||||
echo " %F{green}‹${branch}%f %F{red}|!|%f%F{green}›%f"
|
||||
else
|
||||
echo " %F{green}‹${branch}›%f"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
setopt PROMPT_SUBST
|
||||
|
||||
PROMPT='%F{blue}%B%~%b%f$(git_info) [%*]
|
||||
%B%(!.#.$)%b '
|
||||
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
|
||||
export LS_COLORS="di=1;34"
|
||||
alias ls='ls --color=auto'
|
||||
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
|
||||
zstyle ':completion:*' menu select=1
|
||||
|
||||
HISTFILE=~/.zsh_history
|
||||
HISTSIZE=1000000
|
||||
SAVEHIST=1000000
|
||||
|
||||
setopt INC_APPEND_HISTORY
|
||||
setopt SHARE_HISTORY
|
||||
setopt HIST_IGNORE_DUPS
|
||||
|
||||
autoload -U up-line-or-beginning-search
|
||||
autoload -U down-line-or-beginning-search
|
||||
|
||||
zle -N up-line-or-beginning-search
|
||||
zle -N down-line-or-beginning-search
|
||||
|
||||
bindkey '^[[A' up-line-or-beginning-search
|
||||
bindkey '^[[B' down-line-or-beginning-search
|
||||
Reference in New Issue
Block a user