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.
|
# Run xrandr in the terminal.
|
||||||
#xrandr -s 1920x1080 &
|
#xrandr -s 1920x1080 &
|
||||||
|
|
||||||
|
bspc monitor -d 1 2 3 4 5 6 7 8 9 0
|
||||||
|
|
||||||
# Monitor Setup / Multi monitor and desktops
|
# Monitor Setup / Multi monitor and desktops
|
||||||
#bspc monitor -d 1 2 3 4 5 6 7 8 9 0
|
#bspc monitor -d 1 2 3 4 5 6 7 8 9 0
|
||||||
# Desktops / Workspaces 1-9 + 0 = Desktop 10
|
# 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-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-1 top_padding 0
|
||||||
|
#bspc config -m DP-2 top_padding 28
|
||||||
#bspc config -m DP-7 top_padding 0
|
#bspc config -m DP-7 top_padding 0
|
||||||
|
|
||||||
# BSPwm - Setting.
|
# BSPwm - Setting.
|
||||||
@@ -33,7 +36,7 @@ bspc config focused_border_color "#FF0A1B2A"
|
|||||||
bspc config window_gap 7
|
bspc config window_gap 7
|
||||||
|
|
||||||
bspc config split_ratio 0.50
|
bspc config split_ratio 0.50
|
||||||
# top_padding - Polybar.
|
# top_padding so there is room for Polybar.
|
||||||
bspc config top_padding 28
|
bspc config top_padding 28
|
||||||
bspc config bottom_padding 0
|
bspc config bottom_padding 0
|
||||||
bspc config left_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_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.
|
# Rule Commands - General Syntax.
|
||||||
# bspc rule -a, --add (<class_name>|*)[:(<instance_name>|\*)[:(<name>|*)]]
|
# 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 Nitrogen state=floating follow=on center=true rectangle=1050x700+0+0
|
||||||
bspc rule -a Screenkey manage=off
|
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 Google-chrome desktop=1 follow=on border=off
|
||||||
bspc rule -a Mozilla Firefox desktop=^2 follow=on border=off
|
bspc rule -a Mozilla Firefox desktop=1 follow=on border=off
|
||||||
bspc rule -a Gimp desktop=^6 follow=on layer=above border=off
|
bspc rule -a Code desktop=3 follow=on border=off
|
||||||
bspc rule -a Inkscape desktop=^7 follow=on border=off
|
bspc rule -a TeamViewer desktop=5 state=floating center=true follow=on border=off
|
||||||
bspc rule -a LibreCAD desktop=^7 follow=on border=off
|
bspc rule -a Steam desktop=6 follow=on border=off
|
||||||
bspc rule -a mpv desktop=^9 state=floating follow=on
|
bspc rule -a Gimp desktop=7 follow=on layer=above border=off
|
||||||
bspc rule -a Code desktop=^3 follow=on border=off
|
bspc rule -a Inkscape desktop=7 follow=on border=off
|
||||||
bspc rule -a TeamViewer desktop=^8 state=floating 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 Steam desktop=^6 follow=on border=off
|
|
||||||
|
|
||||||
|
|
||||||
# Automatically start up programs.
|
# Automatically start up programs.
|
||||||
picom &
|
xsetroot -cursor_name left_ptr &
|
||||||
nitrogen --restore &
|
nitrogen --restore &
|
||||||
|
|
||||||
|
pkill picom
|
||||||
|
sleep 1
|
||||||
|
picom -b --experimental-backends &
|
||||||
|
|
||||||
$HOME/.config/polybar/run-polybar.sh &
|
$HOME/.config/polybar/run-polybar.sh &
|
||||||
|
|
||||||
|
xfce4-power-manager &
|
||||||
|
|
||||||
# lock computer automatically after X time of minutes.
|
# lock computer automatically after X time of minutes.
|
||||||
xautolock -time 120 -locker "xsecurelock" -detectsleep -secure &
|
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.
|
#bspc monitor (-d or NAME) also the number that should be on that screen.
|
||||||
#example of reverse order on screens.
|
#example of reverse order on screens.
|
||||||
#bspc monitor Screen-1 -s Screen-2
|
#bspc monitor Screen-1 -s Screen-2
|
||||||
|
# xrandr --listmonitors or xrandr -q | grep connected
|
||||||
#bspc monitor -d I II III IV V VI VII VIII IX X
|
|
||||||
|
|
||||||
# set the screen resolution and you can find your maximum resolution with this Command.
|
# set the screen resolution and you can find your maximum resolution with this Command.
|
||||||
# Run xrandr in the terminal.
|
# Run xrandr in the terminal.
|
||||||
xrandr -s 1920x1080 &
|
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 border_width 1
|
||||||
bspc config normal_border_color "#0A1B2A"
|
bspc config normal_border_color "#0A1B2A"
|
||||||
bspc config active_border_color "#313745"
|
bspc config active_border_color "#313745"
|
||||||
@@ -22,7 +23,11 @@ bspc config focused_border_color "#FF0A1B2A"
|
|||||||
bspc config window_gap 7
|
bspc config window_gap 7
|
||||||
|
|
||||||
bspc config split_ratio 0.50
|
bspc config split_ratio 0.50
|
||||||
|
# top_padding so there is room for Polybar.
|
||||||
bspc config top_padding 28
|
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 borderless_monocle true
|
||||||
bspc config gapless_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_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.
|
# Rule Commands - General Syntax.
|
||||||
# bspc rule -a, --add (<class_name>|*)[:(<instance_name>|\*)[:(<name>|*)]]
|
# 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 Nitrogen state=floating follow=on center=true rectangle=1050x700+0+0
|
||||||
bspc rule -a Screenkey manage=off
|
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.
|
# Automatically start up programs.
|
||||||
picom &
|
xsetroot -cursor_name left_ptr &
|
||||||
nitrogen --restore &
|
nitrogen --restore &
|
||||||
|
|
||||||
|
pkill picom
|
||||||
|
sleep 1
|
||||||
|
picom -b --experimental-backends &
|
||||||
|
|
||||||
$HOME/.config/polybar/run-polybar.sh &
|
$HOME/.config/polybar/run-polybar.sh &
|
||||||
|
|
||||||
|
xfce4-power-manager &
|
||||||
|
|
||||||
# lock computer automatically after X time of minutes.
|
# lock computer automatically after X time of minutes.
|
||||||
xautolock -time 15 -locker "xsecurelock" -detectsleep -secure &
|
xautolock -time 120 -locker "xsecurelock" -detectsleep -secure &
|
||||||
#xscreensaver -nosplash &
|
|
||||||
|
|||||||
@@ -980,6 +980,7 @@ allow_hyperlinks yes
|
|||||||
|
|
||||||
term xterm-kitty
|
term xterm-kitty
|
||||||
|
|
||||||
|
# term xterm-kitty
|
||||||
#: The value of the TERM environment variable to set. Changing this
|
#: The value of the TERM environment variable to set. Changing this
|
||||||
#: can break many terminal programs, only change it if you know what
|
#: can break many terminal programs, only change it if you know what
|
||||||
#: you are doing, not because you read some advice on Stack Overflow
|
#: you are doing, not because you read some advice on Stack Overflow
|
||||||
|
|||||||
@@ -1,9 +1,14 @@
|
|||||||
#################################
|
#################################
|
||||||
### Martin - Config ###
|
### Martin - Config ###
|
||||||
|
|
||||||
|
#picom --experimental-backends &
|
||||||
|
|
||||||
|
|
||||||
#-------------------------------#
|
#-------------------------------#
|
||||||
# Transparency / Opacity #
|
# Transparency / Opacity #
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
|
|
||||||
# Use the opacity-rule to git transparency.
|
# Use the opacity-rule to git transparency.
|
||||||
|
|
||||||
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
|
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
|
||||||
@@ -67,22 +72,22 @@ opacity-rule = [
|
|||||||
# unless explicitly requested using the wintypes option.
|
# unless explicitly requested using the wintypes option.
|
||||||
#
|
#
|
||||||
#shadow = false;
|
#shadow = false;
|
||||||
shadow = true;
|
#shadow = true;
|
||||||
|
|
||||||
# The blur radius for shadows, in pixels. (defaults to 12)
|
# The blur radius for shadows, in pixels. (defaults to 12)
|
||||||
# shadow-radius = 12;
|
# shadow-radius = 12;
|
||||||
shadow-radius = 14;
|
#shadow-radius = 14;
|
||||||
|
|
||||||
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
|
# 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)
|
# The left offset for shadows, in pixels. (defaults to -15)
|
||||||
# shadow-offset-x = -15;
|
# shadow-offset-x = -15;
|
||||||
shadow-offset-x = -15;
|
#shadow-offset-x = -15;
|
||||||
|
|
||||||
# The top offset for shadows, in pixels. (defaults to -15)
|
# The top offset for shadows, in pixels. (defaults to -15)
|
||||||
# shadow-offset-y = -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).
|
# Red color value of shadow (0.0 - 1.0, defaults to 0).
|
||||||
# shadow-red = 0;
|
# shadow-red = 0;
|
||||||
@@ -102,13 +107,13 @@ shadow-offset-y = -15;
|
|||||||
# shadow-exclude = "n:e:Notification";
|
# shadow-exclude = "n:e:Notification";
|
||||||
#
|
#
|
||||||
# shadow-exclude = []
|
# shadow-exclude = []
|
||||||
shadow-exclude = [
|
#shadow-exclude = [
|
||||||
"name = 'Notification'",
|
# "name = 'Notification'",
|
||||||
"class_g = 'Conky'",
|
# "class_g = 'Conky'",
|
||||||
"class_g ?= 'Notify-osd'",
|
# "class_g ?= 'Notify-osd'",
|
||||||
"class_g = 'Cairo-clock'",
|
# "class_g = 'Cairo-clock'",
|
||||||
"_GTK_FRAME_EXTENTS@:c"
|
# "_GTK_FRAME_EXTENTS@:c"
|
||||||
];
|
#];
|
||||||
|
|
||||||
# Specify a list of conditions of windows that should have no shadow painted over, such as a dock window.
|
# Specify a list of conditions of windows that should have no shadow painted over, such as a dock window.
|
||||||
# clip-shadow-above = []
|
# clip-shadow-above = []
|
||||||
@@ -131,16 +136,16 @@ shadow-exclude = [
|
|||||||
|
|
||||||
# Fade windows in/out when opening/closing and when opacity changes,
|
# Fade windows in/out when opening/closing and when opacity changes,
|
||||||
# unless no-fading-openclose is used.
|
# unless no-fading-openclose is used.
|
||||||
# fading = false;
|
fading = false;
|
||||||
#fading = true;
|
#fading = true;
|
||||||
|
|
||||||
# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
|
# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
|
||||||
# fade-in-step = 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)
|
# 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.03;
|
fade-out-step = 0.01;
|
||||||
|
|
||||||
# The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
|
# The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
|
||||||
# fade-delta = 10;
|
# fade-delta = 10;
|
||||||
@@ -189,6 +194,8 @@ shadow-exclude = [
|
|||||||
# The name of the switch may change without prior notifications.
|
# The name of the switch may change without prior notifications.
|
||||||
#blur-background = false;
|
#blur-background = false;
|
||||||
blur-background = true;
|
blur-background = true;
|
||||||
|
blur-method = "dual_kawase";
|
||||||
|
blur-strength = 3;
|
||||||
|
|
||||||
# Blur background of windows when the window frame is not opaque.
|
# Blur background of windows when the window frame is not opaque.
|
||||||
# Implies:
|
# Implies:
|
||||||
@@ -208,12 +215,12 @@ blur-background = true;
|
|||||||
#
|
#
|
||||||
#blur-kern = "3x3box";
|
#blur-kern = "3x3box";
|
||||||
#blur-kern = "5x5box";
|
#blur-kern = "5x5box";
|
||||||
blur-kern = "7x7box";
|
#blur-kern = "7x7box";
|
||||||
|
|
||||||
# Exclude conditions for background blur.
|
# Exclude conditions for background blur.
|
||||||
# blur-background-exclude = []
|
# blur-background-exclude = []
|
||||||
blur-background-exclude = [
|
blur-background-exclude = [
|
||||||
"window_type = 'dock'",
|
# "window_type = 'dock'", # Polybar
|
||||||
"window_type = 'desktop'",
|
"window_type = 'desktop'",
|
||||||
"window_type = 'utility'",
|
"window_type = 'utility'",
|
||||||
"window_type = 'dialog'",
|
"window_type = 'dialog'",
|
||||||
@@ -223,6 +230,8 @@ blur-background-exclude = [
|
|||||||
"window_type = 'tooltip'",
|
"window_type = 'tooltip'",
|
||||||
"window_type = 'splash'",
|
"window_type = 'splash'",
|
||||||
"class_g = 'slop'",
|
"class_g = 'slop'",
|
||||||
|
"class_g = 'Google-chrome'",
|
||||||
|
"class_g = 'Firefox-esr'",
|
||||||
"_GTK_FRAME_EXTENTS@:c"
|
"_GTK_FRAME_EXTENTS@:c"
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -240,7 +249,7 @@ backend = "glx";
|
|||||||
#backend = "xrender";
|
#backend = "xrender";
|
||||||
|
|
||||||
# Enable/disable VSync.
|
# Enable/disable VSync.
|
||||||
# vsync = false;
|
vsync = false;
|
||||||
#vsync = true;
|
#vsync = true;
|
||||||
|
|
||||||
# Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
|
# Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
|
||||||
@@ -266,13 +275,13 @@ backend = "glx";
|
|||||||
# not passing '_NET_WM_OPACITY' of client windows to frame windows.
|
# not passing '_NET_WM_OPACITY' of client windows to frame windows.
|
||||||
#
|
#
|
||||||
#detect-client-opacity = false;
|
#detect-client-opacity = false;
|
||||||
#detect-client-opacity = true;
|
detect-client-opacity = true;
|
||||||
|
|
||||||
# Specify refresh rate of the screen. If not specified or 0, picom will
|
# Specify refresh rate of the screen. If not specified or 0, picom will
|
||||||
# try detecting this with X RandR extension.
|
# try detecting this with X RandR extension.
|
||||||
#
|
#
|
||||||
# refresh-rate = 60;
|
# refresh-rate = 60;
|
||||||
#refresh-rate = 0;
|
refresh-rate = 0;
|
||||||
|
|
||||||
# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window,
|
# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window,
|
||||||
# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy,
|
# 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
|
# Use 'WM_TRANSIENT_FOR' to group windows, and consider windows
|
||||||
# in the same group focused at the same time.
|
# in the same group focused at the same time.
|
||||||
#
|
#
|
||||||
# detect-transient = false
|
#detect-transient = false;
|
||||||
#detect-transient = true;
|
detect-transient = true;
|
||||||
|
|
||||||
# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same
|
# 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
|
# 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.
|
# practically happened) and may not work with blur-background.
|
||||||
# My tests show a 15% performance boost. Recommended.
|
# My tests show a 15% performance boost. Recommended.
|
||||||
#
|
#
|
||||||
# glx-no-stencil = false
|
glx-no-stencil = true
|
||||||
|
|
||||||
# GLX backend: Avoid rebinding pixmap on window damage.
|
# GLX backend: Avoid rebinding pixmap on window damage.
|
||||||
# Probably could improve performance on rapid window content changes,
|
# 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.
|
# has actually changed. Potentially degrades the performance, but might fix some artifacts.
|
||||||
# The opposing option is use-damage
|
# The opposing option is use-damage
|
||||||
#
|
#
|
||||||
# no-use-damage = false
|
#no-use-damage = false;
|
||||||
#use-damage = true;
|
use-damage = true;
|
||||||
|
|
||||||
# Use X Sync fence to sync clients' draw calls, to make sure all draw
|
# 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
|
# 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
|
# 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.
|
# using *--log-file*, since it can generate a huge stream of logs.
|
||||||
#
|
#
|
||||||
# log-level = "debug"
|
# log-level = "debug";
|
||||||
log-level = "warn";
|
log-level = "warn";
|
||||||
|
|
||||||
# Set the log file.
|
# Set the log file.
|
||||||
@@ -444,4 +453,3 @@ wintypes:
|
|||||||
popup_menu = { opacity = 1.0; }
|
popup_menu = { opacity = 1.0; }
|
||||||
dropdown_menu = { opacity = 1.0; }
|
dropdown_menu = { opacity = 1.0; }
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -58,18 +58,21 @@ c9 = #d15213
|
|||||||
|
|
||||||
|
|
||||||
[bar/bspwmbar]
|
[bar/bspwmbar]
|
||||||
;monitor = ${env:MONITOR:HDMI-1}
|
;monitor = DP-2
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 28
|
height = 28
|
||||||
;offset-x = 1%
|
offset-x = 0%
|
||||||
;offset-y = 1%
|
offset-y = 0%
|
||||||
radius = 0
|
radius = 0
|
||||||
fixed-center = false
|
fixed-center = false
|
||||||
|
|
||||||
|
wm-restack = bspwm
|
||||||
|
override-redirect = true
|
||||||
|
|
||||||
background = ${colors.background}
|
background = ${colors.background}
|
||||||
foreground = ${colors.foreground}
|
foreground = ${colors.foreground}
|
||||||
|
|
||||||
line-size = 1
|
line-size = 0
|
||||||
line-color = #dbdbdb
|
line-color = #dbdbdb
|
||||||
|
|
||||||
;# Ttransparent or Solid color border around Polybar. (Size in Pixels)
|
;# 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"
|
;font-6 = "DejaVu Sans:style=Regular:size=11;2"
|
||||||
|
|
||||||
modules-left = bspwm xwindow
|
modules-left = bspwm xwindow
|
||||||
;modules-center = mpd
|
;modules-center =
|
||||||
modules-right = pulseaudio cpu memory wlan eth date temperature battery session
|
modules-right = pulseaudio cpu memory date temperature session
|
||||||
|
|
||||||
; Models list - filesystem xbacklight alsa pulseaudio xkeyboard memory cpu wlan eth battery temperature date session
|
; Models list - filesystem xbacklight alsa pulseaudio xkeyboard memory cpu wlan eth battery temperature date session
|
||||||
|
|
||||||
tray-position = right
|
tray-position = right
|
||||||
tray-padding = 2
|
tray-padding = 1
|
||||||
;tray-background = #0063ff
|
;tray-background = #0063ff
|
||||||
|
|
||||||
wm-restack = bspwm
|
|
||||||
override-redirect = true
|
|
||||||
|
|
||||||
;scroll-up = bspwm-desknext
|
;scroll-up = bspwm-desknext
|
||||||
;scroll-down = bspwm-deskprev
|
;scroll-down = bspwm-deskprev
|
||||||
|
|
||||||
@@ -113,7 +113,7 @@ cursor-scroll = ns-resize
|
|||||||
|
|
||||||
[module/xwindow]
|
[module/xwindow]
|
||||||
type = internal/xwindow
|
type = internal/xwindow
|
||||||
label = %title:0:30:...%
|
label = %title:0:55:...%
|
||||||
|
|
||||||
[module/xkeyboard]
|
[module/xkeyboard]
|
||||||
type = internal/xkeyboard
|
type = internal/xkeyboard
|
||||||
@@ -261,7 +261,7 @@ ramp-signal-foreground = ${colors.foreground-alt}
|
|||||||
|
|
||||||
[module/eth]
|
[module/eth]
|
||||||
type = internal/network
|
type = internal/network
|
||||||
interface = enp1s0
|
interface = enp5s0
|
||||||
interval = 3.0
|
interval = 3.0
|
||||||
|
|
||||||
format-connected-underline = #55aa55
|
format-connected-underline = #55aa55
|
||||||
@@ -279,7 +279,7 @@ format-disconnected =
|
|||||||
type = internal/date
|
type = internal/date
|
||||||
interval = 5
|
interval = 5
|
||||||
|
|
||||||
date =
|
date = "%d-%m"
|
||||||
date-alt = " %d-%m-%Y"
|
date-alt = " %d-%m-%Y"
|
||||||
|
|
||||||
time = %H:%M
|
time = %H:%M
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Terminate already running bar instances
|
# Terminate already running bar instances
|
||||||
#killall -q polybar
|
#killall -q polybar
|
||||||
pkill polybar
|
pkill polybar
|
||||||
pkill polybar
|
|
||||||
|
|
||||||
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
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
|
super + Return
|
||||||
kitty
|
kitty
|
||||||
|
|
||||||
@@ -46,8 +46,10 @@ super + shift + e
|
|||||||
thunar
|
thunar
|
||||||
|
|
||||||
# Steam (flatpak run)
|
# Steam (flatpak run)
|
||||||
super + alt + s
|
super + ctrl + s
|
||||||
flatpak run com.valvesoftware.Steam
|
steam
|
||||||
|
|
||||||
|
# flatpak run com.valvesoftware.Steam
|
||||||
|
|
||||||
# Audio / Music
|
# Audio / Music
|
||||||
|
|
||||||
@@ -58,30 +60,46 @@ super + alt + m
|
|||||||
pulsemixer --toggle-mute
|
pulsemixer --toggle-mute
|
||||||
|
|
||||||
super + alt + Up
|
super + alt + Up
|
||||||
pulsemixer --change-volume +5
|
pulsemixer --change-volume +1
|
||||||
|
|
||||||
super + alt + Down
|
super + alt + Down
|
||||||
pulsemixer --change-volume -5
|
pulsemixer --change-volume -1
|
||||||
|
|
||||||
XF86AudioRaiseVolume
|
XF86AudioRaiseVolume
|
||||||
pulsemixer --change-volume +5
|
pulsemixer --change-volume +1
|
||||||
|
|
||||||
XF86AudioLowerVolume
|
XF86AudioLowerVolume
|
||||||
pulsemixer --change-volume -5
|
pulsemixer --change-volume -1
|
||||||
|
|
||||||
XF86AudioMute
|
XF86AudioMute
|
||||||
pulsemixer --toggle-mute
|
pulsemixer --toggle-mute
|
||||||
|
|
||||||
super + ctrl + alt + m
|
super + ctrl + alt + m
|
||||||
kitty -e mocp
|
kitty -e mocpsteam
|
||||||
|
|
||||||
|
|
||||||
# Open .config folder in VS Code
|
|
||||||
super + ctrl + alt + c
|
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
|
# lock computer
|
||||||
super + l
|
super + alt + l
|
||||||
xsecurelock
|
xsecurelock
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,13 +1,14 @@
|
|||||||
#
|
#
|
||||||
# Hotkey - Config
|
# SXHKD Hotkey's config.
|
||||||
#
|
#
|
||||||
###################################
|
# Reload SXHKD Config.
|
||||||
# Reload sxhkd config file.
|
|
||||||
alt + shift + ctrl + Escape
|
shift + ctrl + alt + Escape
|
||||||
pkill -USR1 -x sxhkd
|
pkill -USR1 -x sxhkd
|
||||||
|
|
||||||
###################################
|
###################################
|
||||||
|
|
||||||
# Terminal“s primary and secondary.
|
# Terminal´s primary and secondary.
|
||||||
alt + Return
|
alt + Return
|
||||||
kitty
|
kitty
|
||||||
|
|
||||||
@@ -15,20 +16,20 @@ alt + shift + Return
|
|||||||
alacritty
|
alacritty
|
||||||
|
|
||||||
|
|
||||||
# Rofi launcher # # # # # # # # # # # # #
|
# Rofi launcher - Start # # # # # # # # # # # # # # # # # #
|
||||||
alt + r
|
alt + r
|
||||||
rofi -show run
|
rofi -modi "run,window,filebrowser,ssh" -show run
|
||||||
|
|
||||||
alt + shift + r
|
alt + space
|
||||||
rofi -modi "run,window,file-browser,ssh" -show run
|
rofi -modi "run,window,filebrowser,ssh" -show run
|
||||||
|
|
||||||
alt + ctrl + m
|
alt + ctrl + m
|
||||||
. ~/.config/rofi/rofi-beats.sh
|
. ~/.config/rofi/rofi-beats.sh
|
||||||
|
|
||||||
alt + ctrl + alt + w
|
shift + ctrl + alt + w
|
||||||
. ~/.config/rofi/rofi-wifi-menu.sh
|
. ~/.config/rofi/rofi-wifi-menu.sh
|
||||||
|
|
||||||
# Rofi launcher # # # # # # # # # # # # #
|
# Rofi launcher - End # # # # # # # # # # # # # # # # # # #
|
||||||
|
|
||||||
alt + b
|
alt + b
|
||||||
google-chrome
|
google-chrome
|
||||||
@@ -36,17 +37,71 @@ alt + b
|
|||||||
alt + shift + b
|
alt + shift + b
|
||||||
firefox
|
firefox
|
||||||
|
|
||||||
|
|
||||||
|
# File Manager
|
||||||
alt + e
|
alt + e
|
||||||
pcmanfm
|
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
|
kitty -e pulsemixer
|
||||||
|
|
||||||
|
shift + alt + m
|
||||||
|
pulsemixer --toggle-mute
|
||||||
|
|
||||||
####### lock computer #######
|
shift + alt + Up
|
||||||
alt + l
|
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
|
xsecurelock
|
||||||
####### lock computer #######
|
|
||||||
|
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
@@ -65,7 +120,7 @@ alt + l
|
|||||||
|
|
||||||
|
|
||||||
# quit/restart bspwm
|
# quit/restart bspwm
|
||||||
alt + shift + ctrl + {q,r}
|
ctrl + alt + shift + {q,r}
|
||||||
bspc {quit,wm -r}
|
bspc {quit,wm -r}
|
||||||
|
|
||||||
# close and kill
|
# close and kill
|
||||||
@@ -127,8 +182,14 @@ alt + {o,i}
|
|||||||
bspc wm -h on
|
bspc wm -h on
|
||||||
|
|
||||||
# focus or send to the given desktop
|
# focus or send to the given desktop
|
||||||
alt + {_,shift + }{1-9,0}
|
#super + {_,shift + }{1-9,0}
|
||||||
bspc {desktop -f,node -d} '^{1-9,10}'
|
# 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
|
# Preselect
|
||||||
@@ -155,37 +216,13 @@ alt + ctrl + shift + space
|
|||||||
#
|
#
|
||||||
|
|
||||||
# expand a window by moving one of its side outward
|
# expand a window by moving one of its side outward
|
||||||
alt + ctrl + {h,j,k,l}
|
shift + alt + {h,j,k,l}
|
||||||
bspc node -z {left -50 0,bottom 0 50,top 0 -50,right 50 0}
|
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
|
# contract a window by moving one of its side inward
|
||||||
alt + ctrl + shift + {h,j,k,l}
|
ctrl + alt + shift + {h,j,k,l}
|
||||||
bspc node -z {right -50 0,top 0 50,bottom 0 -50,left 50 0}
|
bspc node -z {right -10 0,top 0 10,bottom 0 -10,left 10 0}
|
||||||
|
|
||||||
# move a floating window
|
# move a floating window
|
||||||
alt + {Left,Down,Up,Right}
|
alt + {Left,Down,Up,Right}
|
||||||
bspc node -v {-50 0,0 50,0 -50,50 0}
|
bspc node -v {-10 0,0 10,0 -10,10 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%-
|
|
||||||
|
|
||||||
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
|
||||||
|
|
||||||
|
|||||||
@@ -17,10 +17,10 @@ sudo apt update && sudo apt upgrade -y
|
|||||||
echo "Enter your user password, to continue if necessary"
|
echo "Enter your user password, to continue if necessary"
|
||||||
|
|
||||||
# Core packages to be installed
|
# 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
|
# 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
|
# Google Chrome - Download + Install ON / OFF
|
||||||
rm google-chrome-stable_current_amd64.deb
|
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 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 '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."
|
echo " Add UPUP alias to bash under bash_aliases config."
|
||||||
touch ~/.bash_aliases
|
touch ~/.bashrc
|
||||||
echo 'alias ls="ls --color=auto --group-directories-first -v -la"' >> ~/.bash_aliases
|
echo 'alias ls="ls --color=auto --group-directories-first -v -la"' >> ~/.bashrc
|
||||||
echo 'alias vi="nvim"' >> ~/.bash_aliases
|
echo 'alias vi="nvim"' >> ~/.bashrc
|
||||||
echo 'alias upup="sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y"' >> ~/.bash_aliases
|
echo 'alias upup="sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y"' >> ~/.bashrc
|
||||||
|
|
||||||
# Echo Nitrogen config to files.
|
# Echo Nitrogen config to files.
|
||||||
#echo "dirs=$HOME/wallpapers/1080p;" >> ~/.config/nitrogen/nitrogen.cfg
|
#echo "dirs=$HOME/wallpapers/1080p;" >> ~/.config/nitrogen/nitrogen.cfg
|
||||||
|
|||||||
Reference in New Issue
Block a user