a lot of laptop changes
This commit is contained in:
parent
8e179c3910
commit
9a725dcc03
35 changed files with 275 additions and 180 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
export QT_QPA_PLATFORMTHEME='qt5ct'
|
||||
# export QT_QPA_PLATFORMTHEME='qt5ct'
|
||||
|
||||
function run {
|
||||
if ! pgrep -f $1 ;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Check to see if firefox is running
|
||||
if [ $(pgrep -c firefox) -gt 0 ]; then
|
||||
if [ $(pgrep -c GeckoMain) -gt 0 ]; then
|
||||
|
||||
if [ $XDG_SESSION_TYPE = "x11" ]; then
|
||||
#X11
|
||||
|
|
|
@ -1,13 +1,17 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ $(hostname) = "syl" ]; then
|
||||
style="laptop"
|
||||
if [ $XDG_SESSION_TYPE = "x11" ]; then
|
||||
style="laptop-search"
|
||||
else
|
||||
style="laptop-search-wayland"
|
||||
fi
|
||||
else
|
||||
style="desktop"
|
||||
style="desktop-search"
|
||||
#echo "this is not hidpi"
|
||||
fi
|
||||
|
||||
lolcate | rofi -dmenu -p "File Search:" -i -matching regex -theme ~/.config/rofi/launchers-git/$style-search.rasi | xargs -r0 xdg-open $@ &
|
||||
lolcate | rofi -dmenu -p "File Search:" -i -matching regex -theme ~/.config/rofi/launchers-git/$style.rasi | xargs -r0 xdg-open $@ &
|
||||
c=0
|
||||
while ! xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -id $(xdotool search -class 'rofi') ; do
|
||||
sleep .1
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
# Very basic interface for rbw using rofi
|
||||
if [ $(hostname) = "syl" ]; then
|
||||
style="laptop-rbw"
|
||||
style="laptop-rbw-wayland"
|
||||
#echo "this is hidpi"
|
||||
else
|
||||
style="desktop-rbw"
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
killall mako
|
||||
killall latte-dock
|
||||
latte-dock &
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# Very basic interface for rbw using rofi
|
||||
|
||||
if [ $(hostname) = "syl" ]; then
|
||||
style="laptop-rbw"
|
||||
style="laptop-rbw-wayland"
|
||||
#echo "this is hidpi"
|
||||
else
|
||||
style="desktop-rbw"
|
||||
|
|
|
@ -14,7 +14,7 @@ root=~/.password-store
|
|||
CACHE=~/.local/tmp/pass_rofi
|
||||
seat=seat0
|
||||
|
||||
rbw sync
|
||||
# rbw sync
|
||||
rbw list
|
||||
|
||||
list_passwords() {
|
||||
|
|
14
scripts/stream-setup.sh
Executable file
14
scripts/stream-setup.sh
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Let's setup the streaming service for LuctorCRC
|
||||
peertubestreamkey=$(kdialog --password "What is the stream key for the website?")
|
||||
facebookstreamkey=$(kdialog --password "What is the stream key for Facebook?")
|
||||
echo $peertubestreamkey
|
||||
echo $facebookstreamkey
|
||||
|
||||
|
||||
|
||||
ssh chris@40.122.147.124 sudo sed -i -e "s#luctorcrc.org.*#luctorcrc.org/live/$peertubestreamkey\;#" nginx-restream/data/nginx.conf
|
||||
ssh chris@40.122.147.124 sudo sed -i -e "s#/rtmp/.*#/rtmp/$facebookstreamkey\;#" /etc/nginx/nginx.conf
|
||||
# ssh chris@40.122.147.124 'sudo systemctl restart nginx'
|
||||
ssh chris@40.122.147.124 sudo docker-compose down && sudo docker-compose up -d
|
2
scripts/surfingkeys-mpv.sh
Executable file
2
scripts/surfingkeys-mpv.sh
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
mpv $wl-paste
|
Loading…
Add table
Add a link
Reference in a new issue