Dotfiles config update (2022-05-21)
This commit is contained in:
parent
8d8c9e1b44
commit
2e24ae66bf
13
.config/nwg-wrapper/bindings.css
Normal file
13
.config/nwg-wrapper/bindings.css
Normal file
|
@ -0,0 +1,13 @@
|
|||
window {
|
||||
background-color: rgba (0, 0, 0, 0.0);
|
||||
}
|
||||
|
||||
#box-outer {
|
||||
/* Define attributes of the box surrounding icons here */
|
||||
background-color: rgba (255, 255, 255, 0.0)
|
||||
}
|
||||
|
||||
#box-inner {
|
||||
background-color: rgba (23, 53, 63, 0.5);
|
||||
padding: 0 20px 0 20px
|
||||
}
|
27
.config/nwg-wrapper/bindings.pango
Normal file
27
.config/nwg-wrapper/bindings.pango
Normal file
|
@ -0,0 +1,27 @@
|
|||
<span face="monospace">
|
||||
<span size="xx-large" foreground="#6699cc" face="serif">Cheat sheet</span>
|
||||
<span foreground="#eeeeee">
|
||||
Terminal emulator <span foreground="#6699cc" face="serif">Mod+T</span>
|
||||
Web browser <span foreground="#6699cc" face="serif">Mod+W</span>
|
||||
Text editor <span foreground="#6699cc" face="serif">Mod+E</span>
|
||||
Wallpaper manager <span foreground="#6699cc" face="serif">Mod+A</span>
|
||||
File manager <span foreground="#6699cc" face="serif">Mod+F</span>
|
||||
Application launcher <span foreground="#6699cc" face="serif">Alt+F1</span>
|
||||
|
||||
Kill task <span foreground="#6699cc" face="serif">Alt+Q</span>
|
||||
Exit menu <span foreground="#6699cc" face="serif">Mod+X</span>
|
||||
Reload sway <span foreground="#6699cc" face="serif">Mod+Shift+C</span>
|
||||
|
||||
Switch workspace <span foreground="#6699cc" face="serif">Alt+number</span>
|
||||
Move to workspace <span foreground="#6699cc" face="serif">Mod+Shift+number</span>
|
||||
Move focus <span foreground="#6699cc" face="serif">Mod+arrow</span>
|
||||
Move container <span foreground="#6699cc" face="serif">Mod+Shift+arrow</span>
|
||||
|
||||
Toggle floating <span foreground="#6699cc" face="serif">Mod+Shift+Space</span>
|
||||
Toggle layout <span foreground="#6699cc" face="serif">Alt+Tab</span>
|
||||
Fullscreen <span foreground="#6699cc" face="serif">Mod+Shift+F</span>
|
||||
|
||||
Move to scratchpad <span foreground="#6699cc" face="serif">Mod+Shift+Z</span>
|
||||
Show scratchpad <span foreground="#6699cc" face="serif">Mod+Z</span>
|
||||
</span>
|
||||
</span>
|
18
.config/nwg-wrapper/conky_sway.css
Normal file
18
.config/nwg-wrapper/conky_sway.css
Normal file
|
@ -0,0 +1,18 @@
|
|||
window {
|
||||
background-color: rgba (30, 30, 46, 0.0);
|
||||
font-family: UbuntuMono Nerd Font;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
#box-outer {
|
||||
/* Define attributes of the box surrounding icons here */
|
||||
background-color: rgba (30, 30, 46, 0.0);
|
||||
font-family: UbuntuMono Nerd Font;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
#box-inner {
|
||||
background-color: rgba (30, 30, 46, 0.0);
|
||||
font-family: UbuntuMono Nerd Font;
|
||||
font-size: 12px;
|
||||
}
|
64
.config/nwg-wrapper/conky_sway.sh
Executable file
64
.config/nwg-wrapper/conky_sway.sh
Executable file
|
@ -0,0 +1,64 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
echo '<b><span foreground="#3b8af6" face="UbuntuMono Nerd Font" size="12650"> SYSTEM INFO</span></b>'
|
||||
echo '<b><span foreground="#3b8af6" face="UbuntuMono Nerd Font" size="12650">==============</span></b>'
|
||||
echo ''
|
||||
show_kernel=$(${HOME}/.config/conky/scripts/kernel_version.sh)
|
||||
show_time=$(${HOME}/.config/conky/scripts/current_date.sh)
|
||||
show_uptime=$(${HOME}/.config/conky/scripts/show_uptime.sh)
|
||||
show_volume=$(${HOME}/.config/conky/scripts/get_volume.sh)
|
||||
show_disk=$(${HOME}/.config/conky/scripts/disk_info.sh)
|
||||
show_memory=$(${HOME}/.config/conky/scripts/mem_info.sh)
|
||||
show_cpu=$(${HOME}/.config/conky/scripts/cpu_info.sh)
|
||||
show_gpu=$(${HOME}/.config/conky/scripts/gpu_info.sh)
|
||||
show_updates=$(${HOME}/.config/conky/scripts/checkUpdates.sh)
|
||||
echo '<b><span foreground="#cf9c19" face="UbuntuMono Nerd Font" size="12650"> </span></b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Kernel:</span><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">' ${show_kernel}'</span></b>'
|
||||
echo '<b><span foreground="#cf9c19" face="UbuntuMono Nerd Font" size="12650"> </span></b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Time:</span><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650"> '${show_time}'</span></b>'
|
||||
echo '<b><span foreground="#cf9c19" face="UbuntuMono Nerd Font" size="12650"> </span></b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Uptime:</span><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">' ${show_uptime}'</span></b>'
|
||||
echo '<b><span foreground="#cf9c19" face="UbuntuMono Nerd Font" size="12650"> </span></b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Volume:</span><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">' ${show_volume}'</span></b>'
|
||||
echo '<b><span foreground="#cf9c19" face="UbuntuMono Nerd Font" size="12650"> </span></b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Disk:</span><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">' ${show_disk}'</span></b>'
|
||||
echo '<b><span foreground="#cf9c19" face="UbuntuMono Nerd Font" size="12650"> </span></b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Memory:</span><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">' ${show_memory}'</span></b>'
|
||||
echo '<b><span foreground="#cf9c19" face="UbuntuMono Nerd Font" size="12650"> </span></b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> CPU:</span><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">' ${show_cpu}'</span></b>'
|
||||
echo '<b><span foreground="#cf9c19" face="UbuntuMono Nerd Font" size="12650"> </span></b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> GPU:</span><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">' ${show_gpu}'</span></b>'
|
||||
echo '<b><span foreground="#cf9c19" face="UbuntuMono Nerd Font" size="12650"> </span></b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Updates</span><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">' ${show_updates}'</span></b>'
|
||||
echo ''
|
||||
echo '<b><span foreground="#3b8af6" face="UbuntuMono Nerd Font" size="12650"> SWAY KEYBINDINGS</span></b>'
|
||||
echo '<b><span foreground="#3b8af6" face="UbuntuMono Nerd Font" size="12650">===================</span></b>'
|
||||
echo ''
|
||||
echo '<b><b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Kitty</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + וּ + space </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Float Window</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + f </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Fullscreen</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + p </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Wofi (Run Mode)</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + o </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Wofi (Drun Mode)</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + q </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Rofi (Window Mode)</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + d </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Dmenu</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + b </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Mozilla Firefox</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + n </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= PCManFM</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + t </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Wl-Screenshooter</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + g </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Geany</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + m </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Telegram</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + z </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Wf-Recorder</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + x </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Wdisplays</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + u </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Xterm</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + i </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= LXAppearance</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + c </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= NetworkManager</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + h </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Set Horizontal</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + v </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Set Vertical</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> ﱛ </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Volume +5</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> ﱜ </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Volume -5</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> ﱝ </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Mute Volume</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + וּ + q </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Kill Window</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + j </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Focus Left</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + ; </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Focus Right</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + l </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Focus Up</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + k </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Focus Down</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + וּ + e </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Logout</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + דּ + וּ + l </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Screen-off</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + r </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Resize Window</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + וּ + j </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Switch Left</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + וּ + ; </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Switch Right</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + וּ + l </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Switch Up</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + וּ + k </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Switch Down</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + 1-9 </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Select Workspace</span></b>'
|
||||
echo '<b><span foreground="#379838" face="UbuntuMono Nerd Font" size="12650"> </span></b><b><span foreground="#e25ee6" face="UbuntuMono Nerd Font" size="12650"> Super + </span></b><b><span foreground="#9ca8ce" face="UbuntuMono Nerd Font" size="12650">= Menu Logout</span></b>'
|
||||
#echo "</span>"
|
12
.config/nwg-wrapper/date-wttr.css
Normal file
12
.config/nwg-wrapper/date-wttr.css
Normal file
|
@ -0,0 +1,12 @@
|
|||
window {
|
||||
background-color: rgba (0, 0, 0, 0.0);
|
||||
}
|
||||
|
||||
#box-outer {
|
||||
/* Define attributes of the box surrounding icons here */
|
||||
background-color: rgba (255, 255, 255, 0.0)
|
||||
}
|
||||
|
||||
#box-inner {
|
||||
background-color: rgba (0, 0, 0, 0.0)
|
||||
}
|
6
.config/nwg-wrapper/date-wttr.sh
Executable file
6
.config/nwg-wrapper/date-wttr.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
time=$(LC_ALL=C TZ='Europe/Warsaw' date +'%A, %d. %B')
|
||||
wttr=$(curl https://wttr.in/?format=1)
|
||||
echo '<span size="35000" foreground="#998000">'$time'</span><span size="30000" foreground="#ccc">'
|
||||
echo $wttr'</span>'
|
17
.config/nwg-wrapper/style.css
Normal file
17
.config/nwg-wrapper/style.css
Normal file
|
@ -0,0 +1,17 @@
|
|||
window {
|
||||
background-color: rgba (0, 0, 0, 0.0);
|
||||
}
|
||||
|
||||
#box-outer {
|
||||
/* Define attributes of the box surrounding icons here */
|
||||
background-color: rgba (255, 255, 255, 0.0)
|
||||
}
|
||||
|
||||
#box-inner {
|
||||
background-color: rgba (23, 53, 63, 0.5);
|
||||
border-radius: 5px;
|
||||
border-style: dotted;
|
||||
border-width: 1px;
|
||||
border-color: rgba (156, 142, 122, 0.7);
|
||||
padding: 10px
|
||||
}
|
12
.config/nwg-wrapper/timezones.css
Normal file
12
.config/nwg-wrapper/timezones.css
Normal file
|
@ -0,0 +1,12 @@
|
|||
window {
|
||||
background-color: rgba (0, 0, 0, 0.0);
|
||||
}
|
||||
|
||||
#box-outer {
|
||||
/* Define attributes of the box surrounding icons here */
|
||||
background-color: rgba (255, 255, 255, 0.0)
|
||||
}
|
||||
|
||||
#box-inner {
|
||||
background-color: rgba (0, 0, 0, 0.0)
|
||||
}
|
22
.config/nwg-wrapper/timezones.sh
Executable file
22
.config/nwg-wrapper/timezones.sh
Executable file
|
@ -0,0 +1,22 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Some countries below have more than one time zone,
|
||||
# and it makes sense to use cities instead of countries.
|
||||
# Use tzselect to find their time zones.
|
||||
|
||||
time=$(TZ='America/Fortaleza' date +'%H:%M:%S')
|
||||
echo '<span size="25000" foreground="#998000" face="monospace" weight="bold">Brazil '$time'</span>'
|
||||
|
||||
echo '<span size="large" face="monospace" foreground="#ccc">'
|
||||
time=$(TZ='America/Atikokan' date +"%H:%M")
|
||||
echo 'Canada <b>'$time'</b>'
|
||||
|
||||
time=$(TZ='Europe/Dublin' date +"%H:%M")
|
||||
echo 'Ireland <b>'$time'</b>'
|
||||
|
||||
time=$(TZ='Asia/Kolkata' date +"%H:%M")
|
||||
echo 'India <b>'$time'</b>'
|
||||
|
||||
time=$(TZ='Asia/Shanghai' date +"%H:%M")
|
||||
echo 'China <b>'$time'</b>'
|
||||
echo '</span>'
|
|
@ -48,6 +48,7 @@ exec --no-startup-id diodon &
|
|||
|
||||
# Load Conky
|
||||
#exec --no-startup-id sleep 10 && conky -c ~/.config/conky/conkyrc_sway &
|
||||
exec --no-startup-id sleep 10 && nwg-wrapper -s conky_sway.sh -r 2000 -p right -mr 15 -mt 10 -mb 80
|
||||
|
||||
# Use pactl to adjust volume in PulseAudio.
|
||||
#set $refresh_i3status killall -SIGUSR1 i3status
|
||||
|
|
|
@ -29,6 +29,7 @@ dotfiles - My tiling Qtile, Spectrwm, i3 , Dwm & Sway configurations (for Arch/D
|
|||
$ cd pacaur
|
||||
$ makepkg -si
|
||||
$ pacaur -S pnmixer polybar nerd-fonts-complete wdisplays wlr-randr-git
|
||||
$ pacaur -S nwg-wrapper
|
||||
````
|
||||
|
||||
* I use `iwd` instead of `NetWorkManager` (`don't install if you prefer or use NetWorkManager`):
|
||||
|
@ -59,6 +60,8 @@ dotfiles - My tiling Qtile, Spectrwm, i3 , Dwm & Sway configurations (for Arch/D
|
|||
$ git clone https://github.com/q3aql/dotfiles
|
||||
$ cd dotfiles/fonts
|
||||
$ sudo ./install-fonts.sh
|
||||
$ cd ../scripts
|
||||
$ sudo ./nwg-wrapper-install.sh
|
||||
````
|
||||
|
||||
* For install `alacritty`, type this commands `(Optional)`:
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.6 MiB After Width: | Height: | Size: 1.6 MiB |
|
@ -114,9 +114,3 @@ else
|
|||
i3_gaps_install_stable_deb
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
47
scripts/nwg-wrapper-install.sh
Executable file
47
scripts/nwg-wrapper-install.sh
Executable file
|
@ -0,0 +1,47 @@
|
|||
#!/bin/bash
|
||||
|
||||
#################################################
|
||||
# Script to build and install i3-gaps on Debian #
|
||||
# Author: q3aql (q3aql@duck.com) #
|
||||
# Last update: 09-01-2022 #
|
||||
# ###############################################
|
||||
|
||||
# Variables
|
||||
URL_Repo="https://github.com/nwg-piotr/nwg-wrapper.git"
|
||||
dir_build="nwg-wrapper"
|
||||
|
||||
# Check if you are root
|
||||
mkdir -p /etc/root &> /dev/null
|
||||
administrador=$?
|
||||
if [ ${administrador} -eq 0 ] ; then
|
||||
rm -rf /etc/root
|
||||
else
|
||||
echo ""
|
||||
echo "* nwg-wrapper install"
|
||||
echo ""
|
||||
echo "* Administrator permissions are required"
|
||||
echo ""
|
||||
exit
|
||||
fi
|
||||
|
||||
# Install dependencies
|
||||
echo ""
|
||||
echo "* INSTALLING DEPENDENCIES..."
|
||||
echo ""
|
||||
sleep 2
|
||||
apt update
|
||||
apt upgrade -y
|
||||
apt-get install git python3 python3-pip wlr-randr -y
|
||||
apt-get install python-setuptools python3-setuptools -y
|
||||
apt-get install libgtk3.0-cil-dev -y
|
||||
apt-get install libgtk-layer-shell0 -y
|
||||
apt-get install libgtk-layer-shell-dev -y
|
||||
pip3 install gobject
|
||||
pip3 install i3ipc
|
||||
|
||||
# Install nwg-wrapper
|
||||
cd /tmp
|
||||
git clone ${URL_Repo}
|
||||
cd ${dir_build}
|
||||
python3 setup.py install --optimize=1
|
||||
|
Loading…
Reference in New Issue
Block a user