Add initial files

This commit is contained in:
Santiago Lo Coco 2024-04-06 12:14:08 +02:00
parent 2e23095733
commit 6b018e9e95
67 changed files with 1 additions and 5277 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
.gitconfig
.gitconfig-work
.DS_Store

View File

@ -1,10 +0,0 @@
v4
ip=
port=4747
audio=0
video=1
size=0x0
confirm_close=1
vertical_flip=0
horizontal_flip=0
type=2

View File

@ -1,475 +0,0 @@
[global]
### Display ###
# Which monitor should the notifications be displayed on.
monitor = 0
# Display notification on focused monitor. Possible modes are:
# mouse: follow mouse pointer
# keyboard: follow window with keyboard focus
# none: don't follow anything
#
# "keyboard" needs a window manager that exports the
# _NET_ACTIVE_WINDOW property.
# This should be the case for almost all modern window managers.
#
# If this option is set to mouse or keyboard, the monitor option
# will be ignored.
follow = mouse
# The geometry of the window:
# [{width}]x{height}[+/-{x}+/-{y}]
# The geometry of the message window.
# The height is measured in number of notifications everything else
# in pixels. If the width is omitted but the height is given
# ("-geometry x2"), the message window expands over the whole screen
# (dmenu-like). If width is 0, the window expands to the longest
# message displayed. A positive x is measured from the left, a
# negative from the right side of the screen. Y is measured from
# the top and down respectively.
# The width can be negative. In this case the actual width is the
# screen width minus the width defined in within the geometry option.
#geometry = "300x5-30+20"
geometry = "300x5-30+20"
#geometry = "0x5-30+20"
# geometry = "0x0-30+20"
# Turn on the progess bar
progress_bar = true
# Set the progress bar height. This includes the frame, so make sure
# it's at least twice as big as the frame width.
progress_bar_height = 10
# Set the frame width of the progress bar
progress_bar_frame_width = 1
# Set the minimum width for the progress bar
progress_bar_min_width = 150
# Set the maximum width for the progress bar
progress_bar_max_width = 300
# Show how many messages are currently hidden (because of geometry).
indicate_hidden = yes
# Shrink window if it's smaller than the width. Will be ignored if
# width is 0.
#shrink = no
shrink = yes
# The transparency of the window. Range: [0; 100].
# This option will only work if a compositing window manager is
# present (e.g. xcompmgr, compiz, etc.).
#transparency = 0
transparency = 10
# The height of the entire notification. If the height is smaller
# than the font height and padding combined, it will be raised
# to the font height and padding.
notification_height = 0
# Draw a line of "separator_height" pixel height between two
# notifications.
# Set to 0 to disable.
separator_height = 2
# Padding between text and separator.
padding = 8
# Horizontal padding.
horizontal_padding = 8
# Padding between text and icon.
text_icon_padding = 0
# Defines width in pixels of frame around the notification window.
# Set to 0 to disable.
frame_width = 3
# Defines color of the frame around the notification window.
frame_color = "#aaaaaa"
# Define a color for the separator.
# possible values are:
# * auto: dunst tries to find a color fitting to the background;
# * foreground: use the same color as the foreground;
# * frame: use the same color as the frame;
# * anything else will be interpreted as a X color.
separator_color = frame
# Sort messages by urgency.
sort = yes
# Don't remove messages, if the user is idle (no mouse or keyboard input)
# for longer than idle_threshold seconds.
# Set to 0 to disable.
# A client can set the 'transient' hint to bypass this. See the rules
# section for how to disable this if necessary
idle_threshold = 120
#idle_threshold = 0
### Text ###
font = Monospace 8
# The spacing between lines. If the height is smaller than the
# font height, it will get raised to the font height.
line_height = 0
# Possible values are:
# full: Allow a small subset of html markup in notifications:
# <b>bold</b>
# <i>italic</i>
# <s>strikethrough</s>
# <u>underline</u>
#
# For a complete reference see
# <https://developer.gnome.org/pango/stable/pango-Markup.html>.
#
# strip: This setting is provided for compatibility with some broken
# clients that send markup even though it's not enabled on the
# server. Dunst will try to strip the markup but the parsing is
# simplistic so using this option outside of matching rules for
# specific applications *IS GREATLY DISCOURAGED*.
#
# no: Disable markup parsing, incoming notifications will be treated as
# plain text. Dunst will not advertise that it has the body-markup
# capability if this is set as a global setting.
#
# It's important to note that markup inside the format option will be parsed
# regardless of what this is set to.
markup = full
# The format of the message. Possible variables are:
# %a appname
# %s summary
# %b body
# %i iconname (including its path)
# %I iconname (without its path)
# %p progress value if set ([ 0%] to [100%]) or nothing
# %n progress value if set without any extra characters
# %% Literal %
# Markup is allowed
format = "<b>%s</b>\n%b"
# Alignment of message text.
# Possible values are "left", "center" and "right".
alignment = left
# Vertical alignment of message text and icon.
# Possible values are "top", "center" and "bottom".
vertical_alignment = center
# Show age of message if message is older than show_age_threshold
# seconds.
# Set to -1 to disable.
show_age_threshold = 60
# Split notifications into multiple lines if they don't fit into
# geometry.
word_wrap = yes
# When word_wrap is set to no, specify where to make an ellipsis in long lines.
# Possible values are "start", "middle" and "end".
ellipsize = middle
# Ignore newlines '\n' in notifications.
ignore_newline = no
# Stack together notifications with the same content
stack_duplicates = true
# Hide the count of stacked notifications with the same content
hide_duplicate_count = false
# Display indicators for URLs (U) and actions (A).
show_indicators = yes
### Icons ###
# Align icons left/right/off
icon_position = left
# Scale small icons up to this size, set to 0 to disable. Helpful
# for e.g. small files or high-dpi screens. In case of conflict,
# max_icon_size takes precedence over this.
min_icon_size = 0
# Scale larger icons down to this size, set to 0 to disable
max_icon_size = 32
# Paths to default icons.
icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
### History ###
# Should a notification popped up from history be sticky or timeout
# as if it would normally do.
sticky_history = yes
# Maximum amount of notifications kept in history
history_length = 20
### Misc/Advanced ###
# dmenu path.
dmenu = /usr/bin/dmenu -p dunst:
# Browser for opening urls in context menu.
browser = /usr/bin/firefox -new-tab
# Always run rule-defined scripts, even if the notification is suppressed
always_run_script = true
# Define the title of the windows spawned by dunst
title = Dunst
# Define the class of the windows spawned by dunst
class = Dunst
# Print a notification on startup.
# This is mainly for error detection, since dbus (re-)starts dunst
# automatically after a crash.
startup_notification = false
# Manage dunst's desire for talking
# Can be one of the following values:
# crit: Critical features. Dunst aborts
# warn: Only non-fatal warnings
# mesg: Important Messages
# info: all unimportant stuff
# debug: all less than unimportant stuff
verbosity = mesg
# Define the corner radius of the notification window
# in pixel size. If the radius is 0, you have no rounded
# corners.
# The radius will be automatically lowered if it exceeds half of the
# notification height to avoid clipping text and/or icons.
corner_radius = 0
# Ignore the dbus closeNotification message.
# Useful to enforce the timeout set by dunst configuration. Without this
# parameter, an application may close the notification sent before the
# user defined timeout.
ignore_dbusclose = false
### Wayland ###
# These settings are Wayland-specific. They have no effect when using X11
# Uncomment this if you want to let notications appear under fullscreen
# applications (default: overlay)
# layer = top
# Set this to true to use X11 output on Wayland.
force_xwayland = false
### Legacy
# Use the Xinerama extension instead of RandR for multi-monitor support.
# This setting is provided for compatibility with older nVidia drivers that
# do not support RandR and using it on systems that support RandR is highly
# discouraged.
#
# By enabling this setting dunst will not be able to detect when a monitor
# is connected or disconnected which might break follow mode if the screen
# layout changes.
force_xinerama = false
### mouse
# Defines list of actions for each mouse event
# Possible values are:
# * none: Don't do anything.
# * do_action: If the notification has exactly one action, or one is marked as default,
# invoke it. If there are multiple and no default, open the context menu.
# * close_current: Close current notification.
# * close_all: Close all notifications.
# These values can be strung together for each mouse event, and
# will be executed in sequence.
mouse_left_click = do_action
mouse_middle_click = close_all
mouse_right_click = close_current
# Experimental features that may or may not work correctly. Do not expect them
# to have a consistent behaviour across releases.
[experimental]
# Calculate the dpi to use on a per-monitor basis.
# If this setting is enabled the Xft.dpi value will be ignored and instead
# dunst will attempt to calculate an appropriate dpi value for each monitor
# using the resolution and physical size. This might be useful in setups
# where there are multiple screens with very different dpi values.
per_monitor_dpi = false
# The internal keyboard shortcut support in dunst is now considered deprecated
# and should be replaced by dunstctl calls. You can use the configuration of your
# WM or DE to bind these to shortcuts of your choice.
# Check the dunstctl manual page for more info.
[shortcuts]
# Shortcuts are specified as [modifier+][modifier+]...key
# Available modifiers are "ctrl", "mod1" (the alt-key), "mod2",
# "mod3" and "mod4" (windows-key).
# Xev might be helpful to find names for keys.
# Close notification. Equivalent dunstctl command:
# dunstctl close
# close = ctrl+space
# Close all notifications. Equivalent dunstctl command:
# dunstctl close-all
# close_all = ctrl+shift+space
# Redisplay last message(s). Equivalent dunstctl command:
# dunstctl history-pop
# history = ctrl+grave
# Context menu. Equivalent dunstctl command:
# dunstctl context
# context = ctrl+shift+period
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#222222"
foreground = "#888888"
# timeout = 10
timeout = 15
# Icon for notifications with low urgency, uncomment to enable
#icon = /path/to/icon
[urgency_normal]
background = "#285577"
foreground = "#ffffff"
# timeout = 10
timeout = 15
# Icon for notifications with normal urgency, uncomment to enable
#icon = /path/to/icon
[urgency_critical]
background = "#900000"
foreground = "#ffffff"
frame_color = "#ff0000"
#timeout = 0
timeout = 15
# Icon for notifications with critical urgency, uncomment to enable
#icon = /path/to/icon
# Every section that isn't one of the above is interpreted as a rules to
# override settings for certain messages.
#
# Messages can be matched by
# appname (discouraged, see desktop_entry)
# body
# category
# desktop_entry
# icon
# match_transient
# msg_urgency
# stack_tag
# summary
#
# and you can override the
# background
# foreground
# format
# frame_color
# fullscreen
# new_icon
# set_stack_tag
# set_transient
# timeout
# urgency
#
# Shell-like globbing will get expanded.
#
# Instead of the appname filter, it's recommended to use the desktop_entry filter.
# GLib based applications export their desktop-entry name. In comparison to the appname,
# the desktop-entry won't get localized.
#
# SCRIPTING
# You can specify a script that gets run when the rule matches by
# setting the "script" option.
# The script will be called as follows:
# script appname summary body icon urgency
# where urgency can be "LOW", "NORMAL" or "CRITICAL".
#
# NOTE: if you don't want a notification to be displayed, set the format
# to "".
# NOTE: It might be helpful to run dunst -print in a terminal in order
# to find fitting options for rules.
# Disable the transient hint so that idle_threshold cannot be bypassed from the
# client
#[transient_disable]
# match_transient = yes
# set_transient = no
#
# Make the handling of transient notifications more strict by making them not
# be placed in history.
#[transient_history_ignore]
# match_transient = yes
# history_ignore = yes
# fullscreen values
# show: show the notifications, regardless if there is a fullscreen window opened
# delay: displays the new notification, if there is no fullscreen window active
# If the notification is already drawn, it won't get undrawn.
# pushback: same as delay, but when switching into fullscreen, the notification will get
# withdrawn from screen again and will get delayed like a new notification
#[fullscreen_delay_everything]
# fullscreen = delay
#[fullscreen_show_critical]
# msg_urgency = critical
# fullscreen = show
#[espeak]
# summary = "*"
# script = dunst_espeak.sh
#[script-test]
# summary = "*script*"
# script = dunst_test.sh
#[ignore]
# # This notification will not be displayed
# summary = "foobar"
# format = ""
#[history-ignore]
# # This notification will not be saved in history
# summary = "foobar"
# history_ignore = yes
#[skip-display]
# # This notification will not be displayed, but will be included in the history
# summary = "foobar"
# skip_display = yes
#[signed_on]
# appname = Pidgin
# summary = "*signed on*"
# urgency = low
#
#[signed_off]
# appname = Pidgin
# summary = *signed off*
# urgency = low
#
#[says]
# appname = Pidgin
# summary = *says*
# urgency = critical
#
#[twitter]
# appname = Pidgin
# summary = *twitter.com*
# urgency = normal
#
#[stack-volumes]
# appname = "some_volume_notifiers"
# set_stack_tag = "volume"
#
# vim: ft=cfg

View File

@ -1,10 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<alias>
<family>monospace</family>
<prefer>
<family>Fira Code</family>
</prefer>
</alias>
</fontconfig>

View File

@ -1,11 +0,0 @@
[Filechooser Settings]
LocationMode=path-bar
ShowHidden=false
ShowSizeColumn=true
GeometryX=2346
GeometryY=163
GeometryWidth=1068
GeometryHeight=774
SortColumn=modified
SortOrder=descending
StartupMode=recent

View File

@ -1,15 +0,0 @@
gtk-theme-name="Orchis-Dark"
gtk-icon-theme-name="Tela-dark"
gtk-font-name="Cantarell 11"
gtk-cursor-theme-name="Adwaita"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=0
gtk-enable-input-feedback-sounds=0
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintfull"
gtk-error-bell = 0

View File

@ -1,14 +0,0 @@
gtk-theme-name="Orchis-dark"
gtk-icon-theme-name="Tela-dark"
gtk-font-name="Cantarell 11"
gtk-cursor-theme-name="Adwaita"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=0
gtk-enable-input-feedback-sounds=0
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintfull"

View File

@ -1,14 +0,0 @@
gtk-theme-name="Orchis-light"
gtk-icon-theme-name="Tela"
gtk-font-name="Cantarell 11"
gtk-cursor-theme-name="Adwaita"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=0
gtk-enable-input-feedback-sounds=0
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintfull"

View File

@ -1,7 +0,0 @@
file:///home/slococo/.local/share/Trash Trash
file:///home/slococo/Desktop Desktop
file:///home/slococo/Downloads Downloads
file:///home/slococo/Documents Documents
file:///home/slococo/Pictures Pictures
file:///home/slococo/Videos Videos
file:///mnt mnt

View File

@ -1,19 +0,0 @@
[Settings]
gtk-recent-files-max-age=0
gtk-recent-files-limit=0
gtk-application-prefer-dark-theme=true
gtk-icon-theme-name=Tela-dark
gtk-theme-name=Orchis-Dark
gtk-font-name=Cantarell 11
gtk-cursor-theme-name=Adwaita
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=0
gtk-enable-input-feedback-sounds=0
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull
gtk-error-bell = 0

View File

@ -1,18 +0,0 @@
[Settings]
gtk-recent-files-max-age=0
gtk-recent-files-limit=0
gtk-application-prefer-dark-theme=true
gtk-icon-theme-name=Tela-dark
gtk-theme-name=Orchis-dark
gtk-font-name=Cantarell 11
gtk-cursor-theme-name=Adwaita
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=0
gtk-enable-input-feedback-sounds=0
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull

View File

@ -1,18 +0,0 @@
[Settings]
gtk-recent-files-max-age=0
gtk-recent-files-limit=0
gtk-application-prefer-dark-theme=false
gtk-icon-theme-name=Tela
gtk-theme-name=Orchis-light
gtk-font-name=Cantarell 11
gtk-cursor-theme-name=Adwaita
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=0
gtk-enable-input-feedback-sounds=0
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull

View File

@ -1,48 +0,0 @@
[Default Applications]
x-scheme-handler/jetbrains=jetbrains-toolbox.desktop
x-scheme-handler/http=firefox.desktop
x-scheme-handler/https=firefox.desktop
x-scheme-handler/chrome=firefox.desktop
text/html=firefox.desktop
application/x-extension-htm=firefox.desktop
application/x-extension-html=firefox.desktop
application/x-extension-shtml=firefox.desktop
application/xhtml+xml=firefox.desktop
application/x-extension-xhtml=firefox.desktop
application/x-extension-xht=firefox.desktop
x-scheme-handler/mailto=brave-browser.desktop
x-scheme-handler/about=firefox.desktop
x-scheme-handler/unknown=firefox.desktop
application/pdf=org.pwmt.zathura.desktop
image/png=nsxiv.desktop
application/ppdf=FoxitReader.desktop
x-scheme-handler/notion=notion-app.desktop
image/jpeg=nsxiv.desktop
x-scheme-handler/ferdi=ferdi.desktop
message/rfc822=userapp-Thunderbird-2MAT80.desktop
x-scheme-handler/postman=Postman.desktop
application/x-ica=citrix-wfica.desktop
application/x-wine-extension-ini=citrix-wfica.desktop;
x-scheme-handler/fleet=jetbrains-fleet.desktop
x-scheme-handler/magnet=magnet.desktop
[Added Associations]
x-scheme-handler/http=firefox.desktop;
x-scheme-handler/https=firefox.desktop;
x-scheme-handler/chrome=firefox.desktop;
text/html=firefox.desktop;
application/x-extension-htm=firefox.desktop;
application/x-extension-html=firefox.desktop;
application/x-extension-shtml=firefox.desktop;
application/xhtml+xml=firefox.desktop;
application/x-extension-xhtml=firefox.desktop;
application/x-extension-xht=firefox.desktop;
image/png=nsxiv.desktop;sxiv.desktop;
x-scheme-handler/mailto=userapp-Thunderbird-2MAT80.desktop;
message/rfc822=userapp-Thunderbird-2MAT80.desktop;
application/x-executable=nvim.desktop;
image/jpeg=nsxiv.desktop;
application/octet-stream=vim.desktop;
application/x-ica=citrix-wfica.desktop;
application/x-wine-extension-ini=citrix-wfica.desktop;
application/vnd.sqlite3=nvim.desktop;

File diff suppressed because it is too large Load Diff

View File

@ -1,15 +0,0 @@
suppress_verbose_help_message(1);
# page_output_immediately(1)
page_screen_output(0);
crash_dumps_octave_core(0);
sigterm_dumps_octave_core(0);
sighup_dumps_octave_core(0);
history_control ("ignoredups");
pkg load symbolic;
pkg load statistics;
EDITOR('nvim > /dev/tty 2>&1 < /dev/tty %s')
addpath ("~/ITBA/5C/MN/Codigos")
# https://wiki.octave.org/.octaverc

View File

@ -1,434 +0,0 @@
#################################
# Shadows #
#################################
# Enabled client-side shadows on windows. Note desktop windows
# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow,
# unless explicitly requested using the wintypes option.
#
# shadow = false
shadow = true;
# The blur radius for shadows, in pixels. (defaults to 12)
# shadow-radius = 12
shadow-radius = 7;
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
# shadow-opacity = .75
# The left offset for shadows, in pixels. (defaults to -15)
# shadow-offset-x = -15
shadow-offset-x = -7;
# The top offset for shadows, in pixels. (defaults to -15)
# shadow-offset-y = -15
shadow-offset-y = -7;
# Red color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-red = 0
# Green color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-green = 0
# Blue color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-blue = 0
# Hex string color value of shadow (#000000 - #FFFFFF, defaults to #000000). This option will override options set shadow-(red/green/blue)
# shadow-color = "#000000"
# Specify a list of conditions of windows that should have no shadow.
#
# examples:
# shadow-exclude = "n:e:Notification";
#
# shadow-exclude = []
shadow-exclude = [
"name = 'Notification'",
"class_g = 'Conky'",
"class_g ?= 'Notify-osd'",
"class_g = 'Cairo-clock'",
"_GTK_FRAME_EXTENTS@:c"
];
# Specify a list of conditions of windows that should have no shadow painted over, such as a dock window.
# clip-shadow-above = []
# Specify a X geometry that describes the region in which shadow should not
# be painted in, such as a dock window region. Use
# shadow-exclude-reg = "x10+0+0"
# for example, if the 10 pixels on the bottom of the screen should not have shadows painted on.
#
# shadow-exclude-reg = ""
# Crop shadow of a window fully on a particular monitor to that monitor. This is
# currently implemented using the X RandR extension.
# crop-shadow-to-monitor = false
#################################
# Fading #
#################################
# Fade windows in/out when opening/closing and when opacity changes,
# unless no-fading-openclose is used.
# fading = false
fading = false;
# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
fade-in-step = 0.028;
#fade-in-step = 0.03;
# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
# fade-out-step = 0.03
fade-out-step = 0.03;
# The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
fade-delta = 1.5;
# Specify a list of conditions of windows that should not be faded.
# fade-exclude = []
# Do not fade on window open/close.
# no-fading-openclose = false
# Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc.
# no-fading-destroyed-argb = false
#################################
# Transparency / Opacity #
#################################
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
# inactive-opacity = 1
inactive-opacity = 0.8;
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
# frame-opacity = 1.0
frame-opacity = 0.7;
# Let inactive opacity set by -i override the '_NET_WM_WINDOW_OPACITY' values of windows.
# inactive-opacity-override = true
inactive-opacity-override = false;
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
# active-opacity = 1.0
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
# inactive-dim = 0.0
# Specify a list of conditions of windows that should never be considered focused.
# focus-exclude = []
focus-exclude = [ "class_g = 'Cairo-clock'" ];
# Use fixed inactive dim value, instead of adjusting according to window opacity.
# inactive-dim-fixed = 1.0
# Specify a list of opacity rules, in the format `PERCENT:PATTERN`,
# like `50:name *= "Firefox"`. picom-trans is recommended over this.
# Note we don't make any guarantee about possible conflicts with other
# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows.
# example:
# opacity-rule = [ "80:class_g = 'URxvt'" ];
#
# opacity-rule = []
#################################
# Corners #
#################################
# Sets the radius of rounded window corners. When > 0, the compositor will
# round the corners of windows. Does not interact well with
# `transparent-clipping`.
corner-radius = 0
# Exclude conditions for rounded corners.
rounded-corners-exclude = [
"window_type = 'dock'",
"window_type = 'desktop'"
];
#################################
# Background-Blurring #
#################################
# Parameters for background blurring, see the *BLUR* section for more information.
# blur-method =
# blur-size = 12
#
# blur-deviation = false
#
# blur-strength = 5
# Blur background of semi-transparent / ARGB windows.
# Bad in performance, with driver-dependent behavior.
# The name of the switch may change without prior notifications.
#
# blur-background = false
# Blur background of windows when the window frame is not opaque.
# Implies:
# blur-background
# Bad in performance, with driver-dependent behavior. The name may change.
#
# blur-background-frame = false
# Use fixed blur strength rather than adjusting according to window opacity.
# blur-background-fixed = false
# Specify the blur convolution kernel, with the following format:
# example:
# 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-kern = ""
blur-kern = "3x3box";
# Exclude conditions for background blur.
# blur-background-exclude = []
blur-background-exclude = [
"window_type = 'dock'",
"window_type = 'desktop'",
"_GTK_FRAME_EXTENTS@:c"
];
#################################
# General Settings #
#################################
# Enable remote control via D-Bus. See the man page for more details.
# dbus = true
# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers.
# daemon = false
# Specify the backend to use: `xrender`, `glx`, `egl` or `xr_glx_hybrid`.
# `xrender` is the default one.
#
# backend = "glx"
backend = "xrender";
# Use higher precision during rendering, and apply dither when presenting the
# rendered screen. Reduces banding artifacts, but might cause performance
# degradation. Only works with OpenGL.
dithered-present = false;
# Enable/disable VSync.
vsync = false
#vsync = true;
# Try to detect WM windows (a non-override-redirect window with no
# child that has 'WM_STATE') and mark them as active.
#
# mark-wmwin-focused = false
mark-wmwin-focused = true;
# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused.
# mark-ovredir-focused = false
mark-ovredir-focused = true;
# Try to detect windows with rounded corners and don't consider them
# shaped windows. The accuracy is not very high, unfortunately.
#
# detect-rounded-corners = false
detect-rounded-corners = true;
# Detect '_NET_WM_WINDOW_OPACITY' on client windows, useful for window managers
# not passing '_NET_WM_WINDOW_OPACITY' of client windows to frame windows.
#
# detect-client-opacity = false
detect-client-opacity = true;
# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window,
# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy,
# provided that the WM supports it.
#
# use-ewmh-active-win = false
# Unredirect all windows if a full-screen opaque window is detected,
# to maximize performance for full-screen windows. Known to cause flickering
# when redirecting/unredirecting windows.
#
# unredir-if-possible = false
# Delay before unredirecting the window, in milliseconds. Defaults to 0.
# unredir-if-possible-delay = 0
# Conditions of windows that shouldn't be considered full-screen for unredirecting screen.
# unredir-if-possible-exclude = []
# Use 'WM_TRANSIENT_FOR' to group windows, and consider windows
# in the same group focused at the same time.
#
# detect-transient = false
detect-transient = true;
# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same
# group focused at the same time. This usually means windows from the same application
# will be considered focused or unfocused at the same time.
# 'WM_TRANSIENT_FOR' has higher priority if detect-transient is enabled, too.
#
# detect-client-leader = false
# Resize damaged region by a specific number of pixels.
# A positive value enlarges it while a negative one shrinks it.
# If the value is positive, those additional pixels will not be actually painted
# to screen, only used in blur calculation, and such. (Due to technical limitations,
# with use-damage, those pixels will still be incorrectly painted to screen.)
# Primarily used to fix the line corruption issues of blur,
# in which case you should use the blur radius value here
# (e.g. with a 3x3 kernel, you should use `--resize-damage 1`,
# with a 5x5 one you use `--resize-damage 2`, and so on).
# May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly.
#
# resize-damage = 1
# Specify a list of conditions of windows that should be painted with inverted color.
# Resource-hogging, and is not well tested.
#
# invert-color-include = []
# GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer.
# Might cause incorrect opacity when rendering transparent content (but never
# practically happened) and may not work with blur-background.
# My tests show a 15% performance boost. Recommended.
#
# glx-no-stencil = false
# GLX backend: Avoid rebinding pixmap on window damage.
# Probably could improve performance on rapid window content changes,
# but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.).
# Recommended if it works.
#
# glx-no-rebind-pixmap = false
# Disable the use of damage information.
# This cause the whole screen to be redrawn every time, instead of the part of the screen
# has actually changed. Potentially degrades the performance, but might fix some artifacts.
# The opposing option is use-damage
#
# no-use-damage = false
use-damage = true;
# Use X Sync fence to sync clients' draw calls, to make sure all draw
# calls are finished before picom starts drawing. Needed on nvidia-drivers
# with GLX backend for some users.
#
# xrender-sync-fence = false
# GLX backend: Use specified GLSL fragment shader for rendering window
# contents. Read the man page for a detailed explanation of the interface.
#
# window-shader-fg = "default"
# Use rules to set per-window shaders. Syntax is SHADER_PATH:PATTERN, similar
# to opacity-rule. SHADER_PATH can be "default". This overrides window-shader-fg.
#
# window-shader-fg-rule = [
# "my_shader.frag:window_type != 'dock'"
# ]
# Force all windows to be painted with blending. Useful if you
# have a glx-fshader-win that could turn opaque pixels transparent.
#
# force-win-blend = false
# Do not use EWMH to detect fullscreen windows.
# Reverts to checking if a window is fullscreen based only on its size and coordinates.
#
# no-ewmh-fullscreen = false
# Dimming bright windows so their brightness doesn't exceed this set value.
# Brightness of a window is estimated by averaging all pixels in the window,
# so this could comes with a performance hit.
# Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0)
#
# max-brightness = 1.0
# Make transparent windows clip other windows like non-transparent windows do,
# instead of blending on top of them.
#
# transparent-clipping = false
# Specify a list of conditions of windows that should never have transparent
# clipping applied. Useful for screenshot tools, where you need to be able to
# see through transparent parts of the window.
#
# transparent-clipping-exclude = []
# Set the log level. Possible values are:
# "trace", "debug", "info", "warn", "error"
# in increasing level of importance. Case doesn't matter.
# If using the "TRACE" log level, it's better to log into a file
# using *--log-file*, since it can generate a huge stream of logs.
#
# log-level = "debug"
log-level = "warn";
# Set the log file.
# If *--log-file* is never specified, logs will be written to stderr.
# Otherwise, logs will to written to the given file, though some of the early
# logs might still be written to the stderr.
# When setting this option from the config file, it is recommended to use an absolute path.
#
# log-file = "/path/to/your/log/file"
# Show all X errors (for debugging)
# show-all-xerrors = false
# Write process ID to a file.
# write-pid-path = "/path/to/your/log/file"
# Window type settings
#
# 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard:
# "unknown", "desktop", "dock", "toolbar", "menu", "utility",
# "splash", "dialog", "normal", "dropdown_menu", "popup_menu",
# "tooltip", "notification", "combo", and "dnd".
#
# Following per window-type options are available: ::
#
# fade, shadow:::
# Controls window-type-specific shadow and fade settings.
#
# opacity:::
# Controls default opacity of the window type.
#
# focus:::
# Controls whether the window of this type is to be always considered focused.
# (By default, all window types except "normal" and "dialog" has this on.)
#
# full-shadow:::
# Controls whether shadow is drawn under the parts of the window that you
# normally won't be able to see. Useful when the window has parts of it
# transparent, and you want shadows in those areas.
#
# clip-shadow-above:::
# Controls whether shadows that would have been drawn above the window should
# be clipped. Useful for dock windows that should have no shadow painted on top.
#
# redir-ignore:::
# Controls whether this type of windows should cause screen to become
# redirected again after been unredirected. If you have unredir-if-possible
# set, and doesn't want certain window to cause unnecessary screen redirection,
# you can set this to `true`.
#
#popup_menu = { opacity = 0.8; }
#dropdown_menu = { opacity = 0.8; }
#tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
wintypes:
{
tooltip = { fade = true; shadow = true; opacity = 0.9; focus = true; full-shadow = false; };
dock = { shadow = false; clip-shadow-above = true; }
dnd = { shadow = false; }
popup_menu = { opacity = 0.95; }
dropdown_menu = { opacity = 0.95; }
};

View File

@ -1,9 +0,0 @@
{
"default.route.alsa_card.pci-0000_01_00.1:profile:off": [ ],
"default.route.alsa_card.pci-0000_00_1b.0:profile:off": [ ],
"default.route.alsa_card.pci-0000_01_00.1:profile:output:hdmi-stereo-extra1": [ "hdmi-output-1" ],
"default.route.alsa_card.pci-0000_00_1b.0:profile:output:analog-stereo+input:analog-stereo": [ "analog-output-lineout" ],
"default.route.alsa_card.pci-0000_01_00.1:output:hdmi-output-1": { "mute": false, "volumes": [ 0.010648, 0.010648 ], "channels": [ "FL", "FR" ] },
"default.route.alsa_card.pci-0000_00_1b.0:input:analog-input-rear-mic": { "mute": false, "volumes": [ 0.306863, 0.306863 ], "channels": [ "FL", "FR" ] },
"default.route.alsa_card.pci-0000_00_1b.0:output:analog-output-lineout": { "mute": false, "volumes": [ 0.117653, 0.117653 ], "channels": [ "FL", "FR" ] }
}

View File

@ -1,14 +0,0 @@
{
"restore.stream.Output/Audio.application.name:Chromium": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000, 1.000000 ], "channels": [ "FL", "FR" ] },
"restore.stream.Input/Audio.application.name:WEBRTC VoiceEngine": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000, 1.000000 ], "channels": [ "FL", "FR" ] },
"restore.stream.Output/Audio.application.name:WEBRTC VoiceEngine": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000, 1.000000 ], "channels": [ "FL", "FR" ] },
"restore.stream.Output/Audio.application.name:mpv": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000, 1.000000 ], "channels": [ "FL", "FR" ] },
"restore.stream.Output/Audio.media.role:Music": { "volume": 1.000000, "mute": false, "volumes": [ 0.999954, 0.999954 ], "channels": [ "FL", "FR" ] },
"restore.stream.Input/Audio.media.role:Production": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000, 1.000000 ], "channels": [ "FL", "FR" ] },
"restore.stream.Input/Audio.application.name:obs": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000, 1.000000 ], "channels": [ "FL", "FR" ] },
"restore.stream.Input/Audio.application.name:Chromium input": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000, 1.000000 ], "channels": [ "FL", "FR" ] },
"restore.stream.Output/Audio.application.name:Firefox": { "volume": 1.000000, "mute": false, "volumes": [ 0.000000, 0.000000 ], "channels": [ "FL", "FR" ] },
"restore.stream.Output/Audio.application.name:Brave": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000 ], "channels": [ "MONO" ] },
"restore.stream.Input/Audio.application.name:Brave input": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000, 1.000000 ], "channels": [ "FL", "FR" ] },
"restore.stream.Output/Audio.media.role:Notification": { "volume": 1.000000, "mute": false, "volumes": [ 1.000000, 1.000000 ], "channels": [ "FL", "FR" ] }
}

View File

@ -1,15 +0,0 @@
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"

View File

@ -1 +0,0 @@
en_US

File diff suppressed because it is too large Load Diff

View File

@ -1,90 +0,0 @@
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
HISTSIZE=10000000
SAVEHIST=10000000
HISTFILE=~/.cache/zsh/.histfile
ZLE_REMOVE_SUFFIX_CHARS=$' \t\n;&'
export ZSH="/usr/share/oh-my-zsh"
ZSH_CUSTOM="/usr/share"
ZSH_THEME="zsh-theme-powerlevel10k/powerlevel10k"
# CASE_SENSITIVE="true"
# HYPHEN_INSENSITIVE="true"
# DISABLE_MAGIC_FUNCTIONS="true"
# DISABLE_AUTO_TITLE="true"
ENABLE_CORRECTION="true"
# COMPLETION_WAITING_DOTS="true"
# DISABLE_UNTRACKED_FILES_DIRTY="true"
plugins=(git vi-mode)
export ZSH_COMPDUMP="$XDG_CACHE_HOME"/zsh/zcompdump-"$HOST-$ZSH_VERSION"
source "$ZSH"/oh-my-zsh.sh
setopt HIST_SAVE_NO_DUPS
setopt HIST_IGNORE_ALL_DUPS
bindkey -v
function zle-keymap-select {
if [[ ${KEYMAP} == vicmd ]] || [[ $1 = 'block' ]]; then
echo -ne '\e[1 q'
elif [[ ${KEYMAP} == main ]] || [[ ${KEYMAP} == viins ]] ||
[[ ${KEYMAP} = '' ]] || [[ $1 = 'beam' ]]; then
echo -ne '\e[5 q'
fi
}
zle -N zle-keymap-select
zle-line-init() {
zle -K viins
echo -ne "\e[5 q"
echoti smkx
}
zle -N zle-line-init
echo -ne '\e[5 q'
preexec() { echo -ne '\e[5 q' ;}
export VISUAL="nvim"
autoload -U edit-command-line; zle -N edit-command-line
bindkey '^E' edit-command-line
autoload -U history-search-end
zle -N history-beginning-search-backward-end history-search-end
zle -N history-beginning-search-forward-end history-search-end
bindkey "^[[A" history-beginning-search-backward-end
bindkey "^[[B" history-beginning-search-forward-end
function zle-line-finish () { echoti rmkx }
zle -N zle-line-finish
source "$ZDOTDIR"/.zshrc_aliases
[[ ! -f ${ZDOTDIR:-~}/.p10k.zsh ]] || source ${ZDOTDIR:-~}/.p10k.zsh
bindkey -s '^f' 'cd "$(dirname "$(fzf)")"\n'
bindkey -s '^o' 'xdg-open "$(fzf)"\n'
bracketed-paste() {
zle .$WIDGET && LBUFFER=${LBUFFER%$'\n'}
}
zle -N bracketed-paste
export MAMBA_EXE='/usr/bin/micromamba';
export MAMBA_ROOT_PREFIX="$HOME/.conda";
__mamba_setup="$("$MAMBA_EXE" shell hook --shell zsh --root-prefix "$MAMBA_ROOT_PREFIX" 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__mamba_setup"
else
alias micromamba="$MAMBA_EXE"
fi
unset __mamba_setup

View File

@ -1,320 +0,0 @@
#!/bin/sh
alias mpvgui='mpv --player-operation-mode=pseudo-gui'
alias ll='ls -l'
alias la='ls -A'
alias l='ls -CF'
alias lh='ls -lh'
alias vim='nvim'
alias svim='sudo nvim'
alias ga='git add'
alias gaa='git add .'
alias gaaa='git add -A'
alias gc='git commit'
alias gcm='git commit -m'
alias gd='git diff'
alias gi='git init'
alias gl='git log'
alias gp='git pull'
alias gpsh='git push'
alias gss='git status -s'
# Undo commit (https://stackoverflow.com/questions/2845731/how-to-uncommit-my-last-commit-in-git)
alias gundo='git reset --soft HEAD~1'
alias gck='git checkout'
alias wget=wget --hsts-file="$XDG_DATA_HOME/wget-hsts"
gacp() {
git add .
local var="$@"
git commit -m "$var"
git push
}
gac() {
git add .
local var="$@"
git commit -m "$var"
}
alias exiftcl='exiftool -all='
alias exift='exiftool'
alias upgraded='grep -i upgraded /var/log/pacman.log | tac | less'
alias installed='grep -i installed /var/log/pacman.log | tac | less'
# https://archlinux.org/mirrorlist/
alias mirrors='reflector --country Brazil,Chile,Colombia --protocol https --sort rate --save /etc/pacman.d/mirrorlist'
# https://stackoverflow.com/questions/9449778/what-is-the-benefit-of-using-instead-of-backticks-in-shell-scripts#
alias open='xdg-open $(fzf)'
alias o='xdg-open'
alias zat='zathura --fork'
alias trash-dir='cd $HOME/.local/share/Trash'
#alias fd='cd "$(dirname "$(fzf)")"'
alias val='valgrind --leak-check=full ./listdir prueba/ > valgrind.output 2>&1'
alias pampero='ssh slococo@pampero.itba.edu.ar'
alias bd='systemctl start postgresql.service'
alias copy='xclip -selection clipboard'
function compile() {
sudo make clean && sudo make install
}
function rcomp() {
local file="${1//.rmd/}"
R -e "rmarkdown::render('$file.rmd', 'pdf_document')" && op $file.pdf
}
function cl() {
nasm -f elf $1
local program="${1//.asm/}"
ld -melf_i386 $program.o -o $program
if [[ $# -ge 3 ]]; then
./$program "${@:3}"
else
./$program
fi
}
function cld() {
nasm -f elf $1 && nasm -f elf $2
local program="${1//.asm/}"
local library="${2//.asm/}"
ld -melf_i386 $program.o $library.o -o $program
if [[ $# -ge 3 ]]; then
./$program "${@:3}"
else
./$program
fi
}
function asc() {
nasm -f elf32 $1
gcc -c -m32 $2
local assem="${1//.asm/}"
local cprog="${2//.c/}"
gcc -m32 -no-pie $assem.o $cprog.o -o $assem
if [[ $# -ge 3 ]]; then
./$assem "${@:3}"
else
./$assem
fi
}
function ascn() {
nasm -f elf32 $1
local assem="${1//.asm/}"
gcc -m32 -no-pie $assem.o -o $assem
if [[ $# -ge 2 ]]; then
./$assem "${@:2}"
else
./$assem
fi
}
function ascld() {
nasm -f elf32 $1
gcc -c -m32 $2
local assem="${1//.asm/}"
local cprog="${2//.c/}"
ld -melf_i386 $assem.o $cprog.o -o $assem
if [[ $# -ge 3 ]]; then
./$assem "${@:3}"
else
./$assem
fi
}
function gci() {
echo "Copy after 'git@github.com:'"
git clone git@itba.github.com:$1
}
function gcir() {
echo "Copy after 'git@github.com:'"
git remote add origin git@itba.github.com:$1
}
function gcn() {
echo "Copy after 'git@github.com:'"
git clone git@github.com:$1
}
function gcin() {
echo "Copy after 'git@github.com:'"
git remote add origin git@github.com:$1
}
# Start an ssh-agent and run KeePass in order to cache the ssh passwords
function gith() {
#eval $(ssh-agent)
keepass &
~/.local/bin/waitForSSH &
}
# https://vsupalov.com/docker-shared-permissions/
# https://medium.com/redbubble/running-a-docker-container-as-a-non-root-user-7d2e00f8ee15
#alias dcom='docker run -v ${PWD}:/root -ti -w /root agodio/itba-so:1.0 ${1}'
#alias dcom='docker run -v ${PWD}:/root --security-opt seccomp:unconfined -ti agodio/itba-so:1.0'
alias dcom='docker run -v ${PWD}:/root --security-opt seccomp:unconfined --user $(id -u):$(id -g) -w /root -ti agodio/itba-so:1.0'
#alias dcom='docker run -v ${PWD}:/root --security-opt seccomp:unconfined --user $(id -u):$(id -g) -w /root --name TPE-ARQUI -ti agodio/itba-so:1.0'
alias dcr='checkIfStarted'
function dcreate() {
echo "Do you want to create a container with root or user (as the owner)?"
chosen=$(echo "root\nuser" | dmenu)
echo "Enter a name for the container"
read name
if [ $chosen = "root" ]; then
docker run -v ${PWD}:/root --security-opt seccomp:unconfined -w /root --name $name -ti agodio/itba-so:1.0
else
docker run -v ${PWD}:/root --security-opt seccomp:unconfined --user $(id -u):$(id -g) -w /root --name $name -ti agodio/itba-so:1.0
fi
}
function checkIfStarted() {
if systemctl status docker | grep -q "inactive"; then
systemctl start docker
fi
}
# https://stackoverflow.com/a/61390489
function docom() {
local dockerID=`docker ps -l -q`
docker start $dockerID > /dev/null
docker exec -it $dockerID $@
docker stop $dockerID > /dev/null
}
function dcrun() {
local dockerID=`docker ps -l -q`
docker start $dockerID > /dev/null
docker exec -it $dockerID bash -c 'make all 2>&1 1>/dev/null | grep --color -iP "\^|warning:|error:|"'
docker stop $dockerID > /dev/null
./run.sh
}
function dcmake() {
local dockerID=`docker ps -l -q`
docker start $dockerID > /dev/null
docker exec -it $dockerID bash -c 'make all 2>&1 1>/dev/null | grep --color -iP "\^|warning:|error:|"'
docker stop $dockerID > /dev/null
}
function dcstacho() {
checkIfStarted
#echo `docker ps -a | awk '{ print $12 }'`
#read line
#if [ $line -eq 2 ]; then
# local dockerID=`docker ps -a | awk 'NR==2 { print $12 }'`
#else
# local dockerID=`docker ps -a | awk 'NR==3 { print $12 }'`
#fi
#local dockerID=$(docker ps -a | awk -F"\t" '{print $12}' | tail -n +2 | dmenu)
local dockerID=$(docker ps -a --format "{{.Names}}" | dmenu)
docker start $dockerID > /dev/null
#docker exec -it $dockerID bash -c 'make all 2>&1 1>/dev/null | grep --color -iP "\^|warning:|error:|"'
#docker stop $dockerID > /dev/null
#./run.sh
docker start $dockerID > /dev/null
docker exec -it $dockerID bash $@
}
function dcruntpe() {
checkIfStarted
local dockerID='TPE-ARQUI'
docker start $dockerID > /dev/null
docker exec -it $dockerID bash -c 'make all 2>&1 1>/dev/null | grep --color -iP "\^|warning:|error:|"'
docker stop $dockerID > /dev/null
./run.sh
}
function dcgdbtpe() {
checkIfStarted
local dockerID='TPE-ARQUI-GDB'
docker start $dockerID > /dev/null
docker exec -it $dockerID bash -c 'make all 2>&1 1>/dev/null | grep --color -iP "\^|warning:|error:|"'
docker stop $dockerID > /dev/null
./run.sh gdb
}
function dcstatpe() {
checkIfStarted
local dockerID='TPE-ARQUI-GDB'
docker start $dockerID > /dev/null
docker exec -it $dockerID bash $@
}
function dcstotpe() {
local dockerID='TPE-ARQUI-GDB'
docker stop $dockerID > /dev/null
}
function dcstatpe2() {
checkIfStarted
local dockerID='TPE-ARQUI'
docker start $dockerID > /dev/null
docker exec -it $dockerID bash $@
}
function dcsta() {
checkIfStarted
#local dockerID=`docker ps -l -q`
local dockerID=`docker ps -l`
docker start $dockerID > /dev/null
docker exec -it $dockerID bash $@
}
function dcsto() {
local dockerID=`docker ps -l -q`
docker stop $dockerID > /dev/null
}
function extract {
if [ -z "$1" ]; then
echo "Usage: extract <path/file_name>.<zip|rar|bz2|gz|tar|tbz2|tgz|Z|7z|xz|ex|tar.bz2|tar.gz|tar.xz>"
else
if [ -f $1 ] ; then
case $1 in
*.tar.bz2) tar xvjf ../$1 ;;
*.tar.gz) tar xvzf ../$1 ;;
*.tar.xz) tar xvJf ../$1 ;;
*.lzma) unlzma ../$1 ;;
*.bz2) bunzip2 ../$1 ;;
*.rar) unrar x -ad ../$1 ;;
*.gz) gunzip ../$1 ;;
*.tar) tar xvf ../$1 ;;
*.tbz2) tar xvjf ../$1 ;;
*.tgz) tar xvzf ../$1 ;;
*.zip) unzip ../$1 ;;
*.Z) uncompress ../$1 ;;
*.7z) 7z x ../$1 ;;
*.xz) unxz ../$1 ;;
*.exe) cabextract ../$1 ;;
*) echo "extract: '$1' - unknown archive method" ;;
esac
else
echo "$1 - file does not exist"
fi
fi
}
function maketar() {
tar cvzf "${1%%/}.tar.gz" "${1%%/}/"
}
function makezip() {
zip -r "${1%%/}.zip" "$1"
}

View File

@ -1,28 +0,0 @@
screen_color = (CYAN,CYAN,ON)
shadow_color = (BLACK,BLACK,ON)
dialog_color = (BLACK,WHITE,OFF)
title_color = (RED,WHITE,OFF)
border_color = (WHITE,WHITE,ON)
button_active_color = (WHITE,BLUE,ON)
button_inactive_color = dialog_color
button_key_active_color = button_active_color
button_key_inactive_color = (RED,WHITE,OFF)
button_label_active_color = (YELLOW,BLUE,ON)
button_label_inactive_color = (BLACK,WHITE,OFF)
inputbox_color = dialog_color
inputbox_border_color = dialog_color
position_indicator_color = title_color
menubox_color = dialog_color
menubox_border_color = border_color
item_color = dialog_color
item_selected_color = button_active_color
tag_color = (BLACK,WHITE,ON)
tag_color = (BLACK,WHITE,OFF)
tag_selected_color = button_label_active_color
tag_key_color = button_key_inactive_color
tag_key_selected_color = (RED,BLUE,ON)
check_color = dialog_color
check_selected_color = button_active_color
uarrow_color = (RED,WHITE,OFF)
darrow_color = uarrow_color
itemhelp_color = (WHITE,BLACK,OFF)

View File

@ -1,7 +0,0 @@
file:///home/slococo/ITBA ITBA
file:///home/slococo/Desktop Desktop
file:///home/slococo/Downloads Downloads
file:///home/slococo/Documents Documents
file:///home/slococo/Pictures Pictures
file:///home/slococo/Videos Videos
file:///mnt mnt

View File

@ -1,15 +0,0 @@
gtk-theme-name="Orchis-Dark"
gtk-icon-theme-name="Tela-dark"
gtk-font-name="Cantarell 11"
gtk-cursor-theme-name="Adwaita"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=0
gtk-enable-input-feedback-sounds=0
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintfull"
gtk-error-bell = 0

View File

@ -1,5 +0,0 @@
# This file is written by LXAppearance. Do not edit.
[Icon Theme]
Name=Default
Comment=Default Cursor Theme
Inherits=Adwaita

View File

@ -1,11 +0,0 @@
"^(chromium|org.pwmt.zathura|brave-browser|FoxitReader)$"
None, Up, Button4, 2
None, Down, Button5, 2
Shift_L, Up, Shift_L|Button4, 4
Shift_L, Down, Shift_L|Button5, 4
Control_L, Up, Control_L|Button4
Control_L, Down, Control_L|Button5
"^(discord|ferdi|spotify)$"
None, Up, Button4, 3
None, Down, Button5, 3

View File

@ -1,5 +0,0 @@
#!/bin/bash
# Generated by JetBrains Toolbox 1.22.10774 at 2021-12-08T09:35:58.867971
"/home/slococo/.local/share/JetBrains/Toolbox/apps/CLion/ch-0/212.5080.54/bin/clion.sh" "$@"

View File

@ -1,5 +0,0 @@
#!/bin/bash
# Generated by JetBrains Toolbox 1.22.10774 at 2021-12-08T09:35:58.892754
"/home/slococo/.local/share/JetBrains/Toolbox/apps/datagrip/ch-0/212.5284.17/bin/datagrip.sh" "$@"

View File

@ -1,3 +0,0 @@
#!/usr/bin/env bash
dmenu -p "$1" <&- && echo

View File

@ -1 +0,0 @@
GTK2_RC_FILES=/usr/share/themes/Orchis-light/gtk-2.0/gtkrc foxitreader

View File

@ -1,3 +0,0 @@
#!/bin/sh
octave --gui

View File

@ -1,4 +0,0 @@
#!/bin/sh
sudo ~/.local/bin/disableUSB
systemctl hibernate

View File

@ -1,5 +0,0 @@
#!/bin/bash
# Generated by JetBrains Toolbox 1.22.10774 at 2021-12-08T09:35:58.915745
"/home/slococo/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/212.5080.55/bin/idea.sh" "$@"

View File

@ -1,8 +0,0 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from isympy import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())

View File

@ -1,7 +0,0 @@
#!/bin/sh
if pgrep "pcmanfm" > /dev/null; then
pkill "pcmanfm"
else
"pcmanfm"
fi

View File

@ -1,4 +0,0 @@
#!/bin/zsh
mailsync
sigdwmblocks 3

View File

@ -1,8 +0,0 @@
#!/bin/sh
sleep 3
nmcli device down enp3s0
#nmcli networking off
sleep 2
nmcli device up enp3s0
#nmcli networking on

View File

@ -1,8 +0,0 @@
#!/bin/bash
if ! pgrep playerctld &> /dev/null; then
playerctld &
sleep 0.5
fi
playerctl "$@"

View File

@ -1,5 +0,0 @@
#!/bin/bash
# Generated by JetBrains Toolbox 1.22.10774 at 2021-12-08T09:35:58.936191
"/home/slococo/.local/share/JetBrains/Toolbox/apps/Rider/ch-0/212.5080.71/bin/rider.sh" "$@"

View File

@ -1,5 +0,0 @@
#!/bin/sh
sleep 0.5s
xrandr --output DVI-D-0 --mode 1920x1080 --output HDMI-0 --mode 1920x1080 --right-of DVI-D-0
nitrogen --restore &

View File

@ -1,8 +0,0 @@
#!/bin/sh
focusedwindow=$(xdotool getactivewindow)
flameshot gui >/dev/null
if [ "$focusedwindow" == "$(xdotool getactivewindow)" ]
then
xdotool windowfocus $focusedwindow
fi

View File

@ -1,19 +0,0 @@
#!/bin/sh
#pactl set-default-sink alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1
#sleep 2
#sleep 1
#sleep 2
sleep 3
#pactl info > $HOME/outputSound2.txt
pactl info > /dev/null
sleep 2
#pactl set-source-volume alsa_input.pci-0000_00_1b.0.analog-stereo 0.03 > /dev/null
pactl set-card-profile 45 output:analog-stereo+input:analog-stereo
pactl set-card-profile 44 output:hdmi-stereo
#pactl set-card-profile 126 output:hdmi-stereo-extra1
pactl set-source-volume @DEFAULT_SOURCE@ 0.2 > /dev/null
sigdwmblocks 2

View File

@ -1,5 +0,0 @@
#!/bin/sh
while true; do
dwm
done

View File

@ -1,5 +0,0 @@
#!/bin/bash
# Generated by JetBrains Toolbox 1.22.10774 at 2021-12-08T09:35:58.784723
"/home/slococo/.local/share/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7784292/bin/studio.sh" "$@"

View File

@ -1,7 +0,0 @@
#!/bin/sh
#echo EHC1 | sudo tee /proc/acpi/wakeup > /dev/null
#echo EHC2 | sudo tee /proc/acpi/wakeup > /dev/null
#echo XHC | sudo tee /proc/acpi/wakeup > /dev/null
sudo ~/.local/bin/disableUSB
systemctl suspend

View File

@ -1,12 +0,0 @@
while true
do
if [ `date "+%S"` -ge 50 ]; then
if [ `date "+%S"` -lt 59 ]; then
echo "LLEGUE"
break
fi
fi
sleep 1
done

View File

@ -1,21 +0,0 @@
#!/bin/sh
# exec will take ownership of this program! So, this process will now be dwmblocks.
# Therefore we must not kill it, because it is now dwmblocks! And its parent is obviously
# dwm (because in startx we use exec to launch it!)
restartDwmblocks() {
pkill dwmblocks
exec dwmblocks
}
# Wait for dwm to start
sleep 5
while true
do
if [ `date "+%S"` -eq 55 ]; then
restartDwmblocks
fi
sleep 1
done

View File

@ -1,13 +0,0 @@
#!/bin/sh
while true
do
echo `date "+%S"`
if [ `date "+%S"` -eq 0 ]; then
echo "EN PUNTO"
break
fi
sleep 1
done

View File

@ -1,73 +0,0 @@
#!/bin/sh
CACHEDIR=$HOME/.cache/trimTmp
getAllOccurrences() {
:> $CACHEDIR
find . -print0 | while read -d $'\0' file
do
echo "$file" | grep " " > /dev/null
if [ $? -eq 1 ]; then
continue
fi
echo "$file -> ${file// /}"
echo "$file" >> $CACHEDIR
done
}
getNewOccurrences() {
getAllOccurrences > /dev/null
for file in `cat $CACHEDIR`
do
echo "$file" | grep " " > /dev/null
if [ $? -eq 1 ]; then
continue
fi
echo "$file -> ${file// /}"
mv "$file" "${file// /}"
getNewOccurrences
exit
done
}
# IFS: https://bash.cyberciti.biz/guide/$IFS
doTheTrimming() {
#touch $CACHEDIR
getAllOccurrences
echo -n "Do you want all the changes? [y/N] "
read answer
IFS=$'\n'
if [ $answer = "y" ]; then
for file in `cat $CACHEDIR`
do
echo "$file" | grep " " > /dev/null
if [ $? -eq 1 ]; then
continue
fi
echo "$file -> ${file// /}"
mv "$file" "${file// /}"
getNewOccurrences
exit
done
fi
#rm $CACHEDIR
}
doTheTrimming

View File

@ -1,9 +0,0 @@
#!/bin/sh
nm-applet 2>&1 > /dev/null &
if [ "$1" = "f" ]; then
protonvpn-cli c -f
else
protonvpn-cli c US-FREE#12
fi
killall nm-applet

View File

@ -1,7 +0,0 @@
#!/bin/sh
protonvpn-cli d
netDevice="$(ip -4 route ls | awk '/^default/{print $5}')"
nmcli device down "$netDevice"
sleep 1
nmcli device up "$netDevice"

View File

@ -1,14 +0,0 @@
#!/bin/sh
while true
do
SSHOUTPUT=$(ssh-add -l | wc -l)
#if echo $SSHOUTPUT | grep -q "santilococo" ; then
if [ $SSHOUTPUT -eq 3 ]; then
pkill "mono"
exit
fi
sleep 1
done

View File

@ -1,5 +0,0 @@
#!/bin/bash
# Generated by JetBrains Toolbox 1.22.10774 at 2021-12-08T09:35:58.955427
"/home/slococo/.local/share/JetBrains/Toolbox/apps/WebStorm/ch-0/212.5080.54/bin/webstorm.sh" "$@"

View File

@ -1,101 +0,0 @@
#
# /home/slococo/.nvidia-settings-rc
#
# Configuration file for nvidia-settings - the NVIDIA Settings utility
# Generated on Wed Oct 18 11:04:43 2023
#
# ConfigProperties:
RcFileLocale = C
DisplayStatusBar = No
SliderTextEntries = Yes
IncludeDisplayNameInConfigFile = No
UpdateRulesOnProfileNameChange = Yes
Timer = PowerMizer_Monitor_(GPU_0),Yes,1000
Timer = Thermal_Monitor_(GPU_0),Yes,1000
Timer = Memory_Used_(GPU_0),Yes,3000
# Attributes:
0/SyncToVBlank=1
0/LogAniso=0
0/FSAA=0
0/TextureClamping=1
0/FXAA=0
0/AllowFlipping=1
0/FSAAAppControlled=1
0/LogAnisoAppControlled=1
0/OpenGLImageSettings=1
0/FSAAAppEnhanced=0
0/ShowGraphicsVisualIndicator=0
[DPY:DVI-D-0]/RedBrightness=0.000000
[DPY:DVI-D-0]/GreenBrightness=0.000000
[DPY:DVI-D-0]/BlueBrightness=0.000000
[DPY:DVI-D-0]/RedContrast=0.000000
[DPY:DVI-D-0]/GreenContrast=0.000000
[DPY:DVI-D-0]/BlueContrast=0.000000
[DPY:DVI-D-0]/RedGamma=1.000000
[DPY:DVI-D-0]/GreenGamma=1.000000
[DPY:DVI-D-0]/BlueGamma=1.000000
[DPY:DVI-D-0]/Dithering=0
[DPY:DVI-D-0]/DitheringMode=0
[DPY:DVI-D-0]/DitheringDepth=0
[DPY:DVI-D-0]/DigitalVibrance=0
[DPY:DVI-D-0]/ColorSpace=0
[DPY:DVI-D-0]/ColorRange=0
[DPY:DVI-D-0]/SynchronousPaletteUpdates=0
[DPY:HDMI-0]/RedBrightness=0.000000
[DPY:HDMI-0]/GreenBrightness=0.000000
[DPY:HDMI-0]/BlueBrightness=0.000000
[DPY:HDMI-0]/RedContrast=0.000000
[DPY:HDMI-0]/GreenContrast=0.000000
[DPY:HDMI-0]/BlueContrast=0.000000
[DPY:HDMI-0]/RedGamma=1.000000
[DPY:HDMI-0]/GreenGamma=1.000000
[DPY:HDMI-0]/BlueGamma=1.000000
[DPY:HDMI-0]/Dithering=0
[DPY:HDMI-0]/DitheringMode=0
[DPY:HDMI-0]/DitheringDepth=0
[DPY:HDMI-0]/DigitalVibrance=0
[DPY:HDMI-0]/ColorSpace=0
[DPY:HDMI-0]/ColorRange=0
[DPY:HDMI-0]/SynchronousPaletteUpdates=0
[DPY:DP-0]/Dithering=0
[DPY:DP-0]/DitheringMode=0
[DPY:DP-0]/DitheringDepth=0
[DPY:DP-0]/ColorSpace=0
[DPY:DP-0]/ColorRange=0
[DPY:DP-0]/SynchronousPaletteUpdates=0
[DPY:DP-1]/Dithering=0
[DPY:DP-1]/DitheringMode=0
[DPY:DP-1]/DitheringDepth=0
[DPY:DP-1]/ColorSpace=0
[DPY:DP-1]/ColorRange=0
[DPY:DP-1]/SynchronousPaletteUpdates=0
[DPY:DP-2]/Dithering=0
[DPY:DP-2]/DitheringMode=0
[DPY:DP-2]/DitheringDepth=0
[DPY:DP-2]/ColorSpace=0
[DPY:DP-2]/ColorRange=0
[DPY:DP-2]/SynchronousPaletteUpdates=0
[DPY:DP-3]/Dithering=0
[DPY:DP-3]/DitheringMode=0
[DPY:DP-3]/DitheringDepth=0
[DPY:DP-3]/ColorSpace=0
[DPY:DP-3]/ColorRange=0
[DPY:DP-3]/SynchronousPaletteUpdates=0
[DPY:DP-4]/Dithering=0
[DPY:DP-4]/DitheringMode=0
[DPY:DP-4]/DitheringDepth=0
[DPY:DP-4]/ColorSpace=0
[DPY:DP-4]/ColorRange=0
[DPY:DP-4]/SynchronousPaletteUpdates=0
[DPY:DP-5]/Dithering=0
[DPY:DP-5]/DitheringMode=0
[DPY:DP-5]/DitheringDepth=0
[DPY:DP-5]/ColorSpace=0
[DPY:DP-5]/ColorRange=0
[DPY:DP-5]/SynchronousPaletteUpdates=0
[GPU:0]/GPUPowerMizerMode=2
[GPU:0]/GPULogoBrightness=100

View File

@ -1,316 +0,0 @@
# Created by Octave 6.4.0, Sun Nov 07 09:39:07 2021 -03 <slococo@archLinux>
# name: local_packages
# type: cell
# rows: 1
# columns: 2
# name: <cell-element>
# type: scalar struct
# ndims: 2
1 1
# length: 17
# name: name
# type: sq_string
# elements: 1
# length: 2
io
# name: version
# type: sq_string
# elements: 1
# length: 5
2.6.3
# name: date
# type: sq_string
# elements: 1
# length: 10
2020-11-02
# name: author
# type: sq_string
# elements: 1
# length: 15
various authors
# name: maintainer
# type: sq_string
# elements: 1
# length: 41
Philip Nienhuis <prnienhuis@users.sf.net>
# name: title
# type: sq_string
# elements: 1
# length: 12
Input/Output
# name: description
# type: sq_string
# elements: 1
# length: 33
Input/Output in external formats.
# name: categories
# type: sq_string
# elements: 1
# length: 2
IO
# name: problems
# type: sq_string
# elements: 1
# length: 118
Default initial Java memory probably too small, increase with java.opts (see documentation). UNO support experimental.
# name: depends
# type: cell
# rows: 1
# columns: 1
# name: <cell-element>
# type: scalar struct
# ndims: 2
1 1
# length: 3
# name: package
# type: sq_string
# elements: 1
# length: 6
octave
# name: operator
# type: sq_string
# elements: 1
# length: 2
>=
# name: version
# type: sq_string
# elements: 1
# length: 5
4.2.0
# name: suggested
# type: sq_string
# elements: 1
# length: 36
windows (>= 1.2.1); Java JRE (> 1.8)
# name: autoload
# type: sq_string
# elements: 1
# length: 2
no
# name: license
# type: sq_string
# elements: 1
# length: 22
GPLv3+, simplified BSD
# name: url
# type: sq_string
# elements: 1
# length: 20
http://octave.sf.net
# name: dir
# type: sq_string
# elements: 1
# length: 29
/home/slococo/octave/io-2.6.3
# name: archprefix
# type: sq_string
# elements: 1
# length: 29
/home/slococo/octave/io-2.6.3
# name: loaded
# type: bool
0
# name: <cell-element>
# type: scalar struct
# ndims: 2
1 1
# length: 13
# name: name
# type: sq_string
# elements: 1
# length: 10
statistics
# name: version
# type: sq_string
# elements: 1
# length: 5
1.4.2
# name: date
# type: sq_string
# elements: 1
# length: 10
2020-03-23
# name: author
# type: sq_string
# elements: 1
# length: 15
various authors
# name: maintainer
# type: sq_string
# elements: 1
# length: 47
Octave-Forge community <maintainers@octave.org>
# name: title
# type: sq_string
# elements: 1
# length: 10
Statistics
# name: description
# type: sq_string
# elements: 1
# length: 43
Additional statistics functions for Octave.
# name: categories
# type: sq_string
# elements: 1
# length: 10
Statistics
# name: depends
# type: cell
# rows: 1
# columns: 2
# name: <cell-element>
# type: scalar struct
# ndims: 2
1 1
# length: 3
# name: package
# type: sq_string
# elements: 1
# length: 6
octave
# name: operator
# type: sq_string
# elements: 1
# length: 2
>=
# name: version
# type: sq_string
# elements: 1
# length: 5
4.0.0
# name: <cell-element>
# type: scalar struct
# ndims: 2
1 1
# length: 3
# name: package
# type: sq_string
# elements: 1
# length: 2
io
# name: operator
# type: sq_string
# elements: 1
# length: 2
>=
# name: version
# type: sq_string
# elements: 1
# length: 6
1.0.18
# name: license
# type: sq_string
# elements: 1
# length: 21
GPLv3+, public domain
# name: url
# type: sq_string
# elements: 1
# length: 20
http://octave.sf.net
# name: dir
# type: sq_string
# elements: 1
# length: 37
/home/slococo/octave/statistics-1.4.2
# name: archprefix
# type: sq_string
# elements: 1
# length: 37
/home/slococo/octave/statistics-1.4.2

View File

@ -1,65 +0,0 @@
# Night light
redshift -P -O 2750 &> /dev/null &
# Disable mouse acceleration
xset m 0 0
xset r rate 300 50
# Restore wallpaper
nitrogen --restore 2> /dev/null &
# Run dwmblocks
dwmblocks &
# Launch dunst
dunst 2> /dev/null &
# Launch clipboard daemon
clipmenud &
# Hides mouse
unclutter &
# Compositor
picom &
#picom --experimental-backends &
#xcompmgr -c &
#xcompmgr -c -C -t-5 -l-5 -r4.2 -o.55 &
# For java starting as blank windows
#wmname LG3D
# Sound configuration
~/.local/bin/sound &
xset r rate 300 50
if [[ -v LAPTOP ]]; then
# Enable automatic fan control
macfanctld
# Set brightness
xbacklight -set 45
# Set the governor
sudo ~/.local/bin/setGovernor > /dev/null &
else
# Faster scrolling
imwheel -b 45
# Move mouse focus to middle of first screen
xdotool mousemove --sync --screen=$1 960 500
# Restart network
~/.local/bin/netRestart &
fi
# Fix dbus BUG with GNOME keyring
dbus-update-activation-environment --systemd DISPLAY
# Start GNOME keyring
eval $(gnome-keyring-daemon --start)
export SSH_AUTH_SOCK
exec $HOME/.local/bin/startdwm

View File

@ -1,60 +0,0 @@
# Runs only once https://unix.stackexchange.com/questions/71253/what-should-shouldnt-go-in-zshenv-zshrc-zlogin-zprofile-zlogout
export XDG_CONFIG_HOME="$HOME"/.config
export XDG_CACHE_HOME="$HOME"/.cache
export XDG_DATA_HOME="$HOME"/.local/share
export XDG_STATE_HOME="$HOME"/.local/state
export TERM=st-256color
export TERMINAL=st
export GOPATH="$HOME"/.config/go
#export CM_DIR="$XDG_CACHE_HOME/clipmenu"
export CM_SELECTIONS="clipboard"
export CM_DEBUG=1
export CM_OUTPUT_CLIP=0
export CM_MAX_CLIPS=1000
export CM_IGNORE_WINDOW="Bitwarden|KeePass"
export _JAVA_AWT_WM_NONREPARENTING=1
export PAGER='nvimpager -p'
#export PAGER='vimpager'
export R_HOME_USER="$HOME"/.config/R
export R_PROFILE_USER="$HOME"/.config/R/.Rprofile
export R_LIBS_USER="$HOME"/.config/R/library
export R_HISTFILE="$HOME"/.config/R/.Rhistory
export QT_QPA_PLATFORMTHEME=gtk2
# Process terminated. Couldn't find a valid ICU package installed on the system in NET
# Workaround live share vs code
export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
export CARGO_HOME="$XDG_DATA_HOME"/cargo
export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv
#export GNUPGHOME="$XDG_DATA_HOME"/gnupg
export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
export XCURSOR_PATH=/usr/share/icons:${XDG_DATA_HOME}/icons
export LESSHISTFILE="$XDG_CACHE_HOME"/less/history
export TERMINFO="$XDG_DATA_HOME"/terminfo
export TERMINFO_DIRS="$XDG_DATA_HOME"/terminfo:/usr/share/terminfo
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME"/npm/npmrc
export NVM_DIR="$XDG_DATA_HOME"/nvm
export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass
export PSQL_HISTORY="$XDG_DATA_HOME/psql_history"
export ZSH="$XDG_DATA_HOME"/oh-my-zsh
export ZDOTDIR="$HOME"/.config/zsh
export BUNDLE_USER_CONFIG="$XDG_CONFIG_HOME"/bundle
export BUNDLE_USER_CACHE="$XDG_CACHE_HOME"/bundle
export BUNDLE_USER_PLUGIN="$XDG_DATA_HOME"/bundle
export NUGET_PACKAGES="$XDG_CACHE_HOME"/NuGetPackages
export PATH="$HOME/.local/bin:$PATH:$HOME/.local/share/gem/ruby/3.0.0/bin"
export PATH="$PATH:$HOME/.local/share/JetBrains/Toolbox/scripts"
if grep -q "i5" /proc/cpuinfo; then
export LAPTOP=""
fi
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
if [ -v LAPTOP ]; then
exec startx &> /dev/null
else
exec startx
fi
fi

View File

@ -1,7 +0,0 @@
Section "InputClass"
Identifier "Keyboard0"
MatchIsKeyboard "on"
Option "XkbLayout" "us"
Option "XkbModel" "pc105"
Option "XkbVariant" "intl-unicode"
EndSection

View File

@ -1,50 +0,0 @@
#Section "Monitor"
# Identifier "DVI"
# ModelName "LG Electronics MP59G"
# HorizSync 30.0 - 85.0
# VertRefresh 40.0 - 75.0
# Option "DPMS"
#EndSection
#
#Section "Screen"
# Identifier "Screen0"
# Device "Device0"
# Monitor "DVI"
# DefaultDepth 24
# Option "Stereo" "0"
# Option "nvidiaXineramaInfoOrder" "DFP-0"
# #Option "metamodes" "nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
# Option "metamodes" "DVI-D-0: nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}, HDMI-0: nvidia-auto-select +1920+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
# #Option "metamodes" "HDMI-0: nvidia-auto-select +1920+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}, DVI-D-0: nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
# Option "SLI" "Off"
# Option "MultiGPU" "Off"
# Option "BaseMosaic" "off"
# SubSection "Display"
# Depth 24
# EndSubSection
#EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "LG Electronics M2380A"
HorizSync 30.0 - 85.0
VertRefresh 40.0 - 75.0
Option "DPMS"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-0"
Option "metamodes" "nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection

View File

@ -1,7 +0,0 @@
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection

View File

@ -1,12 +0,0 @@
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Option "Xinerama" "0"
EndSection
Section "ServerFlags"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
Option "BlankTime" "0"
EndSection

View File

@ -1,6 +0,0 @@
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "NVIDIA GeForce GTX 1060 6GB"
EndSection

View File

@ -1,4 +0,0 @@
#!/bin/sh
echo EHC1 | sudo tee /proc/acpi/wakeup > /dev/null
echo EHC2 | sudo tee /proc/acpi/wakeup > /dev/null

View File

@ -1,44 +0,0 @@
#!/usr/bin/env bash
cloneAndMake() {
if [ -z "$password" ]; then
password=$(whiptail --passwordbox "Enter your password" 8 25 3>&1 1>&2 2>&3)
echo "$password" | sudo -S bash -c "" > /dev/null 2>&1
fi
local TERM=ansi; whiptail --infobox "Downloading '${1}'" 7 0
git clone "$2"
makeMsg=laptop && [[ -v LAPTOP ]] || makeMsg=install
(cd "$1" || { echo "Couldn't cd into '$1'." 1>&2 && exit 1; }; echo "$password" | sudo make "$makeMsg")
}
downloadAndInstallPackages() {
DOTFILES_CONFIG="$HOME/.config"
cd "$DOTFILES_CONFIG" || { echo "Couldn't cd into '$DOTFILES_CONFIG'." 1>&2 && exit 1; }
if [[ ! -d "cdwmblocks" ]]; then
cloneAndMake "cdwmblocks" "https://gitlab.com/slococo/cdwmblocks.git"
fi
if [[ ! -d "cdwm" ]]; then
cloneAndMake "cdwm" "https://gitlab.com/slococo/cdwm.git"
fi
if [[ ! -d "cst" ]]; then
cloneAndMake "cst" "https://gitlab.com/slococo/cst.git"
fi
if [[ ! -d "cdmenu" ]]; then
cloneAndMake "cdmenu" "https://gitlab.com/slococo/cdmenu.git"
fi
if [[ ! -d "clipmenu" ]]; then
cloneAndMake "clipmenu" "https://github.com/cdown/clipmenu.git"
fi
if [[ ! -d "cslock" ]]; then
cloneAndMake "cslock" "https://gitlab.com/slococo/cslock.git"
fi
}
runScript() {
downloadAndInstallPackages
}
runScript