Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dots
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CALIN Alexis
Dots
Commits
75074210
Commit
75074210
authored
2 years ago
by
CALIN Alexis
Browse files
Options
Downloads
Patches
Plain Diff
rm unused bash script & added way to add desktop entry
parent
5d87ce5a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dwm/install.sh
+0
-38
0 additions, 38 deletions
dwm/install.sh
install-dwm.sh
+10
-0
10 additions, 0 deletions
install-dwm.sh
with
10 additions
and
38 deletions
dwm/install.sh
deleted
100644 → 0
+
0
−
38
View file @
5d87ce5a
#depedencies
sudo
apt
install
-y
build-essential libx11-dev libxft-dev libxinerama-dev libfreetype6-dev libfontconfig1-dev suckless-tools stterm
#tear free
sudo mkdir
/usr/share/X11/xorg.conf.d/
#tee /usr/share/X11xorg.conf.d/10-intel.conf
echo
'Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "TearFree" "true"
EndSection'
>
/usr/share/X11/xorg.conf.d/10-intel.conf
echo
'[Desktop Entry]
Encoding=UTF-8
Name=Dwm
Comment=Dynamic window manager
Exec=startx
Icon=dwm
Type=XSession'
>
/usr/share/xsessions/
echo
'#keyboard config
setxkbmap fr
# Statusbar loop
while true; do
xsetroot -name "$( date +" %d/%m/%Y %H:%M")"
sleep 20s # Update time every 20s
done &
# Set wallpaper
xsetroot -bg black
#feh --bg-fill ~/Images/Wallpaper/Favoris/ISS-view-4.jpg
exec /usr/local/bin/dwm'
>
"
$HOME
/.xinitrc"
#install dwm
sudo
make clean
install
This diff is collapsed.
Click to expand it.
install-dwm.sh
+
10
−
0
View file @
75074210
...
@@ -21,6 +21,16 @@ xss-lock -- slock &
...
@@ -21,6 +21,16 @@ xss-lock -- slock &
exec /usr/local/bin/dwm'
>
~/.xinitrc
exec /usr/local/bin/dwm'
>
~/.xinitrc
echo
'Created a xsessions to start dwm'
echo
'[Desktop Entry]
Encoding=UTF-8
Name=Dwm
Comment=Dynamic window manager
Exec=startx
Icon=dwm
Type=XSession'
>
/usr/share/xsessions/dwm.desktop
echo
'Compiling dwm'
echo
'Compiling dwm'
cd
dwm
&&
sudo
make clean
install
&&
cd
..
cd
dwm
&&
sudo
make clean
install
&&
cd
..
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment