add user and install scripts

This commit is contained in:
ITmail-dk
2022-01-06 11:57:50 +01:00
parent 8552186946
commit c264b45a9d
11 changed files with 272 additions and 4 deletions

26
config/mpd/mpd.conf Normal file
View File

@@ -0,0 +1,26 @@
bind_to_address "0.0.0.0"
# Recommended location for database
db_file "~/.local/share/mpd/database"
# Logs to systemd journal
log_file "~/.local/share/mpd/log"
# The music directory is by default the XDG directory, uncomment to amend and choose a different directory
music_directory "~/music"
# Uncomment to enable the functionalities
playlist_directory "~/.local/share/mpd/playlists"
pid_file "~/.local/share/mpd/pid"
state_file "~/.local/share/mpd/state"
sticker_file "~/.local/share/mpd/sticker.sql"
auto_update "yes"
auto_update_depth "0"
restore_paused "yes"
audio_output {
type "pulse"
name "pulse audio"
}

84
config/picom/picom.conf Normal file
View File

@@ -0,0 +1,84 @@
backend = "glx";
glx-no-stencil = true;
glx-copy-from-front = false;
# Opacity
active-opacity = 1;
inactive-opacity = 1;
frame-opacity = 1;
inactive-opacity-override = false;
blur-background = true;
blur-background-exclude = [
];
blur-method = "dual_kawase";
blur-strength = 6;
# Fading
fading = true;
fade-delta = 4;
no-fading-openclose = false;
fade-exclude = [ ];
# Other
mark-wmwin-focused = true;
mark-ovredir-focused = true;
detect-rounded-corners = true;
detect-client-opacity = true;
refresh-rate = 0;
vsync = true;
dbe = false;
unredir-if-possible = false;
focus-exclude = [ ];
detect-transient = true;
detect-client-leader = true;
# Window type settings
wintypes:
{
dock = {
shadow = false;
};
};
opacity-rule = [
"80:class_g = 'Rofi'",
"80:class_g = 'Alacritty' && focused",
"70:class_g = 'Alacritty' && !focused"
];
shadow = true;
shadow-radius = 12;
shadow-offset-x = -5;
shadow-offset-y = -5;
shadow-opacity = 0.5;
shadow-exclude = [
"! name~=''",
"name = 'Notification'",
"name = 'Plank'",
"name = 'Docky'",
"name = 'Kupfer'",
"name = 'xfce4-notifyd'",
"name = 'cpt_frame_window'",
"name *= 'VLC'",
"name *= 'compton'",
"name *= 'picom'",
"name *= 'Chromium'",
"name *= 'Chrome'",
"class_g = 'Firefox' && argb",
"class_g = 'Conky'",
"class_g = 'Kupfer'",
"class_g = 'Synapse'",
"class_g ?= 'Notify-osd'",
"class_g ?= 'Cairo-dock'",
"class_g ?= 'Xfce4-notifyd'",
"class_g ?= 'Xfce4-power-manager'",
"_GTK_FRAME_EXTENTS@:c",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
];
corner-radius = 0
xrender-sync-fence = true;

View File

@@ -89,7 +89,7 @@ font-5 = "DejaVuSansMono Nerd Font:style=Book:size=12;2"
modules-left = bspwm xwindow
;modules-center = mpd
modules-right = pulseaudio cpu memory wlan eth date temperature battery powermenu
modules-right = pulseaudio cpu memory wlan eth date temperature battery powermenu session
; Models list - filesystem xbacklight alsa pulseaudio xkeyboard memory cpu wlan eth battery temperature date powermenu
@@ -477,6 +477,17 @@ menu-2-0-exec = systemctl poweroff
menu-2-1 = 
menu-2-1-exec = menu-open-0
[module/session]
type = custom/text
click-left = powermenu.sh
content = %{T4}%{T-}
content-background = ${colors.shade-2}
content-foreground = ${colors.shade-5}
content-padding = 1
[settings]
screenchange-reload = true
;compositing-background = xor

View File

@@ -1,2 +1,82 @@
configuration {
display-drun: "Applications:";
display-window: "Windows:";
drun-display-format: "{name}";
font: "DejaVuSansMono Nerd Font Book 10";
modi: "window,run,drun";
}
@theme "/dev/null"
* {
bg: #11121D;
bg-alt: #444b6a;
fg: #FFFFFF;
fg-alt: #787c99;
background-color: @bg;
border: 0;
margin: 0;
padding: 0;
spacing: 0;
}
window {
width: 30%;
}
element {
padding: 8 0;
text-color: @fg-alt;
}
element selected {
text-color: @fg;
}
element-text {
background-color: inherit;
text-color: inherit;
vertical-align: 0.5;
}
element-icon {
size: 30;
}
entry {
background-color: @bg-alt;
padding: 12;
text-color: @fg;
}
inputbar {
children: [prompt, entry];
}
listview {
padding: 8 12;
background-color: @bg;
columns: 1;
lines: 8;
}
mainbox {
background-color: @bg;
children: [inputbar, listview];
}
prompt {
background-color: @bg-alt;
enabled: true;
padding: 12 0 0 12;
text-color: @fg;
}
/* vim: ft=sass
// Theme location is "/usr/share/rofi/themes/name.rasi"
@theme "/usr/share/rofi/themes/Arc-Dark.rasi"
//@theme "/usr/share/rofi/themes/Arc-Dark.rasi"

View File

@@ -0,0 +1,7 @@
inputbar {
children: [entry];
}
listview {
lines: 3;
}