This commit is contained in:
Bill Niblock 2016-10-19 11:44:38 -04:00
parent 2e9ebcd354
commit 8eb632e3a4
4 changed files with 103 additions and 31 deletions

60
firefox/ffz-settings.json Normal file
View file

@ -0,0 +1,60 @@
{
"version": 1,
"script_version": "3.5.318",
"aliases": {},
"settings": {
"advanced_settings": true,
"favorite_settings": [
"auto_theater",
"dark_twitch",
"channel_views",
"srl_races",
"stream_title",
"parse_emoticons",
"replace_bad_emotes",
"room_status",
"emoji_in_menu",
"global_emotes_in_menu",
"replace_twitch_menu",
"input_emoticons_case_sensitive",
"input_complete_name_at",
"input_complete_name_require_at",
"emote_image_hover",
"player_volume_bar",
"sidebar_hide_more_at_twitch",
"sidebar_hide_promoted_games",
"sidebar_hide_recommended_channels",
"sidebar_directly_to_followed_channels",
"hide_conversations_in_theatre",
"minimize_conversations"
],
"twenty_four_timestamps": 2,
"auto_theater": true,
"player_volume_bar": true,
"emote_image_hover": true,
"chat_rows": true,
"chat_padding": true,
"minimal_chat": 3,
"top_conversations": false,
"hide_conversations_in_theatre": true,
"minimize_conversations": true,
"input_complete_name_require_at": true,
"sidebar_hide_recommended_channels": true,
"sidebar_hide_promoted_games": true,
"sidebar_hide_more_at_twitch": true,
"sidebar_directly_to_followed_channels": true,
"twitch_chat_dark": false,
"dark_twitch": true,
"dark_no_blue": true,
"replace_twitch_menu": true,
"global_emotes_in_menu": true,
"emoji_in_menu": true,
"emote_menu_collapsed": [
"twitch-2237",
"twitch-11261",
"ffz-3",
"twitch-0"
],
"warp_world": false
}
}

View file

@ -1,4 +1,16 @@
#Tmux Configuration Files #Tmux Configuration Files
My tmux configuration is extremely basic at the moment. Further configuration to My tmux configuration is very straight forward. Of note, I enable mouse mode,
follow as my usage of tmux grows. and have custom colors configured. I also have a few custom scripts.
### Tmux Addons
- [TPM](https://www.github.com/tmux-plugins/tpm): The TMUX Plugin Manager
- [Scroll-Wheel Copy Mode](https://www.github.com/nhdaly/tmux-scroll-copy-mode)
- [Resurrect](https://www.github.com/tmux-plugins/tmux-resurrect): Session
Management
### Custom Scripts
- clocks.sh/rb: My custom status bar. Shows time for 4 different time zones,
plus the date and weather of my default home location.
- copy\_selected.sh: Enables uploading of the selected text to Gist.

View file

@ -6,41 +6,41 @@ require 'net/http'
class Weather class Weather
attr_reader :temp, :flag, :summary attr_reader :temp, :flag, :summary
def initialize() def initialize()
@temp = 68 @temp = 68
@flag = "(!)" if hasflag? @flag = "(!)" if hasflag?
@summary = "Dang nice" @summary = "Dang nice"
end end
private private
def get_weather(lat = 42.9333, lon = -78.877) def get_weather(lat = 42.9333, lon = -78.877)
end end
def hasflag? def hasflag?
return true return true
end end
end end
class Clocks class Clocks
def initialize() def initialize()
w = Weather.new() w = Weather.new()
t = Time.new() t = Time.new()
@tu = t.utc.strftime("[ %H:%M ]") @tu = t.utc.strftime("[ %H:%M ]")
@tb = t.getlocal("-04:00").strftime("<][ %b %d %H:%M | ") @tb = t.getlocal("-04:00").strftime("<][ %b %d %H:%M | ")
@tw = "#{w::flag} #{w::temp} ][>" @tw = "#{w::flag} #{w::temp} ][>"
@tc = t.getlocal("-07:00").strftime("<][ %H:%M ]") @tc = t.getlocal("-07:00").strftime("<][ %H:%M ]")
@ti = t.getlocal("+05:30").strftime("[ %H:%M ][>") @ti = t.getlocal("+05:30").strftime("[ %H:%M ][>")
end end
def show() def show()
puts "#{@tc} #{@tb}#{@tw} #{@tu} #{@ti}" puts "#{@tc} #{@tb}#{@tw} #{@tu} #{@ti}"
end end
end end
c = Clocks.new() c = Clocks.new()

View file

@ -37,7 +37,7 @@ set -g mouse on
set -g status-fg cyan set -g status-fg cyan
set -g status-bg black set -g status-bg black
# window list # Window list
setw -g window-status-fg cyan setw -g window-status-fg cyan
setw -g window-status-bg default setw -g window-status-bg default
setw -g window-status-attr dim setw -g window-status-attr dim
@ -88,10 +88,10 @@ bind-key -r C-h select-window -t :-
bind-key -r C-l select-window -t :+ bind-key -r C-l select-window -t :+
#pane resizing #pane resizing
bind -r H resize-pane -L 10 bind -r H resize-pane -L 5
bind -r J resize-pane -D 10 bind -r J resize-pane -D 5
bind -r K resize-pane -U 10 bind -r K resize-pane -U 5
bind -r L resize-pane -R 10 bind -r L resize-pane -R 5
#split window and fix path for tmux 1.9 #split window and fix path for tmux 1.9
bind | split-window -h #-c "#{pane_current_path}" bind | split-window -h #-c "#{pane_current_path}"