Browse Source

update dotfiles

bananicorn 3 years ago
parent
commit
408d0cf949
5 changed files with 46 additions and 8 deletions
  1. 1 1
      .zshrc
  2. 1 0
      devuan_setup/.profile
  3. 13 3
      devuan_setup/config/sway/config
  4. 1 1
      devuan_setup/config/wofi/config
  5. 30 3
      devuan_setup/setup_system.sh

+ 1 - 1
.zshrc

@@ -31,7 +31,7 @@ alias c=clear
 alias q=exit
 alias :q=exit
 alias d="dirs -v" # print recently visited directories
-alias dup="st & disown"
+alias dup="foot & disown"
 alias ls="ls --color"
 alias la="ls -la --color"
 alias lah="ls -lah --color"

+ 1 - 0
devuan_setup/.profile

@@ -7,6 +7,7 @@ export QT_QPA_PLATFORM=wayland
 export GDK_BACKEND=wayland
 export MOZ_ENABLE_WAYLAND=1
 export XDG_SESSION_TYPE=wayland
+export XDG_DATA_HOME=~/.local/share
 
 udiskie &
 sway

+ 13 - 3
devuan_setup/config/sway/config

@@ -1,3 +1,12 @@
+#clipboard manager
+exec wl-paste -t text --watch clipman store
+
+#screens!
+output HDMI-A-1 pos 1920 0
+output eDP-1 pos 0 0
+workspace 1 output eDP-1
+workspace 2 output HDMI-A-1
+
 #directions
 set $up k
 set $down j
@@ -134,9 +143,9 @@ bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-
 bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+
 
 # VOLUME
-bindsym XF86AudioRaiseVolume exec amixer sset Master 5+
-bindsym XF86AudioLowerVolume exec amixer sset Master 5-
-bindsym XF86AudioMute exec amixer sset Master toggle
+bindsym XF86AudioRaiseVolume exec pulsemixer --change-volume +5
+bindsym XF86AudioLowerVolume exec pulsemixer --change-volume -5
+bindsym XF86AudioMute exec pulsemixer --toggle-mute
 
 # just some cosmetic options
 
@@ -146,6 +155,7 @@ client.focused		#33DD33 #222222 #FFFFFF #33DD33 #33DD33
 default_border		pixel
 
 for_window [app_id="connman-gtk"] floating enable
+for_window [app_id="love-11.3"] floating enable
 
 # AUTOSTART
 #exec i3-msg 'workspace 1; exec firefox'; sleep 1; exec i3-msg 'workspace 2; exec st'

+ 1 - 1
devuan_setup/config/wofi/config

@@ -1,3 +1,3 @@
 location=top
 order=alphabetical
-mode=run
+mode=drun

+ 30 - 3
devuan_setup/setup_system.sh

@@ -12,9 +12,18 @@ mkdir -p .config/sway
 ln -s ~/dotfiles/devuan_setup/config/sway/config ~/.config/sway/config
 rm -rf ~/.profile
 ln -s ~/dotfiles/devuan_setup/.profile ~/.profile
+ln -s ~/dotfiles/devuan_setup/config/user-dirs.dirs ~/.config/
 
-#let there be sound!
-apt install -y alsa-utils
+#image viewer
+apt install -y imv
+
+#let there be sound (over bluetooth too)!
+apt install -y pulseaudio
+apt install -y pulseaudio-module-bluetooth
+apt install -y pulsemixer
+apt install -y bluez
+apt install -y bluez-firmware
+apt install -y bluez-tools
 
 #screen brightness control
 apt install -y brightnessctl
@@ -24,6 +33,8 @@ apt install -y wofi
 mkdir -p .config/wofi
 ln -s ~/dotfiles/devuan_setup/config/wofi/style.css ~/.config/wofi/style.css
 ln -s ~/dotfiles/devuan_setup/config/wofi/config ~/.config/wofi/config
+#wofi will search for desktop files in here
+mkdir -p ~/.local/share/applications
 
 #wifi and bluetooth
 apt install -y connman-gtk
@@ -31,12 +42,28 @@ apt install -y connman-gtk
 #automount external drives
 apt install -y udiskie
 
+#clipboard manager
+apt install -y clipman
+
+#love2d stuff
+apt install -y love
+apt install -y apktool
+
 #actual programs
+apt install -y zsh
 apt install -y firefox-esr
 apt install -y inkscape
 apt install -y flameshot
 apt install -y thunar
 apt remove -y thunar-volman
 
-apt install -y docker
+#work stuff
+apt install -y git-flow
+apt install -y docker.io
 apt install -y docker-compose
+apt install -y npm
+curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
+DOCKER_COMPOSE_VERSION=$(curl --silent https://api.github.com/repos/docker/compose/releases/latest | grep -Po '"tag_name": "\K.*\d')
+DOCKER_COMPOSE_PATH=/usr/local/bin/docker-compose
+curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-Linux-x86_64 -o $DOCKER_COMPOSE_PATH
+chmod 755 $DOCKER_COMPOSE_PATH