commit 4cabd98fc127befbeca80779a42be4e04a7fb3e5
parent 71bafe84ae56910431325541cc7f65c0647235cd
Author: MichaelDim02 <31562759+MichaelDim02@users.noreply.github.com>
Date: Thu, 15 Jul 2021 05:48:38 +0300
Add files via upload
Diffstat:
M | .xinitrc | | | 28 | +++++++++++++++++++--------- |
M | config | | | 42 | +++++++++++------------------------------- |
A | sxhkdrc | | | 44 | ++++++++++++++++++++++++++++++++++++++++++++ |
3 files changed, 74 insertions(+), 40 deletions(-)
diff --git a/.xinitrc b/.xinitrc
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $
userresources=$HOME/.Xresources
@@ -24,16 +24,26 @@ if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
-# Layout
-
+## Layout
setxkbmap -layout us,gr
setxkbmap -option 'grp:alt_shift_toggle'
-# Execute DWM
-
-exec i3
-exec i3-gaps
+## Pulseaudio
start-pulseaudio-x11
pulseaudio --start
-exec batsignal
-exec dmenu
+
+## bindings
+sxhkd &
+
+## dunst
+dunst &
+
+## compton
+compton &
+
+## batsignal
+batsignal &
+
+## i3
+exec i3
+exec i3-gaps
diff --git a/config b/config
@@ -31,27 +31,10 @@ exec --no-startup-id nm-applet
# Use pactl to adjust volume in PulseAudio.
set $refresh_i3status killall -SIGUSR1 i3status
set $refresh_i3blocks_audio pkill -SIGRTMIN+5 i3blocks
-bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && pkill -SIGRTMIN+10 i3blocks
-bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && pkill -SIGRTMIN+10 i3blocks
-bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && pkill -SIGRTMIN+10 i3blocks
-bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
-
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
-# start a terminal
-bindsym $mod+Return exec st
-
-# start browsers
-bindsym $mod+b exec brave
-bindsym $mod+p exec "zathura /home/michael/Documents/uni2/programma.pdf"
-bindsym $mod+Shift+s exec signal-desktop-beta
-bindsym $mod+c exec "st -e neomutt"
-bindsym $mod+n exec "st -e newsboat"
-bindsym $mod+Ctrl+a exec "st -e bc -l"
-bindsym $mod+y exec myyt
-
# kill focused window
bindsym $mod+Shift+q kill
bindsym $mod+q kill
@@ -59,12 +42,9 @@ bindsym $mod+q kill
bindsym Ctrl+$mod+Left exec ~/.i3MoveNext.sh -1
bindsym Ctrl+$mod+Right exec ~/.i3MoveNext.sh 1
-# start dmenu (a program launcher)
-bindsym $mod+d exec dmenu_run
# There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed.
-# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
# change focus
bindsym $mod+j focus down
@@ -191,20 +171,23 @@ mode "resize" {
# delete or uncomment the following lines if you do not have it or do not
# want it
for_window [class="^.*"] border pixel 2
-gaps inner 10
-gaps outer 10
+gaps inner 20
+gaps outer 20
#smart_gaps on
smart_borders on
-exec --no-startup-id wal -i Pictures/mountain.jpg
+#exec --no startup-id wal -i Pictures/Wallpapers/papes/1588311850658.jpg
+#exec --no startup-id wal -i Pictures/Wallpapers/papes/AHDWKyF.jpg
+#exec --no startup-id wal -i Pictures/Wallpapers/papes/IdeYv12.jpg
+#exec --no-startup-id wal -i Pictures/mountain.jpg
#exec --no-startup-id wal -i Pictures/wolf/kampinos_wilki_zwierzeta_2000pxperfect2.jpg
#feh --bg-fill ~/Pictures/wolf/kampinos_wilki_zwierzeta_2000px2.jpg #wolves_highcon.jpg #~/Pictures/light1.jpg #winter-ebony
-exec --no-startup-id compton
-
-exec --no-startup-id dunst
-
-exec --no-startup-id i3-battery-popup -n -D -L 20 -l 10
+#exec --no-startup-id compton
+#
+#exec --no-startup-id dunst
+#
+#exec --no-startup-id i3-battery-popup -n -D -L 20 -l 10
bindsym $mod+r mode "resize"
@@ -220,9 +203,6 @@ bar {
}
}
-bindsym XF86MonBrightnessUp exec --no-startup-id sudo light -s sysfs/backlight/amdgpu_bl0 -A 10
-bindsym XF86MonBrightnessDown exec --no-startup-id sudo light -s sysfs/backlight/amdgpu_bl0 -U 10
-
bindsym $mod+m mode "move" focus floating
mode "move" {
bindsym $mod+Tab focus right
diff --git a/sxhkdrc b/sxhkdrc
@@ -0,0 +1,44 @@
+# mk@mcdim.xyz
+#
+
+alt + Return
+ st
+
+alt + b
+ brave
+
+alt + n
+ st -e newsboat
+
+alt + c
+ st -e neomutt
+
+alt + ctrl + a
+ st -e bc -l
+
+alt + y
+ myyt
+
+alt + d
+ dmenu_run
+
+alt + p
+ zathura /home/michael/Documents/uni2/programma.pdf
+
+XF86MonBrightness{Up,Down}
+ sudo light -s sysfs/backlight/amdgpu_bl0 {-A,-U} 10
+
+XF86Audio{Raise,Lower}Volume
+ pactl set-sink-volume @DEFAULT_SINK@ {+10%, -10%} && pkill -SIGRTMIN+10 i3blocks
+
+super + s
+ signal-desktop-beta
+
+super + r
+ st -e vim ~/.scripts/reminder.sh
+
+XF86AudioMute
+ pactl set-sink-mute @DEFAULT_SINK@ toggle && pkill -SIGRTMIN+10 i3blocks
+
+XF86AudioMicMute
+ pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status