Compare commits
No commits in common. "6088e82ff9fe8305e1559c210b880362671182f4" and "3efec5e1415f31d5421f07f1a389b82c765c2338" have entirely different histories.
6088e82ff9
...
3efec5e141
12 changed files with 4 additions and 51 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1 @@
|
||||||
**/fishd.tmp*
|
**/fishd.tmp*
|
||||||
vscode/argv.json
|
|
||||||
|
|
|
@ -58,10 +58,6 @@ cp -r $HOME/.config/i3/ .
|
||||||
# sway
|
# sway
|
||||||
rm -rf $GIT_DIR/sway
|
rm -rf $GIT_DIR/sway
|
||||||
cp -r $HOME/.config/sway/ .
|
cp -r $HOME/.config/sway/ .
|
||||||
outputs=$(swaymsg -t get_outputs)
|
|
||||||
width=$(echo $outputs | jq -r .[0].modes.[0].width)
|
|
||||||
height=$(echo $outputs | jq -r .[0].modes.[0].height)
|
|
||||||
sed -i "s/set \$lockwall \"swaylock -i ~\/\.config\/sway\/backgrounds\/${width}x${height}\.png\"/set \$lockwall \"swaylock -i ~\/\.config\/sway\/backgrounds\/widthxheight\.png\"/g" $GIT_DIR/sway/config
|
|
||||||
|
|
||||||
# greetd (for sway)
|
# greetd (for sway)
|
||||||
if [ -d /etc/greetd ]; then
|
if [ -d /etc/greetd ]; then
|
||||||
|
|
|
@ -40,5 +40,3 @@ xhost +SI:localuser:root
|
||||||
#sudo cp $GIT_DIR/greetd/config.toml /etc/greetd/config.toml
|
#sudo cp $GIT_DIR/greetd/config.toml /etc/greetd/config.toml
|
||||||
#sudo systemctl disable lightdm.service
|
#sudo systemctl disable lightdm.service
|
||||||
#sudo systemctl enable greetd.service
|
#sudo systemctl enable greetd.service
|
||||||
|
|
||||||
sudo sed -i "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config
|
|
|
@ -42,10 +42,6 @@ cp -r $GIT_DIR/i3 $HOME/.config/
|
||||||
# sway
|
# sway
|
||||||
rm -rf $HOME/.config/sway
|
rm -rf $HOME/.config/sway
|
||||||
cp -r $GIT_DIR/sway $HOME/.config/
|
cp -r $GIT_DIR/sway $HOME/.config/
|
||||||
outputs=$(swaymsg -t get_outputs)
|
|
||||||
width=$(echo $outputs | jq -r .[0].modes.[0].width)
|
|
||||||
height=$(echo $outputs | jq -r .[0].modes.[0].height)
|
|
||||||
sed -i "s/set \$lockwall \"swaylock -i ~\/\.config\/sway\/backgrounds\/widthxheight\.png\"/set \$lockwall \"swaylock -i ~\/\.config\/sway\/backgrounds\/${width}x${height}\.png\"/g" $HOME/.config/sway/config
|
|
||||||
|
|
||||||
# greetd (for sway)
|
# greetd (for sway)
|
||||||
if [ -d /etc/greetd ]; then
|
if [ -d /etc/greetd ]; then
|
||||||
|
@ -111,9 +107,6 @@ for dir in $(find . -mindepth 1 -maxdepth 1 -type d -name "*.*"); do
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
# WezTerm
|
|
||||||
wezterm shell-completion --shell fish > ~/.config/fish/completions/wezterm.fish
|
|
||||||
|
|
||||||
# VS code
|
# VS code
|
||||||
mkdir -p $HOME/.config/Code/User/
|
mkdir -p $HOME/.config/Code/User/
|
||||||
mkdir -p $HOME/.vscode/
|
mkdir -p $HOME/.vscode/
|
||||||
|
|
|
@ -1,34 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
# config file still must be done by hand to take into account rotation and stuff, but this makes the backgrounds images themselves
|
|
||||||
# TODO: add config generation
|
|
||||||
|
|
||||||
generate() {
|
|
||||||
magick background.png -resize ${1}x${2}! background-${1}x${2}.png
|
|
||||||
magick composite -gravity center logo.png background-${1}x${2}.png result-${1}x${2}.png
|
|
||||||
cp result-${1}x${2}.png ~/.config/sway/backgrounds/${1}x${2}.png
|
|
||||||
rm background-*
|
|
||||||
rm result-*
|
|
||||||
}
|
|
||||||
|
|
||||||
outputs=$(swaymsg -t get_outputs)
|
|
||||||
|
|
||||||
i=0
|
|
||||||
while [ "$(echo $outputs | jq -r .[$i])" != "null" ]; do
|
|
||||||
width=$(echo $outputs | jq -r .[$i].modes.[0].width)
|
|
||||||
height=$(echo $outputs | jq -r .[$i].modes.[0].height)
|
|
||||||
generate $width $height
|
|
||||||
generate $height $width
|
|
||||||
((i++))
|
|
||||||
done
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 26 KiB |
Binary file not shown.
Before Width: | Height: | Size: 32 KiB |
Binary file not shown.
Before Width: | Height: | Size: 24 KiB |
Binary file not shown.
Before Width: | Height: | Size: 29 KiB |
|
@ -25,7 +25,7 @@ for_window [window_role="pop-up"] floating enable
|
||||||
for_window [window_role="task_dialog"] floating enable
|
for_window [window_role="task_dialog"] floating enable
|
||||||
|
|
||||||
# shutdown / restart / suspend...
|
# shutdown / restart / suspend...
|
||||||
set $lockwall "swaylock -i ~/.config/sway/backgrounds/widthxheight.png"
|
set $lockwall "swaylock -i ~/.config/sway/backgrounds/2560x1440.png"
|
||||||
set $mode_system System (l) lock, (e) logout, (r) reboot, (s) shutdown
|
set $mode_system System (l) lock, (e) logout, (r) reboot, (s) shutdown
|
||||||
|
|
||||||
mode "$mode_system" {
|
mode "$mode_system" {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
output "Acer Technologies EK271U E 14160766B3W01" mode 2560x1440@100hz adaptive_sync on
|
output "Acer Technologies EK271U E 14160766B3W01" mode 2560x1440@100hz adaptive_sync on
|
||||||
output "Hewlett Packard HP ZR22w CN41250H24" transform 270
|
output "Hewlett Packard HP ZR22w CN41250H24" transform 270
|
||||||
output "AU Optronics 0x463D" mode 1920x1080@60hz
|
|
||||||
|
|
||||||
output "Acer Technologies EK271U E 14160766B3W01" bg ~/.config/sway/backgrounds/2560x1440.png fill
|
output "Acer Technologies EK271U E 14160766B3W01" bg ~/.config/sway/backgrounds/2560x1440.png fill
|
||||||
output "Hewlett Packard HP ZR22w CN41250H24" bg ~/.config/sway/backgrounds/1080x1920.png fill
|
output "Hewlett Packard HP ZR22w CN41250H24" bg ~/.config/sway/backgrounds/1080x1920.png fill
|
||||||
output "AU Optronics 0x463D" bg ~/.config/sway/backgrounds/1920x1080.png fill
|
|
||||||
|
bindsym Mod4+o output "Acer Technologies EK271U E 14160766B3W01" toggle
|
||||||
|
|
|
@ -108,6 +108,7 @@
|
||||||
//"warning",
|
//"warning",
|
||||||
//"info"
|
//"info"
|
||||||
],
|
],
|
||||||
|
"files.autoSave": "afterDelay",
|
||||||
"files.autoSaveDelay": 300,
|
"files.autoSaveDelay": 300,
|
||||||
"editor.fontFamily": "'Fira Code Nerd', 'Droid Sans Mono', 'monospace', monospace",
|
"editor.fontFamily": "'Fira Code Nerd', 'Droid Sans Mono', 'monospace', monospace",
|
||||||
"editor.fontLigatures": true,
|
"editor.fontLigatures": true,
|
||||||
|
|
Loading…
Reference in a new issue