Compare commits
2 commits
f9975b004d
...
90b8d7b245
Author | SHA1 | Date | |
---|---|---|---|
Geoffrey Frogeye | 90b8d7b245 | ||
Geoffrey Frogeye | b055c7fa83 |
1
bashrc
1
bashrc
|
@ -27,6 +27,7 @@ export XDG_CONFIG_HOME=$HOME/.config
|
|||
export ARDUINO=/usr/share/arduino
|
||||
export ARDUINO_DIR=$ARDUINO
|
||||
export ARDMK_VENDOR=archlinux-arduino
|
||||
export PYTHONSTARTUP=$HOME/.config/pythonstartup.py
|
||||
|
||||
# ALIASES
|
||||
|
||||
|
|
|
@ -46,25 +46,22 @@ bindsym $mod+dollar exec --no-startup-id ~/.config/i3/sshmenu root
|
|||
# start program launcher
|
||||
bindsym $mod+d exec --no-startup-id ~/.config/i3/dmenu_run
|
||||
|
||||
# Update var innformations
|
||||
set $up_bar killall -USR1 i3status
|
||||
|
||||
# Start Applications
|
||||
bindsym $mod+Return exec xterm
|
||||
bindsym $mod+p exec thunar
|
||||
bindsym $mod+m exec qutebrowser --override-restore --backend=webengine
|
||||
|
||||
# Volume control
|
||||
#bindsym XF86AudioRaiseVolume exec amixer -q set Master 5+ unmute; exec $up_bar
|
||||
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 0 +5%; exec $up_bar
|
||||
#bindsym XF86AudioLowerVolume exec amixer -q set Master 5- unmute; exec $up_bar
|
||||
bindsym XF86AudioLowerVolume exec pactl set-sink-volume 0 -5%; exec $up_bar
|
||||
bindsym XF86AudioMute exec amixer -q set Master toggle; exec $up_bar
|
||||
bindsym XF86AudioRaiseVolume exec pactl set-sink-mute @DEFAULT_SINK@ false; exec pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||
bindsym XF86AudioLowerVolume exec pactl set-sink-mute @DEFAULT_SINK@ false; exec pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ true
|
||||
bindsym $mod+F7 exec pactl suspend-sink @DEFAULT_SINK@ 1; exec pactl suspend-sink @DEFAULT_SINK@ 0
|
||||
# Re-synchronize bluetooth headset
|
||||
bindsym $mod+F8 exec mpc prev
|
||||
bindsym $mod+F9 exec mpc toggle
|
||||
bindsym $mod+F10 exec mpc next
|
||||
bindsym $mod+F11 exec xterm -e 'alsamixer'
|
||||
bindsym $mod+F12 exec xterm -e 'alsamixer'
|
||||
bindsym $mod+F11 exec xterm -e 'pacmixer'
|
||||
bindsym $mod+F12 exec xterm -e 'pacmixer'
|
||||
|
||||
#Brightness control
|
||||
bindsym XF86MonBrightnessDown exec xbacklight -dec 20
|
||||
|
|
|
@ -75,7 +75,8 @@ enable-ipc = true
|
|||
[bar/primary]
|
||||
inherit = bar/base
|
||||
|
||||
modules-right = cpu memory temperature eth wlan xbacklight volume battery date
|
||||
modules-center = mpd
|
||||
modules-right = eth wlan xbacklight volume battery date
|
||||
|
||||
tray-position = right
|
||||
tray-padding = 2
|
||||
|
@ -83,8 +84,7 @@ tray-transparent = false
|
|||
|
||||
[bar/secondary]
|
||||
inherit = bar/base
|
||||
modules-center = mpd
|
||||
modules-right = ethMore wlanMore filesystem xbacklight volume date
|
||||
modules-right = cpu memory temperature ethMore wlanMore filesystem xbacklight volume date
|
||||
|
||||
|
||||
[module/filesystem]
|
||||
|
|
3
config/pythonstartup.py
Normal file
3
config/pythonstartup.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
import rlcompleter
|
||||
import readline
|
||||
readline.parse_and_bind("tab: complete")
|
|
@ -831,7 +831,7 @@ geolocation = ask
|
|||
# Allow websites to show notifications.
|
||||
# Valid values: true, false, ask
|
||||
# Default: ask
|
||||
notifications = ask
|
||||
notifications = true
|
||||
|
||||
# media-capture (BoolAsk):
|
||||
# Allow websites to record audio/video.
|
||||
|
|
|
@ -24,6 +24,10 @@ var argv = yargs
|
|||
.alias('t', 'title')
|
||||
.default('t', 'Sans titre')
|
||||
|
||||
.describe('b', 'Border')
|
||||
.alias('b', 'border')
|
||||
.default('b', '2cm')
|
||||
|
||||
.demandOption(['o'])
|
||||
.argv;
|
||||
|
||||
|
@ -33,7 +37,7 @@ options = {
|
|||
"base": "file://" + process.cwd() + '/',
|
||||
"format": "A4",
|
||||
"orientation": "portrait",
|
||||
"border": "2cm",
|
||||
"border": argv.border,
|
||||
|
||||
"footer": {
|
||||
"height": "10mm",
|
||||
|
|
|
@ -177,9 +177,13 @@ fi
|
|||
inst moreutils screen ncdu lsof htop proxytunnel pv curl wget sshfs netcat mosh bash-completion rsync
|
||||
if [ $ARCH == 1 ]; then
|
||||
inst gopass
|
||||
altInst tldr-bash-git
|
||||
else
|
||||
inst pass
|
||||
wget -qO ~/.bin/ https://raw.githubusercontent.com/pepa65/tldr-bash-client/master/tldr
|
||||
chmod +x ~/.bin/tldr
|
||||
fi
|
||||
tldr -u
|
||||
if [[ $ARCH == 1 && $ADMIN == 1 ]]; then
|
||||
inst pkgfile
|
||||
sudo systemctl enable pkgfile-update.timer
|
||||
|
@ -302,10 +306,11 @@ if [ $EXTRA == 1 ]; then
|
|||
|
||||
# Extra GUI
|
||||
if [ $GUI == 1 ]; then
|
||||
inst vlc gimp mpd vimpc alsa-utils
|
||||
inst vlc gimp mpd vimpc
|
||||
|
||||
if [ $ARCH == 1 ]; then
|
||||
inst simplescreenrecorder
|
||||
altInst pacmixer
|
||||
fi
|
||||
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue