reinstall after bios flash

This commit is contained in:
paul-loedige
2020-11-23 23:43:40 +01:00
parent 2bc3cb742f
commit 065ce14824
7 changed files with 59 additions and 82 deletions
+1
View File
@@ -33,4 +33,5 @@ fi
setxkbmap de &
nitrogen --restore &
bash .screenlayout/layout.sh &
pulseaudio-ctl set 50 &
exec qtile
View File
+1
View File
@@ -1 +1,2 @@
https://paul-loedige:yP4vs9rTriqP4b8mK4ohyNHSH@its-gitlab.init.hs-owl.de
https://paul-loedige:VhD%40R46%2ai9k%24tumJgD3T@git.ploedige.com
+2
View File
@@ -3,3 +3,5 @@
email = paul@gve-loedige.de
[credential]
helper = store
[http]
sslVerify = true
+10 -3
View File
@@ -1,9 +1,16 @@
#!/bin/bash
#install programms
cd ~/.dotfiles/
cd /home/paul/.dotfiles/
sudo pacman -S --needed $(comm -12 <(pacman -Slq | sort) <(sort pkglist.txt))
#extract dotfiles into home directory
cd ~/.dotfiles/
sudo stow bash git qtile vim Xorg
cd /home/paul/.dotfiles/
sudo stow bash git qtile vim Xorg audio screen-layout
# install pikaur
cd /home/paul/
git clone https://aur.archlinux.org/pikaur.git
cd /home/paul/pikaur/
makepkg -fsri
#install vs code extensions
pikaur -S visual-studio-code-bin
cd /home/paul/.dotfiles/
bash vscode.sh
+42 -76
View File
@@ -51,21 +51,31 @@ keys = [
Key([mod, "shift"], "l", lazy.layout.swap_right()),
Key([mod, "shift"], "j", lazy.layout.shuffle_down()),
Key([mod, "shift"], "k", lazy.layout.shuffle_up()),
Key([mod], "i", lazy.layout.grow()),
Key([mod], "m", lazy.layout.shrink()),
# resize windows
Key([mod], "plus", lazy.layout.grow()),
Key([mod], "minus", lazy.layout.shrink()),
Key([mod], "n", lazy.layout.normalize()),
Key([mod], "o", lazy.layout.maximize()),
Key([mod], "space", lazy.layout.next()),
Key([mod], "space", lazy.window.toggle_fullscreen()),
# app hotkeys
Key([mod], "Return", lazy.spawn(terminal), desc="Launch terminal"),
Key([mod],"f", lazy.spawn("firefox"),desc="Launch firefox"),
# Toggle between different layouts as defined below
Key([mod], "Tab", lazy.next_layout(), desc="Toggle between layouts"),
Key([mod], "w", lazy.window.kill(), desc="Kill focused window"),
Key([mod], "BackSpace", lazy.window.kill(), desc="Kill focused window"),
# qtile hotkeys
Key([mod, "control"], "r", lazy.restart(), desc="Restart qtile"),
Key([mod, "control"], "q", lazy.shutdown(), desc="Shutdown qtile"),
Key([mod], "r", lazy.spawncmd(),desc="Spawn a command using a prompt widget"),
# Media hotkeys
Key([], 'XF86AudioRaiseVolume', lazy.spawn('pulseaudio-ctl up 1')),
Key([], 'XF86AudioLowerVolume', lazy.spawn('pulseaudio-ctl down 1')),
Key([], 'XF86AudioMute', lazy.spawn('pulseaudio-ctl mute')),
]
@@ -124,79 +134,35 @@ widget_defaults = dict(
)
extension_defaults = widget_defaults.copy()
main_bar = [
widget.CurrentLayout(),
widget.GroupBox(),
widget.Prompt(),
widget.WindowName(),
widget.Systray(),
widget.TextBox("Vol:"),
widget.Volume(),
widget.CPU(format='CPU: {load_percent}%',
update_interval=2),
widget.Clock(format='%Y-%m-%d %a %H:%M'),
]
left_bar = [
widget.CurrentLayout(),
widget.GroupBox(),
widget.WindowName(),
]
top_bar = [
widget.CurrentLayout(),
widget.GroupBox(),
widget.WindowName(),
]
screens = [
Screen(
top=bar.Bar(
[
widget.CurrentLayout(),
widget.GroupBox(),
widget.Prompt(),
widget.WindowName(),
widget.Chord(
chords_colors={
'launch': ("#ff0000", "#ffffff"),
},
name_transform=lambda name: name.upper(),
),
widget.Systray(),
widget.CheckUpdates(colour_no_updates='ff0000',
display_format='Updates:{updates}'),
widget.CPU(format='CPU: {load_percent}%',
update_interval=2),
widget.Clock(format='%Y-%m-%d %a %H:%M'),
widget.QuickExit(),
],
24,
),
),
Screen(
top=bar.Bar(
[
widget.CurrentLayout(),
widget.GroupBox(),
widget.Prompt(),
widget.WindowName(),
widget.Chord(
chords_colors={
'launch': ("#ff0000", "#ffffff"),
},
name_transform=lambda name: name.upper(),
),
widget.Systray(),
widget.CheckUpdates(colour_no_updates='ff0000',
display_format='Updates:{updates}'),
widget.CPU(format='CPU: {load_percent}%',
update_interval=2),
widget.Clock(format='%Y-%m-%d %a %H:%M'),
widget.QuickExit(),
],
24,
),
),
Screen(
top=bar.Bar(
[
widget.CurrentLayout(),
widget.GroupBox(),
widget.Prompt(),
widget.WindowName(),
widget.Chord(
chords_colors={
'launch': ("#ff0000", "#ffffff"),
},
name_transform=lambda name: name.upper(),
),
widget.Systray(),
widget.CheckUpdates(colour_no_updates='ff0000',
display_format='Updates:{updates}'),
widget.CPU(format='CPU: {load_percent}%',
update_interval=2),
widget.Clock(format='%Y-%m-%d %a %H:%M'),
widget.QuickExit(),
],
24,
),
),
Screen(bottom=bar.Bar(top_bar,24)),
Screen(top=bar.Bar(main_bar,24)),
Screen(top=bar.Bar(left_bar,24)),
]
#endregion
+1 -1
View File
@@ -1,2 +1,2 @@
#!/bin/sh
xrandr --output DVI-I-1 --primary --mode 1280x1024 --pos 2082x0 --rotate normal --output DP-1 --off --output DP-2 --off --output DP-3 --mode 3440x1440 --pos 1080x1024 --rotate normal --output HDMI-1 --mode 1920x1080 --pos 0x699 --rotate left
xrandr --output DVI-I-1 --primary --mode 1280x1024 --pos 1970x0 --rotate normal --output DP-1 --off --output DP-2 --mode 3440x1440 --pos 1080x1024 --rotate normal --output DP-3 --off --output HDMI-1 --mode 1920x1080 --pos 0x615 --rotate left