Initial fork
This commit is contained in:
commit
650cc58cae
|
@ -0,0 +1,186 @@
|
|||
# Logo key. Use Mod1 for Alt.
|
||||
set $mod Mod1
|
||||
set $win Mod4
|
||||
# Your preferred terminal emulator
|
||||
set $term st
|
||||
# Your preferred application launcher
|
||||
set $menu dmenu_run -i -fn "Droid Sans Mono:size=8" -nb "#1a1813" -nf "#ccbc95" -sb "#333026" -sf "#ccbc95"
|
||||
debuglog off
|
||||
|
||||
### Output configuration
|
||||
#
|
||||
# Default wallpaper (more resolutions are available in /usr/share/sway/)
|
||||
output * bg ~/.wp fill
|
||||
#
|
||||
# Example output configuration:
|
||||
#
|
||||
# output HDMI-A-1 resolution 1920x1080 position 1920,0
|
||||
#
|
||||
# You can get the names of your outputs by running swaymsg -t get_outputs
|
||||
|
||||
# Window
|
||||
new_window pixel 0
|
||||
new_float pixel 0
|
||||
|
||||
# Windows Style
|
||||
# <Class> border BG text indicator child_border
|
||||
client.background #FF0000
|
||||
client.focused #CCBBAA #888888 #FFFFFF #FF0000 #000000
|
||||
client.focused_inactive #CCBBAA #888888 #FFFFFF #FF0000 #000000
|
||||
client.placeholder #CCBBAA #888888 #FFFFFF #FF0000 #000000
|
||||
client.unfocused #CCBBAA #888888 #FFFFFF #FF0000 #000000
|
||||
client.urgent #CCBBAA #888888 #FFFFFF #FF0000 #000000
|
||||
|
||||
#border no
|
||||
#background #00FF00
|
||||
#text #0000FF
|
||||
#indicator #FF00FF
|
||||
|
||||
gaps outer 8
|
||||
gaps inner 16
|
||||
smart_gaps off
|
||||
|
||||
focus_follows_mouse yes
|
||||
mouse_warping none
|
||||
|
||||
# Status Bar:
|
||||
bar {
|
||||
#i3bar_command i3status
|
||||
status_command ~/.sb
|
||||
position top
|
||||
font Pango: "Droid Sans Mono" 7
|
||||
strip_workspace_numbers no
|
||||
colors {
|
||||
background #1a1813
|
||||
statusline #ccbc95
|
||||
separator #1a1813
|
||||
focused_workspace #1a1813 #1a1813 #ccbc95
|
||||
focused_workspace #333026 #333026 #ccbc95
|
||||
inactive_workspace #1a1813 #1a1813 #ccbc95
|
||||
urgent_workspace #1a1813 #1a1813 #ccbc95
|
||||
binding_mode #1a1813 #1a1813 #ccbc95
|
||||
}
|
||||
}
|
||||
# Read sway-bar(5) for more information about this section.
|
||||
|
||||
# You may want this:
|
||||
#
|
||||
# include ~/.config/sway/conf.d/*
|
||||
#
|
||||
# Protip:
|
||||
#
|
||||
# include ~/.config/sway/`hostname`/*
|
||||
|
||||
### Key bindings
|
||||
#
|
||||
# Basics:
|
||||
#
|
||||
# start a terminal
|
||||
bindsym $mod+Return exec $term
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Backspace kill
|
||||
|
||||
# start your launcher
|
||||
bindsym $win+x exec $menu
|
||||
|
||||
# Drag floating windows by holding down $mod and left mouse button.
|
||||
# Resize them with right mouse button + $mod.
|
||||
# Despite the name, also works for non-floating windows.
|
||||
# Change normal to inverse to use left mouse button for resizing and right
|
||||
# mouse button for dragging.
|
||||
floating_modifier $mod normal
|
||||
|
||||
# reload the configuration file
|
||||
bindsym $mod+Shift+r reload
|
||||
|
||||
# exit sway (logs you out of your wayland session)
|
||||
bindsym $mod+Ctrl+q exit
|
||||
#
|
||||
# Moving around:
|
||||
#
|
||||
# Move your focus around with $mod+[h|j|k|l], like vim
|
||||
bindsym $mod+a focus left
|
||||
bindsym $mod+s focus down
|
||||
bindsym $mod+w focus up
|
||||
bindsym $mod+d focus right
|
||||
# or use $mod+[up|down|left|right]
|
||||
bindsym $mod+Left focus left
|
||||
bindsym $mod+Down focus down
|
||||
bindsym $mod+Up focus up
|
||||
bindsym $mod+Right focus right
|
||||
|
||||
# _move_ the focused window with the same, but add Shift
|
||||
bindsym $mod+Shift+a move left
|
||||
bindsym $mod+Shift+s move down
|
||||
bindsym $mod+Shift+w move up
|
||||
bindsym $mod+Shift+d move right
|
||||
# ditto, with arrow keys
|
||||
bindsym $mod+Shift+Left move left
|
||||
bindsym $mod+Shift+Down move down
|
||||
bindsym $mod+Shift+Up move up
|
||||
bindsym $mod+Shift+Right move right
|
||||
#
|
||||
# Workspaces:
|
||||
#
|
||||
# switch to workspace
|
||||
bindsym $mod+1 workspace 1
|
||||
bindsym $mod+2 workspace 2
|
||||
bindsym $mod+3 workspace 3
|
||||
bindsym $mod+4 workspace 4
|
||||
bindsym $mod+5 workspace 5
|
||||
bindsym $mod+6 workspace 6
|
||||
bindsym $mod+7 workspace 7
|
||||
bindsym $mod+8 workspace 8
|
||||
bindsym $mod+9 workspace 9
|
||||
bindsym $mod+0 workspace 10
|
||||
# move focused container to workspace
|
||||
bindsym $mod+Shift+1 move container to workspace 1
|
||||
bindsym $mod+Shift+2 move container to workspace 2
|
||||
bindsym $mod+Shift+3 move container to workspace 3
|
||||
bindsym $mod+Shift+4 move container to workspace 4
|
||||
bindsym $mod+Shift+5 move container to workspace 5
|
||||
bindsym $mod+Shift+6 move container to workspace 6
|
||||
bindsym $mod+Shift+7 move container to workspace 7
|
||||
bindsym $mod+Shift+8 move container to workspace 8
|
||||
bindsym $mod+Shift+9 move container to workspace 9
|
||||
bindsym $mod+Shift+0 move container to workspace 10
|
||||
# Note: workspaces can have any name you want, not just numbers.
|
||||
# We just use 1-10 as the default.
|
||||
#
|
||||
# Layout stuff:
|
||||
#
|
||||
# You can "split" the current object of your focus with
|
||||
# $mod+b or $mod+v, for horizontal and vertical splits
|
||||
# respectively.
|
||||
bindsym $mod+b splith
|
||||
bindsym $mod+v splitv
|
||||
|
||||
# Switch the current container between different layout styles
|
||||
bindsym $mod+z layout tabbed
|
||||
bindsym $mod+x layout stacking
|
||||
bindsym $mod+c layout toggle split
|
||||
|
||||
# Make the current focus fullscreen
|
||||
bindsym $mod+f fullscreen
|
||||
|
||||
# Toggle the current focus between tiling and floating mode
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
|
||||
# Swap focus between the tiling area and the floating area
|
||||
bindsym $mod+space focus mode_toggle
|
||||
|
||||
# move focus to the parent container
|
||||
bindsym $mod+a focus parent
|
||||
#
|
||||
# Scratchpad:
|
||||
#
|
||||
# Sway has a "scratchpad", which is a bag of holding for windows.
|
||||
# You can send windows there and get them back later.
|
||||
|
||||
# Move the currently focused window to the scratchpad
|
||||
bindsym $mod+Shift+minus move scratchpad
|
||||
|
||||
# Show the next scratchpad window or hide the focused scratchpad window.
|
||||
# If there are multiple scratchpad windows, this command cycles through them.
|
||||
bindsym $mod+minus scratchpad show
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/bash
|
||||
cp ~/.vimrc .
|
||||
cp ~/.bashrc .
|
||||
cp ~/.xbindkeysrc .
|
||||
cp ~/.bash_profile .
|
||||
cp ~/.config/mc/ini .
|
||||
cp ~/.config/tmux.conf .
|
||||
cp ~/.config/weston.ini .
|
||||
cp ~/.config/sway/config .
|
||||
cp ~/.config/mpv/mpv.conf .
|
||||
cp ~/.config/tmux.statusbar.sh .
|
||||
cp ~/.config/pcmanfm/default/pcmanfm.conf .
|
|
@ -0,0 +1,155 @@
|
|||
[Midnight-Commander]
|
||||
verbose=0
|
||||
pause_after_run=1
|
||||
shell_patterns=1
|
||||
auto_save_setup=1
|
||||
preallocate_space=0
|
||||
auto_menu=0
|
||||
use_internal_view=1
|
||||
use_internal_edit=1
|
||||
clear_before_exec=1
|
||||
confirm_delete=1
|
||||
confirm_overwrite=1
|
||||
confirm_execute=0
|
||||
confirm_history_cleanup=1
|
||||
confirm_exit=0
|
||||
confirm_directory_hotlist_delete=1
|
||||
safe_delete=0
|
||||
mouse_repeat_rate=100
|
||||
double_click_speed=250
|
||||
use_8th_bit_as_meta=0
|
||||
confirm_view_dir=0
|
||||
mouse_move_pages_viewer=1
|
||||
mouse_close_dialog=0
|
||||
fast_refresh=0
|
||||
drop_menus=0
|
||||
wrap_mode=1
|
||||
old_esc_mode=1
|
||||
old_esc_mode_timeout=1000000
|
||||
cd_symlinks=1
|
||||
show_all_if_ambiguous=0
|
||||
max_dirt_limit=10
|
||||
use_file_to_guess_type=1
|
||||
alternate_plus_minus=0
|
||||
only_leading_plus_minus=1
|
||||
show_output_starts_shell=0
|
||||
xtree_mode=0
|
||||
num_history_items_recorded=60
|
||||
file_op_compute_totals=1
|
||||
classic_progressbar=1
|
||||
vfs_timeout=60
|
||||
ftpfs_directory_timeout=900
|
||||
use_netrc=1
|
||||
ftpfs_retry_seconds=30
|
||||
ftpfs_always_use_proxy=0
|
||||
ftpfs_use_passive_connections=1
|
||||
ftpfs_use_passive_connections_over_proxy=0
|
||||
ftpfs_use_unix_list_options=1
|
||||
ftpfs_first_cd_then_ls=1
|
||||
fish_directory_timeout=900
|
||||
editor_tab_spacing=8
|
||||
editor_word_wrap_line_length=72
|
||||
editor_fill_tabs_with_spaces=0
|
||||
editor_return_does_auto_indent=1
|
||||
editor_backspace_through_tabs=0
|
||||
editor_fake_half_tabs=1
|
||||
editor_option_save_mode=0
|
||||
editor_option_save_position=1
|
||||
editor_option_auto_para_formatting=0
|
||||
editor_option_typewriter_wrap=0
|
||||
editor_edit_confirm_save=1
|
||||
editor_syntax_highlighting=1
|
||||
editor_persistent_selections=1
|
||||
editor_drop_selection_on_copy=1
|
||||
editor_cursor_beyond_eol=0
|
||||
editor_cursor_after_inserted_block=0
|
||||
editor_visible_tabs=1
|
||||
editor_visible_spaces=1
|
||||
editor_line_state=0
|
||||
editor_simple_statusbar=0
|
||||
editor_check_new_line=0
|
||||
editor_show_right_margin=0
|
||||
editor_group_undo=0
|
||||
editor_state_full_filename=0
|
||||
editor_ask_filename_before_edit=0
|
||||
nice_rotating_dash=1
|
||||
mcview_remember_file_position=0
|
||||
auto_fill_mkdir_name=1
|
||||
copymove_persistent_attr=1
|
||||
editor_backup_extension=~
|
||||
editor_filesize_threshold=64M
|
||||
editor_stop_format_chars=-+*\\,.;:&>
|
||||
mcview_eof=
|
||||
ignore_ftp_chattr_errors=true
|
||||
skin=gotar
|
||||
|
||||
filepos_max_saved_entries=1024
|
||||
|
||||
[Layout]
|
||||
message_visible=0
|
||||
keybar_visible=0
|
||||
xterm_title=1
|
||||
output_lines=0
|
||||
command_prompt=1
|
||||
menubar_visible=1
|
||||
free_space=1
|
||||
horizontal_split=0
|
||||
vertical_equal=1
|
||||
left_panel_size=56
|
||||
horizontal_equal=1
|
||||
top_panel_size=1
|
||||
|
||||
[Misc]
|
||||
timeformat_recent=%b %e %H:%M
|
||||
timeformat_old=%b %e %Y
|
||||
ftp_proxy_host=gate
|
||||
ftpfs_password=anonymous@
|
||||
display_codepage=UTF-8
|
||||
source_codepage=Other_8_bit
|
||||
autodetect_codeset=
|
||||
clipboard_store=
|
||||
clipboard_paste=
|
||||
|
||||
[Colors]
|
||||
base_color=
|
||||
st=
|
||||
color_terminals=
|
||||
|
||||
xterm=
|
||||
|
||||
screen=
|
||||
|
||||
screen-256color=
|
||||
|
||||
linux=
|
||||
|
||||
xterm-256color=
|
||||
|
||||
st-256color=
|
||||
|
||||
[Panels]
|
||||
show_mini_info=true
|
||||
kilobyte_si=false
|
||||
mix_all_files=false
|
||||
show_backups=true
|
||||
show_dot_files=true
|
||||
fast_reload=false
|
||||
fast_reload_msg_shown=false
|
||||
mark_moves_down=true
|
||||
reverse_files_only=true
|
||||
auto_save_setup_panels=false
|
||||
navigate_with_arrows=false
|
||||
panel_scroll_pages=true
|
||||
panel_scroll_center=false
|
||||
mouse_move_pages=true
|
||||
filetype_mode=true
|
||||
permission_mode=false
|
||||
torben_fj_mode=false
|
||||
quick_search_mode=2
|
||||
select_flags=6
|
||||
|
||||
[Panelize]
|
||||
Find *.orig after patching=find . -name \\*.orig -print
|
||||
Find SUID and SGID programs=find . \\( \\( -perm -04000 -a -perm /011 \\) -o \\( -perm -02000 -a -perm /01 \\) \\) -print
|
||||
Find rejects after patching=find . -name \\*.rej -print
|
||||
Modified git files=git ls-files --modified
|
|
@ -0,0 +1,143 @@
|
|||
#
|
||||
# Example mpv configuration file
|
||||
#
|
||||
# Warning:
|
||||
#
|
||||
# The commented example options usually do _not_ set the default values. Call
|
||||
# mpv with --list-options to see the default values for most options. There is
|
||||
# no builtin or example mpv.conf with all the defaults.
|
||||
#
|
||||
#
|
||||
# Configuration files are read system-wide from /usr/local/etc/mpv.conf
|
||||
# and per-user from ~/.config/mpv/mpv.conf, where per-user settings override
|
||||
# system-wide settings, all of which are overridden by the command line.
|
||||
#
|
||||
# Configuration file settings and the command line options use the same
|
||||
# underlying mechanisms. Most options can be put into the configuration file
|
||||
# by dropping the preceding '--'. See the man page for a complete list of
|
||||
# options.
|
||||
#
|
||||
# Lines starting with '#' are comments and are ignored.
|
||||
#
|
||||
# See the CONFIGURATION FILES section in the man page
|
||||
# for a detailed description of the syntax.
|
||||
#
|
||||
# Profiles should be placed at the bottom of the configuration file to ensure
|
||||
# that settings wanted as defaults are not restricted to specific profiles.
|
||||
|
||||
##################
|
||||
# video settings #
|
||||
##################
|
||||
|
||||
# Start in fullscreen mode by default.
|
||||
fs=no
|
||||
|
||||
# force starting with centered window
|
||||
geometry=50%:50%
|
||||
|
||||
# don't allow a new window to have a size larger than 90% of the screen size
|
||||
#autofit-larger=90%x90%
|
||||
|
||||
# Do not close the window on exit.
|
||||
keep-open=yes
|
||||
|
||||
# Do not wait with showing the video window until it has loaded. (This will
|
||||
# resize the window once video is loaded. Also always shows a window with
|
||||
# audio.)
|
||||
#force-window=immediate
|
||||
|
||||
# Disable the On Screen Controller (OSC).
|
||||
#osc=no
|
||||
|
||||
# Keep the player window on top of all other windows.
|
||||
ontop=yes
|
||||
|
||||
# Specify default video driver (see --vo=help for a list).
|
||||
# This one selects high quality video scaling etc. - can cause problems with
|
||||
# some drivers and GPUs.
|
||||
vo=opengl-hq
|
||||
|
||||
# Force video to lock on the display's refresh rate, and change video and audio
|
||||
# speed to some degree to ensure synchronous playback - can cause problems
|
||||
# with some drivers and desktop environments.
|
||||
#video-sync=display-resample
|
||||
|
||||
# Enable hardware decoding if available. Often, this does not work with all
|
||||
# video outputs, but should work well with default settings on most systems.
|
||||
# If performance or energy usage is an issue, forcing the vdpau or vaapi VOs
|
||||
# may or may not help.
|
||||
hwdec=auto
|
||||
|
||||
##################
|
||||
# audio settings #
|
||||
##################
|
||||
|
||||
# Specify default audio driver (see --ao=help for a list).
|
||||
ao=alsa
|
||||
|
||||
# Disable softvol usage, and always use the system mixer if available.
|
||||
softvol=no
|
||||
|
||||
# Do not filter audio to keep pitch when changing playback speed.
|
||||
audio-pitch-correction=no
|
||||
|
||||
# Output 5.1 audio natively, and upmix/downmix audio with a different format.
|
||||
#audio-channels=5.1
|
||||
# Disable any automatic remix, _if_ the audio output accepts the audio format.
|
||||
# of the currently played file. See caveats mentioned in the manpage.
|
||||
# (This is the default.)
|
||||
#audio-channels=auto
|
||||
|
||||
##################
|
||||
# other settings #
|
||||
##################
|
||||
|
||||
# Pretend to be a web browser. Might fix playback with some streaming sites,
|
||||
# but also will break with shoutcast streams.
|
||||
#user-agent="Mozilla/5.0"
|
||||
|
||||
# cache settings
|
||||
#
|
||||
# Use 150MB input cache by default. The cache is enabled for network streams only.
|
||||
#cache-default=153600
|
||||
#
|
||||
# Use 150MB input cache for everything, even local files.
|
||||
#cache=153600
|
||||
#
|
||||
# Disable the behavior that the player will pause if the cache goes below a
|
||||
# certain fill size.
|
||||
#cache-pause=no
|
||||
#
|
||||
# Read ahead about 5 seconds of audio and video packets.
|
||||
demuxer-readahead-secs=15.0
|
||||
#
|
||||
# Raise readahead from demuxer-readahead-secs to this value if a cache is active.
|
||||
#cache-secs=50.0
|
||||
|
||||
# Display English subtitles if available.
|
||||
#slang=en
|
||||
|
||||
# Play Finnish audio if available, fall back to English otherwise.
|
||||
#alang=fi,en
|
||||
|
||||
# Change subtitle encoding. For Arabic subtitles use 'cp1256'.
|
||||
# If the file seems to be valid UTF-8, prefer UTF-8.
|
||||
#sub-codepage=utf8:cp1256
|
||||
|
||||
|
||||
# You can also include other configuration files.
|
||||
#include=/path/to/the/file/you/want/to/include
|
||||
|
||||
|
||||
############
|
||||
# Profiles #
|
||||
############
|
||||
|
||||
# The options declared as part of profiles override global default settings,
|
||||
# but only take effect when the profile is active.
|
||||
|
||||
# The following profile can be enabled on the command line with: --profile=invert
|
||||
|
||||
#[invert]
|
||||
# The profile forces this video filter:
|
||||
#vf-add=flip
|
|
@ -0,0 +1,27 @@
|
|||
[config]
|
||||
bm_open_method=0
|
||||
|
||||
[volume]
|
||||
mount_on_startup=1
|
||||
mount_removable=1
|
||||
autorun=1
|
||||
|
||||
[ui]
|
||||
always_show_tabs=0
|
||||
max_tab_chars=32
|
||||
win_width=1101
|
||||
win_height=624
|
||||
splitter_pos=214
|
||||
media_in_new_tab=1
|
||||
desktop_folder_new_win=0
|
||||
change_tab_on_drop=1
|
||||
close_on_unmount=1
|
||||
focus_previous=0
|
||||
side_pane_mode=dirtree
|
||||
view_mode=icon
|
||||
show_hidden=1
|
||||
sort=mtime;descending;
|
||||
columns=name:200;desc:110;size;mtime;
|
||||
toolbar=navigation;
|
||||
show_statusbar=0
|
||||
pathbar_mode_buttons=0
|
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/bash
|
||||
cp ./vimrc ~/.vimrc
|
||||
cp ./bashrc ~/.bashrc
|
||||
cp ./bash_profile ~/.bash_profile
|
||||
cp ./xbindkeysrc ~/.xbindkeysrc
|
||||
|
||||
cp ./config ~/.config/sway/config
|
||||
cp ./ini ~/.config/mc/ini
|
||||
cp ./mpv.conf ~/.config/mpv/mpv.conf
|
||||
cp ./tmux.conf ~/.config/tmux.conf
|
||||
cp ./tmux.statusbar.bar ~/.config/tmux.statusbar.sh
|
||||
cp ./weston.ini ~/.config/weston.ini
|
||||
cp ./pcmanfm.conf ~/.config/pcmanfm/default/pcmanfm.conf
|
|
@ -0,0 +1,137 @@
|
|||
|
||||
# set mouse support
|
||||
set -g mouse on
|
||||
#set -g mouse-select-pane on
|
||||
#set -g mouse-resize-pane on
|
||||
#set -g mouse-select-window on
|
||||
#set -g mouse-mode copy-mode
|
||||
|
||||
# ctrl+Space instead of Ctrl+b
|
||||
unbind C-b
|
||||
set -g prefix C-Space
|
||||
|
||||
# C-b, C-R reaload tmux.conf.
|
||||
bind R source-file ~/.config/tmux.conf
|
||||
|
||||
# Set clipboard
|
||||
set -g set-clipboard on
|
||||
|
||||
# Assume paste-time
|
||||
set -g assume-paste-time 1
|
||||
|
||||
# panes
|
||||
set -g pane-border-fg black
|
||||
set -g pane-active-border-fg brightred
|
||||
|
||||
## Status bar design
|
||||
# status line
|
||||
#set -g status-utf8 on
|
||||
set -g status-justify left
|
||||
set -g status-bg default
|
||||
set -g status-fg colour12
|
||||
set -g status-interval 1
|
||||
|
||||
# messaging
|
||||
set -g message-fg black
|
||||
set -g message-bg yellow
|
||||
set -g message-command-fg blue
|
||||
set -g message-command-bg black
|
||||
|
||||
#window mode
|
||||
setw -g mode-bg black
|
||||
setw -g mode-fg yellow
|
||||
|
||||
# window status
|
||||
set -g base-index 1
|
||||
setw -g window-status-format " #F#I:#W#F "
|
||||
setw -g window-status-current-format " #F#I:#W#F "
|
||||
setw -g window-status-format "#[fg=magenta]#[bg=black] #I #[bg=cyan]#[fg=colour8] #W "
|
||||
setw -g window-status-current-format "#[bg=brightmagenta]#[fg=colour8] #I #[fg=colour8]#[bg=colour14] #W "
|
||||
setw -g window-status-current-bg colour0
|
||||
setw -g window-status-current-fg colour11
|
||||
setw -g window-status-current-attr dim
|
||||
setw -g window-status-bg green
|
||||
setw -g window-status-fg black
|
||||
setw -g window-status-attr reverse
|
||||
|
||||
# Info on left (I don't have a session display for now)
|
||||
set -g status-left ''
|
||||
|
||||
# loud or quiet?
|
||||
set-option -g visual-activity off
|
||||
set-option -g visual-bell off
|
||||
set-option -g visual-silence off
|
||||
set-window-option -g monitor-activity off
|
||||
set-option -g bell-action none
|
||||
|
||||
#set -g default-terminal "screen-256color"
|
||||
|
||||
# The modes {
|
||||
setw -g clock-mode-colour colour135
|
||||
setw -g mode-attr bold
|
||||
setw -g mode-fg colour196
|
||||
setw -g mode-bg colour238
|
||||
|
||||
# }
|
||||
# The panes {
|
||||
|
||||
set -g pane-border-bg white
|
||||
set -g pane-border-fg white
|
||||
set -g pane-active-border-bg black
|
||||
set -g pane-active-border-fg yellow
|
||||
# }
|
||||
|
||||
# The statusbar {
|
||||
set -g status on
|
||||
set -g status-interval 1
|
||||
set -g status-position top
|
||||
set -g status-justify left
|
||||
set -g status-bg black
|
||||
set -g status-fg white
|
||||
#set -g status-left "#[fg=7,bg=0]"
|
||||
set -g status-right "#(exec ~/.config/tmux.statusbar.sh)"
|
||||
set -g status-right-length 128
|
||||
set -g status-left-length 128
|
||||
#}
|
||||
|
||||
set -g visual-activity on
|
||||
set -g clock-mode-style 24
|
||||
|
||||
# WINDOWS {
|
||||
set -g set-titles on
|
||||
set -g set-titles-string "#T"
|
||||
setw -g window-status-current-fg white
|
||||
setw -g window-status-current-bg black
|
||||
setw -g window-status-current-attr none
|
||||
setw -g window-status-current-format "#[fg=0,bg=7] #I "
|
||||
|
||||
setw -g window-status-fg white
|
||||
setw -g window-status-bg black
|
||||
setw -g window-status-attr none
|
||||
setw -g window-status-format "#[fg=7, bg=0] #I "
|
||||
|
||||
setw -g window-status-bell-attr bold
|
||||
setw -g window-status-bell-fg 7
|
||||
setw -g window-status-bell-bg 0
|
||||
# }
|
||||
|
||||
# The messages {
|
||||
set -g message-attr none
|
||||
set -g message-fg white
|
||||
set -g message-bg red
|
||||
set -g display-time 2000
|
||||
# }
|
||||
|
||||
# PANE BORDERS
|
||||
set -g pane-border-format "#[fg=7, bg=0] #{pane_current_command} #{pane_current_path} "
|
||||
set -g pane-border-style ""
|
||||
set -g pane-border-status top
|
||||
|
||||
# C-q colors
|
||||
set -g display-panes-colour yellow
|
||||
set -g display-panes-active-colour white
|
||||
|
||||
# C-q time
|
||||
set -g display-panes-time 2000
|
||||
set -g set-titles on
|
||||
set -g renumber-windows on
|
|
@ -0,0 +1,54 @@
|
|||
#!/usr/bin/sh
|
||||
|
||||
# colors fg_bg
|
||||
whi_blk="#[fg=7,bg=0]";
|
||||
whi_red="#[fg=7,bg=1]";
|
||||
whi_gre="#[fg=7,bg=2]";
|
||||
|
||||
std_col="#[fg=7,bg=0]";
|
||||
mem_col=$std_col;
|
||||
tmp_col=$std_col;
|
||||
bat_col=$std_col;
|
||||
|
||||
# vars
|
||||
mem_low=150;
|
||||
tmp_hot=90;
|
||||
bat_low=10;
|
||||
mb="mB";
|
||||
|
||||
# Get values
|
||||
|
||||
vol=$(pamixer --get-volume);
|
||||
|
||||
mem=$(cat /proc/meminfo | grep "MemAvailable" | grep -o "[0-9]*");
|
||||
mem=$(echo "$mem 1000 /p" | dc);
|
||||
|
||||
tmp=$(echo `echo -n $(cat /sys/class/thermal/thermal_zone0/temp) 1000 /p | dc`); # 80
|
||||
|
||||
bat_stat=`echo -n $(cat /sys/class/power_supply/BAT0/status)`;
|
||||
bat_caps=`echo -n $(cat /sys/class/power_supply/BAT0/capacity)`;
|
||||
|
||||
hour=`echo -n $(date "+%H:%M")`;
|
||||
|
||||
date=`echo -n $(date "+%d.%m.%y(%a)")`;
|
||||
|
||||
# set colours
|
||||
if [ $mem -lt $mem_low ]; then
|
||||
mem_col=$whi_red;
|
||||
fi;
|
||||
|
||||
if [ $tmp -ge $tmp_hot ];then
|
||||
tmp_col=$whi_red;
|
||||
fi;
|
||||
|
||||
if [ $bat_caps -lt $bat_low ] && [ $bat_stat != "Charging" ];then
|
||||
bat_col=$whi_red;
|
||||
fi;
|
||||
|
||||
if [ $bat_caps -eq 100 ] && [ $bat_stat != "Discharging" ];then
|
||||
bat_col=$whi_gre;
|
||||
fi;
|
||||
|
||||
# Echo status bar string
|
||||
echo " vol:$vol% |$mem_col mem:$mem$mb $std_col|$tmp_col tmp:$tmp°C $std_col|$bat_col $bat_stat:$bat_caps% $std_col| $date | $hour ";
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
|
||||
[core]
|
||||
modules=xwayland.so
|
||||
#gbm-format=rgb565
|
||||
|
||||
[shell]
|
||||
background-image=/mnt/sda2/pics/wp/DOPE_LANDSCAPE_1366x768.png
|
||||
background-color=0xff222222
|
||||
panel-color=0x88000000
|
||||
cursor-size=22
|
||||
locking=true
|
||||
bind-modifier=alt
|
||||
workspaces=4
|
||||
animation=none
|
||||
startup-animation=none
|
||||
close-animation=none
|
||||
focus-animation=none
|
||||
panel-location=top
|
||||
aloow-zap=true
|
||||
|
||||
[output]
|
||||
name=VGA
|
||||
mode=1366x768
|
||||
transform=0
|
||||
|
||||
[keyboard]
|
||||
keymap_layout=br
|
||||
repeat-rate=30
|
||||
repeat-delay=200
|
||||
vt-switching=true
|
||||
keymap_options=grp:alt_shift_toogle
|
||||
|
||||
[terminal]
|
||||
font=DroidSansMono
|
||||
font-size=9
|
||||
term=xterm-256color
|
||||
|
||||
[launcher]
|
||||
icon=/usr/share/icons/hicolor/24x24/apps/google-chrome.png
|
||||
path=/usr/bin/chrome
|
||||
|
||||
[launcher]
|
||||
icon=/usr/share/icons/Adwaita/32x32/apps/utilities-terminal.png
|
||||
path=/usr/bin/st
|
Loading…
Reference in New Issue