summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--roles/lxde/files/config_files/pcmanfm/LXDE/pcmanfm.conf3
-rw-r--r--roles/shell/bash/templates/bashrc.j25
2 files changed, 7 insertions, 1 deletions
diff --git a/roles/lxde/files/config_files/pcmanfm/LXDE/pcmanfm.conf b/roles/lxde/files/config_files/pcmanfm/LXDE/pcmanfm.conf
index facaa64..75e164d 100644
--- a/roles/lxde/files/config_files/pcmanfm/LXDE/pcmanfm.conf
+++ b/roles/lxde/files/config_files/pcmanfm/LXDE/pcmanfm.conf
@@ -6,6 +6,9 @@ mount_on_startup=1
6mount_removable=1 6mount_removable=1
7autorun=1 7autorun=1
8 8
9[autorun]
10x-content/bootable-media=pcmanfm
11
9[ui] 12[ui]
10always_show_tabs=0 13always_show_tabs=0
11max_tab_chars=32 14max_tab_chars=32
diff --git a/roles/shell/bash/templates/bashrc.j2 b/roles/shell/bash/templates/bashrc.j2
index 91311e5..bf5acfa 100644
--- a/roles/shell/bash/templates/bashrc.j2
+++ b/roles/shell/bash/templates/bashrc.j2
@@ -74,12 +74,15 @@ function tmux_dev() {
74 tmux new-session -d -c $start_dir -s "$type" \; \ 74 tmux new-session -d -c $start_dir -s "$type" \; \
75 $m -t "$type" \; \ 75 $m -t "$type" \; \
76 new-window -c $start_dir 76 new-window -c $start_dir
77 else 77 elif [ -d "$HOME/workdir/$type" ]; then
78 tmux new-session -d -c "$HOME/workdir/$type" -s "$type" \; \ 78 tmux new-session -d -c "$HOME/workdir/$type" -s "$type" \; \
79 $m -t "$type" \; \ 79 $m -t "$type" \; \
80 send-keys "../start" C-m \; \ 80 send-keys "../start" C-m \; \
81 rename-window "running" \; \ 81 rename-window "running" \; \
82 new-window -c "$HOME/workdir/$type" 82 new-window -c "$HOME/workdir/$type"
83 else
84 echo "Unknown session" >&2
85 false
83 fi 86 fi
84 fi 87 fi
85} 88}