From fa7db4b77beb92923e9ce975a36e14939c69fb4c Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Sat, 2 May 2020 12:11:26 +0200 Subject: add erythang --- .Xresources | 5 + .fehbg | 2 + i3/config | 132 ++++ mpd/database | Bin 0 -> 18033 bytes mpd/mpd.conf | 21 + mpd/pid | 1 + mpd/state | 141 ++++ mpd/sticker.sql | Bin 0 -> 12288 bytes mpv/mpd.conf | 28 + ncmpcpp/bindings | 479 +++++++++++++ ncmpcpp/config | 537 ++++++++++++++ ncmpcpp/error.log | 0 polybar/old.config | 283 ++++++++ polybar/tests | 151 ++++ ranger/commands.py | 1993 ++++++++++++++++++++++++++++++++++++++++++++++++++++ ranger/rc.conf | 759 ++++++++++++++++++++ ranger/rifle.conf | 284 ++++++++ rofi/config.rasi | 145 ++++ 18 files changed, 4961 insertions(+) create mode 100644 .Xresources create mode 100755 .fehbg create mode 100644 i3/config create mode 100644 mpd/database create mode 100644 mpd/mpd.conf create mode 100644 mpd/pid create mode 100644 mpd/state create mode 100644 mpd/sticker.sql create mode 100644 mpv/mpd.conf create mode 100644 ncmpcpp/bindings create mode 100644 ncmpcpp/config create mode 100644 ncmpcpp/error.log create mode 100644 polybar/old.config create mode 100644 polybar/tests create mode 100755 ranger/commands.py create mode 100644 ranger/rc.conf create mode 100644 ranger/rifle.conf create mode 100644 rofi/config.rasi diff --git a/.Xresources b/.Xresources new file mode 100644 index 0000000..9554fc6 --- /dev/null +++ b/.Xresources @@ -0,0 +1,5 @@ +rofi.color-normal: #212121, #D0D0D0, #212121, #212121, #9575cd, 0 +rofi.color-urgent: #212121, #D0D0D0, #212121, #212121, #9575cd, 0 +rofi.color-active: #212121, #D0D0D0, #212121, #212121, #9575cd, 0 + +rofi.color-window: #212121, #D0D0D0, #212121 diff --git a/.fehbg b/.fehbg new file mode 100755 index 0000000..a9e5b22 --- /dev/null +++ b/.fehbg @@ -0,0 +1,2 @@ +#!/bin/sh +feh --no-fehbg --bg-fill '/home/salad/Pictures/wallpaper.png' diff --git a/i3/config b/i3/config new file mode 100644 index 0000000..d3f1341 --- /dev/null +++ b/i3/config @@ -0,0 +1,132 @@ +set $mod Mod4 + +font pango:monospace 8 +for_window [class="^.*"] border pixel 3 +gaps inner 0 +gaps outer 0 + +bindsym $mod+Shift+g gaps inner current minus 3; gaps outer current minus 3 +bindsym $mod+g gaps inner current plus 3; gaps outer current plus 3 + +exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork + +exec --no-startup-id nm-applet + +set $refresh_i3status killall -SIGUSR1 i3status +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status +bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status +bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status + +floating_modifier $mod + +bindsym $mod+Return exec st + +bindsym $mod+Shift+Return exec firefox + +bindsym $mod+Shift+v exec firefox -kiosk + +bindsym $mod+q kill + +bindsym $mod+d exec rofi -show run + +bindsym $mod+h focus left +bindsym $mod+j focus down +bindsym $mod+k focus up +bindsym $mod+l focus right + +bindsym $mod+Left focus left +bindsym $mod+Down focus down +bindsym $mod+Up focus up +bindsym $mod+Right focus right + +bindsym $mod+Shift+h move left +bindsym $mod+Shift+j move down +bindsym $mod+Shift+k move up +bindsym $mod+Shift+l move right + +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right + +bindsym $mod+v split toggle + +bindsym $mod+f fullscreen toggle + +bindsym $mod+s layout stacking +bindsym $mod+w layout tabbed +bindsym $mod+e layout toggle split + +bindsym $mod+Shift+space floating toggle + +bindsym $mod+space focus mode_toggle + +bindsym $mod+a focus parent + + +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" + +bindsym $mod+1 workspace number $ws1 +bindsym $mod+2 workspace number $ws2 +bindsym $mod+3 workspace number $ws3 +bindsym $mod+4 workspace number $ws4 +bindsym $mod+5 workspace number $ws5 +bindsym $mod+6 workspace number $ws6 +bindsym $mod+7 workspace number $ws7 +bindsym $mod+8 workspace number $ws8 +bindsym $mod+9 workspace number $ws9 +bindsym $mod+0 workspace number $ws10 + +bindsym $mod+Shift+1 move container to workspace number $ws1 +bindsym $mod+Shift+2 move container to workspace number $ws2 +bindsym $mod+Shift+3 move container to workspace number $ws3 +bindsym $mod+Shift+4 move container to workspace number $ws4 +bindsym $mod+Shift+5 move container to workspace number $ws5 +bindsym $mod+Shift+6 move container to workspace number $ws6 +bindsym $mod+Shift+7 move container to workspace number $ws7 +bindsym $mod+Shift+8 move container to workspace number $ws8 +bindsym $mod+Shift+9 move container to workspace number $ws9 +bindsym $mod+Shift+0 move container to workspace number $ws10 + +bindsym $mod+Shift+c reload +bindsym $mod+Shift+r restart +bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" + +mode "resize" { + + bindsym h resize shrink width 10 px or 10 ppt + bindsym j resize grow height 10 px or 10 ppt + bindsym k resize shrink height 10 px or 10 ppt + bindsym l resize grow width 10 px or 10 ppt + + bindsym Left resize shrink width 10 px or 10 ppt + bindsym Down resize grow height 10 px or 10 ppt + bindsym Up resize shrink height 10 px or 10 ppt + bindsym Right resize grow width 10 px or 10 ppt + + bindsym Return mode "default" + bindsym Escape mode "default" + bindsym $mod+r mode "default" +} + +bindsym $mod+r mode "resize" + +exec --no-startup-id feh --bg-fill ~/Pictures/wallpaper.png +exec --no-startup-id compton --inactive-dim 0.2 +exec --no-startup-id xbacklight -inc 100 +smart_gaps on + +bar { + status_command i3status +position top +} diff --git a/mpd/database b/mpd/database new file mode 100644 index 0000000..af9e3f9 Binary files /dev/null and b/mpd/database differ diff --git a/mpd/mpd.conf b/mpd/mpd.conf new file mode 100644 index 0000000..c76bfde --- /dev/null +++ b/mpd/mpd.conf @@ -0,0 +1,21 @@ +# See: /usr/share/doc/mpd/mpdconf.example + +# Logs to systemd journal +log_file "syslog" + +# The music directory is by default the XDG directory, uncomment to amend and choose a different directory +music_directory "~/Music" + +# Uncomment to refresh the database whenever files in the music_directory are changed +auto_update "yes" + +# Uncomment to enable the functionalities +playlist_directory "~/.config/mpd/playlists" +pid_file "~/.config/mpd/pid" +state_file "~/.config/mpd/state" +sticker_file "~/.config/mpd/sticker.sql" +db_file "~/.config/mpd/database" +audio_output { + type "pulse" + name "pulse audio" +} diff --git a/mpd/pid b/mpd/pid new file mode 100644 index 0000000..9a93f1c --- /dev/null +++ b/mpd/pid @@ -0,0 +1 @@ +364797 diff --git a/mpd/state b/mpd/state new file mode 100644 index 0000000..e67ef46 --- /dev/null +++ b/mpd/state @@ -0,0 +1,141 @@ +sw_volume: 96 +audio_device_state:1:pulse audio +state: pause +current: 126 +time: 59.921000 +random: 0 +repeat: 0 +single: 0 +consume: 0 +crossfade: 0 +mixrampdb: 0.000000 +mixrampdelay: -1.000000 +playlist_begin +0:Drinking_Songs_Matt_Elliot.mp3 +1:I_d Love to Change the World (2004 Remaster).mp3 +2:Молчат Дома - Этажи.mp3 +3:Opeth/1995 - Orchid/01 In Mist She Was Standing.mp3 +4:Opeth/1995 - Orchid/02 Under The Weeping Moon.mp3 +5:Opeth/1995 - Orchid/03 Silhouette.mp3 +6:Opeth/1995 - Orchid/04 Forest Of October.mp3 +7:Opeth/1995 - Orchid/05 The Twilight Is My Robe.mp3 +8:Opeth/1995 - Orchid/06 Requiem.mp3 +9:Opeth/1995 - Orchid/07 The Apostle In Triumph.mp3 +10:Opeth/1996 - Morningrise/01 - Advent.mp3 +11:Opeth/1996 - Morningrise/02 - The Night and the Silent Water.mp3 +12:Opeth/1996 - Morningrise/03 - Nectar.mp3 +13:Opeth/1996 - Morningrise/04 - Black Rose Immortal.mp3 +14:Opeth/1996 - Morningrise/05 - To Bid You Farewell.mp3 +15:Opeth/1996 - Morningrise/06 - Eternal Soul Torture (Bonus Track).mp3 +16:Opeth/1998 - My Arms, Your Hearse/01 - Prologue.mp3 +17:Opeth/1998 - My Arms, Your Hearse/02 - April Ethereal.mp3 +18:Opeth/1998 - My Arms, Your Hearse/03 - When.mp3 +19:Opeth/1998 - My Arms, Your Hearse/04 - Madrigal.mp3 +20:Opeth/1998 - My Arms, Your Hearse/05 - The Amen Corner.mp3 +21:Opeth/1998 - My Arms, Your Hearse/06 - Demon of the Fall.mp3 +22:Opeth/1998 - My Arms, Your Hearse/07 - Credence.mp3 +23:Opeth/1998 - My Arms, Your Hearse/09 - Epilogue.mp3 +24:Opeth/1998 - My Arms, Your Hearse/08 - Karma.mp3 +25:Opeth/1999 - Still Life/The Moor.mp3 +26:Opeth/1999 - Still Life/Godhead's Lament.mp3 +27:Opeth/1999 - Still Life/Benighted.mp3 +28:Opeth/1999 - Still Life/Moonlapse Vertigo.mp3 +29:Opeth/1999 - Still Life/Face of Melinda.mp3 +30:Opeth/1999 - Still Life/Serenity Painted Death.mp3 +31:Opeth/1999 - Still Life/White Cluster.mp3 +32:Opeth/1998 - My Arms, Your Hearse/10 - Circle of the Tyrant (Celtic Frost Cover).mp3 +33:Opeth/2001 - Blackwater Park/The Leper Affinity.mp3 +34:Opeth/2001 - Blackwater Park/Bleak.mp3 +35:Opeth/2001 - Blackwater Park/Harvest.mp3 +36:Opeth/2001 - Blackwater Park/The Drapery Falls.mp3 +37:Opeth/2001 - Blackwater Park/Drige For November.mp3 +38:Opeth/2001 - Blackwater Park/The Funeral Portrait.mp3 +39:Opeth/2001 - Blackwater Park/Patterns In The Ivy.mp3 +40:Opeth/2001 - Blackwater Park/Blackwater Park.mp3 +41:Opeth/2001 - Blackwater Park/Patterns in the Ivy II.mp3 +42:Opeth/2001 - Blackwater Park/Still Day Beneath the Sun.mp3 +43:Opeth/2002 - Deliverance/01 - Wreath.mp3 +44:Opeth/2002 - Deliverance/02 - Deliverance.mp3 +45:Opeth/2002 - Deliverance/03 - A Fair Judgement.mp3 +46:Opeth/2002 - Deliverance/04 - For Absent Friends.mp3 +47:Opeth/2002 - Deliverance/05 - Master's Apprentices.mp3 +48:Opeth/2002 - Deliverance/06 - By The Pain I See In Others.mp3 +49:Opeth/2003 - Damnation/01 Windowpane.mp3 +50:Opeth/2003 - Damnation/02 In My Time Of Need.mp3 +51:Opeth/2003 - Damnation/03 Death Whispered A Lullaby.mp3 +52:Opeth/2003 - Damnation/04 Closure.mp3 +53:Opeth/2003 - Damnation/05 Hope Leaves.mp3 +54:Opeth/2003 - Damnation/06 To Rid The Disease.mp3 +55:Opeth/2003 - Damnation/07 Ending Credits.mp3 +56:Opeth/2003 - Damnation/08 Weakness.mp3 +57:Opeth/2005 - Ghost Reveries/01 - Ghost Of Perdition.mp3 +58:Opeth/2005 - Ghost Reveries/02 - The Baying Of The Hounds.mp3 +59:Opeth/2005 - Ghost Reveries/03 - Beneath The Mire.mp3 +60:Opeth/2005 - Ghost Reveries/04 - Atonement.mp3 +61:Opeth/2005 - Ghost Reveries/05 - Harlequin Forest.mp3 +62:Opeth/2005 - Ghost Reveries/06 - Hours Of Wealth.mp3 +63:Opeth/2005 - Ghost Reveries/07 - The Grand Conjuration.mp3 +64:Opeth/2005 - Ghost Reveries/08 - Isolation Years.mp3 +65:Opeth/2008 - Watershed/01-Coil.mp3 +66:Opeth/2008 - Watershed/02-Heir_Apparent.mp3 +67:Opeth/2008 - Watershed/03-The_Lotus_Eater.mp3 +68:Opeth/2008 - Watershed/04-Burden.mp3 +69:Opeth/2008 - Watershed/05-Porcelain_Heart.mp3 +70:Opeth/2008 - Watershed/06-Hessian_Peel.mp3 +71:Opeth/2008 - Watershed/07-Hex_Omega.mp3 +72:Opeth/2011 - Heritage/01. Heritage.mp3 +73:Opeth/2011 - Heritage/02. The Devil's Orchard.mp3 +74:Opeth/2011 - Heritage/03. I Feel the Dark.mp3 +75:Opeth/2011 - Heritage/04. Slither.mp3 +76:Opeth/2011 - Heritage/05. Nepenthe.mp3 +77:Opeth/2011 - Heritage/06. Haxprocess.mp3 +78:Opeth/2011 - Heritage/07. Famine.mp3 +79:Opeth/2011 - Heritage/08. The Lines in My Hand.mp3 +80:Opeth/2011 - Heritage/09. Folklore.mp3 +81:Opeth/2011 - Heritage/10. Marrow of the Earth.mp3 +82:Opeth/2014 - Pale Communion/Opeth - Pale Communion - 01 - Eternal Rains Will Come.mp3 +83:Opeth/2014 - Pale Communion/Opeth - Pale Communion - 02 - Cusp Of Eternity.mp3 +84:Opeth/2014 - Pale Communion/Opeth - Pale Communion - 03 - Moon Above, Sun Below.mp3 +85:Opeth/2014 - Pale Communion/Opeth - Pale Communion - 04 - Elysian Woes.mp3 +86:Opeth/2014 - Pale Communion/Opeth - Pale Communion - 05 - Goblin.mp3 +87:Opeth/2014 - Pale Communion/Opeth - Pale Communion - 06 - River.mp3 +88:Opeth/2014 - Pale Communion/Opeth - Pale Communion - 07 - Voice Of Treason.mp3 +89:Opeth/2014 - Pale Communion/Opeth - Pale Communion - 08 - Faith In Others.mp3 +90:Opeth/2016 - Sorceress/opeth - sorceress - 01 - persephone.mp3 +91:Opeth/2016 - Sorceress/opeth - sorceress - 02 - sorceress.mp3 +92:Opeth/2016 - Sorceress/opeth - sorceress - 03 - the wilde flowers.mp3 +93:Opeth/2016 - Sorceress/opeth - sorceress - 04 - will o the wisp.mp3 +94:Opeth/2016 - Sorceress/opeth - sorceress - 05 - chrysalis.mp3 +95:Opeth/2016 - Sorceress/opeth - sorceress - 06 - sorceress 2.mp3 +96:Opeth/2016 - Sorceress/opeth - sorceress - 07 - the seventh sojourn.mp3 +97:Opeth/2016 - Sorceress/opeth - sorceress - 08 - strange brew.mp3 +98:Opeth/2016 - Sorceress/opeth - sorceress - 09 - a fleeting glance.mp3 +99:Opeth/2016 - Sorceress/opeth - sorceress - 10 - era.mp3 +100:Opeth/2016 - Sorceress/opeth - sorceress - 11 - persephone (slight return).mp3 +101:Opeth/1999 - Still Life/The Moor.mp3 +102:Opeth/1999 - Still Life/Godhead's Lament.mp3 +103:Opeth/1999 - Still Life/Benighted.mp3 +104:Opeth/1999 - Still Life/Moonlapse Vertigo.mp3 +105:Opeth/1999 - Still Life/Face of Melinda.mp3 +106:Opeth/1999 - Still Life/Serenity Painted Death.mp3 +107:Opeth/1999 - Still Life/White Cluster.mp3 +108:Opeth/1998 - My Arms, Your Hearse/10 - Circle of the Tyrant (Celtic Frost Cover).mp3 +109:Opeth/2001 - Blackwater Park/The Leper Affinity.mp3 +110:Opeth/2001 - Blackwater Park/Bleak.mp3 +111:Opeth/2001 - Blackwater Park/Harvest.mp3 +112:Opeth/2001 - Blackwater Park/The Drapery Falls.mp3 +113:Opeth/2001 - Blackwater Park/Drige For November.mp3 +114:Opeth/2001 - Blackwater Park/The Funeral Portrait.mp3 +115:Opeth/2001 - Blackwater Park/Patterns In The Ivy.mp3 +116:Opeth/2001 - Blackwater Park/Blackwater Park.mp3 +117:Opeth/2001 - Blackwater Park/Patterns in the Ivy II.mp3 +118:Opeth/2001 - Blackwater Park/Still Day Beneath the Sun.mp3 +119:54lu7cC001/BONJOUR C'EST CHOUETTE/Ca tue d'etre en vie/03 les serviettes des chevaliers.mp3 +120:54lu7cC001/BONJOUR C'EST CHOUETTE/Ca tue d'etre en vie/06 trop content.mp3 +121:54lu7cC001/BONJOUR C'EST CHOUETTE/Ca tue d'etre en vie/05 tout le monde est tout le monde.mp3 +122:Run Through The Jungle.mp3 +123:54lu7cC001/BONJOUR C'EST CHOUETTE/Ca tue d'etre en vie/01 le paysagiste gourou.mp3 +124:Kidkanevil - Level UP.wav +125:CD 1/05. Hypnotize.mp3 +126:Ween/The Mollusk/13 - Ocean Man.mp3 +playlist_end diff --git a/mpd/sticker.sql b/mpd/sticker.sql new file mode 100644 index 0000000..64fde03 Binary files /dev/null and b/mpd/sticker.sql differ diff --git a/mpv/mpd.conf b/mpv/mpd.conf new file mode 100644 index 0000000..5968f49 --- /dev/null +++ b/mpv/mpd.conf @@ -0,0 +1,28 @@ +db_file "/home/jozan/.config/mpd/database" +log_file "/home/jozan/.config/mpd/log" +music_directory "/home/jozan/Music" +playlist_directory "/home/jozan/.config/mpd/playlists" +pid_file "/home/jozan/.config/mpd/pid" +state_file "/home/jozan/.config/mpd/state" +sticker_file "/home/jozan/.config/mpd/sticker.sql" + +auto_update "yes" + +bind_to_address "127.0.0.1" +restore_paused "yes" +max_output_buffer_size "16384" + +audio_output { + type "pulse" + name "My MPD PulseAudio Output" + # type "alsa" + # name "alsa for audio soundcard" + # mixer_type "software" +} + +audio_output { + type "fifo" + name "toggle_visualizer" + path "/tmp/mpd.fifo" + format "44100:16:2" +} \ No newline at end of file diff --git a/ncmpcpp/bindings b/ncmpcpp/bindings new file mode 100644 index 0000000..645e41f --- /dev/null +++ b/ncmpcpp/bindings @@ -0,0 +1,479 @@ +############################################################## +## This is the example bindings file. Copy it to ## +## ~/.ncmpcpp/bindings or $XDG_CONFIG_HOME/ncmpcpp/bindings ## +## and set up your preferences ## +############################################################## +# +#def_key "mouse" +# mouse_event +# +#def_key "up" +# scroll_up +# +#def_key "shift-up" +# select_item +# scroll_up +# +#def_key "down" +# scroll_down +# +#def_key "shift-down" +# select_item +# scroll_down +# +#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 +# +#def_key "insert" +# select_item +# +#def_key "enter" +# enter_directory +# +#def_key "enter" +# toggle_output +# +#def_key "enter" +# run_action +# +#def_key "enter" +# play_item +# +#def_key "space" +# add_item_to_playlist +# +#def_key "space" +# toggle_lyrics_update_on_song_change +# +#def_key "space" +# toggle_visualization_type +# +#def_key "delete" +# delete_playlist_items +# +#def_key "delete" +# delete_browser_items +# +#def_key "delete" +# delete_stored_playlist +# +#def_key "right" +# next_column +# +#def_key "right" +# slave_screen +# +#def_key "right" +# volume_up +# +#def_key "+" +# volume_up +# +#def_key "left" +# previous_column +# +#def_key "left" +# master_screen +# +#def_key "left" +# volume_down +# +#def_key "-" +# volume_down +# +#def_key ":" +# execute_command +# +#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_clock +# +#def_key "@" +# show_server_info +# +#def_key "s" +# stop +# +#def_key "p" +# pause +# +#def_key ">" +# next +# +#def_key "<" +# previous +# +#def_key "ctrl-h" +# jump_to_parent_directory +# +#def_key "ctrl-h" +# replay_song +# +#def_key "backspace" +# jump_to_parent_directory +# +#def_key "backspace" +# replay_song +# +#def_key "f" +# seek_forward +# +#def_key "b" +# seek_backward +# +#def_key "r" +# toggle_repeat +# +#def_key "z" +# toggle_random +# +#def_key "y" +# save_tag_changes +# +#def_key "y" +# start_searching +# +#def_key "y" +# toggle_single +# +#def_key "R" +# toggle_consume +# +#def_key "Y" +# toggle_replay_gain_mode +# +#def_key "T" +# toggle_add_mode +# +#def_key "|" +# toggle_mouse +# +#def_key "#" +# toggle_bitrate_visibility +# +#def_key "Z" +# shuffle +# +#def_key "x" +# toggle_crossfade +# +#def_key "X" +# set_crossfade +# +#def_key "u" +# update_database +# +#def_key "ctrl-s" +# sort_playlist +# +#def_key "ctrl-s" +# toggle_browser_sort_mode +# +#def_key "ctrl-s" +# toggle_media_library_sort_mode +# +#def_key "ctrl-r" +# reverse_playlist +# +#def_key "ctrl-f" +# apply_filter +# +#def_key "ctrl-_" +# select_found_items +# +#def_key "/" +# find +# +#def_key "/" +# find_item_forward +# +#def_key "?" +# find +# +#def_key "?" +# find_item_backward +# +#def_key "." +# next_found_item +# +#def_key "," +# previous_found_item +# +#def_key "w" +# toggle_find_mode +# +#def_key "e" +# edit_song +# +#def_key "e" +# edit_library_tag +# +#def_key "e" +# edit_library_album +# +#def_key "e" +# edit_directory_name +# +#def_key "e" +# edit_playlist_name +# +#def_key "e" +# edit_lyrics +# +#def_key "i" +# show_song_info +# +#def_key "I" +# show_artist_info +# +#def_key "g" +# jump_to_position_in_song +# +#def_key "l" +# show_lyrics +# +#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 "c" +# clear_playlist +# +#def_key "c" +# clear_main_playlist +# +#def_key "C" +# crop_playlist +# +#def_key "C" +# crop_main_playlist +# +#def_key "m" +# move_sort_order_up +# +#def_key "m" +# move_selected_items_up +# +#def_key "n" +# move_sort_order_down +# +#def_key "n" +# move_selected_items_down +# +#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_browser +# +#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 "P" +# toggle_display_mode +# +#def_key "\\" +# toggle_interface +# +#def_key "!" +# toggle_separators_between_albums +# +#def_key "L" +# toggle_lyrics_fetcher +# +#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 "q" +# quit +# +# +#def_key "f" +# find +#def_key "f" +# find_item_forward + +def_key "+" + show_clock +def_key "=" + volume_up + +def_key "j" + scroll_down +def_key "k" + scroll_up + +def_key "ctrl-u" + page_up +#push_characters "kkkkkkkkkkkkkkk" +def_key "ctrl-d" + page_down +#push_characters "jjjjjjjjjjjjjjj" +def_key "u" + page_up +#push_characters "kkkkkkkkkkkkkkk" +def_key "d" + page_down +#push_characters "jjjjjjjjjjjjjjj" +def_key "h" + previous_column +def_key "l" + next_column + +def_key "." + show_lyrics + +def_key "n" + next_found_item +def_key "N" + previous_found_item + +# not used but bound +def_key "J" + move_sort_order_down +def_key "K" + move_sort_order_up +def_key "h" + jump_to_parent_directory +def_key "l" + enter_directory +def_key "l" + run_action +def_key "l" + play_item +def_key "m" + show_media_library +def_key "m" + toggle_media_library_columns_mode +def_key "t" + show_tag_editor +def_key "v" + show_visualizer +def_key "G" + move_end +def_key "g" + move_home +#jump_to_position_in_song +def_key "U" + update_database +def_key "s" + reset_search_engine +def_key "s" + show_search_engine +def_key "f" + show_browser +def_key "f" + change_browse_mode +def_key "x" + delete_playlist_items +def_key "P" + show_playlist diff --git a/ncmpcpp/config b/ncmpcpp/config new file mode 100644 index 0000000..f0af0d1 --- /dev/null +++ b/ncmpcpp/config @@ -0,0 +1,537 @@ +############################################################################## +## This is the example configuration file. Copy it to $HOME/.ncmpcpp/config ## +## or $XDG_CONFIG_HOME/ncmpcpp/config and set up your preferences. ## +############################################################################## +# +ncmpcpp_directory = ~/.config/ncmpcpp +# +## +## Directory for storing downloaded lyrics. It defaults to ~/.lyrics since other +## MPD clients (eg. ncmpc) also use that location. +## +# +lyrics_directory = ~/.local/share/lyrics +# +##### connection settings ##### +# +#mpd_host = localhost +# +#mpd_port = 6600 +# +#mpd_connection_timeout = 5 +# +## Needed for tag editor and file operations to work. +## +mpd_music_dir = "~/Music" +# +#mpd_crossfade_time = 5 +# +##### music visualizer ##### +## +## Note: In order to make music visualizer work you'll need to use mpd fifo +## output, whose format parameter has to be set to 44100:16:1 for mono +## visualization or 44100:16:2 for stereo visualization. Example configuration +## (it has to be put into mpd.conf): +## +## audio_output { +## type "fifo" +## name "Visualizer feed" +## path "/tmp/mpd.fifo" +## format "44100:16:2" +## } +## +# +#visualizer_fifo_path = /tmp/mpd.fifo +# +## +## Note: Below parameter is needed for ncmpcpp to determine which output +## provides data for visualizer and thus allow syncing between visualization and +## sound as currently there are some problems with it. +## +# +#visualizer_output_name = Visualizer feed +# +## +## If you set format to 44100:16:2, make it 'yes'. +## +#visualizer_in_stereo = yes +# +## +## Note: Below parameter defines how often ncmpcpp has to "synchronize" +## visualizer and audio outputs. 30 seconds is optimal value, but if you +## experience synchronization problems, set it to lower value. Keep in mind +## that sane values start with >=10. +## +# +#visualizer_sync_interval = 30 +# +## +## Note: To enable spectrum frequency visualization you need to compile ncmpcpp +## with fftw3 support. +## +# +## Available values: spectrum, wave, wave_filled, ellipse. +## +visualizer_type = spectrum +# +#visualizer_look = ●卐 +#visualizer_look = 卐 +# +#visualizer_color = blue, cyan, green, yellow, magenta, red +# +## Alternative subset of 256 colors for terminals that support it. +## +#visualizer_color = 41, 83, 119, 155, 185, 215, 209, 203, 197, 161 +# +##### system encoding ##### +## +## ncmpcpp should detect your charset encoding but if it failed to do so, you +## can specify charset encoding you are using here. +## +## Note: You can see whether your ncmpcpp build supports charset detection by +## checking output of `ncmpcpp --version`. +## +## Note: Since MPD uses UTF-8 by default, setting this option makes sense only +## if your encoding is different. +## +# +#system_encoding = "" +# +##### delays ##### +# +## Time of inactivity (in seconds) after playlist 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 = $b{{$8"%t"}} $3by {$4%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 = $(magenta)$r +# +current_item_inactive_column_suffix = $/r$(end) +# +#now_playing_prefix = $b +# +#now_playing_suffix = $/b +# +#browser_playlist_prefix = "$2playlist$9 " +# +#selected_item_prefix = $6 +# +#selected_item_suffix = $9 +# +#modified_item_prefix = $3> $9 +# +## +## Note: attributes are not supported for the following variables. +## +#song_window_title_format = {%a - }{%t}|{%f} +## +## Note: Below variables are used for sorting songs in browser. The sort mode +## determines how songs are sorted, and can be used in combination with a sort +## format to specify a custom sorting format. Available values for +## browser_sort_mode are "name", "mtime", "format" and "noop". +## +# +#browser_sort_mode = name +# +#browser_sort_format = {%a - }{%t}|{%f} {(%l)} +# +##### columns settings ##### +## +## syntax of song columns list format is "column column etc." +## +## - syntax for each column is: +## +## (width of the column)[color of the column]{displayed tag} +## +## Note: Width is by default in %, if you want a column to have fixed size, add +## 'f' after the value, e.g. (10)[white]{a} will be the column that take 10% of +## screen (so the real width will depend on actual screen size), whereas +## (10f)[white]{a} will take 10 terminal cells, no matter how wide the screen +## is. +## +## - color is optional (if you want the default one, leave the field empty). +## +## Note: You can give a column additional attributes by putting appropriate +## character after displayed tag character. Available attributes are: +## +## - r - column will be right aligned +## - E - if tag is empty, empty tag marker won't be displayed +## +## You can also: +## +## - give a column custom name by putting it after attributes, separated with +## character ':', e.g. {lr:Length} gives you right aligned column of lengths +## named "Length". +## +## - define sequence of tags, that have to be displayed in case predecessor is +## empty in a way similar to the one in classic song format, i.e. using '|' +## character, e.g. {a|c|p:Owner} creates column named "Owner" that tries to +## display artist tag and then composer and performer if previous ones are not +## available. +## +# +#song_columns_list_format = (20)[]{a} (6f)[green]{NE} (50)[white]{t|f:Title} (20)[cyan]{b} (7f)[magenta]{l} +# +##### various settings ##### +# +## +## Note: Custom command that will be executed each time song changes. Useful for +## notifications etc. +## +execute_on_song_change = "mpdnotify" +# +## +## 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 = yes +# +#show_duplicate_tags = true +# +#incremental_seeking = yes +# +#seek_time = 1 +# +#volume_change_step = 2 +# +#autocenter_mode = no +# +#centered_cursor = no +# +## +## Note: You can specify third character which will be used to build 'empty' +## part of progressbar. +## +progressbar_look = => +# +## 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 = yes +# +#statusbar_visibility = yes +# +#titles_visibility = yes +# +#header_text_scrolling = yes +# +#cyclic_scrolling = no +# +#lines_scrolled = 2 +# +#lyrics_fetchers = lyricwiki, azlyrics, genius, sing365, lyricsmania, metrolyrics, justsomelyrics, jahlyrics, plyrics, tekstowo, internet +# +#follow_now_playing_lyrics = no +# +#fetch_lyrics_for_current_song_in_background = no +# +#store_lyrics_in_song_dir = no +# +#generate_win32_compatible_filenames = yes +# +#allow_for_physical_item_deletion = no +# +## +## Note: If you set this variable, ncmpcpp will try to get info from last.fm in +## language you set and if it fails, it will fall back to english. Otherwise it +## will use english the first time. +## +## Note: Language has to be expressed as an ISO 639 alpha-2 code. +## +#lastfm_preferred_language = en +# +#space_add_mode = add_remove +# +#show_hidden_files_in_local_browser = no +# +## +## How shall screen switcher work? +## +## - "previous" - switch between the current and previous screen. +## - "screen1,...,screenN" - switch between given sequence of screens. +## +## Screens available for use: help, playlist, browser, search_engine, +## media_library, playlist_editor, tag_editor, outputs, visualizer, clock, +## lyrics, last_fm. +## +#screen_switcher_mode = playlist, browser +# +## +## Note: You can define startup screen by choosing screen from the list above. +## +startup_screen = media_library +# +## +## Note: You can define startup slave screen by choosing screen from the list +## above or an empty value for no slave screen. +## +#startup_slave_screen = "" +# +#startup_slave_screen_focus = no +# +## +## Default width of locked screen (in %). Acceptable values are from 20 to 80. +## +# +#locked_screen_width_part = 50 +# +#ask_for_locked_screen_width_part = yes +# +#jump_to_now_playing_song_at_start = yes +# +#ask_before_clearing_playlists = yes +# +#clock_display_seconds = no +# +display_volume_level = 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 +# +## +## Note: if below is enabled, ncmpcpp will ignore diacritics while searching and +## filtering lists. This takes an effect only if boost was compiled with ICU +## support. +## +#ignore_diacritics = no +# +#block_search_constraints_change_if_items_found = yes +# +#mouse_support = yes +# +#mouse_list_scroll_whole_page = yes +# +#empty_tag_marker = +# +#tags_separator = " | " +# +#tag_editor_extended_numeration = no +# +#media_library_sort_by_mtime = no +# +#enable_window_title = yes +# +## +## Note: You can choose default search mode for search engine. Available modes +## are: +## +## - 1 - use mpd built-in searching (no regexes, pattern matching) +## +## - 2 - use ncmpcpp searching (pattern matching with support for regexes, but +## if your mpd is on a remote machine, downloading big database to process +## it can take a while +## +## - 3 - match only exact values (this mode uses mpd function for searching in +## database and local one for searching in current playlist) +## +# +#search_engine_default_search_mode = 1 +# +external_editor = vim +# +## 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 +## "_", 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 = magenta +# +#volume_color = default +# +#state_line_color = default +# +#state_flags_color = default:b +# +main_window_color = white +# +#color1 = white +# +#color2 = green +# +progressbar_color = black:b +# +progressbar_elapsed_color = blue:b +# +statusbar_color = red +# +statusbar_time_color = cyan:b +# +#player_state_color = default:b +# +#alternative_ui_separator_color = black:b +# +#window_border_color = green +# +#active_window_border = red +# diff --git a/ncmpcpp/error.log b/ncmpcpp/error.log new file mode 100644 index 0000000..e69de29 diff --git a/polybar/old.config b/polybar/old.config new file mode 100644 index 0000000..d957928 --- /dev/null +++ b/polybar/old.config @@ -0,0 +1,283 @@ +;========================================================== +; +; +; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ +; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ +; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ +; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ +; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ +; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ +; +; +; To learn more about how to configure Polybar +; go to https://github.com/polybar/polybar +; +; The README contains a lot of information +; +;========================================================== + +[colors] +;background = ${xrdb:color0:#222} +background = #222 +background-alt = #444 +;foreground = ${xrdb:color7:#222} +foreground = #dfdfdf +foreground-alt = #555 +primary = #ffb52a +secondary = #e60053 +alert = #bd2c40 + +[bar/example] +;monitor = ${env:MONITOR:HDMI-1} +width = 100% +height = 18 +;offset-x = 1% +;offset-y = 1% +radius = 0 +fixed-center = false + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 3 +line-color = #f00 + +border-size = 0 +border-color = #00000000 + +padding-left = 0 +padding-right = 2 + +module-margin-left = 1 +module-margin-right = 2 + +font-0 = DejaVuSansMono:pixelsize=10;1 +font-1 = DejaVuSansMono:fontformat=truetype:size=8:antialias=false;0 +font-2 = DejaVuSansMono:pixelsize=10;1 + +modules-left = i3 +modules-center = +modules-right = filesystem xbacklight pulseaudio wlan eth battery date + +tray-position = right +tray-padding = 2 +;tray-background = #0063ff + +;wm-restack = bspwm +;wm-restack = i3 + +;override-redirect = true + +;scroll-up = bspwm-desknext +;scroll-down = bspwm-deskprev + +;scroll-up = i3wm-wsnext +;scroll-down = i3wm-wsprev + +cursor-click = pointer +cursor-scroll = ns-resize + +[module/filesystem] +type = internal/fs +interval = 25 + +mount-0 = / + +label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% +label-unmounted = %mountpoint% not mounted +label-unmounted-foreground = ${colors.foreground-alt} + +[module/i3] +type = internal/i3 +format = +index-sort = true +wrapping-scroll = false + +; Only show workspaces on the same output as the bar +;pin-workspaces = true + +label-mode-padding = 2 +label-mode-foreground = #000 +label-mode-background = ${colors.primary} + +; focused = Active workspace on focused monitor +label-focused = %index% +label-focused-background = ${colors.background-alt} +label-focused-underline= ${colors.primary} +label-focused-padding = 2 + +; unfocused = Inactive workspace on any monitor +label-unfocused = %index% +label-unfocused-padding = 2 + +; visible = Active workspace on unfocused monitor +label-visible = %index% +label-visible-background = ${self.label-focused-background} +label-visible-underline = ${self.label-focused-underline} +label-visible-padding = ${self.label-focused-padding} + +; urgent = Workspace with urgency hint set +label-urgent = %index% +label-urgent-background = ${colors.alert} +label-urgent-padding = 2 + +; Separator in between workspaces +; label-separator = | + + +[module/mpd] +type = internal/mpd +format-online = + +icon-prev =  +icon-stop =  +icon-play =  +icon-pause =  +icon-next =  + +label-song-maxlen = 25 +label-song-ellipsis = true + +[module/xbacklight] +type = internal/xbacklight + +format =