Initial Commit.

This commit is contained in:
Igor Drożniak 2019-10-03 19:13:57 +02:00
commit 884e42d5f8
77 changed files with 10926 additions and 0 deletions

BIN
.config/dconf/user Normal file

Binary file not shown.

1
.config/dmenu Submodule

@ -0,0 +1 @@
Subproject commit 2e0bad4e47444c90873ff73ac14b7adfb0bfa556

237
.config/dunst/dunstrc Normal file
View File

@ -0,0 +1,237 @@
[global]
### Display ###
# Which monitor should the notifications be displayed on
monitor = 0
# Display notification on focused monitor. Possible modes are:
# mouse: follow mouse pointer
# keyboard: follow window with keyboard focus
# none: don't follow anything
#
# "keyboard" needs a window manager that exports the
# _NET_ACTIVE_WINDOW property.
# This should be the case for almost all modern window managers.
#
# If this option is set to mouse or keyboard, the monitor option
# will be ignored.
follow = keyboard
# The geometry of the window:
# [{width}]x{height}[+/-{x}+/-{y}]
# The geometry of the message window.
# The height is measured in number of notifications everything else
# in pixels. If the width is omitted but the height is given
# ("-geometry x2"), the message window expands over the whole screen
# (dmenu-like). If width is 0, the window expands to the longest
# message displayed. A positive x is measured from the left, a
# negative from the right side of the screen. Y is measured from
# the top and down respectively.
# The width can be negative. In this case the actual width is the
# screen width minus the width defined in within the geometry option.
geometry = "435x5-0+0"
# Show how many messages are currently hidden (because of geometry)
indicate_hidden = yes
# Shrink window if it's smaller than the width. Will be ignored if
# width is 0.
shrink = no
# The transparency of the window. Range: [0; 100].
# This option will only work if a compositing window manager is
# present (e.g. xcompmgr, compiz, etc.).
transparency = 0
# The height of the entire notification. If the height is smaller
# than the font height and padding combined, it will be raised
# to the font height and padding.
notification_height = 0
# Draw a line of "separator_height" pixel height between two
# notifications.
# Set to 0 to disable.
separator_height = 0
# Padding between text and separator
padding = 6
# Horizontal padding
horizontal_padding = 6
# Defines width in pixels of frame around the notification window.
# Set to 0 to disable.
frame_width = 2
# Define a color for the separator.
# possible values are:
# * auto: dunst tries to find a color fitting to the background;
# * foreground: use the same color as the foreground;
# * frame: use the same color as the frame;
# * anything else will be interpreted as a X color.
separator_color = frame
# Sort messages by urgency
sort = yes
# Don't remove messages, if the user is idle (no mouse or keyboard input)
# for longer than idle_threshold seconds.
# Set to 0 to disable.
# Transient notifications ignore this setting.
idle_threshold = 0
### Text ###
font = DejaVu Sans Mono 11
# The spacing between lines. If the height is smaller than the
# font height, it will get raised to the font height.
line_height = 0
# Possible values are:
# full: Allow a small subset of html markup in notifications:
# <b>bold</b>
# <i>italic</i>
# <s>strikethrough</s>
# <u>underline</u>
#
# For a complete reference see
# <http://developer.gnome.org/pango/stable/PangoMarkupFormat.html>.
#
# strip: This setting is provided for compatibility with some broken
# clients that send markup even though it's not enabled on the
# server. Dunst will try to strip the markup but the parsing is
# simplistic so using this option outside of matching rules for
# specific applications *IS GREATLY DISCOURAGED*.
#
# no: Disable markup parsing, incoming notifications will be treated as
# plain text. Dunst will not advertise that it has the body-markup
# capability if this is set as a global setting.
#
# It's important to note that markup inside the format option will be parsed
# regardless of what this is set to.
markup = full
# The format of the message. Possible variables are:
# %a appname
# %s summary
# %b body
# %i iconname (including its path)
# %I iconname (without its path)
# %p progress value if set ([ 0%] to [100%]) or nothing
# %n progress value if set without any extra characters
# %% Literal %
# Markup is allowed
format = "%s\n%b"
# Alignment of message text.
# Possible values are "left", "center" and "right".
alignment = left
# Show age of message if message is older than show_age_threshold
# seconds.
# Set to -1 to disable.
show_age_threshold = 60
# Split notifications into multiple lines if they don't fit into
# geometry.
word_wrap = yes
# When word_wrap is set to no, specify where to ellipsize long lines.
# Possible values are "start", "middle" and "end".
ellipsize = middle
# Ignore newlines '\n' in notifications
ignore_newline = no
# Merge multiple notifications with the same content
stack_duplicates = true
# Hide the count of merged notifications with the same content
hide_duplicate_count = false
# Display indicators for URLs (U) and actions (A)
show_indicators = no
### Icons ###
# Align icons left/right/off
icon_position = left
# Scale larger icons down to this size, set to 0 to disable
max_icon_size = 32
# Paths to default icons
#icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
icon_path = /kthxbye
### History ###
# Should a notification popped up from history be sticky or timeout
# as if it would normally do
sticky_history = yes
# Maximum amount of notifications kept in history
history_length = 20
### Misc/Advanced ###
# dmenu or rofi path
dmenu = /usr/bin/rofi -dmenu -p dunst:
# Browser for opening urls in context menu
browser = /usr/bin/qutebrowser
# Always run rule-defined scripts, even if the notification is suppressed
always_run_script = true
# Define the title of the windows spawned by dunst
title = Dunst
# Define the class of the windows spawned by dunst
class = Dunst
[shortcuts]
# Shortcuts are specified as [modifier+][modifier+]...key
# Available modifiers are "ctrl", "mod1" (the alt-key), "mod2",
# "mod3" and "mod4" (windows-key)
# Xev might be helpful to find names for keys
# Close notification
close = ctrl+space
# Close all notifications.
close_all = ctrl+shift+space
# Redisplay last message(s)
history = ctrl+grave
# Context menu.
context = ctrl+shift+period
[urgency_low]
background = "#181b21"
foreground = "#5f819d"
frame_color = "#5f819d"
timeout = 5
# Icon for notifications with low urgency, uncomment to enable
#icon = /path/to/icon
[urgency_normal]
background = "#181b21"
foreground = "#5f819d"
frame_color = "#5f819d"
timeout = 5
# Icon for notifications with normal urgency, uncomment to enable
#icon = /path/to/icon
[urgency_critical]
background = "#181b21"
foreground = "#5f819d"
frame_color = "#a54242"
timeout = 0
# Icon for notifications with critical urgency, uncomment to enable
#icon = /path/to/icon
# vim: ft=cfg

377
.config/i3/config Normal file
View File

@ -0,0 +1,377 @@
#
# _ _____
# (_)___ / __ _ __ _ _ __ ___
# | | |_ \ _____ / _` |/ _` | '_ \/ __|
# | |___) |_____| (_| | (_| | |_) \__ \
# |_|____/ \__, |\__,_| .__/|___/
# |___/ |_|
#
# Xresources var value
set_from_resource $bg background
set_from_resource $fg foreground
set_from_resource $black color0
set_from_resource $black_l color8
set_from_resource $red color1
set_from_resource $red_l color9
set_from_resource $green color2
set_from_resource $green_l color10
set_from_resource $yellow color3
set_from_resource $yellow_l color11
set_from_resource $blue color4
set_from_resource $blue_l color12
set_from_resource $magenta color5
set_from_resource $red_l color13
set_from_resource $cyan color6
set_from_resource $cyan_l color14
set_from_resource $white color7
set_from_resource $white_l color15
set $transp #00000000
# class bd bg txt ind child_bd
client.focused $black_l $black_l $blue $blue $blue
client.unfocused $bg $bg $blue $bg $bg
client.focused_inactive $black_l $black_l $blue $bg $bg
client.urgent $bg $bg $blue $bg $bg
client.placeholder $bg $bg $blue $bg $bg
client.background $bg
# Font
font pango:DejaVu Sans Mono 11
# Mod key (Super)
set $Mod Mod4
# Moe key (Alt)
set $Moe Mod1
# Terminal (ST)
set $TERMINAL st
# Direction keys
set $up k
set $down j
set $left h
set $right l
# Workspaces Icons
set $ws1 "1: "
set $ws2 "2: "
set $ws3 "3: "
set $ws4 "4: "
set $ws5 "5: "
set $ws6 "6: "
set $ws7 "7: "
set $ws8 "8: "
set $ws9 "9: "
set $ws10 "10: "
set $ws11 "11: "
# ~~~~~~~~~~~~~~~
# Border & Gaps
# ~~~~~~~~~~~~~~~
# Border & Title
for_window [class="^.*"] border pixel 2, title_format " %title "
smart_borders on
# Gaps
gaps inner 5
gaps outer 8
new_window pixel
new_float normal
hide_edge_borders none
popup_during_fullscreen smart
# Changing Border style
bindsym $Mod+o border pixel 2
bindsym $Mod+Shift+o border none
# ~~~~~~~~~~~
# Autostart
# ~~~~~~~~~~~
# Remap buttons + keyboard layout
exec --no-startup-id setxkbmap pl -option 'caps:ctrl_modifier'
exec --no-startup-id xcape -e 'Caps_Lock=Escape'
exec --no-startup-id xmodmap -e "keysym Menu = Super_R"
# Load .Xresources configs
exec_always --no-startup-id xrdb -load ~/.Xresources
# Hide mouse cursor after X seconds
exec --no-startup-id unclutter --timeout 5 --jitter 2 &
# That nice bar
exec_always --no-startup-id ~/.config/polybar/launch.sh
# Prevent desktop idleness in full-screen mode
exec --no-startup-id caffeine
# X11 Compositor
exec --no-startup-id compton
# Notification daemon
exec --no-startup-id dunst
# Music daemon
exec --no-startup-id mpd
# If you have a numpad you may want to enable this and install numlockx
#exec --no-startup-id numlockx
# Keyring for storing saved passwords
exec --no-startup-id gnome-keyring-daemon --start --components=pkcs11,secrets,ssh
# Polkit, required for authentication
exec --no-startup-id /usr/libexec/polkit-gnome-authentication-agent-1
# Wallpaper (don't edit directly there, use ~/.script/wallpaper.sh)
exec --no-startup-id xwallpaper --daemon --zoom ~/.config/wallpaper
# Syncthing
exec --no-startup-id syncthing -no-browser
# Scratchpad
exec --no-startup-id keepassxc -name keepassxc-sp
# ~~~~~~~~~~~~~
# Keybindings
# ~~~~~~~~~~~~~
# Restart i3
bindsym $Mod+Shift+r restart
# Kill focused window
bindsym $Mod+Shift+q kill
# Hide polybar
bindsym $Mod+bracketleft exec --no-startup-id killall -9 polybar
bindsym $Mod+bracketright exec --no-startup-id .config/polybar/launch.sh
# Launcher
bindsym $Mod+d exec --no-startup-id dmenu_run -f -i
bindsym $Mod+Shift+d exec --no-startup-id i3-dmenu-desktop --dmenu="dmenu -f -i"
# Applications
bindsym $Mod+Return exec --no-startup-id $TERMINAL
bindsym $Mod+f exec --no-startup-id $HOME/.local/share/tor-browser/Browser/start-tor-browser
bindsym $Mod+Shift+f exec --no-startup-id $BROWSER
bindsym $Mod+r exec --no-startup-id $TERMINAL -n 'ncmpcpp' -e 'ncmpcpp'
bindsym $Mod+t exec --no-startup-id $HOME/.script/dmenu-messenger.sh
bindsym $Mod+b exec --no-startup-id blueman-manager
bindsym $Mod+p [instance="keepassxc-sp"] scratchpad show; [instance="keepassxc-sp"] move position center
bindsym $Mod+u exec --no-startup-id exec ~/.script/dmenu-unicode.sh
bindsym $Mod+m exec --no-startup-id $TERMINAL -n 'neomutt' -e 'neomutt'
bindsym $Mod+Shift+m exec --no-startup-id ~/.config/mutt/etc/mailsync.sh
bindsym $Mod+n exec --no-startup-id redshift -O 3500 -b 0.8
bindsym $Mod+Shift+n exec --no-startup-id redshift -x
bindsym $Mod+g exec --no-startup-id gcolor2
# Compton
bindsym $Mod+c exec --no-startup-id compton
bindsym $Mod+Shift+c exec --no-startup-id killall -9 compton
# Logout
bindsym $Mod+x exec --no-startup-id ~/.script/dmenu-logout.sh
# Screenshot
bindsym Print exec --no-startup-id ~/.script/dmenu-screenshot.sh
# Center floating app
bindsym $Mod+s move position center
# Move to corner
bindsym $Mod+Shift+s exec --no-startup-id ~/.script/i3-corner.sh 3
# sndio
# bindsym $Mod+$Moe+$up exec --no-startup-id ~/.script/sndio.sh up 1
# bindsym $Mod+$Moe+$down exec --no-startup-id ~/.script/sndio.sh down 1
# bindsym XF86AudioRaiseVolume exec --no-startup-id ~/.script/sndio.sh up 1
# bindsym XF86AudioLowerVolume exec --no-startup-id ~/.script/sndio.sh down 1
# Audio - Vim bindings
bindsym $Mod+$Moe+$up exec --no-startup-id pamixer -i 1
bindsym $Mod+$Moe+$down exec --no-startup-id pamixer -d 1
# Audio - XF86 bindings
bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer -i 1
bindsym XF86AudioLowerVolume exec --no-startup-id pamixer -d 1
bindsym XF86AudioMute exec --no-startup-id pamixer -t
bindsym XF86AudioPlay exec --no-startup-id mpc play
bindsym XF86AudioNext exec --no-startup-id mpc next
bindsym XF86AudioPrev exec --no-startup-id mpc prev
bindsym XF86AudioStop exec --no-startup-id mpc stop
bindsym XF86AudioPause exec --no-startup-id mpc pause
# Backlight - Vim bindings
bindsym $Mod+$Moe+$right exec --no-startup-id light -A 1
bindsym $Mod+$Moe+$left exec --no-startup-id light -U 1
# Backlight - XF86 bindings
bindsym XF86MonBrightnessUp exec --no-startup-id light -A 1
bindsym XF86MonBrightnessDown exec --no-startup-id light -U 1
# Fullscreen
bindsym F11 fullscreen
# ~~~~~~~~~~~~~~~~~~~~
# Workspace Bindings
# ~~~~~~~~~~~~~~~~~~~~
# Switch to Workspace
bindsym $Mod+1 workspace $ws1
bindsym $Mod+2 workspace $ws2
bindsym $Mod+3 workspace $ws3
bindsym $Mod+4 workspace $ws4
bindsym $Mod+5 workspace $ws5
bindsym $Mod+6 workspace $ws6
bindsym $Mod+7 workspace $ws7
bindsym $Mod+8 workspace $ws8
bindsym $Mod+9 workspace $ws9
bindsym $Mod+0 workspace $ws10
bindsym $Mod+minus workspace $ws11
# Next/Previous Workspace
bindsym $Mod+$down workspace next
bindsym $Mod+$up workspace prev
# Back and forth
bindsym $Mod+Tab workspace back_and_forth
# Move focused container to Workspace
bindsym $Mod+Ctrl+1 move container to workspace $ws1
bindsym $Mod+Ctrl+2 move container to workspace $ws2
bindsym $Mod+Ctrl+3 move container to workspace $ws3
bindsym $Mod+Ctrl+4 move container to workspace $ws4
bindsym $Mod+Ctrl+5 move container to workspace $ws5
bindsym $Mod+Ctrl+6 move container to workspace $ws6
bindsym $Mod+Ctrl+7 move container to workspace $ws7
bindsym $Mod+Ctrl+8 move container to workspace $ws8
bindsym $Mod+Ctrl+9 move container to workspace $ws9
bindsym $Mod+Ctrl+0 move container to workspace $ws10
bindsym $Mod+Ctrl+underscore move container to workspace $ws11
bindsym $Mod+Shift+1 move container to workspace $ws1; workspace $ws1
bindsym $Mod+Shift+2 move container to workspace $ws2; workspace $ws2
bindsym $Mod+Shift+3 move container to workspace $ws3; workspace $ws3
bindsym $Mod+Shift+4 move container to workspace $ws4; workspace $ws4
bindsym $Mod+Shift+5 move container to workspace $ws5; workspace $ws5
bindsym $Mod+Shift+6 move container to workspace $ws6; workspace $ws6
bindsym $Mod+Shift+7 move container to workspace $ws7; workspace $ws7
bindsym $Mod+Shift+8 move container to workspace $ws8; workspace $ws8
bindsym $Mod+Shift+9 move container to workspace $ws9; workspace $ws9
bindsym $Mod+Shift+0 move container to workspace $ws10; workspace $ws10
bindsym $Mod+Shift+underscore move container to workspace $ws11; workspace $ws11
# ~~~~~~~~~~~~~~~~~~~~~~~~~~
# Container/Window control
# ~~~~~~~~~~~~~~~~~~~~~~~~~~
# Enable floating
bindsym $Mod+Shift+space floating toggle
# Change focus on mouse click
focus_follows_mouse no
# Change focus
bindsym $Moe+$left focus left
bindsym $Moe+$down focus down
bindsym $Moe+$up focus up
bindsym $Moe+$right focus right
# Focus to parent/child
bindsym $Moe+p focus parent
bindsym $Moe+c focus child
# Move focused window
bindsym $Mod+Shift+$left move left 40px
bindsym $Mod+Shift+$down move down 40px
bindsym $Mod+Shift+$up move up 40px
bindsym $Mod+Shift+$right move right 40px
# Mod + Mouse
floating_modifier $Mod
# Resize focused window
bindsym $Mod+Ctrl+$up resize shrink height 20 px or 2 ppt
bindsym $Mod+Ctrl+$down resize grow height 20 px or 2 ppt
bindsym $Mod+Ctrl+$left resize shrink width 20 px or 2 ppt
bindsym $Mod+Ctrl+$right resize grow width 20 px or 2 ppt
# Switch to new window on other workspace
#focus_on_window_activation focus
# Switch to workspace with urgent window
#for_window [urgent="latest"] focus
# Container layout
bindsym $Mod+w layout tabbed
bindsym $Mod+Shift+w layout stacking
bindsym $Mod+e layout toggle split
# Split window
bindsym $Mod+less split vertical
bindsym $Mod+greater split horizontal
default_orientation horizontal
# ~~~~~~~~~~~~~~~~~~~~~~
# Application Settings
# ~~~~~~~~~~~~~~~~~~~~~~
# Tor Browser (WS1)
assign [class="Tor Browser"] workspace $ws1
for_window [class="Tor Browser"] floating enable
# Coding (WS2)
assign [class="Code - OSS"] workspace $ws2
# Messaging (WS4)
assign [class="TelegramDesktop"] workspace $ws4
assign [class="Riot"] workspace $ws4
assign [class="Signal"] workspace $ws4
assign [class="Wire"] workspace $ws4
# Mail (WS5)
assign [instance="neomutt"] workspace $ws5
# Documents (WS6)
assign [class="Zathura"] workspace $ws6
assign [class="Evince"] workspace $ws6
assign [class="libreoffice"] workspace $ws6
# Graphics (WS7)
assign [class="Gimp"] workspace $ws7
assign [class="Inkscape"] workspace $ws7
# Gaming
assign [class="retroarch"] workspace $ws8
# Audio (WS9)
assign [class="Rhythmbox"] workspace $ws9
assign [instance="ncmpcpp"] workspace $ws9
# Video (WS10)
assign [class="obs"] workspace $ws10
assign [class="vlc"] workspace $ws10
# Clearnet Browsers (WS11)
assign [class="qutebrowser"] workspace $ws11
assign [class="Firefox"] workspace $ws11
assign [class="Chromium"] workspace $ws11
assign [class="Epiphany"] workspace $ws11
assign [class="Falkon"] workspace $ws11
assign [class="Midori"] workspace $ws11
# Scratchpad
for_window [instance="keepassxc-sp"] move scratchpad
for_window [instance="keepassxc-sp"] border pixel 3
for_window [instance="keepassxc-sp"] resize set 800 600
# Other
for_window [class="Gsimplecal"] floating enable
# vim: filetype=i3

BIN
.config/mpd/database Normal file

Binary file not shown.

4092
.config/mpd/log Normal file

File diff suppressed because it is too large Load Diff

23
.config/mpd/mpd.conf Normal file
View File

@ -0,0 +1,23 @@
db_file "~/.config/mpd/database"
log_file "~/.config/mpd/log"
music_directory "~/Music"
pid_file "~/.config/mpd/pid"
state_file "~/.config/mpd/state"
sticker_file "~/.config/mpd/sticker.sql"
playlist_directory "~/.config/mpd/playlists"
bind_to_address "127.0.0.1"
restore_paused "yes"
max_output_buffer_size "16384"
audio_output {
type "pulse"
name "pulseaudio-mpd"
}
audio_output {
type "fifo"
name "toggle_visualizer"
path "/tmp/mpd.fifo"
format "44100:16:2"
}

1
.config/mpd/pid Normal file
View File

@ -0,0 +1 @@
30452

136
.config/mpd/state Normal file
View File

@ -0,0 +1,136 @@
sw_volume: 100
audio_device_state:1:pulseaudio-mpd
audio_device_state:1:toggle_visualizer
state: play
current: 3
time: 3.995000
random: 0
repeat: 0
single: 0
consume: 0
crossfade: 0
mixrampdb: 0.000000
mixrampdelay: -1.000000
playlist_begin
0:Linus Said - Music Parody (Momma Said).webm
1:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/01-john_lennon-imagine_(ultimate_mix)-cce46005.mp3
2:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/02-john_lennon-crippled_inside_(ultimate_mix)-57d6b355.mp3
3:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/03-john_lennon-jealous_guy_(ultimate_mix)-fa96e351.mp3
4:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/04-john_lennon-its_so_hard_(ultimate_mix)-37b44603.mp3
5:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/05-john_lennon-i_dont_wanna_be_a_soldier_mama_i_dont_wanna_die_(ultimate_mix)-e29b2711.mp3
6:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/06-john_lennon-gimme_some_truth_(ultimate_mix)-a4f05453.mp3
7:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/07-john_lennon-oh_my_love_(ultimate_mix)-d5f3419e.mp3
8:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/08-john_lennon-how_do_you_sleep_(ultimate_mix)-b0aac141.mp3
9:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/09-john_lennon-how_(ultimate_mix)-95c1bbf2.mp3
10:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/10-john_lennon-oh_yoko_(ultimate_mix)-c1539fba.mp3
11:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/11-john_lennon-power_to_the_people_(ultimate_mix)-f68dfaf9.mp3
12:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/12-john_lennon-well_(baby_please_dont_go)_(ultimate_mix)-5de90a76.mp3
13:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/13-bill_elliott-god_save_us_(ultimate_mix)-db2a80df.mp3
14:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/15-john_lennon-god_save_oz_(ultimate_mix)-51393bb6.mp3
15:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/16-john_lennon_feat_the_harlem_community_choir-happy_xmas_(war_is_over)_(ultimate_mix)-064542de.mp3
16:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/17-the_flux_fiddlers-imagine_(elements_mix)-224ea997.mp3
17:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/18-the_plastic_ono_band-jealous_guy_(elements_mix)-3f94059a.mp3
18:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/19-john_lennon-oh_my_love_(elements_mix)-7498c4a7.mp3
19:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/20-the_flux_fiddlers-how_(elements_mix)-0a0fb973.mp3
20:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/21-john_lennon-imagine_(demo)-8b0a77da.mp3
21:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/22-john_lennon-imagine_(take_1)-959e2934.mp3
22:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/23-john_lennon-crippled_inside_(take_3)-70089ef0.mp3
23:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/24-john_lennon-crippled_inside_(take_6__alternate_guitar_solo)-384af0d4.mp3
24:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/25-john_lennon-jealous_guy_(take_9)-d7a4aadc.mp3
25:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/26-john_lennon-its_so_hard_(take_6)-4388f43a.mp3
26:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/27-john_lennon-i_dont_wanna_be_a_soldier_mama_i_dont_wanna_die_(take_11)-f331b18c.mp3
27:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/28-john_lennon-gimme_some_truth_(take_4)-82b86dab.mp3
28:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/29-john_lennon-oh_my_love_(take_6)-06d92d71.mp3
29:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/30-john_lennon-how_do_you_sleep_(takes_1_and_2)-10082076.mp3
30:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/31-john_lennon-how_(take_31)-d40c4244.mp3
31:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/32-john_lennon-oh_yoko_(bahamas_1969)-ccf3179a.mp3
32:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/33-john_lennon-power_to_the_people_(take_7)-323bd323.mp3
33:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/34-john_lennon-god_save_us_(demo)-9fbcd754.mp3
34:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/35-john_lennon-do_the_oz_(take_3)-3a907450.mp3
35:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/36-john_lennon_feat_the_harlem_community_choir-happy_xmas_(war_is_over)_(alternate_mix)-8db94993.mp3
36:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/37-john_lennon-imagine_(take_10__raw_studio_mix)-7cd51229.mp3
37:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/38-john_lennon-crippled_inside_(take_6__raw_studio_mix)-44ac6ad1.mp3
38:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/39-john_lennon-jealous_guy_(take_29__raw_studio_mix)-b864634c.mp3
39:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/40-john_lennon-its_so_hard_(take_11__raw_studio_mix)-3ec6cd36.mp3
40:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/41-john_lennon-i_dont_wanna_be_a_soldier_mama_i_dont_wanna_die_(take_4__extended__raw_studio_mix)-bfaa1a83.mp3
41:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/42-john_lennon-gimme_some_truth_(take_4__extended__raw_studio_mix)-d59539bf.mp3
42:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/43-john_lennon-oh_my_love_(take_20__raw_studio_mix)-ea117f05.mp3
43:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/44-john_lennon-how_do_you_sleep_(take_11__extended__raw_studio_mix)-8184da64.mp3
44:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/45-john_lennon-how_(take_40__raw_studio_mix)-35e1b84c.mp3
45:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/46-john_lennon-oh_yoko_(take_1__extended__raw_studio_mix)-79be7f8e.mp3
46:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/47-john_lennon-imagine_(take_1__raw_studio_mix)-818340b9.mp3
47:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/48-john_lennon-jealous_guy_(take_11__raw_studio_mix)-f6cfa1db.mp3
48:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/49-john_lennon-i_dont_wanna_be_a_soldier_mama_i_dont_wanna_die_(take_21__raw_studio_mix)-8cf746dc.mp3
49:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/50-john_lennon-how_do_you_sleep_(take_1__raw_studio_mix)-f9f64056.mp3
50:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/51-john_lennon-how_do_you_sleep_(takes_5_and_6__raw_studio_mix)-b9b3f1db.mp3
51:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/52-john_lennon-imagine_(evolution_documentary__mono)-5a927343.mp3
52:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/53-john_lennon-crippled_inside_(evolution_documentary__mono)-563f4651.mp3
53:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/54-john_lennon-jealous_guy_(evolution_documentary__mono)-d0def7ac.mp3
54:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/55-john_lennon-its_so_hard_(evolution_documentary__mono)-fe60d116.mp3
55:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/56-john_lennon-i_dont_wanna_be_a_soldier_mama_i_dont_wanna_die_(evolution_documentary__mono)-207090b3.mp3
56:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/57-john_lennon-gimme_some_truth_(evolution_documentary__mono)-bb218c0d.mp3
57:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/58-john_lennon-oh_my_love_(evolution_documentary__mono)-febb31d9.mp3
58:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/59-john_lennon-how_do_you_sleep_(evolution_documentary__mono)-a3697fe7.mp3
59:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/60-john_lennon-how_(evolution_documentary__mono)-c65c56d6.mp3
60:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/61-john_lennon-oh_yoko_(evolution_documentary__mono)-0ecd4191.mp3
61:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/01-john_lennon-imagine_(ultimate_mix)-cce46005.mp3
62:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/02-john_lennon-crippled_inside_(ultimate_mix)-57d6b355.mp3
63:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/03-john_lennon-jealous_guy_(ultimate_mix)-fa96e351.mp3
64:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/04-john_lennon-its_so_hard_(ultimate_mix)-37b44603.mp3
65:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/05-john_lennon-i_dont_wanna_be_a_soldier_mama_i_dont_wanna_die_(ultimate_mix)-e29b2711.mp3
66:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/06-john_lennon-gimme_some_truth_(ultimate_mix)-a4f05453.mp3
67:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/07-john_lennon-oh_my_love_(ultimate_mix)-d5f3419e.mp3
68:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/08-john_lennon-how_do_you_sleep_(ultimate_mix)-b0aac141.mp3
69:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/09-john_lennon-how_(ultimate_mix)-95c1bbf2.mp3
70:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/10-john_lennon-oh_yoko_(ultimate_mix)-c1539fba.mp3
71:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/11-john_lennon-power_to_the_people_(ultimate_mix)-f68dfaf9.mp3
72:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/12-john_lennon-well_(baby_please_dont_go)_(ultimate_mix)-5de90a76.mp3
73:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/13-bill_elliott-god_save_us_(ultimate_mix)-db2a80df.mp3
74:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/15-john_lennon-god_save_oz_(ultimate_mix)-51393bb6.mp3
75:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/16-john_lennon_feat_the_harlem_community_choir-happy_xmas_(war_is_over)_(ultimate_mix)-064542de.mp3
76:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/17-the_flux_fiddlers-imagine_(elements_mix)-224ea997.mp3
77:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/18-the_plastic_ono_band-jealous_guy_(elements_mix)-3f94059a.mp3
78:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/19-john_lennon-oh_my_love_(elements_mix)-7498c4a7.mp3
79:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/20-the_flux_fiddlers-how_(elements_mix)-0a0fb973.mp3
80:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/21-john_lennon-imagine_(demo)-8b0a77da.mp3
81:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/22-john_lennon-imagine_(take_1)-959e2934.mp3
82:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/23-john_lennon-crippled_inside_(take_3)-70089ef0.mp3
83:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/24-john_lennon-crippled_inside_(take_6__alternate_guitar_solo)-384af0d4.mp3
84:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/25-john_lennon-jealous_guy_(take_9)-d7a4aadc.mp3
85:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/26-john_lennon-its_so_hard_(take_6)-4388f43a.mp3
86:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/27-john_lennon-i_dont_wanna_be_a_soldier_mama_i_dont_wanna_die_(take_11)-f331b18c.mp3
87:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/28-john_lennon-gimme_some_truth_(take_4)-82b86dab.mp3
88:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/29-john_lennon-oh_my_love_(take_6)-06d92d71.mp3
89:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/30-john_lennon-how_do_you_sleep_(takes_1_and_2)-10082076.mp3
90:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/31-john_lennon-how_(take_31)-d40c4244.mp3
91:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/32-john_lennon-oh_yoko_(bahamas_1969)-ccf3179a.mp3
92:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/33-john_lennon-power_to_the_people_(take_7)-323bd323.mp3
93:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/34-john_lennon-god_save_us_(demo)-9fbcd754.mp3
94:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/35-john_lennon-do_the_oz_(take_3)-3a907450.mp3
95:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/36-john_lennon_feat_the_harlem_community_choir-happy_xmas_(war_is_over)_(alternate_mix)-8db94993.mp3
96:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/37-john_lennon-imagine_(take_10__raw_studio_mix)-7cd51229.mp3
97:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/38-john_lennon-crippled_inside_(take_6__raw_studio_mix)-44ac6ad1.mp3
98:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/39-john_lennon-jealous_guy_(take_29__raw_studio_mix)-b864634c.mp3
99:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/40-john_lennon-its_so_hard_(take_11__raw_studio_mix)-3ec6cd36.mp3
100:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/41-john_lennon-i_dont_wanna_be_a_soldier_mama_i_dont_wanna_die_(take_4__extended__raw_studio_mix)-bfaa1a83.mp3
101:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/42-john_lennon-gimme_some_truth_(take_4__extended__raw_studio_mix)-d59539bf.mp3
102:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/43-john_lennon-oh_my_love_(take_20__raw_studio_mix)-ea117f05.mp3
103:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/44-john_lennon-how_do_you_sleep_(take_11__extended__raw_studio_mix)-8184da64.mp3
104:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/45-john_lennon-how_(take_40__raw_studio_mix)-35e1b84c.mp3
105:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/46-john_lennon-oh_yoko_(take_1__extended__raw_studio_mix)-79be7f8e.mp3
106:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/47-john_lennon-imagine_(take_1__raw_studio_mix)-818340b9.mp3
107:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/48-john_lennon-jealous_guy_(take_11__raw_studio_mix)-f6cfa1db.mp3
108:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/49-john_lennon-i_dont_wanna_be_a_soldier_mama_i_dont_wanna_die_(take_21__raw_studio_mix)-8cf746dc.mp3
109:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/50-john_lennon-how_do_you_sleep_(take_1__raw_studio_mix)-f9f64056.mp3
110:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/51-john_lennon-how_do_you_sleep_(takes_5_and_6__raw_studio_mix)-b9b3f1db.mp3
111:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/52-john_lennon-imagine_(evolution_documentary__mono)-5a927343.mp3
112:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/53-john_lennon-crippled_inside_(evolution_documentary__mono)-563f4651.mp3
113:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/54-john_lennon-jealous_guy_(evolution_documentary__mono)-d0def7ac.mp3
114:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/55-john_lennon-its_so_hard_(evolution_documentary__mono)-fe60d116.mp3
115:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/56-john_lennon-i_dont_wanna_be_a_soldier_mama_i_dont_wanna_die_(evolution_documentary__mono)-207090b3.mp3
116:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/57-john_lennon-gimme_some_truth_(evolution_documentary__mono)-bb218c0d.mp3
117:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/58-john_lennon-oh_my_love_(evolution_documentary__mono)-febb31d9.mp3
118:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/59-john_lennon-how_do_you_sleep_(evolution_documentary__mono)-a3697fe7.mp3
119:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/60-john_lennon-how_(evolution_documentary__mono)-c65c56d6.mp3
120:John Lennon - Imagine (The Ultimate Collection) (2018) mp3/61-john_lennon-oh_yoko_(evolution_documentary__mono)-0ecd4191.mp3
playlist_end

467
.config/ncmpcpp/bindings Normal file
View File

@ -0,0 +1,467 @@
#
# _ __ ___ _ __ ___ _ __ ___ _ __ _ __
# | '_ \ / __| '_ ` _ \| '_ \ / __| '_ \| '_ \
# | | | | (__| | | | | | |_) | (__| |_) | |_) |
# |_| |_|\___|_| |_| |_| .__/ \___| .__/| .__/
# |_| |_| |_|
#
## Don't forget about updating that database
def_key "u"
update_database
## Navigation
# basic hjkl - can you live without it?
def_key "h"
previous_column
def_key "h"
jump_to_parent_directory
def_key "j"
scroll_down
def_key "ctrl-j"
page_down
def_key "k"
scroll_up
def_key "ctrl-k"
page_up
def_key "l"
next_column
def_key "l"
enter_directory
def_key "l"
run_action
def_key "l"
play_item
# Other keys
def_key "["
scroll_up_album
def_key "]"
scroll_down_album
def_key "{"
scroll_up_artist
def_key "}"
scroll_down_artist
def_key "page_up"
page_up
def_key "page_down"
page_down
def_key "home"
move_home
def_key "end"
move_end
# Mouse, well whatever.
def_key "mouse"
mouse_event
def_key "|"
toggle_mouse
# Oh and arrow keys, if you are masochist :)
def_key "left"
previous_column
def_key "left"
master_screen
def_key "down"
scroll_down
def_key "shift-down"
select_item
scroll_down
def_key "up"
scroll_up
def_key "shift-up"
select_item
scroll_up
def_key "right"
next_column
def_key "right"
slave_screen
## ncmpcpp tabs
def_key "tab"
next_screen
def_key "shift-tab"
previous_screen
def_key "f1"
show_help
def_key "1"
show_playlist
def_key "2"
show_browser
def_key "2"
change_browse_mode
def_key "3"
show_search_engine
def_key "3"
reset_search_engine
def_key "4"
show_media_library
def_key "4"
toggle_media_library_columns_mode
def_key "5"
show_playlist_editor
def_key "6"
show_tag_editor
def_key "7"
show_outputs
def_key "8"
show_visualizer
def_key "@"
show_server_info
## Music modes
def_key "y"
toggle_single
def_key "r"
toggle_repeat
def_key "R"
toggle_random
def_key "z"
toggle_random
def_key "C"
toggle_consume
def_key "x"
toggle_crossfade
def_key "X"
set_crossfade
## Music control
def_key "f"
seek_forward
def_key "b"
seek_backward
def_key "s"
stop
def_key "p"
pause
def_key ">"
next
def_key "<"
previous
def_key "ctrl-h"
replay_song
def_key "="
volume_up
def_key "+"
volume_up
def_key "-"
volume_down
## Lyrics
def_key "."
show_lyrics
def_key "space"
toggle_lyrics_update_on_song_change
def_key "e"
edit_lyrics
## ncmpcpp modes
def_key "Y"
toggle_replay_gain_mode
def_key "T"
toggle_add_mode
def_key "ctrl-s"
toggle_browser_sort_mode
def_key "ctrl-s"
toggle_media_library_sort_mode
def_key "w"
toggle_find_mode
def_key "P"
toggle_display_mode
## Search
def_key "/"
find
def_key "/"
find_item_forward
def_key "?"
find
def_key "?"
find_item_backward
## Playlists
def_key "space"
add_item_to_playlist
def_key "ctrl-s"
sort_playlist
def_key "ctrl-r"
reverse_playlist
def_key "delete"
delete_playlist_items
def_key "delete"
delete_stored_playlist
def_key "e"
edit_playlist_name
def_key "c"
clear_playlist
def_key "c"
clear_main_playlist
def_key "C"
crop_playlist
def_key "C"
crop_main_playlist
## Browser
def_key "e"
edit_directory_name
def_key "enter"
enter_directory
def_key "delete"
delete_browser_items
## Other bindings (I will maybe sort them later)
def_key "insert"
select_item
def_key "enter"
toggle_output
def_key "enter"
run_action
def_key "enter"
play_item
def_key "space"
toggle_visualization_type
def_key ":"
execute_command
def_key "y"
save_tag_changes
def_key "#"
toggle_bitrate_visibility
def_key "ctrl-f"
apply_filter
def_key "ctrl-_"
select_found_items
def_key "e"
edit_song
def_key "e"
edit_library_tag
def_key "e"
edit_library_album
def_key "i"
show_song_info
def_key "I"
show_artist_info
def_key "ctrl-v"
select_range
def_key "v"
reverse_selection
def_key "V"
remove_selection
def_key "B"
select_album
def_key "a"
add_selected_items
def_key "M"
move_selected_items_to
def_key "A"
add
def_key "S"
save_playlist
def_key "o"
jump_to_playing_song
def_key "G"
jump_to_playlist_editor
def_key "~"
jump_to_media_library
def_key "E"
jump_to_tag_editor
def_key "U"
toggle_playing_song_centering
def_key "\\"
toggle_interface
def_key "!"
toggle_separators_between_albums
def_key "F"
fetch_lyrics_in_background
def_key "alt-l"
toggle_fetching_lyrics_in_background
def_key "ctrl-l"
toggle_screen_lock
def_key "`"
toggle_library_tag_type
def_key "`"
refetch_lyrics
def_key "`"
add_random_items
def_key "ctrl-p"
set_selected_items_priority
def_key "u"
page_up
def_key "d"
page_down
def_key "n"
next_found_item
def_key "N"
previous_found_item
def_key "J"
move_sort_order_down
def_key "K"
move_sort_order_up
def_key "t"
show_tag_editor
def_key "G"
move_end
def_key "g"
move_home
def_key "Z"
shuffle
# TO MANY KEYBINDINGS
# * rage quit *
def_key "q"
quit

352
.config/ncmpcpp/config Normal file
View File

@ -0,0 +1,352 @@
#
# _ __ ___ _ __ ___ _ __ ___ _ __ _ __
# | '_ \ / __| '_ ` _ \| '_ \ / __| '_ \| '_ \
# | | | | (__| | | | | | |_) | (__| |_) | |_) |
# |_| |_|\___|_| |_| |_| .__/ \___| .__/| .__/
# |_| |_| |_|
#
## Directory for storing ncmpcpp related files. Changing it is useful if you
## want to store everything somewhere else and provide command line setting for
## alternative location to config file which defines that while launching
## ncmpcpp.
ncmpcpp_directory = ~/.config/ncmpcpp
mpd_music_dir = ~/Music
##
## Directory for storing downloaded lyrics. It defaults to ~/.lyrics since other
## MPD clients (eg. ncmpc) also use that location.
lyrics_directory = ~/Music/Lyrics
## Note: To enable spectrum frequency visualization you need to compile ncmpcpp
## with fftw3 support.
## Available values: spectrum, wave, wave_filled, ellipse.
visualizer_type = wave
visualizer_color = blue, green, magenta
## Time of inactivity (in seconds) after highlighting will be disabled
## (0 = always on).
playlist_disable_highlight_delay = 5
## Defines how long messages are supposed to be visible.
message_delay_time = 1
##### 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 = {$4%a - }{%t}|{$8%f$9}$R{$3(%l)$9}
song_status_format = {$8"%t"}{$5 by }{$6%a{ $3in $7%b{ (%y)}} $3}|{$8%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 = $(cyan)$r$b
current_item_suffix = $/r$(end)$/b
current_item_inactive_column_prefix = $(blue)$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 = (15)[magenta]{a} (50)[white]{t|f:Title} (7f)[blue]{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
## Note: Possible display modes: classic, columns.
playlist_display_mode = columns
browser_display_mode = columns
search_engine_display_mode = classic
playlist_editor_display_mode = classic
discard_colors_if_item_is_selected = no
incremental_seeking = yes
seek_time = 1
volume_change_step = 2
autocenter_mode = no
centered_cursor = yes
## Note: You can specify third character which will be used to build 'empty'
## part of progressbar.
progressbar_look = ――
## Available values: database, playlist.
#default_place_to_search_in = database
## Available values: classic, alternative.
user_interface = classic
#data_fetching_delay = yes
## Available values: artist, album_artist, date, genre, composer, performer.
media_library_primary_tag = album_artist
media_library_albums_split_by_date = no
## Available values: wrapped, normal.
#default_find_mode = wrapped
#default_tag_editor_pattern = %n - %t
header_visibility = no
statusbar_visibility = yes
titles_visibility = yes
header_text_scrolling = yes
cyclic_scrolling = no
lines_scrolled = 2
lyrics_fetchers = tekstowo, lyricwiki, azlyrics, genius, sing365, lyricsmania, metrolyrics, justsomelyrics, jahlyrics, plyrics, internet
follow_now_playing_lyrics = yes
fetch_lyrics_for_current_song_in_background = no
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
## Note: You can define startup screen by choosing screen from the list above.
startup_screen = playlist
jump_to_now_playing_song_at_start = yes
ask_before_clearing_playlists = yes
clock_display_seconds = no
display_volume_level = no
display_bitrate = no
display_remaining_time = no
## Available values: none, basic, extended, perl.
#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
ignore_diacritics = yes
#block_search_constraints_change_if_items_found = yes
mouse_support = yes
mouse_list_scroll_whole_page = no
#empty_tag_marker = <empty>
#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
## Note: set to yes if external editor is a console application.
use_console_editor = yes
##### colors definitions #####
##
## It is possible to set a background color by setting a color value
## "<foreground>_<background>", 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 = magenta
header_window_color = blue
volume_color = default
state_line_color = default
state_flags_color = default:b
main_window_color = blue
color1 = blue
color2 = magenta
progressbar_color = black:b
progressbar_elapsed_color = blue:b
statusbar_color = blue
statusbar_time_color = blue
player_state_color = default:b
alternative_ui_separator_color = blue
window_border_color = blue
active_window_border = blue

View File

File diff suppressed because it is too large Load Diff

@ -0,0 +1 @@
Subproject commit 41ff80dc9ec2cc834cc8c4aaa753e308223d48b8

@ -0,0 +1 @@
Subproject commit e907f07b53dd6d6b7b2f6956cd18202ef3f26c24

@ -0,0 +1 @@
Subproject commit 197738ed344f4b1709b726a08cc5f3231fff2f1c

@ -0,0 +1 @@
Subproject commit fa73f06f2e62ca58093eb02edc6134f002f27df4

@ -0,0 +1 @@
Subproject commit 46121d9ca7688c148764d7ee488bb3572d1434c4

@ -0,0 +1 @@
Subproject commit 4372436dabe275db88de198e28e730d45c54837a

@ -0,0 +1 @@
Subproject commit 307f9c3beb178026d122d9ab3825e4640dd1c29a

@ -0,0 +1 @@
Subproject commit 12141adda27fd9ec62357b9a0f61c41f16efb3a8

@ -0,0 +1 @@
Subproject commit 503c42d17deb812ee5363e271cca0e68856a289d

@ -0,0 +1 @@
Subproject commit c718cefc51ccdaf7bd27c4c1ae2de55103434241

@ -0,0 +1 @@
Subproject commit 43a13dbbc9aae85338877329ed28c9e4d8488db1

@ -0,0 +1 @@
Subproject commit 359a80e3a34aacbd5257713b6a88aa085337166f

View File

@ -0,0 +1,4 @@
augroup i3_ftdetect
au!
au BufRead,BufNewFile *i3/config,*sway/config set ft=i3
augroup END

View File

@ -0,0 +1 @@
setlocal commentstring=#\ %s

View File

@ -0,0 +1,134 @@
" Vim syntax file
" Language: i3-wm config file
" Maintainer: Emanuel Guével
" Latest Revision: 16 October 2012
if exists("b:current_syntax")
finish
endif
" Symbols
syn match i3Operators "+\|→"
syn match i3ChainDelimiter ";"
syn match i3Var "\$\w\+"
" Key modifiers
syn keyword i3KeyModifier Shift Control Ctrl Mod1 Mod2 Mod3 Mod4 Mod5 Mode_switch
" Strings
syn region i3SimpleString keepend start='[^ \t]' end='$\|;' contained contains=i3ChainDelimiter,i3Var
syn match i3QuotedString '"[^"]\+"' contained
syn cluster i3String contains=i3SimpleString,i3QuotedString
" Config commands
syn keyword i3ConfigCommand bind bindcode bindsym assign new_window popup_during_fullscreen font floating_modifier default_orientation workspace_layout for_window focus_follows_mouse bar position colors output tray_output workspace_buttons workspace_auto_back_and_forth binding_mode_indicator debuglog floating_minimum_size floating_maximum_size force_focus_wrapping force_xinerama force_display_urgency_hint hidden_state modifier new_float shmlog socket_path verbose mouse_warping strip_workspace_numbers focus_on_window_activation no_focus
syn match i3IpcSocket "ipc[-_]socket" nextgroup=@i3String skipwhite
" Command keywords
syn keyword i3Command exit reload restart kill fullscreen global layout border focus move open split append_layout mark unmark resize grow shrink show nop rename title_format sticky
syn keyword i3Param 1pixel default stacked tabbed normal none tiling stacking floating enable disable up down horizontal vertical auto up down left right parent child px or ppt leave_fullscreen toggle mode_toggle scratchpad width height top bottom client hide primary yes all active window container to absolute center on off x ms h v smart ignore pixel splith splitv output true
syn match i3DashedParam '--\(release\|border\|whole-window\|toggle\)' skipwhite
syn match i3NoStartupId '--no-startup-id' contained
syn keyword i3WsSpecialParam next prev next_on_output prev_on_output back_and_forth current number
syn keyword i3BordersSpecialParam none vertical horizontal both
syn keyword i3ModeParam dock hide invisible skipwhite
syn keyword i3GapsCommand gaps smart_gaps smart_borders
syn keyword i3GapsParam inner outer current all set plus minus no_gaps
" these are not keywords but we add them for consistency
syn keyword i3PseudoParam no false inactive
" Exec commands
syn region i3ExecCommand keepend start='[^ \t]' end='$\|;' contained contains=i3ChainDelimiter,i3Var,i3NoStartupId
syn match i3QuotedExecCommand '"[^"]\+"' contained
syn keyword i3ExecKeyword exec exec_always i3bar_command nextgroup=i3QuotedExecCommand,i3ExecCommand skipwhite
" Status command
syn match i3StatusCommand ".*$" contained
syn keyword i3StatusCommandKeyword status_command nextgroup=i3StatusCommand skipwhite
" Font statement
syn keyword i3FontStatement font nextgroup=@i3String skipwhite
" Separator symbol
syn keyword i3SeparatorSymbol separator_symbol nextgroup=@i3String skipwhite
" Set statement
syn match i3SetVar "\$\w\+" contained nextgroup=@i3String skipwhite
syn keyword i3SetKeyword set set_from_resource nextgroup=i3SetVar skipwhite
" Workspaces
syn keyword i3WsKeyword workspace nextgroup=i3WsSpecialParam,@i3String skipwhite
" Hide edge borders
syn keyword i3BordersConfigCommand hide_edge_borders nextgroup=i3BordersSpecialParam skipwhite
" Mode
syn keyword i3ModeKeyword mode nextgroup=i3ModeParam,@i3String skipwhite
" Comments
syn keyword i3Todo contained TODO FIXME XXX NOTE
syn match i3Comment "^\s*#.*$" contains=i3Todo
" Error (at end of line)
syn match i3Error ".*$" contained
" Hex color code
syn match i3ColorLast "#[0-9a-fA-F]\{6\}" contained nextgroup=i3Error skipwhite
syn match i3Color2nd "#[0-9a-fA-F]\{6\}" contained nextgroup=i3ColorLast skipwhite
syn match i3Color1st "#[0-9a-fA-F]\{6\}" contained nextgroup=i3Color2nd skipwhite
syn match i3ColorDef1 "client\.background\|statusline\|background\|separator\|statusline" nextgroup=i3ColorLast skipwhite
syn match i3ColorDef3 "client\.\(focused_inactive\|focused\|unfocused\|urgent\)\|inactive_workspace\|urgent_workspace\|focused_workspace\|active_workspace" nextgroup=i3Color1st skipwhite
highlight link i3ChainDelimiter Operator
highlight link i3Operators Operator
highlight link i3ExecCommand Special
highlight link i3QuotedExecCommand Special
highlight link i3StatusCommand Special
highlight link i3Param Constant
highlight link i3PseudoParam Constant
highlight link i3DashedParam Constant
highlight link i3NoStartupId Constant
highlight link i3Color1st Constant
highlight link i3Color2nd Constant
highlight link i3ColorLast Constant
highlight link i3WsSpecialParam Constant
highlight link i3BordersSpecialParam Constant
highlight link i3ModeParam Constant
highlight link i3GapsParam Constant
highlight link i3Var Identifier
highlight link i3SetVar Identifier
highlight link i3KeyModifier Function
highlight link i3SimpleString String
highlight link i3QuotedString String
highlight link i3WsName String
highlight link i3QuotedWsName String
highlight link i3SetValue String
highlight link i3Font String
highlight link i3ExecKeyword Keyword
highlight link i3Command Keyword
highlight link i3WsKeyword Keyword
highlight link i3GapsCommand Keyword
highlight link i3ColorDef1 Define
highlight link i3ColorDef3 Define
highlight link i3ConfigCommand Define
highlight link i3IpcSocket Define
highlight link i3SetKeyword Define
highlight link i3ModeKeyword Define
highlight link i3FontStatement Define
highlight link i3SeparatorSymbol Define
highlight link i3StatusCommandKeyword Define
highlight link i3BordersConfigCommand Define
highlight link i3Todo Todo
highlight link i3Comment Comment
highlight link i3Error Error

View File

@ -0,0 +1,55 @@
" Color Scheme [ '#rrggbb', Xresources number]
let s:black = [ '#181b21', 0 ]
let s:red = [ '#cf5252', 1 ]
let s:green = [ '#92ad4a', 2 ]
let s:yellow = [ '#c9895b', 3 ]
let s:blue = [ '#6f97b8', 4 ]
let s:magenta = [ '#ab6ba6', 5 ]
let s:cyan = [ '#6fa69f', 6 ]
let s:white = [ '#cccccc', 7 ]
let s:darkgrey =[ '#22262e', 8 ]
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
" Airline have something like boxes, where you put plugins. So you have to
" change colors for all boxes individually. If you don't want to, you don't have
" to set different colors for different Vim modes, you can just comment them out.
"
" Syntax:
" let s:p.mode.position [[ s:foreground, s:background ], [ s:foreground, s:background ]]
" Normal
let s:p.normal.left = [[ s:blue, s:darkgrey ], [ s:blue, s:black ], [ s:blue, s:black ]]
let s:p.normal.middle = [[ s:blue, s:black ], [ s:blue, s:black ], [ s:blue, s:black ]]
let s:p.normal.right = [[ s:blue, s:darkgrey ], [ s:blue, s:black ], [ s:blue, s:black ]]
let s:p.normal.error = [[ s:blue, s:darkgrey ]]
let s:p.normal.warning = [[ s:black, s:yellow ]]
" Inactive
"let s:p.inactive.left = [[ s:white, s:black ], [ s:white, s:black ], [ s:white, s:black ]]
"let s:p.inactive.middle = [[ s:white, s:black ], [ s:white, s:black ], [ s:white, s:black ]]
"let s:p.inactive.right = [[ s:white, s:black ], [ s:white, s:black ], [ s:white, s:black ]]
" Insert
"let s:p.insert.left = [[ s:blue, s:darkgrey ], [ s:blue, s:black ], [ s:blue, s:black ]]
"let s:p.insert.middle = [[ s:blue, s:black ], [ s:blue, s:black ], [ s:blue, s:black ]]
"let s:p.insert.right = [[ s:blue, s:darkgrey ], [ s:blue, s:black ], [ s:blue, s:black ]]
" Replace
"let s:p.replace.left = [[ s:blue, s:darkgrey ], [ s:blue, s:black ], [ s:blue, s:black ]]
"let s:p.replace.middle = [[ s:blue, s:black ], [ s:blue, s:black ], [ s:blue, s:black ]]
"let s:p.replace.right = [[ s:blue, s:darkgrey ], [ s:blue, s:black ], [ s:blue, s:black ]]
" Visual
"let s:p.visual.left = [[ s:blue, s:darkgrey ], [ s:blue, s:black ], [ s:blue, s:black ]]
"let s:p.visual.middle = [[ s:blue, s:black ], [ s:blue, s:black ], [ s:blue, s:black ]]
"let s:p.visual.right = [[ s:blue, s:darkgrey ], [ s:blue, s:black ], [ s:blue, s:black ]]
" Tabs
let s:p.tabline.left = [[ s:blue, s:black ]]
let s:p.tabline.tabsel = [[ s:blue, s:darkgrey ]]
let s:p.tabline.middle = [[ s:blue, s:black ]]
let s:p.tabline.right = [[ s:blue, s:black ]]
let g:lightline#colorscheme#biual#palette = lightline#colorscheme#flatten(s:p)

@ -0,0 +1 @@
Subproject commit c9ab296e856bed4e694180efb6ffb692cf18ed8f

@ -0,0 +1 @@
Subproject commit 4c0203b44f8daa7e2f72e2514488d637e8a766a4

@ -0,0 +1 @@
Subproject commit 5125e73de0a8b4f2c399e4896e21be1b8f7b3d39

@ -0,0 +1 @@
Subproject commit 1df5e5aaf8c7050795e2994329a23b3fd24eb161

@ -0,0 +1 @@
Subproject commit 6def86f4293d170480ce62cc41f15448075d7835

@ -0,0 +1 @@
Subproject commit bda22a93d1dcfcb8ee13be1988560d9bb5bd0fef

@ -0,0 +1 @@
Subproject commit 1a99766b73783bafb08cfa07d7e29e5387c55189

@ -0,0 +1 @@
Subproject commit 62b68aecec2de531bc3978bfb9c07d3b6759ce0e

@ -0,0 +1 @@
Subproject commit 06918c36b3396af0bec1e87e748a5dba55be87b9

@ -0,0 +1 @@
Subproject commit a025771d1280cf8767c460a9318be63d50438b98

@ -0,0 +1 @@
Subproject commit 80aa8a9aea72f2054fb2ad8582461f60b0db9757

@ -0,0 +1 @@
Subproject commit 8118dc1cdd387bd609852be4bf350360ce881193

@ -0,0 +1 @@
Subproject commit 1df81617fbda56bf3cb2dfc289fe1f3713bdfddb

@ -0,0 +1 @@
Subproject commit e65e4f01ba94761323450208c9bf7141428784db

@ -0,0 +1 @@
Subproject commit eb6f74c4a7b7e4a918e8bf6cc03ed66d45ab19a7

@ -0,0 +1 @@
Subproject commit 4e0f08de173fcde5f3cb93da2c8129b1588e469a

@ -0,0 +1 @@
Subproject commit ae361bea990e27d5beade3a8d9fa22e25cec3100

@ -0,0 +1 @@
Subproject commit 75ad917e4978b4620c3b0eff1722880d2d53a9f4

@ -0,0 +1 @@
Subproject commit 666e9a8d6515c697ae6acab699a25cace6bca149

@ -0,0 +1 @@
Subproject commit ce2f1aae9f2be128b4ca322a8e797be3ae40c30b

@ -0,0 +1 @@
Subproject commit fab8621670f71637e9960003af28365129b1dfd0

@ -0,0 +1 @@
Subproject commit a4ec206052aa347d7df90dc4b6697b7f2b7929bc

@ -0,0 +1 @@
Subproject commit 4c596548216b7c19971f8fc94e38ef1a2b55fee6

258
.config/nvim/init.vim Normal file
View File

@ -0,0 +1,258 @@
"
" _
" _ __ ___ _____ _(_)_ __ ___
" | '_ \ / _ \/ _ \ \ / / | '_ ` _ \
" | | | | __/ (_) \ V /| | | | | | |
" |_| |_|\___|\___/ \_/ |_|_| |_| |_|
"
" Load vim-plug for plugins
call plug#begin('~/.config/nvim/bundle')
Plug 'https://github.com/w0rp/ale'
Plug 'https://github.com/captbaritone/better-indent-support-for-php-with-html'
Plug 'https://github.com/Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
Plug 'https://github.com/Shougo/deoplete-clangx'
Plug 'https://github.com/deoplete-plugins/deoplete-go', { 'do': 'make'}
Plug 'https://github.com/deoplete-plugins/deoplete-jedi'
Plug 'https://github.com/padawan-php/deoplete-padawan', { 'do': 'composer install' }
Plug 'https://github.com/carlitux/deoplete-ternjs'
Plug 'https://github.com/deoplete-plugins/deoplete-zsh'
Plug 'https://github.com/Shougo/neco-vim'
Plug 'https://github.com/Shougo/neoinclude.vim'
Plug 'https://github.com/editorconfig/editorconfig-vim'
Plug 'https://github.com/junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --bin' }
Plug 'https://github.com/junegunn/fzf.vim'
Plug '~/.config/nvim/bundle/i3-vim-syntax'
Plug 'https://github.com/itchyny/lightline.vim'
Plug '~/.config/nvim/bundle/lightline-biual'
Plug 'https://github.com/vim-python/python-syntax'
Plug 'https://github.com/rafaqz/ranger.vim'
Plug 'https://github.com/cakebaker/scss-syntax.vim'
Plug 'https://github.com/SirVer/ultisnips'
Plug 'https://github.com/honza/vim-snippets'
Plug 'https://github.com/romainl/vim-cool'
Plug 'https://github.com/tpope/vim-commentary'
Plug 'https://github.com/bfrg/vim-cpp-modern'
Plug 'https://github.com/tpope/vim-fugitive'
Plug 'https://github.com/shumphrey/fugitive-gitlab.vim'
Plug 'https://github.com/tpope/vim-rhubarb'
Plug 'https://github.com/itchyny/vim-gitbranch'
Plug 'https://github.com/fatih/vim-go', { 'do': ':GoUpdateBinaries' }
Plug 'https://github.com/jelera/vim-javascript-syntax'
Plug 'https://github.com/matze/vim-meson'
Plug 'https://github.com/tpope/vim-surround'
Plug 'https://github.com/tpope/vim-repeat'
Plug 'https://github.com/reedes/vim-pencil'
Plug 'https://github.com/tpope/vim-speeddating'
Plug 'https://github.com/cespare/vim-toml'
Plug 'https://github.com/bronson/vim-trailing-whitespace'
call plug#end()
" Basic stuff
syntax on
filetype plugin indent on
set autoindent
set smarttab
set number relativenumber
set clipboard=unnamedplus
set inccommand=nosplit
set tabstop=4
set shiftwidth=4
set ignorecase
set smartcase
set undofile
set background=light
" Colorscheme
hi LineNr ctermfg=3
hi CursorLineNr ctermfg=3
hi Statement ctermfg=3
hi Visual ctermbg=8
hi Search ctermbg=8
hi SpellBad ctermfg=0 ctermbg=1 cterm=underline
hi SpellCap ctermfg=0 ctermbg=2 cterm=underline
hi SpellRare ctermfg=0 ctermbg=3 cterm=underline
hi SpellLocal ctermfg=0 ctermbg=5 cterm=underline
hi Pmenu ctermbg=0 ctermfg=4
hi PmenuSel ctermbg=8 ctermfg=4
hi PmenuSbar ctermbg=0
hi DiffAdd ctermbg=2 ctermfg=0
hi DiffChange ctermbg=4 ctermfg=0
hi DiffDelete ctermbg=1 ctermfg=0
hi Folded ctermbg=8
hi FoldColumn ctermbg=8
hi SignColumn ctermbg=0 ctermfg=7
hi ALEWarning ctermbg=1 ctermfg=0
hi ALEErrorSign ctermbg=1 ctermfg=0
" Disable changing cursor to line
set guicursor=
autocmd OptionSet guicursor noautocmd set guicursor=
" Python paths, needed for virtualenvs
let g:python3_host_prog = '/usr/bin/python3'
let g:python_host_prog = '/usr/bin/python2'
"================
" Plugin configs
"================
" Lightline - statusline
set noshowmode
let g:lightline = {
\ 'colorscheme': 'biual',
\ 'active': {
\ 'left': [ [ 'mode' ],
\ [ 'readonly', 'filename', 'gitbranch' ],
\ [ 'modified' ] ],
\ 'right': [ [ 'filetype', 'fileencoding' ],
\ [ 'percent' ] ]
\ },
\ 'component_function': {
\ 'gitbranch': 'gitbranch#name'
\ },
\ }
" Deoplete - autocompletion
let g:deoplete#enable_at_startup = 1
if !exists('g:deoplete#omni#input_patterns')
let g:deoplete#omni#input_patterns = {}
endif
" deoplete-go
let g:deoplete#sources#go#gocode_binary = $GOPATH.'/bin/gocode'
" UltiSnips
call deoplete#custom#source('ultisnips', 'rank', 1000)
" ALE - Asynchronous Lint Engine
let g:ale_linters = {
\ 'c': ['ccls', 'clang'],
\ 'cpp': ['clang'],
\ 'javascript': ['eslint'],
\ 'php': ['php'],
\ 'python': ['pyls', 'flake8'],
\ 'sh': ['shellcheck'],
\ 'vim': ['vint'],
\}
let g:ale_fixers = {
\ '*': ['trim_whitespace'],
\ 'c': ['clang-format'],
\ 'cpp': ['clang-format'],
\ 'css': ['prettier'],
\ 'go': ['gofmt'],
\ 'html': ['prettier'],
\ 'javascript': ['prettier'],
\ 'json': ['prettier'],
\ 'php': ['prettier'],
\ 'python': ['black'],
\ 'scss': ['prettier'],
\ 'yaml': ['prettier'],
\}
" let g:ale_lint_on_text_changed = 'never'
" vim-go
let g:go_fmt_autosave = 0 "We use ALE for formatting
" Syntax highlighting
let g:python_highlight_all = 1
" vim-plug - plugin manager
" Fix https://github.com/junegunn/vim-plug/issues/502
let g:plug_threads = 1
" vim-pencil
let g:pencil#textwidth = 88
let g:pencil#wrapModeDefault = 'soft'
"===================
" Language-specific
"===================
augroup langindentation
autocmd Filetype c setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2
autocmd Filetype cpp setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2
autocmd Filetype css setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2
autocmd Filetype javascript setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2
autocmd Filetype html setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2
autocmd Filetype json setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2
autocmd Filetype scss setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2
autocmd Filetype php setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2
autocmd Filetype yaml setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2
augroup END
augroup pencil
autocmd!
autocmd FileType markdown call pencil#init({'wrap': 'soft', 'autoformat': 1})
autocmd FileType tex call pencil#init({'wrap': 'soft', 'autoformat': 1})
augroup END
"==============
" Key Bindings
"==============
" Leader key
let mapleader = ' '
" When line overflows, it will go
" one _visual_ line and not actual
map j gj
map k gk
" gv reselects last selection
" so now you can indent with >>>>…
" without selecting again
xnoremap < <gv
xnoremap > >gv
" Tab Managment
map <C-o> :tabnew<CR>
map <C-c> :tabclose<CR>
nnoremap <Leader>k gT
nnoremap <Leader>j gt
" Complete with <TAB>
inoremap <silent><expr> <TAB> pumvisible() ? "\<C-n>" :
\ <SID>check_back_space() ? "\<TAB>" :
\ deoplete#mappings#manual_complete()
function! s:check_back_space() abort "{{{
let col = col('.') - 1
return !col || getline('.')[col - 1] =~? '\s'
endfunction"}}}
" Open Ranger, file manager
map <C-\> :RangerEdit<CR>
" ALE - Asynchronous Lint Engine
map <C-b> :ALEFix<CR>
map <Leader>g :ALEGoToDefinitionInSplit<CR>
map <Leader>G :ALEGoToDefinition<CR>
" Spell-check (English US and Polish)
map <F6> :setlocal spell! spelllang=en_us<CR>
map <F7> :setlocal spell! spelllang=pl<CR>
" Toggle Pencil, wrapping text
map <F9> :PencilToggle<CR>
" fzf, fuzzy finder
nnoremap <C-p> :Files<CR>
nnoremap <C-g> :GFiles<CR>
let g:fzf_action = {
\ 'ctrl-t': 'tab split',
\ 'ctrl-x': 'split',
\ 'ctrl-v': 'vsplit' }
" UltiSnips
let g:UltiSnipsExpandTrigger='<c-a>'
let g:UltiSnipsJumpForwardTrigger='<c-s>'
let g:UltiSnipsJumpBackwardTrigger='<c-q>'
"==Encoding==
scriptencoding utf-8

Binary file not shown.

344
.config/polybar/config Normal file
View File

@ -0,0 +1,344 @@
;
; ____ _ _
; | _ \ ___ | |_ _| |__ __ _ _ __
; | |_) / _ \| | | | | '_ \ / _` | '__|
; | __/ (_) | | |_| | |_) | (_| | |
; |_| \___/|_|\__, |_.__/ \__,_|_|
; |___/
;
;~~~~~~~~~~~~~~~~~~~
; Colors & Settings
;~~~~~~~~~~~~~~~~~~~
[colors]
background = ${xrdb:background}
foreground = ${xrdb:color4}
;foreground = ${xrdb:foreground}
moderate = ${xrdb:color3}
urgent = ${xrdb:color1}
black = ${xrdb:color0}
darkgrey = ${xrdb:color8}
red = ${xrdb:color1}
green = ${xrdb:color2}
yellow = ${xrdb:color3}
blue = ${xrdb:color4}
magenta = ${xrdb:color5}
cyan = ${xrdb:color6}
white = ${xrdb:color7}
[settings]
throttle-output = 5
throttle-output-for = 10
throttle-input-for = 30
compositing-background = source
compositing-foreground = source
compositing-overline = source
compositing-underline = source
compositing-border = source
screenchange-reload = true
format-foreground = ${colors.foreground}
format-background = ${colors.background}
;~~~~~~~~~~~~~~~~~~
; Top Bar Settings
;~~~~~~~~~~~~~~~~~~
[bar/topbar]
monitor = ${env:MONITOR}
monitor-fallback = HDMI1
monitor-strict = false
modules-left = i3
modules-right = wireless-network | wired-network | battery | pulseaudio | clock
;tray-position = right
;tray-padding = 2
width = 100%
height = 28
border-size = 0
border-top-size = 0
border-bottom-size = 0
radius = 0
bottom = false
overline-size = 2
font-0 = "DejaVu Sans Mono:pixelsize=10:antialias=true;3"
font-1 = "Font Awesome 5 Brands:pixelsize=13:antialias=true;3"
font-2 = "Font Awesome 5 Free:style=Solid:pixelsize=12:antialias=true;3"
background = ${colors.background}
foreground = ${colors.foreground}
fixed-center = false
module-margin = 0
padding-right = 2
padding-left = 1
offset-x = 0
offset-y = 0
cursor-click = pointer
;~~~~~~~~~~~~~~~
; i3 Workspaces
;~~~~~~~~~~~~~~~
[module/i3]
type = internal/i3
pin-workspaces = true
strip-wsnumbers = true
index-sort = true
enable-click = true
fuzzy-match = true
format = <label-state><label-mode>
label-mode = %mode%
label-mode-padding = 2
label-focused = %index% %name%
label-focused-padding = 2
label-focused-background = ${colors.darkgrey}
label-focused-foreground = ${colors.foreground}
label-focused-underline = ${colors.foreground}
label-focused-overline = ${colors.foreground}
label-unfocused = %index% %name%
label-unfocused-padding = 1
label-visible = %index% %name%
label-visible-padding = 1
label-urgent = %index% %name%
label-urgent-padding = 1
;~~~~~~~~~
; CPU use
;~~~~~~~~~
[module/coreuse]
type = internal/cpu
interval = 3
format-padding = 1
format = <label><ramp-coreload>
label = %{a1:termite -e "htop -s percent_cpu" & disown:} %percentage:2%% %{A}
ramp-coreload-0 = ▂
ramp-coreload-1 = ▃
ramp-coreload-2 = ▄
ramp-coreload-3 = ▅
ramp-coreload-4 = ▆
ramp-coreload-5 = ▇
ramp-coreload-0-foreground = ${colors.foreground}
ramp-coreload-1-foreground = ${colors.foreground}
ramp-coreload-2-foreground = ${colors.foreground}
ramp-coreload-3-foreground = ${colors.foreground}
ramp-coreload-4-foreground = ${colors.foreground}
ramp-coreload-5-foreground = ${colors.urgent}
;~~~~~~~~
; Memory
;~~~~~~~~
[module/memory]
type = internal/memory
interval = 3
format = <label>
label-padding = 1
label = %{A1:st -e "htop -s PERCENT_MEM" & disown:} %percentage_used%%%{A}
;~~~~~~~~~~~~~~
; Date + Clock
;~~~~~~~~~~~~~~
[module/clock]
type = internal/date
format = <label>
interval = 2
date = %a %d %b
; 24h system
;time = %R
; 12h system
time = %I:%M%p
label = %{A1:gsimplecal & disown:}%{A3:gsimplecal & disown:} %date% %time%%{A}%{A}
;~~~~~~~~~~~~~~~~~
; CPU Temperature
;~~~~~~~~~~~~~~~~~
[module/temperature]
type = internal/temperature
interval = 3
thermal-zone = 0
warn-temperature = 75
format = <ramp><label>
format-padding = 1
label = %{A1:termite -e "watch sensors" & disown:} %temperature-c%%{A}
ramp-0 = ""
ramp-1 = ""
ramp-2 = ""
ramp-3 = ""
ramp-4 = ""
ramp-5 = ""
ramp-5-foreground = ${colors.urgent}
format-warn = <label-warn>
label-warn = " %temperature-c%"
label-warn-padding = 1
label-warn-foreground = ${colors.urgent}
;~~~~~~~
; sndio
;~~~~~~~
[module/sndio]
type = custom/script
interval = 2
exec = ~/.script/polybar-sndio.sh
;~~~~~~~~~~~~
; PulseAudio
;~~~~~~~~~~~~
[module/pulseaudio]
type = internal/pulseaudio
use-ui-max = true
label-volume = %{A3:pavucontrol & disown:}%percentage:2%%%{A}
format-volume = <ramp-volume> <label-volume>
label-muted = " muted"
ramp-volume-0 = ""
ramp-volume-1 = ""
ramp-volume-2 = ""
ramp-volume-3 = ""
;~~~~~
; MPD
;~~~~~
[module/simple_mpd]
type = custom/script
interval = 5
exec = ~/.script/polybar-mpd.sh
;~~~~~~~~~
; Battery
;~~~~~~~~~
[module/battery]
type = internal/battery
label-padding = 30
; Use $ ls -1 /sys/class/power_supply/
battery = BAT1
adapter = AC
full-at = 98
poll-interval = 5
bar-capacity-width = 10
time-format = %H:%M
format-charging = <animation-charging> <label-charging>
format-discharging = <ramp-capacity> <label-discharging>
format-full = <ramp-capacity> <label-full>
ramp-capacity-0 = " "
ramp-capacity-1 = " "
ramp-capacity-2 = ""
ramp-capacity-3 = ""
ramp-capacity-4 = ""
ramp-capacity-5 = ""
ramp-capacity-6 = ""
ramp-capacity-7 = ""
ramp-capacity-8 = ""
ramp-capacity-9 = ""
ramp-capacity-0-foreground = ${colors.urgent}
ramp-capacity-1-foreground = ${colors.urgent}
animation-charging-0 = " "
animation-charging-1 = " "
animation-charging-2 = " "
animation-charging-3 = " "
animation-charging-4 = " "
animation-charging-framerate = 750
;~~~~~~~~~~~~~~~~~
; Keyboard Layout
;~~~~~~~~~~~~~~~~~
[module/keyboard]
type = internal/xkeyboard
blacklist-0 = scroll lock
format = <label-layout> <label-indicator>
format-spacing = 0
label-layout =  %layout%
label-indicator = %name%
label-indicator-padding = 2
;~~~~~~~~~~~~
; Filesystem
;~~~~~~~~~~~~
[module/filesystem]
type = internal/fs
format-mounted = <label-mounted>
label-mounted = %mountpoint% : %percentage_free%%
mount-0 = /
interval = 1200
fixed-values = false
spacing = 2
label-mounted-foreground = ${colors.moderate}
;~~~~~~~~~~~~~~~~~~~~~~~~~~
; Wireless Network / WiFi
;~~~~~~~~~~~~~~~~~~~~~~~~~~
[module/wireless-network]
type = internal/network
interface = ${env:WIRELESS}
format-connected = <ramp-signal> <label-connected>
format-packetloss = <animation-packetloss>
label-connected = %{A1:networkmanager_dmenu& disown:}%{A3:networkmanager_dmenu& disown:}%local_ip%%{A}%{A}
label-disconnected = %{A1:networkmanager_dmenu& disown:}%{A3:networkmanager_dmenu& disown:} disconnected%{A}%{A}
ramp-signal-0 = 
ramp-signal-1 = 
ramp-signal-2 = 
ramp-signal-3 = 
ramp-signal-4 = 
ramp-signal-5 = 
animation-packetloss-0 = 
animation-packetloss-1 = 
animation-packetloss-0-foreground = ${colors.moderate}
animation-packetloss-1-foreground = ${colors.urgent}
animation-packetloss-framerate = 500
;~~~~~~~~~~~~~~~~~~~~~~~~~~
; Wired Network / Ethernet
;~~~~~~~~~~~~~~~~~~~~~~~~~~
[module/wired-network]
type = internal/network
interface = ${env:WIRED}
format-connected = <label-connected>
format-disconnected = <label-disconnected>
label-connected =  %local_ip%
label-disconnected =  disconnected
format-connected-foreground = ${colors.foreground}
;~~~~~~~~~~~
; Seperator
;~~~~~~~~~~~
[module/|]
type = custom/text
content = " "
; vim:ft=dosini

12
.config/polybar/launch.sh Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/env sh
# Terminate already running bar instances
killall -q polybar
# Wait until the processes have been shut down
while pgrep -x polybar >/dev/null; do sleep 1; done
# Launch polybar
for m in $(polybar --list-monitors | cut -d":" -f1); do
WIRELESS=$(ls /sys/class/net/ | grep ^wl | awk 'NR==1{print $1}') WIRED=$(ls /sys/class/net/ | grep ^en | awk 'NR==1{print $1}') MONITOR=$m polybar --reload topbar &
done

View File

@ -0,0 +1 @@

View File

@ -0,0 +1 @@
/tmp/pulse-PKdhtXMmr18n

2
.config/pulse/cookie Normal file
View File

@ -0,0 +1,2 @@
„d8ôçt‡ˆ"‰I3“ðu<C3B0>¢„¿³þ2Åǧ4…Vôž!éá3I;Aa=Ùxaô3y£égiMµºwÿº<C3BF>j?ÁùnÂFÓèÙ<C3A8>¯ŸßœøÊ*ÒÕ`!bh¥§{ZìñäT¥¿³¬o¹t %t'Ókå… nqš5$¹ ê“÷ÉŠ5ø?{bú¡^EÌ*dzK>öÖ ôøYgŽs)IåàM÷!‰ä™Ø»Ž3/ë[O¥.ÒÎ<1F>±Z*Rb.¬d
’ùn˜úÔË<>ý»àÂuŒ^mÎ>"ì›ÙpG °_;Q/9Û˘۬ªÿ•Œ[s

1
.config/st Submodule

@ -0,0 +1 @@
Subproject commit 97ddad691e6c513e0927cdd48dd13f2e53b9c1b7

30
.config/zsh/aliases Normal file
View File

@ -0,0 +1,30 @@
#!/usr/bin/zsh
#general
alias clear='clear && philgen'
alias cl='clear'
alias s='sudo'
#youtube-dl
alias yt-video='youtube-dl -f bestvideo -o "%(title)s.%(ext)s" -4'
alias yt-webm='youtube-dl -f webm -o "%(title)s.%(ext)s" -4'
alias yt-audio='youtube-dl -f bestaudio -o "%(title)s.%(ext)s" -4'
alias yt-opus='youtube-dl -x --audio-format opus -o "%(title)s.%(ext)s" -4'
alias yt-vorbis='youtube-dl -x --audio-format vorbis -o "%(title)s.%(ext)s" -4'
alias yt-thumbnail='youtube-dl --write-thumbnail --skip-download -o "%(title)s.%(ext)s" -4'
#vim
alias nano='nvim'
alias vi='nvim'
alias sv='sudo nvim'
alias neo='nvim'
alias nvi='nvim'
alias svim='sudo nvim'
alias e='nvim'
alias se='sudo nvim'
alias v='nvim'
#ncmpcpp
alias ncmp='ncmpcpp'
alias ncm='ncmpcpp'
alias mp='ncmpcpp'

1
.config/zsh/zgen Submodule

@ -0,0 +1 @@
Subproject commit 0b669d2d0dcf788b4c81a7a30b4fa41dfbf7d1a7

18
.config/zsh/zgenconfig Normal file
View File

@ -0,0 +1,18 @@
#!/usr/bin/env zsh
source "${HOME}/.config/zsh/zgen/zgen.zsh"
if ! zgen saved; then
zgen oh-my-zsh
zgen oh-my-zsh plugins/git
zgen oh-my-zsh plugins/sudo
fi
PROMPT='
%B%F{blue}%n%F{blue}@%F{blue}%m%f%b in %B%F{green}%~%f%b$(git_prompt_info)
%(?:$ :%F{red}$ )%f'
ZSH_THEME_GIT_PROMPT_PREFIX=' on %B%F{magenta}'
ZSH_THEME_GIT_PROMPT_SUFFIX='%f%b'
ZSH_THEME_GIT_PROMPT_DIRTY='%F{yellow}*'
ZSH_THEME_GIT_PROMPT_UNTRACKED='%F{yellow}*'
ZSH_THEME_GIT_PROMPT_CLEAN=''

9
.script/dmenu-logout.sh Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env sh
ANS="$(printf "Lock\nShutdown\nReboot\nExit" | dmenu -i -p 'System')"
case "$ANS" in
Lock) i3lock -c 000000;;
Shutdown) sudo init 0;;
Reboot) sudo reboot;;
Exit) i3-msg exit
esac

12
.script/dmenu-messenger.sh Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/env sh
ANS="$(printf "Riot (Tor :9050)\nRiot (Tor :9150)\nRiot\nSignal\nWire (Tor :9050)\nWire (Tor :9150)\nWire" | dmenu -i -p 'Messenger')"
case "$ANS" in
"Riot (Tor :9050)") riot-desktop --proxy-server=socks5://127.0.0.1:9050;;
"Riot (Tor :9150)") riot-desktop --proxy-server=socks5://127.0.0.1:9150;;
"Riot") riot-desktop;;
"Signal") signal-desktop;;
"Wire (Tor :9050)") wire-desktop --proxy-server=socks5://127.0.0.1:9050;;
"Wire (Tor :9150)") wire-desktop --proxy-server=socks5://127.0.0.1:9150;;
"Wire") wire-desktop
esac

25
.script/dmenu-screenshot.sh Executable file
View File

@ -0,0 +1,25 @@
#!/usr/bin/env sh
# dmenu prompts
TYPE="$(printf "Screen\nWindow/Area\n" | dmenu -i -p 'What do you want to screenshot?')"
if [ -z "$TYPE" ]; then exit; fi
SAVE="$(printf "No\nYes" | dmenu -i -p 'Do you want to copy to clipboard?')"
if [ -z "$SAVE" ]; then exit; fi
TIME="$(printf "0.7\n5\n10\n15" | dmenu -i -p 'How many seconds you want to wait?')"
if [ -z "$TIME" ]; then exit; fi
# Set flag if selected "Window"
case "$TYPE" in
Window/Area) TYPE="-s -u";;
*) TYPE=""
esac
# Prepere for screenshot
mkdir "$(xdg-user-dir PICTURES)"/Screenshot
sleep "$TIME"
# Copy to clipboard or save to file
case "$SAVE" in
Yes) maim $TYPE | xclip -selection clipboard -t image/png;;
*) maim $TYPE "$(xdg-user-dir PICTURES)"/Screenshot/"$(date +%G-%m-%d_%s.png)"
esac

1660
.script/dmenu-unicode.sh Executable file

File diff suppressed because it is too large Load Diff

47
.script/i3-corner.sh Executable file
View File

@ -0,0 +1,47 @@
#!/usr/bin/env bash
#
# Simply move mouse to corner with xdotool and let i3 move focused window to
# its position, handling edge detection for us.
preset=$1
keep_mouse='true'
{ read screen_name max_x max_y ; } < <(xrandr -q |
awk '/\yconnected\y/{ gsub("x|+", " ", $0); print $1 " " $4 " " $5}' | head -n 1)
# find 'connected', replace x/+ with space, print fields
half_x=$(( max_x / 2 ))
half_y=$(( max_y / 2 ))
<<PRESETS
- <x_pos> +
_______________
|7 8 9| -
| | ^
|4 5 6| y_pos
| | v
|1______2______3| +
PRESETS
case $preset in # X Y
'1') new_pos="0 $max_y";;
'2') new_pos="$half_x $max_y";;
'3') new_pos="$max_x $max_y";;
'4') new_pos="0 $half_y";;
'5') new_pos="$half_x $half_y";;
'6') new_pos="$max_x $half_y";;
'7') new_pos="0 0";;
'8') new_pos="$half_x 0";;
'9') new_pos="$max_x 0";;
*) echo "i3_movecorner: Invalid preset \"$preset\"" >&2; exit 2;;
esac
eval $(xdotool getmouselocation --shell) # get current mouse position
xdotool mousemove --sync --screen $screen_name $new_pos
i3-msg 'move position mouse'
if [[ -n $keep_mouse ]]; then
xdotool mousemove --sync $X $Y # reset to old mouse position
fi
exit 0

11
.script/import-gsettings.sh Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env sh
# usage: import-gsettings <gsettings key>:<settings.ini key> <gsettings key>:<settings.ini key> ...
expression=""
for pair in "$@"; do
IFS=:; set -- $pair
expressions="$expressions -e 's:^$2=(.*)$:gsettings set org.gnome.desktop.interface $1 \1:e'"
done
IFS=
eval exec sed -E $expressions "${XDG_CONFIG_HOME:-$HOME/.config}"/gtk-3.0/settings.ini >/dev/null

7
.script/polybar-mpd.sh Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env sh
if mpc | grep '\[paused\]' 1> /dev/null; then
printf " "
else
printf " %s " "$(mpc --format=%title% | awk 'NR==1' | cut -c -22 | sed 's/\s*$//')"
fi

39
.script/sndio.sh Executable file
View File

@ -0,0 +1,39 @@
#!/bin/sh
master_vol=$(aucatctl | grep "master" | cut -d "=" -f 2)
mute() {
if [ $master_vol -eq 0 ]
then
aucatctl master=127
else
aucatctl master=0
fi
}
up() {
if [ $(expr $master_vol + $1) -lt 127 ]
then
expr $master_vol + $1 | xargs -I% aucatctl master=%
else
aucatctl master=127
fi
}
down() {
if [ $master_vol -gt $1 ]
then
expr $master_vol - $1 | xargs -I% aucatctl master=%
else
aucatctl master=0
fi
}
case $1 in
"mute")
mute;;
"up")
up $2;;
"down")
down $2;;
esac

4
.script/wallpaper.sh Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env sh
# Sets the background. If given an argument, will set file as background.
[ ! -z "$1" ] && cp "$1" ~/.config/wallpaper && notify-send -i "$HOME/.config/wallpaper" "Wallpaper changed."
xwallpaper --daemon --zoom ~/.config/wallpaper

2
.zshrc Normal file
View File

@ -0,0 +1,2 @@
source "${HOME}/.config/zsh/aliases"
source "${HOME}/.config/zsh/zgenconfig"