Browse Source

Actualizaciones menores

master
Luis 2 months ago
parent
commit
6afe854c4f
  1. 37
      gentoo/portage/make.conf
  2. 1
      gentoo/portage/package.use/djvu
  3. 1
      gentoo/portage/package.use/gcc
  4. 4
      gentoo/portage/package.use/zz-autounmask
  5. BIN
      suckless/dwm/drw.o
  6. BIN
      suckless/dwm/dwm
  7. BIN
      suckless/dwm/dwm.o
  8. BIN
      suckless/dwm/util.o
  9. 26
      suckless/dwm2/config.h
  10. 19
      suckless/slstatus/config.h
  11. 13
      suckless/st/config.h

37
gentoo/portage/make.conf

@ -1,7 +1,4 @@
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
# FLAGS
COMMON_FLAGS="-march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
@ -9,33 +6,29 @@ FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
RUSTFLAGS="-C target-cpu=native"
CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
MAKEOPTS="-j8"
# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"
MAKEOPTS="-j8"
# USE
USE="X xinerama alsa -pulseaudio -elogind -policykit -systemd lto"
USE="alsa -elogind -gnome -gnome-keyring -kde lto -networkmanager -policykit -pulseaudio -systemd vaapi X"
# Licencias
ACCEPT_LICENSE="*"
ACCEPT_KEYWORDS="~amd64"
EMERGE_DEFAULT_OPTS="--complete-graph=y --keep-going --with-bdeps=y"
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
EMERGE_DEFAULT_OPTS="--complete-graph=y --keep-going --with-bdeps=y"
# Directorios
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"
# Idioma
LC_MESSAGES=C
L10N="es es-ES"
# GPU
VIDEO_CARDS="radeon"
# ENTRADA
# Hardware
VIDEO_CARDS="radeon r600"
INPUT_DEVICES="libinput"
# GRUB
MICROCODE_SIGNATURES="-S" # "-s 0x000106e5"
GRUB_PLATFORMS="pc"
GENTOO_MIRRORS="https://mirrors.evowise.com/gentoo/ http://mirrors.evowise.com/gentoo/ https://ftp.rnl.tecnico.ulisboa.pt/pub/gentoo/gentoo-distfiles/"
GENTOO_MIRRORS="https://mirrors.evowise.com/gentoo/ https://ftp.rnl.tecnico.ulisboa.pt/pub/gentoo/gentoo-distfiles/"

1
gentoo/portage/package.use/djvu

@ -1 +0,0 @@
app-text/djvu jpeg tiff xml

1
gentoo/portage/package.use/gcc

@ -1 +0,0 @@
sys-devel/gcc -pgo

4
gentoo/portage/package.use/zz-autounmask

@ -198,3 +198,7 @@
# required by @selected
# required by @world (argument)
>=dev-python/setuptools_scm-5.0.1 python_targets_python3_7
# required by www-client/firefox-87.0::gentoo
# required by @selected
# required by @world (argument)
>=media-libs/libvpx-1.10.0 postproc

BIN
suckless/dwm/drw.o

BIN
suckless/dwm/dwm

BIN
suckless/dwm/dwm.o

BIN
suckless/dwm/util.o

26
suckless/dwm2/config.h

@ -31,7 +31,7 @@ static const char *colors[][3] = {
};
/* tagging */
static const char *tags[] = { "", "", "", "", "", "" };
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9"};
static const Rule rules[] = {
/* xprop(1):
@ -71,7 +71,7 @@ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont,
static const char *termcmd[] = { "st", NULL };
static const char scratchpadname[] = "scratchpad";
static const char *scratchpadcmd[] = { "st", "-t", scratchpadname, "-g", "120x34", NULL };
static const char *roficmd[] = { "rofi", "-show", "drun", "-sidebar-mode", NULL };
/*static const char *roficmd[] = { "rofi", "-show", "drun", "-sidebar-mode", NULL };*/
static const char *upvol[] = { "amixer", "-q","sset","Master","3%+", NULL };
static const char *downvol[] = { "amixer", "-q","sset","Master","3%-", NULL };
static const char *mute[] = { "amixer", "set", "Master", "toggle", NULL };
@ -86,7 +86,7 @@ static Key keys[] = {
{ MODKEY, XK_d, spawn, {.v = dmenucmd } },
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
{ MODKEY, XK_c, togglescratch, {.v = scratchpadcmd } },
{ MODKEY, XK_r, spawn, {.v = roficmd } },
/* { MODKEY, XK_r, spawn, {.v = roficmd } },*/
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY|ShiftMask, XK_j, rotatestack, {.i = +1 } },
{ MODKEY|ShiftMask, XK_k, rotatestack, {.i = -1 } },
@ -124,27 +124,27 @@ static Key keys[] = {
/* Modos de captura de pantalla */
{ 0, XK_Print, spawn, SHCMD("scrot -q 100 /tmp/'%F_%T.png' -e 'xclip -selection c -t image/png < $f'; sleep 1; exec herbe 'Pantalla en el portapapeles'") }, // Captura de pantalla al portapapeles
{ ControlMask, XK_Print, spawn, SHCMD("scrot -q 100 -u /tmp/'%F_%T.png' -e 'xclip -selection c -t image/png < $f'; sleep 1; exec herbe 'Ventana en el portapapeles'") }, // Ventana seleccionada al portapapeles
{ ShiftMask, XK_Print, spawn, SHCMD("sleep 1; scrot -q 100 -s /tmp/'%F_%T.png' -e 'xclip -selection c -t image/png < $f'; sleep 1; exec herbe 'Área en el portapapeles'") }, // Área seleccionada al portapapeles
{ MODKEY, XK_Print, spawn, SHCMD("scrot -q 100 'c_%F_%H%M%S_$wx$h.png' -e 'mv $f /home/luis/Imágenes/Capturas/'; sleep 1; exec herbe 'Pantalla guardada en: ~/Imágenes/Capturas'") },//Captura de pantalla
{ MODKEY|ControlMask, XK_Print, spawn, SHCMD("scrot -q 100 -u 'v_%F_%H%M%S_$wx$h.png' -e 'mv $f /home/luis/Imágenes/Capturas/'; sleep 1; exec herbe 'Ventana guardada en: ~/Imágenes/Capturas/'") },//Captura de ventana
{ MODKEY|ShiftMask, XK_Print, spawn, SHCMD("sleep 1; scrot -q 100 -s 'a_%F_%H%M%S_$wx$h.png' -e 'mv $f /home/luis/Imágenes/Capturas/'; exec herbe 'Área guardada en: ~/Imágenes/Capturas/'") },//Captura de área
{ 0, XK_Print, spawn, SHCMD("scrot /tmp/'%F_%T.png' -e 'xclip -selection c -t image/png < $f'; sleep 1; exec herbe 'Pantalla en el portapapeles'") }, // Captura de pantalla al portapapeles
{ ControlMask, XK_Print, spawn, SHCMD("scrot -u /tmp/'%F_%T.png' -e 'xclip -selection c -t image/png < $f'; sleep 1; exec herbe 'Ventana en el portapapeles'") }, // Ventana seleccionada al portapapeles
{ ShiftMask, XK_Print, spawn, SHCMD("sleep 1; scrot -s /tmp/'%F_%T.png' -e 'xclip -selection c -t image/png < $f'; sleep 1; exec herbe 'Área en el portapapeles'") }, // Área seleccionada al portapapeles
{ MODKEY, XK_Print, spawn, SHCMD("scrot 'c_%F_%H%M%S_$wx$h.png' -e 'mv $f /home/luis/Imágenes/Capturas/'; sleep 1; exec herbe 'Pantalla guardada en: ~/Imágenes/Capturas'") },//Captura de pantalla
{ MODKEY|ControlMask, XK_Print, spawn, SHCMD("scrot -u 'v_%F_%H%M%S_$wx$h.png' -e 'mv $f /home/luis/Imágenes/Capturas/'; sleep 1; exec herbe 'Ventana guardada en: ~/Imágenes/Capturas/'") },//Captura de ventana
{ MODKEY|ShiftMask, XK_Print, spawn, SHCMD("sleep 1; scrot -s 'a_%F_%H%M%S_$wx$h.png' -e 'mv $f /home/luis/Imágenes/Capturas/'; exec herbe 'Área guardada en: ~/Imágenes/Capturas/'") },//Captura de área
/* Atajos multimedia */
{ 0, XF86XK_AudioPlay, spawn, SHCMD("mpc toggle") },
/*{ 0, XF86XK_AudioPlay, spawn, SHCMD("mpc toggle") },
{ 0, XF86XK_AudioPrev, spawn, SHCMD("mpc prev") },
{ 0, XF86XK_AudioNext, spawn, SHCMD("mpc next") },
{ 0, XF86XK_AudioStop, spawn, SHCMD("mpc stop") },
{ 0, XF86XK_AudioMute, spawn, {.v = mute } },
{ 0, XF86XK_AudioLowerVolume, spawn, {.v = downvol } },
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = upvol } },
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = upvol } },*/
{ MODKEY, XK_F10, spawn, {.v = upvol } },
{ MODKEY, XK_F9, spawn, {.v = downvol } },
{ MODKEY, XK_F11, spawn, {.v = mute } },
/* Ajustar brillo de la pantalla */
{ 0, XF86XK_MonBrightnessUp, spawn, {.v = upbright} },
{ 0, XF86XK_MonBrightnessDown, spawn, {.v = downbright } },
/* { 0, XF86XK_MonBrightnessUp, spawn, {.v = upbright} },
{ 0, XF86XK_MonBrightnessDown, spawn, {.v = downbright } },*/
{ MODKEY, XK_F6, spawn, {.v = upbright } },
{ MODKEY, XK_F5, spawn, {.v = downbright } },
/* Comandos personalizados */

19
suckless/slstatus/config.h

@ -63,21 +63,22 @@ static const char unknown_str[] = "n/a";
*/
static const char estado[] = "a=$(amixer get Master | tail -n 1 | cut -d ' '\
-f 8); if [ $a = '[on]' ]; then printf ''; \
else printf ''; fi";
-f 8); if [ $a = '[on]' ]; then printf 'V:'; \
else printf 'S:'; fi";
static const struct arg args[] = {
/* function format argument
{ cpu_perc, "  %2s%%", NULL }, // Uso del cpu
{ ram_perc, "  %2s%%", NULL }, // Uso de la ram*/
{ ram_perc, "  %2s%%", NULL }, // Uso de la ram
{ wifi_perc, "  %s%%", "wlp3s0" }, // Calidad conexión wifi
/*{ battery_state, "  %s", "BAT0" }, // Estado de la batería
{ battery_state, "  %s", "BAT0" }, // Estado de la batería
{ battery_perc, "%s", "BAT0" }, // Porcentaje batería
{ run_command, "  %s", "light -G" }, // Brillo de pantalla */
{ temp, "  %s°C", "/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp2_input" }, // Temperatura core1
{ run_command, " %s", estado }, // Indicador volumen
{ run_command, " %s", "amixer sget Master | grep 'Mono:' | awk -F'[][]' '{ print $2 }'" }, // Indicador volumen
{ run_command, "%s", estado }, // Indicador volumen
{ run_command, "%s", "amixer sget Master | grep 'Mono:' | awk -F'[][]' '{ print $2 }'" }, // Indicador volumen
/*{ keyboard_indicators, "| NUM:%s ", "Y" }, // Indicador de teclado numérico*/
{ datetime, " %s", " %R" }, // Fecha y hora
{ num_files, "  %s ", "/home/luis/.local/share/Trash/files/" }, // Papelera de reciclaje
{ num_files, " P:%s", "/home/luis/.local/share/Trash/files/" }, // Papelera de reciclaje
{ temp, " %s°C", "/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_input" }, // Temperatura core1
{ datetime, " %s ", "%R" }, // Fecha y hora
};

13
suckless/st/config.h

@ -5,7 +5,7 @@
*
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
*/
static char *font = "mononoki:style=Regular:pixelsize=14:antialias=true:autohint=true";
static char *font = "mononoki:pixelsize=16:style=Regular";
static int borderpx = 2;
/*
@ -99,7 +99,7 @@ float alpha = 0.8;
/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {
/* 8 normal colors */
"black",
"#1e1e1e", /*"black"*/
"red3",
"green3",
"yellow3",
@ -123,7 +123,8 @@ static const char *colorname[] = {
/* more colors can be added after 255 to use with DefaultXX */
"#cccccc",
"#555555",
"black",
/*"black",*/
};
@ -132,7 +133,7 @@ static const char *colorname[] = {
* foreground, background, cursor, reverse cursor
*/
unsigned int defaultfg = 7;
unsigned int defaultbg = 258;
unsigned int defaultbg = 0;
static unsigned int defaultcs = 256;
static unsigned int defaultrcs = 257;
@ -205,8 +206,8 @@ static Shortcut shortcuts[] = {
{ TERMMOD, XK_Y, selpaste, {.i = 0} },
{ ShiftMask, XK_Insert, selpaste, {.i = 0} },
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
{ ShiftMask, XK_Page_Up, kscrollup, {.i = -1} },
{ ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} },
{ ShiftMask, XK_Page_Up, kscrollup, {.i = -1} },
{ ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} },
};
/*

Loading…
Cancel
Save