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
53db17c8
Commit
53db17c8
authored
2 years ago
by
CALIN Alexis
Browse files
Options
Downloads
Patches
Plain Diff
updated setup and added amixer command in dwm
parent
fbe02675
No related branches found
No related tags found
Loading
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
README.md
+14
-1
14 additions, 1 deletion
README.md
dwm/config.h
+3
-3
3 additions, 3 deletions
dwm/config.h
dwm/dwm
+0
-0
0 additions, 0 deletions
dwm/dwm
dwm/dwm.o
+0
-0
0 additions, 0 deletions
dwm/dwm.o
setup.sh
+14
-12
14 additions, 12 deletions
setup.sh
with
31 additions
and
16 deletions
README.md
+
14
−
1
View file @
53db17c8
...
...
@@ -3,7 +3,20 @@ Auto Gnu/Linux setup
This repository contains dots file for dwm with french keyboard shortcuts and a script to setup the system how I like.
Programs
# Installation
On a fresh debian or arch install the script can be executed:
```
bash setup.sh
```
if you just want to setup dwm you can launch:
```
bash install-dwm.sh
```
# Programs
Here are the main programs:
-
dwm – the main graphical environment
...
...
This diff is collapsed.
Click to expand it.
dwm/config.h
+
3
−
3
View file @
53db17c8
...
...
@@ -97,9 +97,9 @@ static Key keys[] = {
TAGKEYS
(
0xe7
,
8
)
{
MODKEY
|
ShiftMask
,
XK_e
,
quit
,
{
0
}
},
{
0
,
XF86XK_AudioMute
,
spawn
,
SHCMD
(
"
wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle; kill -44 $(pidof dwmblocks)
"
)
},
{
0
,
XF86XK_AudioRaiseVolume
,
spawn
,
SHCMD
(
"
wpctl set-volume @DEFAULT_AUDIO_SINK@ 3%+; kill -44 $(pidof dwmblocks)
"
)
},
{
0
,
XF86XK_AudioLowerVolume
,
spawn
,
SHCMD
(
"
wpctl set-volume @DEFAULT_AUDIO_SINK@ 3%-; kill -44 $(pidof dwmblocks)
"
)
},
{
0
,
XF86XK_AudioMute
,
spawn
,
SHCMD
(
"
amixer set Master toggle
"
)
},
{
0
,
XF86XK_AudioRaiseVolume
,
spawn
,
SHCMD
(
"
amixer -D default sset Master Playback 10%+
"
)
},
{
0
,
XF86XK_AudioLowerVolume
,
spawn
,
SHCMD
(
"
amixer -D default sset Master Playback 10%-
"
)
},
{
0
,
XF86XK_MonBrightnessUp
,
spawn
,
{.
v
=
(
const
char
*
[]){
"xbacklight"
,
"-inc"
,
"15"
,
NULL
}
}
},
{
0
,
XF86XK_MonBrightnessDown
,
spawn
,
{.
v
=
(
const
char
*
[]){
"xbacklight"
,
"-dec"
,
"15"
,
NULL
}
}
},
{
0
,
XF86XK_Sleep
,
spawn
,
{.
v
=
(
const
char
*
[]){
"systemctl"
,
"suspend"
,
NULL
}
}
},
...
...
This diff is collapsed.
Click to expand it.
dwm/dwm
+
0
−
0
View file @
53db17c8
No preview for this file type
This diff is collapsed.
Click to expand it.
dwm/dwm.o
+
0
−
0
View file @
53db17c8
No preview for this file type
This diff is collapsed.
Click to expand it.
setup.sh
+
14
−
12
View file @
53db17c8
...
...
@@ -25,21 +25,23 @@ if [ "$distro" == "Debian" ]; then
# programs
sudo
apt
install
network-manager chromium newsboat thunderbird libreoffice pandoc texlive-full xss-lock slock xbacklight neofetch ranger htop
sudo
systemctl
enable
--now
NetworkManager
&&
echo
'Enabled Network Manager'
fi
echo
'Install VScode ? (y or n)'
read
yn
if
[
"
$yn
"
==
'y'
]
;
then
# vscode
curl https://go.microsoft.com/fwlink/?LinkID
=
760868
&&
sudo
apt
install
./code
*
.deb
echo
'Install VScode ? (y or n)'
read
yn
if
[
"
$yn
"
==
'y'
]
;
then
# vscode
curl https://go.microsoft.com/fwlink/?LinkID
=
760868
&&
sudo
apt
install
./code
*
.deb
fi
echo
'Install Mullvad vpn ? (y or n)'
read
yn
if
[
"
$yn
"
==
'y'
]
;
then
# vscode
curl https://mullvad.net/download/app/deb/latest/
&&
sudo
apt
install
./Mullvad
*
.deb
&&
sudo
systemctl
enable
--now
mullvad-daemon
fi
fi
echo
'Install Mullvad vpn ? (y or n)'
read
yn
if
[
"
$yn
"
==
'y'
]
;
then
# vscode
curl https://mullvad.net/download/app/deb/latest/
&&
sudo
apt
install
./Mullvad
*
.deb
&&
sudo
systemctl
enable
--now
mullvad-daemon
fi
elif
[
"
$distro
"
==
"Arch"
]
;
then
...
...
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