Scripte verschoben

This commit is contained in:
Michael Grote 2022-07-17 13:04:15 +02:00
parent ea8d25ef8b
commit 9474ba7a8a
18 changed files with 12 additions and 12 deletions

View file

@ -12,8 +12,8 @@ font pango:monospace 8
force_display_urgency_hint 5000 ms
# lockscreen mit Win+L oder nach Wartezeit
bindsym $mod1+l exec "~/dotfiles/i3/scripte/lock.sh"
exec_always xautolock -time 10 -locker "~/dotfiles/i3/scripte/lock.sh"
bindsym $mod1+l exec "~/dotfiles/scripts/pwr.sh"
exec_always xautolock -time 10 -locker "~/dotfiles/scripts/pwr.sh"
# NetworkManager is the most popular way to manage wireless networks on Linux,
# and nm-applet is a desktop environment-independent system tray GUI for it.
@ -40,7 +40,7 @@ bindsym $mod2+F4 kill
bindsym $mod1+Shift+q kill
# start rofi
bindsym $mod1+d exec --no-startup-id ~/dotfiles/i3/scripte/start_rofi.sh
bindsym $mod1+d exec --no-startup-id ~/dotfiles/scripts/i3/start_rofi.sh
# screenshots
bindsym $mod1+p exec --no-startup-id flameshot full -p ~ -c
@ -160,7 +160,7 @@ hide_edge_borders smart
for_window [class=".*"] border pixel 1
# polybar
exec_always --no-startup-id ~/dotfiles/polybar/launch.sh
exec_always --no-startup-id ~/dotfiles/scripts/i3/launch.sh
# feh
exec --no-startup-id /usr/bin/feh --bg-scale ~/dotfiles/i3/wallpaper/dogg.jpg
@ -172,8 +172,8 @@ for_window [class="Yad" title="yad-calendar"] floating enable
bindsym $mod1+e exec fman
# starte alacritty
bindsym $mod1+r exec ~/dotfiles/i3/scripte/start_alacritty.sh
bindsym $mod1+Return exec ~/dotfiles/i3/scripte/start_alacritty.sh
bindsym $mod1+r exec ~/dotfiles/scripts/i3/start_alacritty.sh
bindsym $mod1+Return exec ~/dotfiles/scripts/i3/start_alacritty.sh
# starte nextcloud
exec --no-startup-id /usr/bin/nextcloud

View file

@ -1,6 +1,6 @@
[module/system-cpu-loadavg]
inherit = module/defaults
exec = ~/dotfiles/polybar/scripte/system-cpu-loadavg.sh
exec = ~/dotfiles/scripts/polybar/system-cpu-loadavg.sh
format-prefix = "LAVG "
[module/cpu]

View file

@ -1,4 +1,4 @@
[module/df]
inherit = module/defaults
exec = ~/dotfiles/polybar/scripte/df.sh
exec = ~/dotfiles/scripts/polybar/df.sh
format-prefix = "DU "

View file

@ -1,6 +1,6 @@
[module/polywins]
type = custom/script
exec = ~/dotfiles/polybar/scripte/polywins.sh 2>/dev/null
exec = ~/dotfiles/scripts/polybar/polywins.sh 2>/dev/null
format = <label>
label = %output%
label-padding = 1

View file

@ -1,4 +1,4 @@
[module/time]
inherit = module/defaults
exec = ~/dotfiles/polybar/scripte/time.sh
exec = ~/dotfiles/scripts/polybar/time.sh
format-prefix = "DATE "

View file

View file

View file

0
i3/scripte/start_rofi.sh → scripts/i3/start_rofi.sh Executable file → Normal file
View file

0
polybar/scripte/df.sh → scripts/polybar/df.sh Executable file → Normal file
View file

0
polybar/launch.sh → scripts/polybar/launch.sh Executable file → Normal file
View file

View file

0
polybar/scripte/time.sh → scripts/polybar/time.sh Executable file → Normal file
View file

4
i3/scripte/lock.sh → scripts/pwr.sh Executable file → Normal file
View file

@ -27,7 +27,7 @@ function hibernate {
function help {
echo "
Usage:
./build.sh [-r|-s|-sd|-hb]
./pwr.sh [-r|-s|-sd|-hb]
Arguments:
-r, --reboot Reboot this system.
@ -62,7 +62,7 @@ if [[ -n "$1" ]]; then
exit 0
;;
*)
echo -e "\e[31mUnbekannter Paremeter!"
echo -e "\e[31mUnbekannter Parameter!"
exit 1
esac
else