dgy
/
hexagons
Archived
1
0
Fork 0

chau nano. themes de rofi (1/2). userChrome nuevo (necesita retoques). umonitor para multipantalla

This commit is contained in:
deadguy 2019-11-05 19:30:29 -03:00
parent 5f29c0c48b
commit 238b643965
Signed by: dgy
GPG Key ID: 37CA55B52CF63730
9 changed files with 39 additions and 334 deletions

View File

@ -1,6 +1,8 @@
#!/usr/bin/env bash
set -euf -o pipefail
umonitor --listen --quiet
multipantalla &
# Si se usa un numero negativo en *_padding, solamente se ven huecos entre las ventanas, pero no entre las ventanas y los bordes del escritorio

View File

@ -4,10 +4,8 @@ https://chiptuneswin.com/blog/feed/ "~Chiptunes=WIN" blogs
https://vimways.org/index.xml "~Vimways" blogs
-------YOUTUBE-----------
https://www.youtube.com/feeds/videos.xml?channel_id=UCVls1GmFKf6WlTraIb_IaJg "~DistroTube" youtube
https://www.youtube.com/feeds/videos.xml?user=gotbletu "~Gotbletu" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA "~Luke Smith" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCi8XrDg1bK_MJ0goOnbpTMQ "~BudLabs" youtube
https://www.youtube.com/feeds/videos.xml?user=moviebob "~Moviebob" youtube
https://www.youtube.com/feeds/videos.xml?playlist_id=PLXleEiD94A2d6WdmDU0h7dXJg8scAaZ9U "~Moviebob Reviews" youtube
https://www.youtube.com/feeds/videos.xml?channel_id=UCu8YylsPiu9XfaQC74Hr_Gw "~Seth's Bike Hacks" youtube

View File

@ -492,6 +492,7 @@ function! LaunchSC() range abort
call SetActiveTerminalJobID()
call jobsend(g:my_active_terminal_job_id, "scsynth -u 57110\r")
sleep 2200ms
silent exe "normal! G"
silent exe "normal! :vsplit\n"
silent exe "normal! :terminal\n"
call SetActiveTerminalJobID()
@ -499,6 +500,7 @@ function! LaunchSC() range abort
silent exe "normal! :tabprev\n"
silent exe "normal! <cr>\n"
sleep 2200ms
silent exe "normal! G"
endfunction
function! LaunchFoxDot() range abort
@ -506,6 +508,7 @@ function! LaunchFoxDot() range abort
call jobsend(g:my_active_terminal_job_id, "ipython\r")
sleep 2200ms
call jobsend(g:my_active_terminal_job_id, "from FoxDot import *\r")
silent exe "normal! G"
endfunction
function! SetActiveTerminalJobID()

View File

@ -76,7 +76,7 @@ super + space
rofi -theme gshell -show drun
super + s
rofi -show window
rofi -theme sbarr -show window
super + r
rofi -theme dmenu2 -show run

View File

@ -117,7 +117,7 @@ tab {
}
.tabbrowser-tab:not([visuallyselected="true"]):not([multiselected]) {
color: #555555 !important;
color: #777777 !important;
}
.tabbrowser-tab:not([visuallyselected="true"]):not([multiselected]) image {

273
.nanorc
View File

@ -1,273 +0,0 @@
## Sample initialization file for GNU nano.
##
## Please note that you must have configured nano with --enable-nanorc
## for this file to be read! Also note that this file should not be in
## DOS or Mac format, and that characters specially interpreted by the
## shell should not be escaped here.
##
## To make sure an option is disabled, use "unset <option>".
##
## For the options that take parameters, the default value is given.
## Other options are unset by default.
##
## Quotes inside string parameters don't have to be escaped with
## backslashes. The last double quote in the string will be treated as
## its end. For example, for the "brackets" option, ""')>]}" will match
## ", ', ), >, ], and }.
## Silently ignore problems with unknown directives in the nanorc file.
## Useful when your nanorc file might be read on systems with multiple
## versions of nano installed (e.g. your home directory is on NFS).
# set quiet
## Use auto-indentation.
set autoindent
## Back up files to the current filename plus a tilde.
# set backup
## The directory to put unique backup files in.
# set backupdir ""
## Do backwards searches by default.
# set backwards
## Use bold text instead of reverse video text.
# set boldtext
## The characters treated as closing brackets when justifying
## paragraphs. They cannot contain blank characters. Only closing
## punctuation, optionally followed by closing brackets, can end
## sentences.
set brackets ""')>]}"
## Do case-sensitive searches by default.
# set casesensitive
## Constantly display the cursor position in the statusbar. Note that
## this overrides "quickblank".
# set const
## Use cut-to-end-of-line by default.
# set cut
## Set the line length for wrapping text and justifying paragraphs.
## If the value is 0 or less, the wrapping point will be the screen
## width less this number.
set fill -8
## Enable ~/.nano_history for saving and reading search/replace strings.
# set historylog
## Enable vim-style lock-files. This is just to let a vim user know you
## are editing a file [s]he is trying to edit and vice versa. There are
## no plans to implement vim-style undo state in these files.
# set locking
## The opening and closing brackets that can be found by bracket
## searches. They cannot contain blank characters. The former set must
## come before the latter set, and both must be in the same order.
set matchbrackets "(<[{)>]}"
## Use the blank line below the titlebar as extra editing space.
# set morespace
## Enable mouse support, if available for your system. When enabled,
## mouse clicks can be used to place the cursor, set the mark (with a
## double click), and execute shortcuts. The mouse will work in the X
## Window System, and on the console when gpm is running.
set mouse
## Switch on multiple file buffers (inserting a file will put it into
## a separate buffer).
set multibuffer
## Don't convert files from DOS/Mac format.
# set noconvert
## Don't follow symlinks when writing files.
# set nofollow
## Don't display the helpful shortcut lists at the bottom of the screen.
# set nohelp
## Don't add newlines to the ends of files.
set nonewlines
## Don't wrap text at all.
# set nowrap
## Set operating directory. nano will not read or write files outside
## this directory and its subdirectories. Also, the current directory
## is changed to here, so any files are inserted from this dir. A blank
## string means the operating-directory feature is turned off.
# set operatingdir ""
## Remember the cursor position in each file for the next editing session.
# set poslog
## Preserve the XON and XOFF keys (^Q and ^S).
# set preserve
## The characters treated as closing punctuation when justifying
## paragraphs. They cannot contain blank characters. Only closing
## punctuation, optionally followed by closing brackets, can end
## sentences.
set punct "!.?"
## Do quick statusbar blanking. Statusbar messages will disappear after
## 1 keystroke instead of 26. Note that "const" overrides this.
# set quickblank
## The email-quote string, used to justify email-quoted paragraphs.
## This is an extended regular expression if your system supports them,
## otherwise a literal string.
## If you have extended regular expression support, the default is:
set quotestr "^([ ]*[#:>\|}])+"
## Otherwise:
# set quotestr "> "
## Fix Backspace/Delete confusion problem.
# set rebinddelete
## Fix numeric keypad key confusion problem.
# set rebindkeypad
## Do extended regular expression searches by default.
# set regexp
## Make the Home key smarter. When Home is pressed anywhere but at the
## very beginning of non-whitespace characters on a line, the cursor
## will jump to that beginning (either forwards or backwards). If the
## cursor is already at that position, it will jump to the true
## beginning of the line.
set smarthome
## Use smooth scrolling as the default.
set smooth
## Enable soft line wrapping (AKA full-line display).
set softwrap
## Use this spelling checker instead of the internal one. This option
## does not properly have a default value.
# set speller "aspell -x -c"
## Allow nano to be suspended.
set suspend
## Use this tab size instead of the default; it must be greater than 0.
set tabsize 4
## Convert typed tabs to spaces.
# set tabstospaces
## Save automatically on exit; don't prompt.
# set tempfile
## Disallow file modification. Why would you want this in an rcfile? ;)
# set view
## The two single-column characters used to display the first characters
## of tabs and spaces. 187 in ISO 8859-1 (0000BB in Unicode) and 183 in
## ISO-8859-1 (0000B7 in Unicode) seem to be good values for these.
## The default when in a UTF-8 locale:
# set whitespace "»·"
## The default otherwise:
# set whitespace ">."
## Detect word boundaries more accurately by treating punctuation
## characters as parts of words.
set wordbounds
## Paint the interface elements of nano.
## This is an example; by default there are no colors.
set titlecolor black,blue
set statuscolor black,blue
set keycolor green
set functioncolor cyan
set errorcolor brightwhite,red
set selectedcolor brightwhite,magenta
set stripecolor ,yellow
set numbercolor black,cyan
## Setup of syntax coloring.
##
## Format:
##
## syntax "short description" ["filename regex" ...]
##
## The "none" syntax is reserved; specifying it on the command line is
## the same as not having a syntax at all. The "default" syntax is
## special: it takes no filename regexes, and applies to files that
## don't match any other syntax's filename regexes.
##
## color foreground,background "regex" ["regex"...]
## or
## icolor foreground,background "regex" ["regex"...]
##
## "color" will do case-sensitive matches, while "icolor" will do
## case-insensitive matches.
##
## Valid colors: white, black, red, blue, green, yellow, magenta, cyan.
## For foreground colors, you may use the prefix "bright" to get a
## stronger highlight.
##
## To use multi-line regexes, use the start="regex" end="regex"
## [start="regex" end="regex"...] format.
##
## If your system supports transparency, not specifying a background
## color will use a transparent color. If you don't want this, be sure
## to set the background color to black or white.
##
## All regexes should be extended regular expressions.
##
## If you wish, you may put your syntax definitions in separate files.
## You can make use of such files as follows:
##
## include "/path/to/syntax_file.nanorc"
##
## Unless otherwise noted, the name of the syntax file (without the
## ".nanorc" extension) should be the same as the "short description"
## name inside that file. These names are kept fairly short to make
## them easier to remember and faster to type using nano's -Y option.
##
## To include all existing syntax definitions, you can do:
include "/usr/share/nano/*.nanorc"
#include /usr/share/nano/asm.nanorc
#include /usr/share/nano/awk.nanorc
#include /usr/share/nano/c.nanorc
#include /usr/share/nano/cmake.nanorc
#include /usr/share/nano/css.nanorc
#include /usr/share/nano/groff.nanorc
#include /usr/share/nano/html.nanorc
#include /usr/share/nano/java.nanorc
#include /usr/share/nano/makefile.nanorc
#include /usr/share/nano/man.nanorc
#include /usr/share/nano/mgp.nanorc
#include /usr/share/nano/mutt.nanorc
#include /usr/share/nano/nanorc.nanorc
#include /usr/share/nano/patch.nanorc
#include /usr/share/nano/perl.nanorc
#include /usr/share/nano/php.nanorc
#include /usr/share/nano/python.nanorc
#include /usr/share/nano/ruby.nanorc
#include /usr/share/nano/sh.nanorc
#include /usr/share/nano/xml.nanorc
## Key bindings.
## See nanorc(5) for more details on this.
##
## Here are a few samples to get you going.
##
# bind M-W nowrap main
# bind M-A casesens search
# bind ^S research main
## Set this if your backspace key sends Del most of the time.
# bind Del backspace all
set linenumbers

View File

@ -1,7 +1,5 @@
abook
acpi
advcp
alsa-plugins
alsa-utils
android-tools
android-udev
@ -25,6 +23,7 @@ crda
cronie
ctags
dash
dbeaver
dfc
dhclient
dhcpcd
@ -35,6 +34,7 @@ downgrade
dunst
ecryptfs-utils
efibootmgr
eslint
ethtool
exfat-utils
f2fs-tools
@ -45,8 +45,6 @@ ffmpegthumbnailer
file-roller
filezilla
firefox
flex
fortune-mod
gcc
ghostscript
gimp-plugin-gmic
@ -74,19 +72,16 @@ intel-ucode
inxi
iputils
ipython
irssi
isync
jfsutils
jp2a
jq
jre-openjdk
libmatroska
libzip
licenses
linux-rt-manjaro
logrotate
lrzip
lsof
lxappearance-gtk3
lzop
maim
@ -103,15 +98,15 @@ mlocate
mpc
mpd
mps-youtube
mpv
msmtp
nano
ncdu
ncmpcpp
neomutt
networkmanager
newsboat
nfs-utils
nilfs-utils
nnn
notmuch
noto-fonts-cjk
npm
@ -134,19 +129,20 @@ perl-lwp-protocol-https
perl-term-readline-gnu
perl-text-charwidth
pkgbrowser
postgresql
prettier
pulseaudio-bluetooth
pulseaudio-jack
pygmentize
python-glfw
python-language-server
python-neovim
python-numpy
python-opengl
python-pdoc
python-pip
python-pydocstyle
python-pylint
python-pynvim
python-pyperclip
python-pytest-flake8
python-rope
@ -159,7 +155,6 @@ qt5ct
realtime-privileges
reiserfsprogs
ripgrep
rofi
rp-pppoe
rsync
rtirq
@ -171,6 +166,7 @@ shellcheck
smartmontools
source-highlight
spectre-meltdown-checker
steam-manjaro
sublime-text
surfraw
sxhkd
@ -183,8 +179,6 @@ texlive-latexextra
texlive-pictures
texlive-science
tidy
tlp-rdw
tlpui
tmux
transmission-cli
ttf-ibm-plex
@ -195,11 +189,11 @@ unarj
uncrustify
unrar
urlscan
usbutils
vice
vint
w3m
weechat
which
wireless_tools
wmctrl
wmutils

View File

@ -1,8 +1,6 @@
bashmount
bfs
colort-git
curseradio-git
eslint-plugin-vue
figlet-fonts
gimp-paint-studio
gimp-plugin-akkana-git
@ -16,13 +14,15 @@ godot
gtk-theme-minwaita
lab
lscolors-git
ncpamixer
neovim-drop-in
nerd-fonts-roboto-mono
otf-nerd-fonts-monacob-mono
otf-san-francisco
perl-extract-url
perl-uri-find
pikopixel
pmount
postman-bin
pureref
pymdown-extensions
python-lolcat
python-proc
@ -30,18 +30,16 @@ python-pysdl2
ranger-git
realtimeconfigquickscan-git
reaper-bin
rofi-git
simple-mtpfs
soulseekqt
stylelint
syncterm
task-spooler
terminus-font-ll2-td1
thermald
toilet-fonts
transmission-remote-cli-git
umonitor-git
unclutter-xfixes-git
vue-cli
vue-language-server
wpa_actiond
xcursor-alkano-default
zsh-autopair-git

View File

@ -1,50 +1,33 @@
#!/bin/bash
#all_monitors=$(xrandr -q | awk '/connected/ {print $1}')
#default_screen=$(xrandr | awk '/ connected/ {print $1;exit;}')
#extra_monitors=$(xrandr -q | awk '/connected/ {print $1}' | grep -v $default_screen)
#!/usr/bin/env bash
set -euf -o pipefail
##First, configure stuff with xrandr
#[[ $(who) != "" ]] && USER=$(who | grep :0\) | cut -f 1 -d ' ') || \
#USER=$(echo /home/* | cut -f 3 -d '/')
#export DISPLAY=:0.0
#export XAUTHORITY=/home/$USER/.Xauthority
#for monitor in $extra_monitors; do
# prev_mon=$(xrandr | awk '/connected/ {print $1}' | grep -B1 "^$monitor" | grep -vE "^$monitor|^--$")
# xrandr --output $monitor \
# --auto \
# --right-of $prev_mon
#done
##Then, create workspaces on all monitors
I=1
M=$(bspc query -M | wc -l)
if [[ "$M" == 1 ]]; then
bspc monitor -d 1 2 3 4 5 6 7 8 9 10
elif [[ "$M" == 2 ]]; then
bspc monitor $(bspc query -M | awk NR==1) -d 1 2 3 4 5
bspc monitor $(bspc query -M | awk NR==2) -d 6 7 8 9 10
bspc monitor "$(bspc query -M | awk NR==1)" -d 1 2 3 4 5
bspc monitor "$(bspc query -M | awk NR==2)" -d 6 7 8 9 10
elif [[ "$M" == 3 ]]; then
bspc monitor $(bspc query -M | awk NR==1) -d 1 2 3 4
bspc monitor $(bspc query -M | awk NR==2) -d 5 6 7
bspc monitor $(bspc query -M | awk NR==3) -d 8 9 10
bspc monitor "$(bspc query -M | awk NR==1)" -d 1 2 3 4
bspc monitor "$(bspc query -M | awk NR==2)" -d 5 6 7
bspc monitor "$(bspc query -M | awk NR==3)" -d 8 9 10
elif [[ "$M" == 4 ]]; then
bspc monitor $(bspc query -M | awk NR==1) -d 1 2 3
bspc monitor $(bspc query -M | awk NR==2) -d 4 5 6
bspc monitor $(bspc query -M | awk NR==3) -d 7 8
bspc monitor $(bspc query -M | awk NR==4) -d 9 10
bspc monitor "$(bspc query -M | awk NR==1)" -d 1 2 3
bspc monitor "$(bspc query -M | awk NR==2)" -d 4 5 6
bspc monitor "$(bspc query -M | awk NR==3)" -d 7 8
bspc monitor "$(bspc query -M | awk NR==4)" -d 9 10
elif [[ "$M" == 5 ]]; then
bspc monitor $(bspc query -M | awk NR==1) -d 1 2
bspc monitor $(bspc query -M | awk NR==2) -d 3 4
bspc monitor $(bspc query -M | awk NR==3) -d 5 6
bspc monitor $(bspc query -M | awk NR==4) -d 7 8
bspc monitor $(bspc query -M | awk NR==5) -d 9 10
bspc monitor "$(bspc query -M | awk NR==1)" -d 1 2
bspc monitor "$(bspc query -M | awk NR==2)" -d 3 4
bspc monitor "$(bspc query -M | awk NR==3)" -d 5 6
bspc monitor "$(bspc query -M | awk NR==4)" -d 7 8
bspc monitor "$(bspc query -M | awk NR==5)" -d 9 10
else
for monitor in $(bspc query -M); do
bspc monitor $monitor \
bspc monitor "$monitor" \
-n "$I" \
-d $I/{a,b,c}
let I++
(( I++ ))
done
fi