Adjusts after using the system for some time

This commit is contained in:
2022-03-06 09:40:49 +01:00
parent e0e26d4488
commit 768a45b3d4
13 changed files with 869 additions and 750 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -11,18 +11,21 @@ pgrep -x sxhkd > /dev/null || sxhkd &
# Run xrandr in the terminal.
#xrandr -s 1920x1080 &
bspc monitor -d 1 2 3 4 5 6 7 8 9 0
# Monitor Setup / Multi monitor and desktops
#bspc monitor -d 1 2 3 4 5 6 7 8 9 0
# Desktops / Workspaces 1-9 + 0 = Desktop 10
bspc monitor DP-2 -d 1 2 3 4 5 6 7 8 9
#bspc monitor DP-2 -d 1 2 3 4 5 6 7
#bspc monitor DP-1 -d 8
#bspc monitor DP-7 -d 9
#bspc monitor DP-7 -d 8 9
# Top padding on the other monitors.
#bspc config -m DP-1 top_padding 0
#bspc config -m DP-7 top_padding 0
# Top padding monitors so there is room for Polybar.
#bspc config -m DP-1 top_padding 0
#bspc config -m DP-2 top_padding 28
#bspc config -m DP-7 top_padding 0
# BSPwm - Setting.
bspc config border_width 1
@@ -33,7 +36,7 @@ bspc config focused_border_color "#FF0A1B2A"
bspc config window_gap 7
bspc config split_ratio 0.50
# top_padding - Polybar.
# top_padding so there is room for Polybar.
bspc config top_padding 28
bspc config bottom_padding 0
bspc config left_padding 0
@@ -51,7 +54,10 @@ bspc config pointer_follows_monitor true
bspc config click_to_focus false
bspc config pointer_modifier mod1
bspc config pointer_action1 resize_side
bspc config pointer_action1 resize_side
bspc config pointer_action3 move
#bspc config pointer_action2 resize_corner
# Rule Commands - General Syntax.
# bspc rule -a, --add (<class_name>|*)[:(<instance_name>|\*)[:(<name>|*)]]
@@ -66,25 +72,31 @@ bspc config pointer_action1 resize_side
bspc rule -a Nitrogen state=floating follow=on center=true rectangle=1050x700+0+0
bspc rule -a Screenkey manage=off
bspc rule -a xfreerdp state=floating
bspc rule -a xfreerdp state=floating center=true
bspc rule -a Gvncviewer state=floating center=true
bspc rule -a Google-chrome desktop=^2 follow=on border=off
bspc rule -a Mozilla Firefox desktop=^2 follow=on border=off
bspc rule -a Gimp desktop=^6 follow=on layer=above border=off
bspc rule -a Inkscape desktop=^7 follow=on border=off
bspc rule -a LibreCAD desktop=^7 follow=on border=off
bspc rule -a mpv desktop=^9 state=floating follow=on
bspc rule -a Code desktop=^3 follow=on border=off
bspc rule -a TeamViewer desktop=^8 state=floating follow=on border=off
bspc rule -a Steam desktop=^6 follow=on border=off
bspc rule -a Google-chrome desktop=1 follow=on border=off
bspc rule -a Mozilla Firefox desktop=1 follow=on border=off
bspc rule -a Code desktop=3 follow=on border=off
bspc rule -a TeamViewer desktop=5 state=floating center=true follow=on border=off
bspc rule -a Steam desktop=6 follow=on border=off
bspc rule -a Gimp desktop=7 follow=on layer=above border=off
bspc rule -a Inkscape desktop=7 follow=on border=off
bspc rule -a LibreCAD desktop=7 follow=on border=off
bspc rule -a mpv desktop=7 state=fullscreen follow=on border=off
# Automatically start up programs.
picom &
xsetroot -cursor_name left_ptr &
nitrogen --restore &
pkill picom
sleep 1
picom -b --experimental-backends &
$HOME/.config/polybar/run-polybar.sh &
xfce4-power-manager &
# lock computer automatically after X time of minutes.
xautolock -time 120 -locker "xsecurelock" -detectsleep -secure &
xautolock -time 120 -locker "xsecurelock" -detectsleep -secure &

View File

@@ -5,15 +5,16 @@ pgrep -x sxhkd > /dev/null || sxhkd &
#bspc monitor (-d or NAME) also the number that should be on that screen.
#example of reverse order on screens.
#bspc monitor Screen-1 -s Screen-2
#bspc monitor -d I II III IV V VI VII VIII IX X
# xrandr --listmonitors or xrandr -q | grep connected
# set the screen resolution and you can find your maximum resolution with this Command.
# Run xrandr in the terminal.
xrandr -s 1920x1080 &
bspc monitor -d 1 2 3 4 5 6 7 8 9 10
bspc monitor -d 1 2 3 4 5 6 7 8 9 0
# BSPwm - Setting.
bspc config border_width 1
bspc config normal_border_color "#0A1B2A"
bspc config active_border_color "#313745"
@@ -22,7 +23,11 @@ bspc config focused_border_color "#FF0A1B2A"
bspc config window_gap 7
bspc config split_ratio 0.50
# top_padding so there is room for Polybar.
bspc config top_padding 28
bspc config bottom_padding 0
bspc config left_padding 0
bspc config right_padding 0
bspc config borderless_monocle true
bspc config gapless_monocle true
@@ -36,7 +41,10 @@ bspc config pointer_follows_monitor true
bspc config click_to_focus false
bspc config pointer_modifier mod1
bspc config pointer_action1 resize_side
bspc config pointer_action1 resize_side
bspc config pointer_action3 move
#bspc config pointer_action2 resize_corner
# Rule Commands - General Syntax.
# bspc rule -a, --add (<class_name>|*)[:(<instance_name>|\*)[:(<name>|*)]]
@@ -51,20 +59,31 @@ bspc config pointer_action1 resize_side
bspc rule -a Nitrogen state=floating follow=on center=true rectangle=1050x700+0+0
bspc rule -a Screenkey manage=off
bspc rule -a xfreerdp state=floating center=true
bspc rule -a Gvncviewer state=floating center=true
bspc rule -a Google-chrome desktop=1 follow=on border=off
bspc rule -a Mozilla Firefox desktop=1 follow=on border=off
bspc rule -a Code desktop=3 follow=on border=off
bspc rule -a TeamViewer desktop=5 state=floating center=true follow=on border=off
bspc rule -a Steam desktop=6 follow=on border=off
bspc rule -a Gimp desktop=7 follow=on layer=above border=off
bspc rule -a Inkscape desktop=7 follow=on border=off
bspc rule -a LibreCAD desktop=7 follow=on border=off
bspc rule -a mpv desktop=7 state=fullscreen follow=on border=off
bspc rule -a Google-chrome desktop='^2' follow=on border=off
bspc rule -a Firefox desktop='^2' follow=on border=off
bspc rule -a Gimp desktop='^7' follow=on layer=above border=off
bspc rule -a Inkscape desktop='^8' follow=on border=off
bspc rule -a LibreCAD desktop='^9' follow=on border=off
bspc rule -a mpv desktop='^10' state=floating
# Automatically start up programs.
picom &
xsetroot -cursor_name left_ptr &
nitrogen --restore &
pkill picom
sleep 1
picom -b --experimental-backends &
$HOME/.config/polybar/run-polybar.sh &
xfce4-power-manager &
# lock computer automatically after X time of minutes.
xautolock -time 15 -locker "xsecurelock" -detectsleep -secure &
#xscreensaver -nosplash &
xautolock -time 120 -locker "xsecurelock" -detectsleep -secure &

View File

@@ -1,11 +1,11 @@
# See dunst(5) for all configuration options
[global]
### Display ###
### 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
@@ -18,7 +18,7 @@
# 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.
@@ -32,63 +32,63 @@
# 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 = "0x0-30+20"
# Position the notification in the top right corner
origin = top-right
# Maximum number of notification (0 means no limit)
notification_limit = 0
### Progress bar ###
# Turn on the progess bar. It appears when a progress hint is passed with
# for example dunstify -h int:value:12
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
# notification_limit).
indicate_hidden = 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.). (X11 only)
transparency = 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 = 1
# Defines color of the frame around the notification window.
frame_color = "#404242"
# Define a color for the separator.
# possible values are:
# * auto: dunst tries to find a color fitting to the background;
@@ -96,25 +96,25 @@
# * 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
### 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>
@@ -138,7 +138,7 @@
# 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
@@ -150,103 +150,103 @@
# %% 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
# 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/top/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/xdg-open
# 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
# Define the corner radius of the notification window
# 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
@@ -256,9 +256,9 @@
# 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.
@@ -275,20 +275,20 @@
mouse_left_click = close_current
mouse_middle_click = do_action, close_current
mouse_right_click = close_all
# Experimental features that may or may not work correctly. Do not expect them
# 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.
# 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
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
[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"
@@ -296,24 +296,24 @@
timeout = 7
# Icon for notifications with low urgency, uncomment to enable
#default_icon = /path/to/icon
[urgency_normal]
background = "#161e24"
[urgency_normal]
background = "#161e24"
foreground = "#fefefe"
frame_color = "#404242"
timeout = 10
# Icon for notifications with normal urgency, uncomment to enable
#default_icon = /path/to/icon
[urgency_critical]
background = "#900000"
[urgency_critical]
background = "#900000"
foreground = "#f5f5f5"
frame_color = "#ff0000"
timeout = 0
# Icon for notifications with critical urgency, uncomment to enable
#default_icon = /path/to/icon
# Every section that isn't one of the above is interpreted as a rules to
# 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
@@ -435,4 +435,4 @@ background = "#900000"
# appname = "some_volume_notifiers"
# set_stack_tag = "volume"
#
# vim: ft=cfg
# vim: ft=cfg

View File

@@ -1,7 +1,7 @@
# vim:fileencoding=utf-8:ft=conf:foldmethod=marker
#: Fonts {{{
#: kitty has very powerful font management. You can configure
#: individual font faces and even specify special fonts for particular
#: characters.
@@ -163,7 +163,7 @@ box_drawing_scale 0.001, 1, 1.5, 2
#: }}}
#: Cursor customization {{{
cursor #f2f2f2
#: Default cursor color
@@ -203,7 +203,7 @@ cursor_stop_blinking_after 99.0
#: }}}
#: Scrollback {{{
scrollback_lines 5000
#: Number of lines of history to keep in memory for scrolling back.
@@ -259,7 +259,7 @@ touch_scroll_multiplier 1.0
#: }}}
#: Mouse {{{
mouse_hide_wait 3.0
mouse_map right click paste_from_clipboard
@@ -355,7 +355,7 @@ pointer_shape_when_dragging beam
#: Valid values are: arrow, beam and hand
#: Mouse actions {{{
#: Mouse buttons can be remapped to perform arbitrary actions. The
#: syntax for doing so is:
@@ -436,7 +436,7 @@ mouse_map shift+right press ungrabbed,grabbed mouse_selection extend
#: }}}
#: Performance tuning {{{
repaint_delay 10
#: Delay (in milliseconds) between screen updates. Decreasing it,
@@ -467,7 +467,7 @@ sync_to_monitor yes
#: }}}
#: Terminal bell {{{
enable_audio_bell no
#: Enable/disable the audio bell. Useful in environments that require
@@ -496,7 +496,7 @@ command_on_bell none
#: }}}
#: Window layout {{{
remember_window_size yes
initial_window_width 800
initial_window_height 500
@@ -632,7 +632,7 @@ confirm_os_window_close 0
#: }}}
#: Tab bar {{{
tab_bar_edge bottom
#: Which edge to show the tab bar on, top or bottom
@@ -734,7 +734,7 @@ tab_bar_background none
#: }}}
#: Color scheme {{{
foreground #f2f2f2
background #09141E
@@ -805,7 +805,7 @@ selection_background #fffacd
#: The background for text selected with the mouse.
#: The color table {{{
#: The 256 terminal colors. There are 8 basic colors, each color has a
#: dull and bright version, for the first 16 colors. You can set the
#: remaining 240 colors as color16 to color255.
@@ -872,7 +872,7 @@ mark3_background #f274bc
#: }}}
#: Advanced {{{
shell .
#: The shell program to execute. The default value of . means to use
@@ -980,6 +980,7 @@ allow_hyperlinks yes
term xterm-kitty
# term xterm-kitty
#: The value of the TERM environment variable to set. Changing this
#: can break many terminal programs, only change it if you know what
#: you are doing, not because you read some advice on Stack Overflow
@@ -994,7 +995,7 @@ term xterm-kitty
#: }}}
#: OS specific tweaks {{{
wayland_titlebar_color system
#: Change the color of the kitty window's titlebar on Wayland systems
@@ -1081,7 +1082,7 @@ linux_display_server auto
#: }}}
#: Keyboard shortcuts {{{
#: Keys are identified simply by their lowercase unicode characters.
#: For example: ``a`` for the A key, ``[`` for the left square bracket
#: key, etc. For functional keys, such as ``Enter or Escape`` the
@@ -1161,7 +1162,7 @@ clear_all_shortcuts no
#: including the builtin ones.
#: Clipboard {{{
map kitty_mod+c copy_to_clipboard
#: There is also a copy_or_interrupt action that can be optionally
@@ -1190,7 +1191,7 @@ map kitty_mod+v paste_from_clipboard
#: }}}
#: Scrolling {{{
map kitty_mod+up scroll_line_up
map kitty_mod+down scroll_line_down
map kitty_mod+page_up scroll_page_up
@@ -1212,7 +1213,7 @@ map kitty_mod+h show_scrollback
#: }}}
#: Window management {{{
#map kitty_mod+enter new_window
#: You can open a new window running an arbitrary program, for
@@ -1266,7 +1267,7 @@ map kitty_mod+0 tenth_window
#: }}}
#: Tab management {{{
map kitty_mod+right next_tab
map kitty_mod+left previous_tab
map kitty_mod+t new_tab
@@ -1292,7 +1293,7 @@ map kitty_mod+alt+t set_tab_title
#: }}}
#: Layout management {{{
map kitty_mod+l next_layout
#: You can also create shortcuts to switch to specific layouts::
@@ -1306,7 +1307,7 @@ map kitty_mod+l next_layout
#: }}}
#: Font sizes {{{
#: You can change the font size for all top-level kitty OS windows at
#: a time or only the current one.
@@ -1325,7 +1326,7 @@ map kitty_mod+backspace change_font_size all 0
#: }}}
#: Select and act on visible text {{{
#: Use the hints kitten to select text and either pass it to an
#: external program or insert it into the terminal or copy it to the
#: clipboard.
@@ -1376,7 +1377,7 @@ map kitty_mod+p>y kitten hints --type hyperlink
#: }}}
#: Miscellaneous {{{
map kitty_mod+f11 toggle_fullscreen
map kitty_mod+f10 toggle_maximized
map kitty_mod+u kitten unicode_input
@@ -1414,7 +1415,7 @@ map kitty_mod+delete clear_terminal reset active
#: .. code-block:: sh
#: scroll-and-clear-screen() {
#: printf '\n%.0s' {1..$LINES}
#: printf '\n%.0s' {1..$LINES}
#: zle clear-screen
#: }
#: zle -N scroll-and-clear-screen
@@ -1463,4 +1464,4 @@ map kitty_mod+f6 debug_config
#: }}}
#: }}}
#: }}}

View File

@@ -1,9 +1,14 @@
#################################
### Martin - Config ###
#picom --experimental-backends &
#-------------------------------#
# Transparency / Opacity #
#################################
# Use the opacity-rule to git transparency.
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
@@ -42,7 +47,7 @@ inactive-opacity = 1.0;
# and there is also whether there is Focused or Unfocused.
#
#opacity-rule = [
# "95:class_g = 'kitty' && focused",
# "95:class_g = 'kitty' && focused",
# "75:class_g = 'kitty' && !focused",
# "95:class_g = 'Alacritty' && focused",
# "75:class_g = 'Alacritty' && !focused"
@@ -50,12 +55,12 @@ inactive-opacity = 1.0;
# Remember not to add comma "," to the last rule... but it must be at the end of all others.
opacity-rule = [
"92:class_g = 'Rofi'",
"95:class_g = 'kitty' && focused",
"75:class_g = 'kitty' && !focused",
"95:class_g = 'Alacritty' && focused",
"75:class_g = 'Alacritty' && !focused"
];
"92:class_g = 'Rofi'",
"95:class_g = 'kitty' && focused",
"75:class_g = 'kitty' && !focused",
"95:class_g = 'Alacritty' && focused",
"75:class_g = 'Alacritty' && !focused"
];
#################################
# Shadows #
@@ -67,22 +72,22 @@ opacity-rule = [
# unless explicitly requested using the wintypes option.
#
#shadow = false;
shadow = true;
#shadow = true;
# The blur radius for shadows, in pixels. (defaults to 12)
# shadow-radius = 12;
shadow-radius = 14;
#shadow-radius = 14;
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
shadow-opacity = 0.3;
#shadow-opacity = 0.3;
# The left offset for shadows, in pixels. (defaults to -15)
# shadow-offset-x = -15;
shadow-offset-x = -15;
#shadow-offset-x = -15;
# The top offset for shadows, in pixels. (defaults to -15)
# shadow-offset-y = -15;
shadow-offset-y = -15;
#shadow-offset-y = -15;
# Red color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-red = 0;
@@ -102,13 +107,13 @@ shadow-offset-y = -15;
# 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"
];
#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 = []
@@ -131,16 +136,16 @@ shadow-exclude = [
# Fade windows in/out when opening/closing and when opacity changes,
# unless no-fading-openclose is used.
# fading = false;
fading = false;
#fading = true;
# 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;
fade-in-step = 0.01;
# 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;
fade-out-step = 0.01;
# The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
# fade-delta = 10;
@@ -166,7 +171,7 @@ shadow-exclude = [
# Exclude conditions for rounded corners.
#rounded-corners-exclude = [
# "window_type = 'dock'",
# "window_type = 'dock'",
# "window_type = 'desktop'"
#];
@@ -189,6 +194,8 @@ shadow-exclude = [
# The name of the switch may change without prior notifications.
#blur-background = false;
blur-background = true;
blur-method = "dual_kawase";
blur-strength = 3;
# Blur background of windows when the window frame is not opaque.
# Implies:
@@ -208,23 +215,25 @@ blur-background = true;
#
#blur-kern = "3x3box";
#blur-kern = "5x5box";
blur-kern = "7x7box";
#blur-kern = "7x7box";
# Exclude conditions for background blur.
# blur-background-exclude = []
blur-background-exclude = [
"window_type = 'dock'",
"window_type = 'desktop'",
"window_type = 'utility'",
"window_type = 'dialog'",
"window_type = 'popup_menu'", #start_menu
"window_type = 'menu'",
"window_type = 'dropdown_menu'",
"window_type = 'tooltip'",
"window_type = 'splash'",
"class_g = 'slop'",
"_GTK_FRAME_EXTENTS@:c"
];
# "window_type = 'dock'", # Polybar
"window_type = 'desktop'",
"window_type = 'utility'",
"window_type = 'dialog'",
"window_type = 'popup_menu'", #start_menu
"window_type = 'menu'",
"window_type = 'dropdown_menu'",
"window_type = 'tooltip'",
"window_type = 'splash'",
"class_g = 'slop'",
"class_g = 'Google-chrome'",
"class_g = 'Firefox-esr'",
"_GTK_FRAME_EXTENTS@:c"
];
#################################
# General Settings #
@@ -240,7 +249,7 @@ backend = "glx";
#backend = "xrender";
# Enable/disable VSync.
# vsync = false;
vsync = false;
#vsync = true;
# Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
@@ -265,14 +274,14 @@ backend = "glx";
# Detect '_NET_WM_OPACITY' on client windows, useful for window managers
# not passing '_NET_WM_OPACITY' of client windows to frame windows.
#
# detect-client-opacity = false;
#detect-client-opacity = true;
#detect-client-opacity = false;
detect-client-opacity = true;
# Specify refresh rate of the screen. If not specified or 0, picom will
# try detecting this with X RandR extension.
#
# refresh-rate = 60;
#refresh-rate = 0;
refresh-rate = 0;
# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window,
# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy,
@@ -295,8 +304,8 @@ backend = "glx";
# 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;
#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
@@ -328,7 +337,7 @@ backend = "glx";
# practically happened) and may not work with blur-background.
# My tests show a 15% performance boost. Recommended.
#
# glx-no-stencil = false
glx-no-stencil = true
# GLX backend: Avoid rebinding pixmap on window damage.
# Probably could improve performance on rapid window content changes,
@@ -342,8 +351,8 @@ backend = "glx";
# 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;
#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
@@ -385,7 +394,7 @@ backend = "glx";
# 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 = "debug";
log-level = "warn";
# Set the log file.
@@ -438,10 +447,9 @@ log-level = "warn";
#
wintypes:
{
tooltip = { fade = true; shadow = true; opacity = 0.95; focus = true; full-shadow = false; };
dock = { shadow = false; clip-shadow-above = true; }
dnd = { shadow = false; }
popup_menu = { opacity = 1.0; }
dropdown_menu = { opacity = 1.0; }
};
tooltip = { fade = true; shadow = true; opacity = 0.95; focus = true; full-shadow = false; };
dock = { shadow = false; clip-shadow-above = true; }
dnd = { shadow = false; }
popup_menu = { opacity = 1.0; }
dropdown_menu = { opacity = 1.0; }
};

View File

@@ -58,18 +58,21 @@ c9 = #d15213
[bar/bspwmbar]
;monitor = ${env:MONITOR:HDMI-1}
;monitor = DP-2
width = 100%
height = 28
;offset-x = 1%
;offset-y = 1%
offset-x = 0%
offset-y = 0%
radius = 0
fixed-center = false
wm-restack = bspwm
override-redirect = true
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 1
line-size = 0
line-color = #dbdbdb
;# Ttransparent or Solid color border around Polybar. (Size in Pixels)
@@ -93,18 +96,15 @@ font-5 = "DejaVuSansMono Nerd Font:style=Book:size=12;2"
;font-6 = "DejaVu Sans:style=Regular:size=11;2"
modules-left = bspwm xwindow
;modules-center = mpd
modules-right = pulseaudio cpu memory wlan eth date temperature battery session
;modules-center =
modules-right = pulseaudio cpu memory date temperature session
; Models list - filesystem xbacklight alsa pulseaudio xkeyboard memory cpu wlan eth battery temperature date session
tray-position = right
tray-padding = 2
tray-padding = 1
;tray-background = #0063ff
wm-restack = bspwm
override-redirect = true
;scroll-up = bspwm-desknext
;scroll-down = bspwm-deskprev
@@ -113,7 +113,7 @@ cursor-scroll = ns-resize
[module/xwindow]
type = internal/xwindow
label = %title:0:30:...%
label = %title:0:55:...%
[module/xkeyboard]
type = internal/xkeyboard
@@ -261,7 +261,7 @@ ramp-signal-foreground = ${colors.foreground-alt}
[module/eth]
type = internal/network
interface = enp1s0
interface = enp5s0
interval = 3.0
format-connected-underline = #55aa55
@@ -279,7 +279,7 @@ format-disconnected =
type = internal/date
interval = 5
date =
date = "%d-%m"
date-alt = " %d-%m-%Y"
time = %H:%M
@@ -424,4 +424,4 @@ screenchange-reload = true
margin-top = 5
margin-bottom = 5
; vim:ft=dosini
; vim:ft=dosini

View File

@@ -1,8 +1,8 @@
#!/usr/bin/env bash
# Terminate already running bar instances
#killall -q polybar
pkill polybar
pkill polybar
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done

View File

@@ -8,7 +8,7 @@ super + shift + ctrl + alt + Escape
###################################
# Terminal“s primary and secondary.
# Terminal´s primary and secondary.
super + Return
kitty
@@ -46,8 +46,10 @@ super + shift + e
thunar
# Steam (flatpak run)
super + alt + s
flatpak run com.valvesoftware.Steam
super + ctrl + s
steam
# flatpak run com.valvesoftware.Steam
# Audio / Music
@@ -58,30 +60,46 @@ super + alt + m
pulsemixer --toggle-mute
super + alt + Up
pulsemixer --change-volume +5
pulsemixer --change-volume +1
super + alt + Down
pulsemixer --change-volume -5
pulsemixer --change-volume -1
XF86AudioRaiseVolume
pulsemixer --change-volume +5
pulsemixer --change-volume +1
XF86AudioLowerVolume
pulsemixer --change-volume -5
pulsemixer --change-volume -1
XF86AudioMute
pulsemixer --toggle-mute
super + ctrl + alt + m
kitty -e mocp
kitty -e mocpsteam
# Open .config folder in VS Code
super + ctrl + alt + c
kitty -e code ~/.config/
code -r ~/.config
# GVNCviewer
super + ctrl + g
gvncviewer 192.168.1.10:77
# NXw
super + ctrl + o
/opt/networkoptix/client/4.2.0.32840/bin/client-bin
# Remote Desktop Protocol (RDP)
super + ctrl + r
bash -ic 'rdp'
# Flameshot (Screenshot Software)
super + ctrl + alt + s
flameshot gui -p ~/Screenshots
# lock computer
super + l
super + alt + l
xsecurelock
@@ -207,4 +225,4 @@ super + alt + shift + {h,j,k,l}
# move a floating window
super + {Left,Down,Up,Right}
bspc node -v {-10 0,0 10,0 -10,10 0}
bspc node -v {-10 0,0 10,0 -10,10 0}

View File

@@ -1,13 +1,14 @@
#
# Hotkey - Config
# SXHKD Hotkey's config.
#
###################################
# Reload sxhkd config file.
alt + shift + ctrl + Escape
# Reload SXHKD Config.
shift + ctrl + alt + Escape
pkill -USR1 -x sxhkd
###################################
# Terminal“s primary and secondary.
# Terminal´s primary and secondary.
alt + Return
kitty
@@ -15,20 +16,20 @@ alt + shift + Return
alacritty
# Rofi launcher # # # # # # # # # # # # #
# Rofi launcher - Start # # # # # # # # # # # # # # # # # #
alt + r
rofi -show run
rofi -modi "run,window,filebrowser,ssh" -show run
alt + shift + r
rofi -modi "run,window,file-browser,ssh" -show run
alt + space
rofi -modi "run,window,filebrowser,ssh" -show run
alt + ctrl + m
. ~/.config/rofi/rofi-beats.sh
alt + ctrl + alt + w
shift + ctrl + alt + w
. ~/.config/rofi/rofi-wifi-menu.sh
# Rofi launcher # # # # # # # # # # # # #
# Rofi launcher - End # # # # # # # # # # # # # # # # # # #
alt + b
google-chrome
@@ -36,17 +37,71 @@ alt + b
alt + shift + b
firefox
# File Manager
alt + e
pcmanfm
alt + shift + ctrl + a
kitty -e pulsemixer
alt + shift + e
thunar
# Steam (flatpak run)
alt + ctrl + s
steam
# flatpak run com.valvesoftware.Steam
# Audio / Music
shift + alt + a
kitty -e pulsemixer
shift + alt + m
pulsemixer --toggle-mute
shift + alt + Up
pulsemixer --change-volume +1
shift + alt + Down
pulsemixer --change-volume -1
XF86AudioRaiseVolume
pulsemixer --change-volume +1
XF86AudioLowerVolume
pulsemixer --change-volume -1
XF86AudioMute
pulsemixer --toggle-mute
shift + ctrl + alt + m
kitty -e mocpsteam
####### lock computer #######
alt + l
shift + ctrl + alt + c
code -r ~/.config
# GVNCviewer
alt + ctrl + g
gvncviewer 192.168.1.10:77
# NXw
alt + ctrl + o
/opt/networkoptix/client/4.2.0.32840/bin/client-bin
# Remote Desktop Protocol (RDP)
alt + ctrl + r
bash -ic 'rdp'
# Flameshot (Screenshot Software)
shift + ctrl + alt + s
flameshot gui -p ~/Screenshots
# lock computer
shift + alt + l
xsecurelock
####### lock computer #######
#
#
@@ -65,7 +120,7 @@ alt + l
# quit/restart bspwm
alt + shift + ctrl + {q,r}
ctrl + alt + shift + {q,r}
bspc {quit,wm -r}
# close and kill
@@ -127,8 +182,14 @@ alt + {o,i}
bspc wm -h on
# focus or send to the given desktop
alt + {_,shift + }{1-9,0}
bspc {desktop -f,node -d} '^{1-9,10}'
#super + {_,shift + }{1-9,0}
# bspc {desktop -f,node -d} '^{1-9,10}'
alt + {1-9,0}
bspc desktop -f {1-9,10}
alt + shift + {1-9,0}
bspc node -d {1-9,10} -f
#
# Preselect
@@ -155,37 +216,13 @@ alt + ctrl + shift + space
#
# expand a window by moving one of its side outward
alt + ctrl + {h,j,k,l}
bspc node -z {left -50 0,bottom 0 50,top 0 -50,right 50 0}
shift + alt + {h,j,k,l}
bspc node -z {left -10 0,bottom 0 10,top 0 -10,right 10 0}
# contract a window by moving one of its side inward
alt + ctrl + shift + {h,j,k,l}
bspc node -z {right -50 0,top 0 50,bottom 0 -50,left 50 0}
ctrl + alt + shift + {h,j,k,l}
bspc node -z {right -10 0,top 0 10,bottom 0 -10,left 10 0}
# move a floating window
alt + {Left,Down,Up,Right}
bspc node -v {-50 0,0 50,0 -50,50 0}
#
# 88b d88 88 88 88
# 888b d888 88 "" 88
# 88`8b d8'88 88 88
# 88 `8b d8' 88 ,adPPYba, ,adPPYb,88 88 ,adPPYYba, 88 ,d8 ,adPPYba, 8b d8 ,adPPYba,
# 88 `8b d8' 88 a8P_____88 a8" `Y88 88 "" `Y8 aaaaaaaa 88 ,a8" a8P_____88 `8b d8' I8[ ""
# 88 `8b d8' 88 8PP""""""" 8b 88 88 ,adPPPPP88 """""""" 8888[ 8PP""""""" `8b d8' `"Y8ba,
# 88 `888' 88 "8b, ,aa "8a, ,d88 88 88, ,88 88`"Yba, "8b, ,aa `8b,d8' aa ]8I
# 88 `8' 88 `"Ybbd8"' `"8bbdP"Y8 88 `"8bbdP"Y8 88 `Y8a `"Ybbd8"' Y88' `"YbbdP"'
# d8'
# d8'
#
alt + ctrl + Up
amixer -D pulse sset Master 5%+
alt + ctrl + Down
amixer -D pulse sset Master 5%-
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
bspc node -v {-10 0,0 10,0 -10,10 0}

View File

@@ -17,10 +17,10 @@ sudo apt update && sudo apt upgrade -y
echo "Enter your user password, to continue if necessary"
# Core packages to be installed
sudo apt install -y xorg x11-xserver-utils arandr autorandr dialog bspwm sxhkd sddm picom polybar xautolock xsecurelock network-manager git kitty psmisc rofi pcmanfm tlp font-manager gvfs-backends nitrogen dunst cups smbclient lxpolkit xbacklight lxappearance htop mc xarchiver pulseaudio pulsemixer moc mpv npm cava curl tmux imagemagick feh sxiv scrot flameshot firefox-esr numlockx ranger neovim notify-osd neofetch flatpak timeshift rename gparted
sudo apt install -y xorg x11-xserver-utils arandr autorandr dialog bspwm sxhkd sddm picom polybar xautolock xsecurelock network-manager git kitty psmisc rofi pcmanfm font-manager gvfs-backends nitrogen dunst cups smbclient lxpolkit xbacklight lxappearance htop mc xarchiver pulseaudio pulsemixer moc mpv npm cava curl tmux imagemagick feh sxiv scrot flameshot firefox-esr numlockx ranger neovim notify-osd neofetch flatpak timeshift rename gparted xfce4-power-manager xfce4-settings
# Not for production version
read -p "Troubleshooting - Press a key to continue the installation."
#read -p "Troubleshooting - Press a key to continue the installation."
# Google Chrome - Download + Install ON / OFF
rm google-chrome-stable_current_amd64.deb

View File

@@ -0,0 +1,22 @@
#!/bin/bash
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
echo " "
echo " Install Steam via .DEB and APT & NVIDIA GPU libs-i386"
echo " "
echo " Enter your user password, to continue if necessary"
echo " "
echo " continues the installation in 3 seconds"
echo " "
echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
sleep 2
cd /tmp
wget https://steamcdn-a.akamaihd.net/client/installer/steam.deb
sudo apt install -y nvidia-driver-libs:i386
sudo apt install -y ./steam.deb
clear
echo " # # # # # RUN STEAM CORMAND: steam"

View File

@@ -59,12 +59,14 @@ echo "-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-'-"
sudo sh -c "echo 'deb http://deb.debian.org/debian/ testing main contrib non-free' >> /etc/apt/sources.list"
sudo sh -c "echo 'deb-src http://deb.debian.org/debian/ testing main contrib non-free' >> /etc/apt/sources.list"
sudo sh -c "echo 'Xcursor.theme: Nordzy-cursors' >> /etc/X11/Xresources/x11-common"
sudo sh -c "echo 'Xcursor.size: 18' >> /etc/X11/Xresources/x11-common"
echo " Add UPUP alias to bash under bash_aliases config."
touch ~/.bash_aliases
echo 'alias ls="ls --color=auto --group-directories-first -v -la"' >> ~/.bash_aliases
echo 'alias vi="nvim"' >> ~/.bash_aliases
echo 'alias upup="sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y"' >> ~/.bash_aliases
touch ~/.bashrc
echo 'alias ls="ls --color=auto --group-directories-first -v -la"' >> ~/.bashrc
echo 'alias vi="nvim"' >> ~/.bashrc
echo 'alias upup="sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y"' >> ~/.bashrc
# Echo Nitrogen config to files.
#echo "dirs=$HOME/wallpapers/1080p;" >> ~/.config/nitrogen/nitrogen.cfg