summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2021-10-10 13:02:00 +0200
committerAdam <56338480+adastx@users.noreply.github.com>2021-10-10 13:02:00 +0200
commit9c2e9f955ea6240c2dec68647a4b71cd3f1ed7b8 (patch)
treeb9a81dc63c443cf48bc9c2be19a1005d8d07a06d
parente2f69c3bc006642198258256134f2012c3c6aef0 (diff)
some dotfiles organization
-rw-r--r--.bash_profile7
-rw-r--r--.config/i3/config2
-rwxr-xr-x.config/i3/custom/screenshot (renamed from bin/screenshot)0
-rw-r--r--.profile27
4 files changed, 8 insertions, 28 deletions
diff --git a/.bash_profile b/.bash_profile
new file mode 100644
index 0000000..b82ed01
--- /dev/null
+++ b/.bash_profile
@@ -0,0 +1,7 @@
+#
+# ~/.bash_profile
+#
+
+[[ -f ~/.bashrc ]] && . ~/.bashrc
+
+[[ $(fgconsole 2>/dev/null) == 1 ]] && exec startx -- vt1
diff --git a/.config/i3/config b/.config/i3/config
index 06df6b6..e4f41e5 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -16,7 +16,7 @@ bindsym $mod+Return exec --no-startup-id alacritty
bindsym $mod+b exec --no-startup-id firefox
bindsym $mod+e exec --no-startup-id pcmanfm
bindsym $mod+f fullscreen toggle
-bindsym $mod+Shift+s exec --no-startup-id screenshot
+bindsym $mod+Shift+s exec --no-startup-id ~/.config/i3/custom/screenshot
bindsym $mod+d exec --no-startup-id rofi -show drun -show-icons -drun-display-format {name}
bindsym $alt+Tab exec --no-startup-id rofi -show window -show-icons -drun-display-format {name}
diff --git a/bin/screenshot b/.config/i3/custom/screenshot
index a3bae84..a3bae84 100755
--- a/bin/screenshot
+++ b/.config/i3/custom/screenshot
diff --git a/.profile b/.profile
deleted file mode 100644
index d89ea5a..0000000
--- a/.profile
+++ /dev/null
@@ -1,27 +0,0 @@
-# ~/.profile: executed by the command interpreter for login shells.
-# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
-# exists.
-# see /usr/share/doc/bash/examples/startup-files for examples.
-# the files are located in the bash-doc package.
-
-# the default umask is set in /etc/profile; for setting the umask
-# for ssh logins, install and configure the libpam-umask package.
-#umask 022
-
-# if running bash
-if [ -n "$BASH_VERSION" ]; then
- # include .bashrc if it exists
- if [ -f "$HOME/.bashrc" ]; then
- . "$HOME/.bashrc"
- fi
-fi
-
-# set PATH so it includes user's private bin if it exists
-if [ -d "$HOME/bin" ] ; then
- PATH="$HOME/bin:$PATH"
-fi
-
-# set PATH so it includes user's private bin if it exists
-if [ -d "$HOME/.local/bin" ] ; then
- PATH="$HOME/.local/bin:$PATH"
-fi