I3 to Sway (#1)
Added some ignored folders and files Updated waybar clock for Debian 11 Fixed bug on screen definition Fixed Iiyama North America PL2483H 1173700204528 Merge branch 'gentoo-sway' of git.darkou.fr:dbroqua/home into gentoo-sway Some changes for work environment Some changes for work environment Merge branch 'gentoo-sway' of git.darkou.fr:dbroqua/home into gentoo-sway Added .mp3 files Updated waybar config for laptop Added vim-jsx Added Teams to startup section (sad day in life!) Updated mpd config (local source) Added script for syncing my music Merge branch 'gentoo-sway' of git.darkou.fr:dbroqua/home into gentoo-sway Updated ranger config Merge branch 'gentoo-sway' of git.darkou.fr:dbroqua/home into gentoo-sway Replaced termite with alacritty Replaced termite by alacritty Updated rsync.sh results Merge branch 'gentoo-sway' of git.darkou.fr:dbroqua/home into gentoo-sway Updated github user Updated irc alias Minor changes Added master if fail fait dev* Added zsh prompt Updated output definitions Added KDEConnect at startup Added second screen Merge branch 'gentoo-sway' of git.darkou.fr:dbroqua/home into gentoo-sway Updated README Added C.A.V.A. Fixed bug for vte Added Tofu HHKB keyboard config Added script to update system Updated FuzzFm entry Added menu entry for Carnet Added qcad's ebuild Updated waybar for Thinkpad Updated temperature list for Thinkpad Fixed bug Updated input for thinkpad Added script to order files for Alpine car audio system Updated Fuzz url Added Grammalecte plugin Added displays for ThinkStation and ThinkPad Merge branch 'gentoo-sway' of framagit.org:dbroqua/home into gentoo-sway Updated waybar for laptop Fixed bug on adjust brightness Moved applications Co-authored-by: dbroqua <contact@darkou.fr> Co-authored-by: dbroqua <dbroqua@mousur.org> Reviewed-on: https://git.darkou.fr/dbroqua/home/pulls/1 Co-Authored-By: Damien Broqua <dbroqua@noreply.localhost> Co-Committed-By: Damien Broqua <dbroqua@noreply.localhost>
This commit is contained in:
parent
9969d212cc
commit
0d384b22bf
148 changed files with 5837 additions and 4018 deletions
|
@ -6,6 +6,7 @@ alias ll="ls -l"
|
|||
alias lh="ls -lah"
|
||||
alias grep="grep --color=auto -n"
|
||||
alias diff='diff --color=auto'
|
||||
alias gdiff='git diff'
|
||||
alias yarn="yarn --emoji true"
|
||||
|
||||
# No space in file
|
||||
|
@ -20,9 +21,8 @@ alias rpHQ='mpv http://radioperfecto.net-radio.fr:80/perfecto.aac'
|
|||
alias rp='rpHQ'
|
||||
alias 107='mpv http://15363.live.streamtheworld.com/KSANFMAAC192.aac'
|
||||
alias onlyrock='mpv http://ns508363.ip-198-100-145.net:8080/onlyrockradio.mp3'
|
||||
alias fuzz='mpv http://18193.live.streamtheworld.com/SAM04AAC335.mp3'
|
||||
#alias rx3='mpv http://37.59.28.208:8217/stream/1/'
|
||||
alias rx3='mpv https://azura.shoutca.st/radio/8550/radio.mp3\?1588331736'
|
||||
alias fuzz='mpv "https://cloud.darkou.fr/s/7paGBPsERGJjnFd/download?path=%2F&files=fuzz.pls"'
|
||||
alias rx3='mpv https://cleo.shoutca.st/radio/8020/radio.mp3\?1608118952'
|
||||
alias heavy1='mpv https://listen.radioking.com/radio/119653/stream/159121'
|
||||
alias lagrosseRock='mpv http://hd.lagrosseradio.info/lagrosseradio-rock-192.mp3'
|
||||
alias lagrosseMetal='mpv http://hd.lagrosseradio.info/lagrosseradio-metal-192.mp3'
|
||||
|
@ -31,6 +31,6 @@ alias radioDoom='mpv -playlist http://kuorinka.duckdns.org:2718/doom.m3u'
|
|||
|
||||
alias dh="dfc -t xfs,ext2 2>/dev/null"
|
||||
|
||||
alias vim="nvim"
|
||||
alias irc="ssh jules -t tmux attach-session -t irc"
|
||||
|
||||
alias irc="ssh malpartida -t tmux attach-session -t irc"
|
||||
alias getClass="swaymsg -t get_tree| grep $1"
|
|
@ -1,6 +1,6 @@
|
|||
[user]
|
||||
name = dbroqua
|
||||
email = dbroqua@mousur.org
|
||||
name = dbroqua
|
||||
email = contact@darkou.fr
|
||||
|
||||
[gc]
|
||||
autoDetach = false
|
|
@ -2,12 +2,12 @@
|
|||
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
|
||||
|
||||
include "/home/dbroqua/.gtkrc-2.0.mine"
|
||||
gtk-theme-name="vimix-laptop-doder"
|
||||
gtk-icon-theme-name="Tela"
|
||||
gtk-font-name="Noto Sans Regular 12"
|
||||
gtk-cursor-theme-name="Breeze_Snow"
|
||||
gtk-theme-name="NordSur-dark"
|
||||
gtk-icon-theme-name="Tela-circle-dark"
|
||||
gtk-font-name="Sans 10"
|
||||
gtk-cursor-theme-name="Adwaita"
|
||||
gtk-cursor-theme-size=0
|
||||
gtk-toolbar-style=GTK_TOOLBAR_ICONS
|
||||
gtk-toolbar-style=GTK_TOOLBAR_BOTH
|
||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||
gtk-button-images=1
|
||||
gtk-menu-images=1
|
545
dotfiles/.ncmpcpp/bindings
Normal file
545
dotfiles/.ncmpcpp/bindings
Normal file
|
@ -0,0 +1,545 @@
|
|||
# Source: /usr/share/doc/ncmpcpp-0.8.2-r1/bindings.bz2
|
||||
#
|
||||
##############################################################
|
||||
## This is the example bindings file. Copy it to ##
|
||||
## ~/.ncmpcpp/bindings or $XDG_CONFIG_HOME/ncmpcpp/bindings ##
|
||||
## and set up your preferences ##
|
||||
##############################################################
|
||||
##
|
||||
##### General rules #####
|
||||
##
|
||||
## 1) Because each action has runtime checks whether it's
|
||||
## ok to run it, a few actions can be bound to one key.
|
||||
## Actions will be bound in order given in configuration
|
||||
## file. When a key is pressed, first action in order
|
||||
## will test itself whether it's possible to run it. If
|
||||
## test succeeds, action is executed and other actions
|
||||
## bound to this key are ignored. If it doesn't, next
|
||||
## action in order tests itself etc.
|
||||
##
|
||||
## 2) It's possible to bind more that one action at once
|
||||
## to a key. It can be done using the following syntax:
|
||||
##
|
||||
## def_key "key"
|
||||
## action1
|
||||
## action2
|
||||
## ...
|
||||
##
|
||||
## This creates a chain of actions. When such chain is
|
||||
## executed, each action in chain is run until the end of
|
||||
## chain is reached or one of its actions fails to execute
|
||||
## due to its requirements not being met. If multiple actions
|
||||
## and/or chains are bound to the same key, they will be
|
||||
## consecutively run until one of them gets fully executed.
|
||||
##
|
||||
## 3) When ncmpcpp starts, bindings configuration file is
|
||||
## parsed and then ncmpcpp provides "missing pieces"
|
||||
## of default keybindings. If you want to disable some
|
||||
## bindings, there is a special action called 'dummy'
|
||||
## for that purpose. Eg. if you want to disable ability
|
||||
## to crop playlists, you need to put the following
|
||||
## into configuration file:
|
||||
##
|
||||
## def_key "C"
|
||||
## dummy
|
||||
##
|
||||
## After that ncmpcpp will not bind any default action
|
||||
## to this key.
|
||||
##
|
||||
## 4) To let you write simple macros, the following special
|
||||
## actions are provided:
|
||||
##
|
||||
## - push_character "character" - pushes given special
|
||||
## character into input queue, so it will be immediately
|
||||
## picked by ncmpcpp upon next call to readKey function.
|
||||
## Accepted values: mouse, up, down, page_up, page_down,
|
||||
## home, end, space, enter, insert, delete, left, right,
|
||||
## tab, ctrl-a, ctrl-b, ..., ctrl-z, ctrl-[, ctrl-\\,
|
||||
## ctrl-], ctrl-^, ctrl-_, f1, f2, ..., f12, backspace.
|
||||
## In addition, most of these names can be prefixed with
|
||||
## alt-/ctrl-/shift- to be recognized with the appropriate
|
||||
## modifier key(s).
|
||||
##
|
||||
## - push_characters "string" - pushes given string into
|
||||
## input queue.
|
||||
##
|
||||
## - require_runnable "action" - checks whether given action
|
||||
## is runnable and fails if it isn't. This is especially
|
||||
## useful when mixed with previous two functions. Consider
|
||||
## the following macro definition:
|
||||
##
|
||||
## def_key "key"
|
||||
## push_characters "custom_filter"
|
||||
## apply_filter
|
||||
##
|
||||
## If apply_filter can't be currently run, we end up with
|
||||
## sequence of characters in input queue which will be
|
||||
## treated just as we typed them. This may lead to unexpected
|
||||
## results (in this case 'c' will most likely clear current
|
||||
## playlist, 'u' will trigger database update, 's' will stop
|
||||
## playback etc.). To prevent such thing from happening, we
|
||||
## need to change above definition to this one:
|
||||
##
|
||||
## def_key "key"
|
||||
## require_runnable "apply_filter"
|
||||
## push_characters "custom_filter"
|
||||
## apply_filter
|
||||
##
|
||||
## Here, first we test whether apply_filter can be actually run
|
||||
## before we stuff characters into input queue, so if condition
|
||||
## is not met, whole chain is aborted and we're fine.
|
||||
##
|
||||
## - require_screen "screen" - checks whether given screen is
|
||||
## currently active. accepted values: browser, clock, help,
|
||||
## media_library, outputs, playlist, playlist_editor,
|
||||
## search_engine, tag_editor, visualizer, last_fm, lyrics,
|
||||
## selected_items_adder, server_info, song_info,
|
||||
## sort_playlist_dialog, tiny_tag_editor.
|
||||
##
|
||||
## - run_external_command "command" - runs given command using
|
||||
## system() function.
|
||||
##
|
||||
## 5) In addition to binding to a key, you can also bind actions
|
||||
## or chains of actions to a command. If it comes to commands,
|
||||
## syntax is very similar to defining keys. Here goes example
|
||||
## definition of a command:
|
||||
##
|
||||
## def_command "quit" [deferred]
|
||||
## stop
|
||||
## quit
|
||||
##
|
||||
## If you execute the above command (which can be done by
|
||||
## invoking action execute_command, typing 'quit' and pressing
|
||||
## enter), ncmpcpp will stop the player and then quit. Note the
|
||||
## presence of word 'deferred' enclosed in square brackets. It
|
||||
## tells ncmpcpp to wait for confirmation (ie. pressing enter)
|
||||
## after you typed quit. Instead of 'deferred', 'immediate'
|
||||
## could be used. Then ncmpcpp will not wait for confirmation
|
||||
## (enter) and will execute the command the moment it sees it.
|
||||
##
|
||||
## Note: while command chains are executed, internal environment
|
||||
## update (which includes current window refresh and mpd status
|
||||
## update) is not performed for performance reasons. However, it
|
||||
## may be desirable to do so in some situration. Therefore it's
|
||||
## possible to invoke by hand by performing 'update enviroment'
|
||||
## action.
|
||||
##
|
||||
## Note: There is a difference between:
|
||||
##
|
||||
## def_key "key"
|
||||
## action1
|
||||
##
|
||||
## def_key "key"
|
||||
## action2
|
||||
##
|
||||
## and
|
||||
##
|
||||
## def_key "key"
|
||||
## action1
|
||||
## action2
|
||||
##
|
||||
## First one binds two single actions to the same key whilst
|
||||
## second one defines a chain of actions. The behavior of
|
||||
## these two is different and is described in (1) and (2).
|
||||
##
|
||||
## Note: Function def_key accepts non-ascii characters.
|
||||
##
|
||||
##### List of unbound actions #####
|
||||
##
|
||||
## The following actions are not bound to any key/command:
|
||||
##
|
||||
## - set_volume
|
||||
##
|
||||
#
|
||||
#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
|
||||
#
|
2
dotfiles/.ncmpcpp/config
Normal file
2
dotfiles/.ncmpcpp/config
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Source: /usr/share/doc/ncmpcpp-0.8.2-r1/config.bz2
|
||||
visualizer_type = wave_filled
|
17
dotfiles/.oh-my-zsh/custom/themes/tywr.zsh-theme
Normal file
17
dotfiles/.oh-my-zsh/custom/themes/tywr.zsh-theme
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Based on https://github.com/TyWR/Nord-zsh
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[white]%} on %{$fg_bold[yellow]%}\xee\x82\xa0 "
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg_bold[yellow]%}"
|
||||
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$reset_color%}%{$fg_bold[red]%}*%{$reset_color%}"
|
||||
ZSH_THEME_GIT_PROMPT_CLEAN=""
|
||||
|
||||
conda_env() {
|
||||
if [ ! -z "$CONDA_PREFIX" ]
|
||||
then
|
||||
print -n " %{$fg_bold[white]%}on %{$fg_bold[blue]%}ꓛ ${CONDA_PREFIX##*/}%{$reset_color%}"
|
||||
fi
|
||||
}
|
||||
|
||||
PROMPT='
|
||||
%{$fg_bold[green]%}%3c%{$reset_color%}$(git_prompt_info)$(conda_env)
|
||||
%{$fg_bold[blue]%}${(%):-%m} ➜ %{$reset_color%}'
|
|
@ -26,13 +26,3 @@ if [ -n "$DISPLAY" ]; then
|
|||
fi
|
||||
|
||||
export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR:-/run/user/$(id -u)}/openssh_agent"
|
||||
|
||||
# QMK HHKB
|
||||
setxkbmap -option compose:rctrl
|
||||
# True HHKB
|
||||
setxkbmap -option compose:rwin
|
||||
|
||||
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
|
||||
export PATH="$PATH:$HOME/.rvm/bin"
|
||||
|
||||
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
|
|
@ -3,17 +3,24 @@ set -g base-index 1
|
|||
set -g pane-base-index 1
|
||||
|
||||
# Status bar styling and content.
|
||||
#set -g status-bg black
|
||||
#set -g status-fg white
|
||||
set -g status-left '#S '
|
||||
|
||||
# Plugins
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||
set -g @plugin 'tmux-plugins/tmux-continuum'
|
||||
|
||||
|
||||
# Theme
|
||||
set -g @plugin "arcticicestudio/nord-tmux"
|
||||
|
||||
# Resurect vim sessions and pane contents
|
||||
set -g @continuum-restore 'on'
|
||||
set -g @resurrect-strategy-vim 'session'
|
||||
set -g @resurrect-capture-pane-contents 'on'
|
||||
|
||||
|
||||
# Vim mod
|
||||
bind-key h select-pane -L
|
||||
bind-key j select-pane -D
|
||||
|
@ -25,10 +32,6 @@ bind-key J resize-pane -D
|
|||
bind-key K resize-pane -U
|
||||
bind-key L resize-pane -R
|
||||
|
||||
# Highlight the active window in the status bar.
|
||||
set-window-option -g window-status-current-bg cyan
|
||||
set-window-option -g window-status-current-fg black
|
||||
|
||||
# Don't prompt to kill panes/windows.
|
||||
bind-key x kill-pane
|
||||
bind-key & kill-window
|
||||
|
@ -40,6 +43,9 @@ bind - split-window -v
|
|||
# Maximize pane, e.g. for copying.
|
||||
bind-key z resize-pane -Z
|
||||
|
||||
# Window title string (uses statusbar variables)
|
||||
set -g set-titles-string '#T'
|
||||
|
||||
# Reload tmux conf.
|
||||
unbind r
|
||||
bind r source-file ~/.tmux.conf\; display "Reloaded conf."
|
|
@ -31,6 +31,10 @@ call plug#begin('~/.vim/plugged')
|
|||
Plug 'alvan/vim-closetag'
|
||||
Plug 'psykidellic/vim-jekyll'
|
||||
Plug 'airblade/vim-gitgutter'
|
||||
Plug 'yuezk/vim-js'
|
||||
Plug 'maxmellon/vim-jsx-pretty'
|
||||
Plug 'briancollins/vim-jst'
|
||||
Plug 'dpelle/vim-grammalecte'
|
||||
" Initialize plugin system
|
||||
call plug#end()
|
||||
|
||||
|
@ -125,6 +129,9 @@ map! <F2> :call GlobalTrimWhiteSpace()<CR>
|
|||
|
||||
|
||||
" -- Plugins configurations
|
||||
" Grammalecte
|
||||
:let g:grammalecte_cli_py='$HOME/.Grammalecte/grammalecte-cli.py'
|
||||
|
||||
" ale
|
||||
let b:ale_linters = ['eslint']
|
||||
let g:ale_fixers = {
|
|
@ -83,6 +83,9 @@ plugins=(
|
|||
node
|
||||
)
|
||||
|
||||
#zstyle :omz:plugins:ssh-agent agent-forwarding on
|
||||
#zstyle :omz:plugins:ssh-agent identities id_rsa
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
# User configuration
|
||||
|
@ -111,36 +114,14 @@ source $ZSH/oh-my-zsh.sh
|
|||
# alias zshconfig="mate ~/.zshrc"
|
||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
|
||||
if [[ -n $SSH_CONNECTION ]]; then
|
||||
export EDITOR='vim'
|
||||
else
|
||||
export EDITOR="mvim"
|
||||
fi
|
||||
|
||||
zstyle -s ':completion:*:hosts' hosts _ssh_config
|
||||
[[ -r ~/.ssh/config ]] && _ssh_config+=($(cat ~/.ssh/config | sed -ne 's/Host[=\t ]//p'))
|
||||
zstyle ':completion:*:hosts' hosts $_ssh_config
|
||||
|
||||
if [ $TILIX_ID ] || [ $VTE_VERSION ]; then
|
||||
if [ -f "/etc/profile.d/vte.sh" ]; then
|
||||
source /etc/profile.d/vte.sh
|
||||
fi
|
||||
|
||||
#if [ -f ~/.ssh/agent.env ] ; then
|
||||
# . ~/.ssh/agent.env > /dev/null
|
||||
# if ! kill -0 $SSH_AGENT_PID > /dev/null 2>&1; then
|
||||
# echo "Stale agent file found. Spawning a new agent. "
|
||||
# eval `ssh-agent | tee ~/.ssh/agent.env`
|
||||
# ssh-add
|
||||
# fi
|
||||
#else
|
||||
# echo "Starting ssh-agent"
|
||||
# eval `ssh-agent | tee ~/.ssh/agent.env`
|
||||
# ssh-add
|
||||
#fi
|
||||
|
||||
if [ -z "$SSH_AUTH_SOCK" ] ; then
|
||||
eval `ssh-agent -s`
|
||||
ssh-add ~/.ssh/id_rsa
|
||||
fi
|
||||
fi
|
||||
|
||||
# Load dircolors
|
||||
|
@ -167,7 +148,20 @@ ssh() {
|
|||
tmux rename-window "zsh"
|
||||
}
|
||||
|
||||
if test -z "${XDG_RUNTIME_DIR}"; then
|
||||
export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir
|
||||
if ! test -d "${XDG_RUNTIME_DIR}"; then
|
||||
mkdir "${XDG_RUNTIME_DIR}"
|
||||
chmod 0700 "${XDG_RUNTIME_DIR}"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
|
||||
source /home/dbroqua/.rvm/scripts/rvm
|
||||
export PATH="$PATH:$HOME/.rvm/bin"
|
||||
export SSH_AUTH_SOCK=${HOME}/.ssh/agent
|
||||
if ! pgrep -u ${USER} ssh-agent > /dev/null; then
|
||||
rm -f ${SSH_AUTH_SOCK}
|
||||
fi
|
||||
|
||||
if [ ! -S ${SSH_AUTH_SOCK} ]; then
|
||||
eval $(ssh-agent -a ${SSH_AUTH_SOCK} 2> /dev/null)
|
||||
ssh-add
|
||||
fi
|
|
@ -1,137 +0,0 @@
|
|||
! ------------------------------------------------------------------------------
|
||||
! Colour Configuration
|
||||
! ------------------------------------------------------------------------------
|
||||
|
||||
! Based on Nord: https://github.com/arcticicestudio/nord-xresources
|
||||
|
||||
#define nord0 #2E3440
|
||||
#define nord1 #3B4252
|
||||
#define nord2 #434C5E
|
||||
#define nord3 #4C566A
|
||||
#define nord4 #D8DEE9
|
||||
#define nord5 #E5E9F0
|
||||
#define nord6 #ECEFF4
|
||||
#define nord7 #8FBCBB
|
||||
#define nord8 #88C0D0
|
||||
#define nord9 #81A1C1
|
||||
#define nord10 #5E81AC
|
||||
#define nord11 #BF616A
|
||||
#define nord12 #D08770
|
||||
#define nord13 #EBCB8B
|
||||
#define nord14 #A3BE8C
|
||||
#define nord15 #B48EAD
|
||||
|
||||
*.foreground: nord4
|
||||
*.background: nord0
|
||||
*.cursorColor: nord4
|
||||
*fading: 35
|
||||
*fadeColor: nord3
|
||||
|
||||
*.color0: nord1
|
||||
*.color1: nord11
|
||||
*.color2: nord14
|
||||
*.color3: nord13
|
||||
*.color4: nord9
|
||||
*.color5: nord15
|
||||
*.color6: nord8
|
||||
*.color7: nord5
|
||||
*.color8: nord3
|
||||
*.color9: nord11
|
||||
*.color10: nord14
|
||||
*.color11: nord13
|
||||
*.color12: nord9
|
||||
*.color13: nord15
|
||||
*.color14: nord7
|
||||
*.color15: nord6
|
||||
|
||||
! General settins
|
||||
!URxvt.geometry: 94x47
|
||||
URxvt.shading: 60
|
||||
URxvt.transparent: true
|
||||
URxvt.tintColor: nord0
|
||||
URxvt.saveLines: 10000
|
||||
URxvt.scrollBar: true
|
||||
URxvt.scrollBar_right: true
|
||||
URxvt.scrollColor: nord3
|
||||
URxvt.scrollBar_floating: true
|
||||
URxvt.scrollstyle: plain
|
||||
URxvt.cursorBlink: true
|
||||
URxvt.cursorUnderline: true
|
||||
|
||||
! Colors
|
||||
URxvt.depth: 32
|
||||
URxvt.background: rgba:2625/3232/3838/cccc
|
||||
|
||||
! ------------------------------------------------------------------------------
|
||||
! Font configuration
|
||||
! ------------------------------------------------------------------------------
|
||||
|
||||
!URxvt.font: xft:DejaVu Sans Mono:size=9:antialias=true:hinting=true, xft:FontAwesome:size=9
|
||||
*.font: xft:DejaVu Sans Mono for Powerline:size=9:antialias=true:hinting=true, \
|
||||
xft:FontAwesome Regular:size=9:antialias=true:hinting=true
|
||||
!, \
|
||||
! xft:Pomodoro:size=6, \
|
||||
! xft:FontAwesome:size=6, \
|
||||
! xft:icomoon:size=6, \
|
||||
! xft:octicons:size=6
|
||||
!URxvt.boldFont: xft:DejaVu Sans Mono:size=9
|
||||
!URxvt.boldItalicFont: xft:DejaVu Sans Mono:italic:size=9
|
||||
|
||||
! ------------------------------------------------------------------------------
|
||||
! URxvt configs
|
||||
! ------------------------------------------------------------------------------
|
||||
|
||||
! perl extensions
|
||||
!URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select,matcher,tabbed
|
||||
URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select,matcher
|
||||
|
||||
! macros for clipboard and selection
|
||||
URxvt.copyCommand: xclip -i -selection clipboard
|
||||
URxvt.pasteCommand: xclip -o -selection clipboard
|
||||
URxvt.keysym.M-c: perl:clipboard:copy
|
||||
URxvt.keysym.M-v: perl:clipboard:paste
|
||||
URxvt.keysym.M-C-v: perl:clipboard:paste_escaped
|
||||
URxvt.keysym.M-Escape: perl:keyboard-select:activate
|
||||
URxvt.keysym.M-s: perl:keyboard-select:search
|
||||
URxvt.keysym.M-u: perl:url-select:select_next
|
||||
URxvt.underlineURLs: true
|
||||
URxvt.urlButton: 1
|
||||
|
||||
! Tab
|
||||
!URxvt.tabbed.tabbar-fg: 4
|
||||
!URxvt.tabbed.tabbar-bg: 0
|
||||
!URxvt.tabbed.tab-fg: 7
|
||||
!URxvt.tabbed.tab-bg: 14
|
||||
|
||||
! Auto click
|
||||
URxvt.url-launcher: /usr/bin/xdg-open
|
||||
|
||||
! scroll one line
|
||||
URxvt.keysym.Shift-Up: command:\033]720;1\007
|
||||
URxvt.keysym.Shift-Down: command:\033]721;1\007
|
||||
|
||||
! control arrow
|
||||
URxvt.keysym.Control-Up: \033[1;5A
|
||||
URxvt.keysym.Control-Down: \033[1;5B
|
||||
URxvt.keysym.Control-Right: \033[1;5C
|
||||
URxvt.keysym.Control-Left: \033[1;5D
|
||||
|
||||
! ------------------------------------------------------------------------------
|
||||
! Rofi configs
|
||||
! ------------------------------------------------------------------------------
|
||||
|
||||
rofi.lines: 12
|
||||
rofi.modi: combi
|
||||
rofi.combi-modi: window,ssh,run,drun,emoji
|
||||
rofi.font: Droid Sans Mono 8
|
||||
rofi.terminal: urxvt
|
||||
|
||||
! ------------------------------------------------------------------------------
|
||||
! Dmenu configs
|
||||
! ------------------------------------------------------------------------------
|
||||
|
||||
dmenu.selforeground: #d8dee9
|
||||
dmenu.background: #2e3440
|
||||
dmenu.selbackground: #bf616a
|
||||
dmenu.foreground: #d8dee9
|
||||
|
|
@ -1,90 +0,0 @@
|
|||
# Shadow
|
||||
shadow = true;
|
||||
no-dnd-shadow = true;
|
||||
no-dock-shadow = true;
|
||||
clear-shadow = true;
|
||||
shadow-radius = 7;
|
||||
shadow-offset-x = -7;
|
||||
shadow-offset-y = -7;
|
||||
# shadow-opacity = 0.7;
|
||||
# shadow-red = 0.0;
|
||||
# shadow-green = 0.0;
|
||||
# shadow-blue = 0.0;
|
||||
shadow-exclude = [
|
||||
"name = 'Notification'",
|
||||
"class_g = 'Firefox'",
|
||||
"class_g = 'Conky'",
|
||||
"class_g ?= 'Notify-osd'",
|
||||
"class_g = 'Cairo-clock'",
|
||||
"_GTK_FRAME_EXTENTS@:c"
|
||||
];
|
||||
# shadow-exclude = "n:e:Notification";
|
||||
# shadow-exclude-reg = "x10+0+0";
|
||||
# xinerama-shadow-crop = true;
|
||||
|
||||
# Opacity
|
||||
menu-opacity = 0.8;
|
||||
inactive-opacity = 0.8;
|
||||
# active-opacity = 0.8;
|
||||
frame-opacity = 0.7;
|
||||
inactive-opacity-override = false;
|
||||
alpha-step = 0.06;
|
||||
# inactive-dim = 0.2;
|
||||
# inactive-dim-fixed = true;
|
||||
# blur-background = true;
|
||||
# blur-background-frame = true;
|
||||
blur-kern = "3x3box";
|
||||
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
|
||||
# blur-background-fixed = true;
|
||||
blur-background-exclude = [
|
||||
"window_type = 'dock'",
|
||||
"window_type = 'desktop'",
|
||||
"_GTK_FRAME_EXTENTS@:c"
|
||||
];
|
||||
# opacity-rule = [ "80:class_g = 'URxvt'" ];
|
||||
|
||||
# Fading
|
||||
fading = true;
|
||||
# fade-delta = 30;
|
||||
fade-in-step = 0.03;
|
||||
fade-out-step = 0.03;
|
||||
# no-fading-openclose = true;
|
||||
# no-fading-destroyed-argb = true;
|
||||
fade-exclude = [ ];
|
||||
|
||||
# Other
|
||||
backend = "xrender";
|
||||
mark-wmwin-focused = true;
|
||||
mark-ovredir-focused = true;
|
||||
# use-ewmh-active-win = true;
|
||||
detect-rounded-corners = true;
|
||||
detect-client-opacity = true;
|
||||
refresh-rate = 0;
|
||||
vsync = "none";
|
||||
dbe = false;
|
||||
paint-on-overlay = true;
|
||||
# sw-opti = true;
|
||||
# unredir-if-possible = true;
|
||||
# unredir-if-possible-delay = 5000;
|
||||
# unredir-if-possible-exclude = [ ];
|
||||
focus-exclude = [ "class_g = 'Firefox'" ];
|
||||
detect-transient = true;
|
||||
detect-client-leader = true;
|
||||
invert-color-include = [ ];
|
||||
# resize-damage = 1;
|
||||
|
||||
# GLX backend
|
||||
# glx-no-stencil = true;
|
||||
glx-copy-from-front = false;
|
||||
# glx-use-copysubbuffermesa = true;
|
||||
# glx-no-rebind-pixmap = true;
|
||||
glx-swap-method = "undefined";
|
||||
# glx-use-gpushader4 = true;
|
||||
# xrender-sync = true;
|
||||
# xrender-sync-fence = true;
|
||||
|
||||
# Window type settings
|
||||
wintypes:
|
||||
{
|
||||
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; };
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue