I hereby claim:
- I am grafov on github.
- I am grafov (https://keybase.io/grafov) on keybase.
- I have a public key ASAUg76BXpiydF8Zf2e2qaTYNRo1cPkHNvrOB5cK7-Z0DQo
To claim this, I am signing this object:
# Copypaste it to your ~/.config/sway/config | |
set $TBALL 1149:4128:Kensington______Kensington_Expert_Mouse | |
# Turns on scrolling with the ball when right bottom button pressed. | |
input $TBALL { | |
scroll_method on_button_down | |
scroll_button 273 | |
} |
#!/bin/bash | |
sudo cpupower frequency-set -g performance >/dev/null | |
xrandr --output HDMI-0 --mode 1920x1080 --rate 60 --primary --output DVI-I-1 --off | |
feh -d --recursive --randomize --bg-scale /usr/share/backgrounds /usr/share/wallpapers 2>/dev/null | |
killall compton | |
nvidia-settings -l | |
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"os" | |
"path" | |
"path/filepath" | |
"strings" |
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"os" | |
"path" | |
"path/filepath" | |
"strings" |
# It uses fzf: https://github.com/junegunn/fzf | |
function fcd | |
cd ~ | |
if [ (count $argv) -ge 1 ] | |
cd (dirname (fzf -q "$argv")) | |
return | |
end | |
cd (dirname (fzf)) | |
end |
#!/bin/dash | |
AGENT="Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20090913 Firefox/3.5.3" | |
#OPTS='-z 1.5 -u "$AGENT"' | |
OPTS="-z 1.8" | |
HISTORY=.rofi-wwwsearch-history | |
if [ "$1" = "" ] | |
then |
#!/bin/dash | |
AGENT="Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20090913 Firefox/3.5.3" | |
#OPTS=-u "$AGENT" -z 1.5 | |
OPTS="-z 1.5" | |
HISTORY=.rofi-www-history | |
if [ "$1" = "" ] | |
then | |
URL=`cat $HISTORY | rofi -hide-scrollbar -dmenu -p "URL: "` |
I hereby claim:
To claim this, I am signing this object:
<?php | |
// EDIT MY PATH | |
$file = strtolower(file_get_contents('/Users/YOURUSER/Sites/TEST_TEST.txt')); | |
function get_points($layout = 'Norman') { | |
switch ($layout) { | |
case 'QWERTY': | |
$points[1] = array('s', 'd', 'f', 'j', 'k', 'l'); |
--- a/drivers/input/mouse/synaptics.c | |
+++ b/drivers/input/mouse/synaptics.c | |
@@ -702,6 +702,8 @@ | |
input_report_abs(dev, ABS_MT_POSITION_X, hw->x); | |
input_report_abs(dev, ABS_MT_POSITION_Y, synaptics_invert_y(hw->y)); | |
input_report_abs(dev, ABS_MT_PRESSURE, hw->z); | |
+ if (hw->w >= 4) | |
+ input_report_abs(dev, ABS_TOOL_WIDTH, hw->w); | |
} | |