Update 15.04.23
This commit is contained in:
parent
5b60309dfe
commit
accc96333d
@ -52,8 +52,8 @@ URxvt.perl-ext-common: default,matcher,resize-font
|
|||||||
URxvt.iso14755: false
|
URxvt.iso14755: false
|
||||||
URxvt.iso14755_52: false
|
URxvt.iso14755_52: false
|
||||||
|
|
||||||
!URxvt*font: xft:DejaVuSansMono:size=8:style=dzForPowerline
|
!URxvt*font: xft:DejaVuSansMono:size=12:style=dzForPowerline
|
||||||
URxvt*font: xft:Courier New:size=12
|
URxvt*font: xft:Courier New:size=12:style=dzForPowerline
|
||||||
URxvt.letterSpace: -1
|
URxvt.letterSpace: -1
|
||||||
!URxvt.keysym.Alt-Up: resize-font:bigger
|
!URxvt.keysym.Alt-Up: resize-font:bigger
|
||||||
!URxvt.keysym.Alt-Down: resize-font:smaller
|
!URxvt.keysym.Alt-Down: resize-font:smaller
|
||||||
@ -71,7 +71,7 @@ URxvt*scrollColor: #aaaaaa
|
|||||||
|
|
||||||
URxvt.perl-ext: default,url-select
|
URxvt.perl-ext: default,url-select
|
||||||
URxvt.keysym.M-u: perl:url-select:select_next
|
URxvt.keysym.M-u: perl:url-select:select_next
|
||||||
URxvt.url-select.launcher: /usr/bin/chromium -new-tab
|
URxvt.url-select.launcher: firefox
|
||||||
URxvt.url-select.underline: true
|
URxvt.url-select.underline: true
|
||||||
|
|
||||||
URxvt.saveLines: 200000
|
URxvt.saveLines: 200000
|
||||||
|
|||||||
@ -85,7 +85,8 @@ bindsym $mod+w kill
|
|||||||
|
|
||||||
# start dmenu (a program launcher)
|
# start dmenu (a program launcher)
|
||||||
#bindsym $mod+r exec dmenu_run
|
#bindsym $mod+r exec dmenu_run
|
||||||
bindsym $mod+r exec --no-startup-id ~/.config/rofi/bin/menu_powermenu
|
#bindsym $mod+r exec --no-startup-id ~/.config/rofi/bin/menu_powermenu
|
||||||
|
bindsym $mod+r exec --no-startup-id ~/rofi/files/powermenu/type-2/powermenu.sh
|
||||||
# start rofi
|
# start rofi
|
||||||
bindsym $mod+p exec rofi -show run
|
bindsym $mod+p exec rofi -show run
|
||||||
# switch rofi
|
# switch rofi
|
||||||
@ -97,7 +98,7 @@ bindsym $mod+c exec --no-startup-id ~/.config/rofi/bin/menu_time
|
|||||||
bindsym $mod+o exec ~/lock.sh
|
bindsym $mod+o exec ~/lock.sh
|
||||||
#bindsym $mod+o exec slimlock
|
#bindsym $mod+o exec slimlock
|
||||||
# ristretto
|
# ristretto
|
||||||
bindsym $mod+e exec thunar
|
bindsym $mod+e exec nemo
|
||||||
|
|
||||||
# There also is the (new) i3-dmenu-desktop which only displays applications
|
# 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
|
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
||||||
@ -288,16 +289,7 @@ assign [class="MineTime"] 7
|
|||||||
# bindsym $mod+r mode "resize"
|
# bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
# Workspace config
|
# Workspace config
|
||||||
workspace 1 output eDP1
|
#workspace 1 output DisplayPort-2
|
||||||
workspace 2 output eDP1
|
|
||||||
workspace 3 output HDMI2 eDP1
|
|
||||||
workspace 4 output HDMI2 eDP1
|
|
||||||
workspace 5 output HDMI2 eDP1
|
|
||||||
workspace 6 output HDMI2 eDP1
|
|
||||||
workspace 7 output eDP1
|
|
||||||
workspace 8 output eDP1
|
|
||||||
workspace 9 output eDP1
|
|
||||||
workspace 10 output HDMI2 eDP1
|
|
||||||
|
|
||||||
# i3 bar configuration
|
# i3 bar configuration
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
@ -309,7 +301,7 @@ bar {
|
|||||||
status_command py3status
|
status_command py3status
|
||||||
|
|
||||||
position top
|
position top
|
||||||
tray_output primary
|
tray_output DisplayPort-2
|
||||||
|
|
||||||
colors {
|
colors {
|
||||||
background #000000
|
background #000000
|
||||||
@ -325,9 +317,9 @@ bar {
|
|||||||
binding_mode #2f343a #900000 #ffffff
|
binding_mode #2f343a #900000 #ffffff
|
||||||
}
|
}
|
||||||
|
|
||||||
# separator_symbol "ʃ"
|
separator_symbol "ʃ"
|
||||||
#separator_symbol "❰"
|
#separator_symbol "❰"
|
||||||
separator_symbol " ❱ "
|
#separator_symbol " ❱ "
|
||||||
#separator_symbol " ▷ "
|
#separator_symbol " ▷ "
|
||||||
#separator_symbol " ∠ "
|
#separator_symbol " ∠ "
|
||||||
#separator_symbol "|"
|
#separator_symbol "|"
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
order += nvidia_smi
|
# order += nvidia_smi
|
||||||
# order += bluetooth
|
order += bluetooth
|
||||||
order += keyboard_layout
|
order += keyboard_layout
|
||||||
order += arch_updates
|
order += arch_updates
|
||||||
order += "whatismyip"
|
order += "whatismyip"
|
||||||
@ -8,8 +8,8 @@ order += "ipv6"
|
|||||||
order += "wireless _first_"
|
order += "wireless _first_"
|
||||||
order += "ethernet _first_"
|
order += "ethernet _first_"
|
||||||
order += net_rate
|
order += net_rate
|
||||||
#order += net_iplist
|
# order += net_iplist
|
||||||
order += "battery all"
|
# order += "battery all"
|
||||||
order += "disk /"
|
order += "disk /"
|
||||||
order += "disk /home"
|
order += "disk /home"
|
||||||
order += sysdata
|
order += sysdata
|
||||||
@ -43,6 +43,7 @@ wireless _first_ {
|
|||||||
ethernet _first_ {
|
ethernet _first_ {
|
||||||
format_up = " %ip (%speed)"
|
format_up = " %ip (%speed)"
|
||||||
format_down = ""
|
format_down = ""
|
||||||
|
on_click 1 = "exec sh /home/legrems/.screenlayout/swide.sh"
|
||||||
}
|
}
|
||||||
|
|
||||||
net_iplist {
|
net_iplist {
|
||||||
@ -59,13 +60,13 @@ net_rate {
|
|||||||
disk "/" {
|
disk "/" {
|
||||||
# format = "%percentage_used (%used / %free / %total)"
|
# format = "%percentage_used (%used / %free / %total)"
|
||||||
format = "/ %percentage_used %free"
|
format = "/ %percentage_used %free"
|
||||||
on_click 1 = "exec thunar /"
|
on_click 1 = "exec nemo /"
|
||||||
}
|
}
|
||||||
|
|
||||||
disk "/home" {
|
disk "/home" {
|
||||||
# format = "%percentage_used (%used / %free / %total)"
|
# format = "%percentage_used (%used / %free / %total)"
|
||||||
format = "/home %percentage_used %free"
|
format = "/home %percentage_used %free"
|
||||||
on_click 1 = "exec thunar /home/legrems/Documents/Arcanite"
|
on_click 1 = "exec nemo /home/legrems/Documents"
|
||||||
}
|
}
|
||||||
|
|
||||||
tztime local {
|
tztime local {
|
||||||
|
|||||||
@ -9,15 +9,10 @@ Enabled=true
|
|||||||
ApplicationTheme=dark
|
ApplicationTheme=dark
|
||||||
TrayIconAppearance=monochrome-light
|
TrayIconAppearance=monochrome-light
|
||||||
|
|
||||||
[KeeShare]
|
|
||||||
Active="<?xml version=\"1.0\"?>\n<KeeShare xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n <Active/>\n</KeeShare>\n"
|
|
||||||
Foreign="<?xml version=\"1.0\"?>\n<KeeShare xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n <Foreign/>\n</KeeShare>\n"
|
|
||||||
Own="<?xml version=\"1.0\"?>\n<KeeShare xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n <PrivateKey/>\n <PublicKey/>\n</KeeShare>\n"
|
|
||||||
QuietSuccess=true
|
|
||||||
|
|
||||||
[PasswordGenerator]
|
[PasswordGenerator]
|
||||||
AdditionalChars=
|
AdditionalChars=
|
||||||
ExcludedChars=
|
ExcludedChars=
|
||||||
|
Length=32
|
||||||
|
|
||||||
[Security]
|
[Security]
|
||||||
LockDatabaseScreenLock=false
|
LockDatabaseScreenLock=false
|
||||||
|
|||||||
@ -21,6 +21,13 @@ lock=""
|
|||||||
suspend=""
|
suspend=""
|
||||||
logout=""
|
logout=""
|
||||||
|
|
||||||
|
shutdown="\u23fc"
|
||||||
|
reboot="\ufc07"
|
||||||
|
lock="\uf023"
|
||||||
|
lock="\U0001f512"
|
||||||
|
suspend="\uf9b1"
|
||||||
|
logout="\uf842"
|
||||||
|
|
||||||
# Confirmation
|
# Confirmation
|
||||||
confirm_exit() {
|
confirm_exit() {
|
||||||
rofi -dmenu\
|
rofi -dmenu\
|
||||||
|
|||||||
@ -5,3 +5,4 @@ configuration {
|
|||||||
font: "Courier New 12";
|
font: "Courier New 12";
|
||||||
icon-theme: "Papirus";
|
icon-theme: "Papirus";
|
||||||
}
|
}
|
||||||
|
@theme "/usr/share/rofi/themes/gruvbox-dark-hard.rasi"
|
||||||
|
|||||||
@ -1,10 +1,9 @@
|
|||||||
[user]
|
[user]
|
||||||
email = loic.gremaud@arcanite.ch
|
email = flamelegrems@gmail.com
|
||||||
name = Loïc Gremaud
|
name = Loïc Gremaud
|
||||||
;signingkey = 8B2741BF148B1059065A71EEE81E8B180465D116 ;540
|
;signingkey = 8B2741BF148B1059065A71EEE81E8B180465D116 ;540
|
||||||
signingkey = BAE2CD06F0A3753A0F8D0A21D4620E6DF3E0121D ;539
|
signingkey = BAE2CD06F0A3753A0F8D0A21D4620E6DF3E0121D ;539
|
||||||
;signingkey = 4F78275C96E34F56920CF7B5CACB2A128E557EFD ;W
|
;signingkey = 4F78275C96E34F56920CF7B5CACB2A128E557EFD ;W
|
||||||
token = REPLACE HERE TOKEN
|
|
||||||
[commit]
|
[commit]
|
||||||
gpgSign = true
|
gpgSign = true
|
||||||
[gpg]
|
[gpg]
|
||||||
|
|||||||
38
services/lynepad/lynepad.py
Normal file
38
services/lynepad/lynepad.py
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
from pynput import keyboard
|
||||||
|
import signal
|
||||||
|
import datetime
|
||||||
|
|
||||||
|
|
||||||
|
def handler(signum, frame):
|
||||||
|
if input("Ctrl-c was pressed. Do you really want to exit? y/N") != "n":
|
||||||
|
exit(1)
|
||||||
|
|
||||||
|
|
||||||
|
signal.signal(signal.SIGINT, handler)
|
||||||
|
|
||||||
|
FROM_LYNEPAD = False
|
||||||
|
THE_LYNEPAD_KEY_VK = 269025200
|
||||||
|
def on_press(key):
|
||||||
|
global FROM_LYNEPAD
|
||||||
|
|
||||||
|
if hasattr(key, "vk"):
|
||||||
|
print(key, FROM_LYNEPAD)
|
||||||
|
if key.vk == THE_LYNEPAD_KEY_VK:
|
||||||
|
FROM_LYNEPAD = True
|
||||||
|
|
||||||
|
elif FROM_LYNEPAD:
|
||||||
|
with open("keys.logs", "a") as file:
|
||||||
|
file.write(f"{datetime.datetime.now().isoformat()}:{key.vk}:{key.char}\n")
|
||||||
|
|
||||||
|
|
||||||
|
def on_release(key):
|
||||||
|
global FROM_LYNEPAD
|
||||||
|
|
||||||
|
if hasattr(key, "vk"):
|
||||||
|
if key.vk == THE_LYNEPAD_KEY_VK:
|
||||||
|
FROM_LYNEPAD = False
|
||||||
|
print("released")
|
||||||
|
|
||||||
|
listener = keyboard.Listener(on_press=on_press, on_release=on_release)
|
||||||
|
listener.start()
|
||||||
|
listener.join()
|
||||||
9
xinitrc
9
xinitrc
@ -45,13 +45,16 @@ xrandr --auto
|
|||||||
$HOME/.config/xrandr-magic.sh $MONITOR
|
$HOME/.config/xrandr-magic.sh $MONITOR
|
||||||
$HOME/.config/manipulate_monitors.sh $MONITOR rtl
|
$HOME/.config/manipulate_monitors.sh $MONITOR rtl
|
||||||
|
|
||||||
|
xinput --set-prop "pointer:Razer Razer DeathAdder V2" 'libinput Accel Speed' -0.1
|
||||||
|
|
||||||
# Swap caps + escape
|
# Swap caps + escape
|
||||||
setxkbmap -option caps:swapescape
|
setxkbmap -option caps:swapescape
|
||||||
|
|
||||||
|
#~/.screenlayout/wide.sh
|
||||||
|
~/.screenlayout/swide.sh
|
||||||
|
|
||||||
# Set background
|
# Set background
|
||||||
#feh --bg-fill ~/Downloads/atlantis-nexus-nebula-black-background-digital-render-3840x2400-3704.jpg
|
feh --bg-fill ~/Downloads/wp4473722-5120x1440-wallpapers.jpg
|
||||||
#feh --bg-fill ~/Downloads/digital-abstract-3d-render-pattern-minimal-art-black-3840x2160-7124.jpg
|
|
||||||
feh --bg-fill ~/Downloads/wp2618248-blackarch-wallpaper.png
|
|
||||||
|
|
||||||
# Launch i3
|
# Launch i3
|
||||||
exec i3
|
exec i3
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user