This commit is contained in:
2022-02-14 19:40:33 +01:00
parent 34cc61a4c2
commit 04d4970308
8 changed files with 667 additions and 666 deletions

View File

@@ -1,48 +1,48 @@
# BSPwm Install - Martin Desktop Environment
An easy and quick way to get up and running in the BSPwm desktop environment with keybindings and some standard software such as polybar, pulseaudio, Google Chrome, firefox, nitrogen, libreoffice, inkscape, gimp, rawtherapee, darktable etc... Installation time depends on your internet speed, but in about 25 minutes Are you up and running with a full Debian with BSPwm.
![BSPwm Install - Martin Desktop Environment](https://github.com/ITmail-dk/bspwm-install-ma-dte/raw/main/screenshots/Desktop_2022-01-17_151851.jpg "BSPwm Install - Martin Desktop Environment")
## Debian Linux - Git + Install
Start the installation as regular users with SUDO rights from your home directory
Debian Install ISO - Non-free Firmware download link.:
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/weekly-builds/amd64/iso-cd/firmware-testing-amd64-netinst.iso
### Ventoy - Create one bootable USB, with multiple ISO files on it.
Just copy multiple ISO files to the USB drive and boot them directly, It's just such a great tool.
Link.: https://www.ventoy.net/en/index.html
### Remember to install Debian without the desktop environment.
After installation, Reboot the computer and login with your new user.
![Install Debian without Desktop Environment](https://github.com/ITmail-dk/bspwm-install-ma-dte/raw/main/screenshots/NO-DE_2022-01-17_145020.jpg "Debian without Desktop Environment")
##### installation gif run.:
![Setup / Install GiF](https://github.com/ITmail-dk/bspwm-install-ma-dte/raw/main/screenshots/install-gif.gif "Setup / Install")
# And run this Command line to install everything.
Here is what the command line does, it installs the GIT package an goes to your home directory and clones the installation from git and runs the installation script afterwards.
`sudo apt install -y git && cd ~ && git clone https://github.com/ITmail-dk/bspwm-install-ma-dte && . ~/bspwm-install-ma-dte/install.sh`
*Or you can do it line by line here, it's entirely up to you... And what you think is easiest.*
`sudo apt install -y git`
`cd ~`
`git clone https://github.com/ITmail-dk/bspwm-install-ma-dte`
`. ~/bspwm-install-ma-dte/install.sh`
#### Here is a list of software that will be installed from the start
so you should be up and running when the installation is complete.
# BSPwm Install - Martin Desktop Environment
An easy and quick way to get up and running in the BSPwm desktop environment with keybindings and some standard software such as polybar, pulseaudio, Google Chrome, firefox, nitrogen, libreoffice, inkscape, gimp, rawtherapee, darktable etc... Installation time depends on your internet speed, but in about 25 minutes Are you up and running with a full Debian with BSPwm.
![BSPwm Install - Martin Desktop Environment](https://github.com/ITmail-dk/bspwm-install-ma-dte/raw/main/screenshots/Desktop_2022-01-17_151851.jpg "BSPwm Install - Martin Desktop Environment")
## Debian Linux - Git + Install
Start the installation as regular users with SUDO rights from your home directory
Debian Install ISO - Non-free Firmware download link.:
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/weekly-builds/amd64/iso-cd/firmware-testing-amd64-netinst.iso
### Ventoy - Create one bootable USB, with multiple ISO files on it.
Just copy multiple ISO files to the USB drive and boot them directly, It's just such a great tool.
Link.: https://www.ventoy.net/en/index.html
### Remember to install Debian without the desktop environment.
After installation, Reboot the computer and login with your new user.
![Install Debian without Desktop Environment](https://github.com/ITmail-dk/bspwm-install-ma-dte/raw/main/screenshots/NO-DE_2022-01-17_145020.jpg "Debian without Desktop Environment")
##### installation gif run.:
![Setup / Install GiF](https://github.com/ITmail-dk/bspwm-install-ma-dte/raw/main/screenshots/install-gif.gif "Setup / Install")
# And run this Command line to install everything.
Here is what the command line does, it installs the GIT package an goes to your home directory and clones the installation from git and runs the installation script afterwards.
`sudo apt install -y git && cd ~ && git clone https://github.com/ITmail-dk/bspwm-install-ma-dte && . ~/bspwm-install-ma-dte/install.sh`
*Or you can do it line by line here, it's entirely up to you... And what you think is easiest.*
`sudo apt install -y git`
`cd ~`
`git clone https://github.com/ITmail-dk/bspwm-install-ma-dte`
`. ~/bspwm-install-ma-dte/install.sh`
#### Here is a list of software that will be installed from the start
so you should be up and running when the installation is complete.
kitty, alacritty, pcmanfm, rofi, nitrogen, lxappearance, neovim, google chrome, firefox, ranger, font-manager, libreoffice, inkscape, gimp, rawtherapee, darktable, okular, scribus, obs-studio, timeshift, freerdp, wireguard, etc...

File diff suppressed because it is too large Load Diff

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

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
@@ -994,7 +994,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 +1081,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 +1161,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 +1190,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 +1212,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 +1266,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 +1292,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 +1306,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 +1325,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 +1376,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 +1414,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

View File

@@ -21,6 +21,6 @@ auto_update_depth "0"
restore_paused "yes"
audio_output {
type "pulse"
name "pulse audio"
}
type "pulse"
name "pulse audio"
}

View File

@@ -42,7 +42,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 +50,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 #
@@ -103,12 +103,12 @@ shadow-offset-y = -15;
#
# shadow-exclude = []
shadow-exclude = [
"name = 'Notification'",
"class_g = 'Conky'",
"class_g ?= 'Notify-osd'",
"class_g = 'Cairo-clock'",
"_GTK_FRAME_EXTENTS@:c"
];
"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 = []
@@ -166,7 +166,7 @@ shadow-exclude = [
# Exclude conditions for rounded corners.
#rounded-corners-exclude = [
# "window_type = 'dock'",
# "window_type = 'dock'",
# "window_type = 'desktop'"
#];
@@ -213,18 +213,18 @@ 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'",
"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"
];
#################################
# General Settings #
@@ -438,9 +438,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

@@ -1,17 +1,17 @@
#!/bin/bash
function send_notification() {
brightness=$(printf "%.0f\n" $(brillo -G))
dunstify -a "changebrightness" -u low -r 9991 -h int:value:"$brightness" -i "brightness-$1" "Brightness: $brightness%" -t 2000
}
brightness=$(printf "%.0f\n" $(brillo -G))
dunstify -a "changebrightness" -u low -r 9991 -h int:value:"$brightness" -i "brightness-$1" "Brightness: $brightness%" -t 2000
}
case $1 in
up)
brillo -A 5 -q
send_notification $1
;;
down)
send_notification $1
;;
down)
brillo -U 5 -q
send_notification $1
;;
esac
send_notification $1
;;
esac

View File

@@ -10,23 +10,23 @@ Run command: inxi -G
#*_#*_#*_*#_*#_*#_*
AMD GPU
-.-.-.-.-.-.-.-.-.-
sudo nano /etc/X11/xorg.conf.d/20-amdgpu.conf
Section "Device"
Identifier "AMD Graphics"
Driver "amdgpu"
Option "TearFree" "true"
EndSection
Driver "amdgpu"
Option "TearFree" "true"
EndSection
#*_#*_#*_*#_*#_*#_*#_*#_*#_#*_#*_#*_#*_#*_#*_#*#_*#_#*_#*_#*
nVidia GPU Composition Pipeline / X Server Settings
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
sudo nvidia-settings