Adjusts after using the system for some time
This commit is contained in:
@@ -11,17 +11,20 @@ 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.
|
||||
# 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.
|
||||
@@ -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
|
||||
@@ -52,6 +55,9 @@ bspc config click_to_focus false
|
||||
|
||||
bspc config pointer_modifier mod1
|
||||
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 &
|
||||
@@ -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
|
||||
@@ -37,6 +42,9 @@ bspc config click_to_focus false
|
||||
|
||||
bspc config pointer_modifier mod1
|
||||
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 &
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# See dunst(5) for all configuration options
|
||||
|
||||
[global]
|
||||
### Display ###
|
||||
### Display ###
|
||||
|
||||
# Which monitor should the notifications be displayed on.
|
||||
monitor = 0
|
||||
@@ -276,10 +276,10 @@
|
||||
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
|
||||
@@ -287,8 +287,8 @@
|
||||
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"
|
||||
@@ -297,23 +297,23 @@
|
||||
# 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
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
@@ -55,7 +60,7 @@ opacity-rule = [
|
||||
"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,12 +215,12 @@ 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 = 'dock'", # Polybar
|
||||
"window_type = 'desktop'",
|
||||
"window_type = 'utility'",
|
||||
"window_type = 'dialog'",
|
||||
@@ -223,8 +230,10 @@ blur-background-exclude = [
|
||||
"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.
|
||||
@@ -443,5 +452,4 @@ wintypes:
|
||||
dnd = { shadow = false; }
|
||||
popup_menu = { opacity = 1.0; }
|
||||
dropdown_menu = { opacity = 1.0; }
|
||||
};
|
||||
|
||||
};
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
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
|
||||
|
||||
####### lock computer #######
|
||||
alt + l
|
||||
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
|
||||
|
||||
|
||||
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}
|
||||
|
||||
@@ -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
|
||||
|
||||
22
install-scripts/install-steam.sh
Normal file
22
install-scripts/install-steam.sh
Normal 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"
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user